/* -----------------------------------------------------------
   GLOBAL BASE STYLES — Modern Boutique Studio
----------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Space+Grotesk:wght@300;400;500;600&display=swap');

:root {
  --bg: #f7f2ea;
  --bg-deep: #efe6da;
  --ink: #1f1b18;
  --muted: #5d544b;
  --turquoise: #0fa189;
  --gold: #cfa442;
  --clay: #c07b5b;

  --card: #ffffff;
  --border: rgba(207,164,66,0.28);
  --shadow: rgba(20,17,14,0.08);
  --shadow-strong: rgba(20,17,14,0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 800px at 10% -10%, rgba(15,161,137,0.10), transparent 60%),
    radial-gradient(900px 600px at 110% 20%, rgba(192,123,91,0.12), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.6;
  padding-bottom: 120px;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", serif;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
}

.section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  margin-bottom: .6rem;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
  max-width: 720px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 0.8s ease forwards;
}

.reveal.delay-1 { animation-delay: 0.15s; }
.reveal.delay-2 { animation-delay: 0.3s; }
.reveal.delay-3 { animation-delay: 0.45s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -----------------------------------------------------------
   HEADER
----------------------------------------------------------- */

.site-header {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  font-family: "Fraunces", serif;
}

.logo-mark {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.logo-rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  opacity: 0.8;
}

.logo-text {
  font-size: .85rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.main-nav a {
  margin: 0 .9rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--turquoise);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-left: auto;
}

.header-actions .btn-phone {
  padding: .4rem .75rem;
  font-size: .8rem;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(15,161,137,0.2);
  background: rgba(255,255,255,0.8);
}

.cart-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
}

.cart-icon svg {
  width: 100%;
  height: 100%;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--turquoise);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .45rem;
}

.cart-count.is-empty {
  background: rgba(31,27,24,0.15);
  color: var(--ink);
}

.btn-phone {
  background: var(--turquoise);
  color: #fff;
  padding: .55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(15,161,137,0.22);
}

.btn-phone:hover {
  background: #0a8f79;
}

/* -----------------------------------------------------------
   HERO
----------------------------------------------------------- */

.hero {
  padding-top: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: 0.22em;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: .8rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-copy {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary {
  background: var(--gold);
  color: #1b140b;
  box-shadow: 0 10px 20px rgba(207,164,66,0.28);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.8);
  color: var(--ink);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.hero-visual {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: 0 18px 30px var(--shadow-strong);
}

.hero-image {
  height: 320px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(15,161,137,0.15), rgba(207,164,66,0.18)),
    radial-gradient(600px 300px at 80% 20%, rgba(192,123,91,0.35), transparent 60%);
  border: 1px dashed rgba(15,161,137,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0e6b60;
  font-weight: 600;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.hero-stat {
  background: rgba(250,247,242,0.8);
  border: 1px solid rgba(15,161,137,0.2);
  border-radius: 12px;
  padding: .9rem;
  text-align: center;
}

.hero-stat h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  color: var(--turquoise);
}

.hero-stat p {
  font-size: .85rem;
  color: var(--muted);
}

/* -----------------------------------------------------------
   OCCASIONS RAIL
----------------------------------------------------------- */

.occasion-rail {
  display: flex;
  gap: .8rem;
  overflow-x: auto;
  padding-bottom: .6rem;
  scrollbar-width: thin;
}

.occasion-chip {
  flex: 0 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  padding: .65rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 14px var(--shadow);
  white-space: nowrap;
}

/* -----------------------------------------------------------
   FEATURED SECTION
----------------------------------------------------------- */

.featured-holiday {
  margin-top: 2.5rem;
  padding: 2.5rem;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px var(--shadow);
}

.featured-scroller-wrapper {
  margin-top: 1rem;
}

.featured-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.featured-card {
  background: #fff;
  border: 1px solid rgba(207,164,66,0.4);
  border-radius: 14px;
  padding: 1rem;
  text-decoration: none;
  color: #222;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.featured-img {
  height: 130px;
  border-radius: 12px;
  border: 1px dashed rgba(15,161,137,0.55);
  background:
    linear-gradient(135deg, rgba(15,161,137,0.08), rgba(207,164,66,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: #0e6b60;
  margin-bottom: .7rem;
}

.featured-name {
  font-weight: 600;
}

.featured-footer {
  text-align: right;
  margin-top: 1rem;
}

.btn-see-more {
  background: var(--gold);
  border: none;
  padding: .6rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(207,164,66,0.25);
}

/* -----------------------------------------------------------
   STORE PAGE
----------------------------------------------------------- */

.filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 10px 20px var(--shadow);
}

.filter-group label {
  font-weight: 600;
  font-size: .9rem;
  display: block;
  margin-bottom: .4rem;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: .65rem .7rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.15);
}

.filter-group button {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: none;
  background: var(--turquoise);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.product-card {
  background: #fff;
  padding: 15px;
  border-radius: 14px;
  border: 1px solid rgba(207,164,66,0.35);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  text-decoration: none;
}

.product-img {
  height: 150px;
  border-radius: 12px;
  background: rgba(15,161,137,0.12);
  border: 1px dashed rgba(15,161,137,0.5);
  color: #0e6b60;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: .8rem;
}

.product-desc {
  font-size: .9rem;
  color: #444;
}

.product-price {
  color: var(--turquoise);
  font-weight: bold;
  margin-top: .4rem;
}

.no-results {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

/* -----------------------------------------------------------
   PRODUCT DETAIL PAGE
----------------------------------------------------------- */

.product-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.product-visual {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 12px 24px var(--shadow);
}

.product-image {
  height: 320px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(15,161,137,0.12), rgba(207,164,66,0.15));
  border: 1px dashed rgba(15,161,137,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0e6b60;
  font-weight: 600;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}

.meta-pill {
  padding: .4rem .8rem;
  border-radius: 999px;
  background: rgba(15,161,137,0.12);
  color: #0e6b60;
  font-weight: 600;
  font-size: .85rem;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-title {
  font-size: clamp(2rem, 3vw, 3rem);
}

.product-copy {
  color: var(--muted);
  font-size: 1rem;
}

.product-price-lg {
  font-size: 1.6rem;
  color: var(--turquoise);
  font-weight: 700;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.product-custom {
  margin-top: 2.5rem;
  padding: 2rem;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 24px var(--shadow);
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.custom-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: .4rem;
}

.custom-step {
  border-radius: 16px;
  border: 1px solid rgba(15,161,137,0.15);
  background: rgba(255,255,255,0.9);
  padding: 1.2rem;
  box-shadow: 0 12px 24px var(--shadow);
}

.step-label {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .8rem;
}

.step-label h3 {
  font-size: 1.2rem;
  margin: 0;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .2rem .7rem;
  border-radius: 999px;
  background: rgba(15,161,137,0.15);
  color: #0e6b60;
  font-weight: 700;
  font-size: .75rem;
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.custom-form label,
.custom-addons label {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-weight: 600;
  color: var(--ink);
}

.field-note {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
  margin-left: .3rem;
}

.custom-form select,
.custom-form input,
.custom-form textarea {
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  padding: .65rem .7rem;
  font-family: inherit;
}

.custom-addons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .8rem;
}

.custom-addons input[type="checkbox"] {
  margin-right: .6rem;
}

.custom-addons label {
  flex-direction: row;
  align-items: center;
  font-weight: 600;
  padding: .7rem .8rem;
  border-radius: 12px;
  border: 1px solid rgba(15,161,137,0.2);
  background: rgba(15,161,137,0.06);
}

.custom-footer {
  margin-top: 1.4rem;
  display: grid;
  gap: .6rem;
}

.custom-tip {
  color: var(--muted);
  font-size: .95rem;
}

.custom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}

.custom-message textarea {
  min-height: 120px;
  resize: vertical;
  background: rgba(255,255,255,0.9);
}

.cart-notice {
  color: var(--turquoise);
  font-weight: 600;
}

.cart-list {
  display: grid;
  gap: 1rem;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 10px 20px var(--shadow);
}

.cart-info h3 {
  margin-bottom: .4rem;
}

.cart-sub {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: .6rem;
}

.cart-price {
  font-weight: 700;
  color: var(--turquoise);
}

.cart-controls {
  display: grid;
  gap: .6rem;
  align-content: start;
}

.cart-controls label {
  font-weight: 600;
  display: grid;
  gap: .3rem;
}

.cart-controls input {
  padding: .5rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.15);
  width: 90px;
}

.cart-summary {
  margin-top: 1.8rem;
  padding: 1.4rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 20px var(--shadow);
}

/* -----------------------------------------------------------
   ABOUT PAGE
----------------------------------------------------------- */

.hero-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 24px var(--shadow);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* -----------------------------------------------------------
   CONTACT FORM
----------------------------------------------------------- */

.contact-form {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px var(--shadow);
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .75rem;
  margin-bottom: .8rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
}

.btn-primary.btn-submit {
  width: 100%;
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */

.site-footer {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  margin-top: 3rem;
}

/* -----------------------------------------------------------
   CHATBOT
----------------------------------------------------------- */

.chat-widget {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 320px;
  max-height: 450px;
  background: #fff;
  border-radius: 16px;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: 0.35s ease;
  z-index: 9999;
}

.chat-header {
  background: var(--turquoise);
  color: #fff;
  padding: .75rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-messages {
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
}

.chat-message {
  padding: .5rem .75rem;
  margin-bottom: .5rem;
  border-radius: 10px;
  max-width: 80%;
}

.chat-message.bot {
  background: var(--turquoise);
  color: white;
}

.chat-message.user {
  background: #eee;
}

.chat-input-row {
  display: flex;
  border-top: 1px solid #ccc;
}

.chat-input-row input {
  flex: 1;
  padding: .75rem;
  border: none;
}

.chat-input-row button {
  background: var(--turquoise);
  color: #fff;
  padding: .75rem 1rem;
  border: none;
  font-weight: 600;
}

.chat-bubble {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--turquoise);
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 26px;
  cursor: pointer;
  z-index: 10000;
  position: fixed;
  box-shadow: 0 0 0 rgba(15,161,137,0.6);
  animation: chatPulse 2.4s ease-in-out infinite;
}

.hidden { display: none !important; }

.chat-bubble::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(15,161,137,0.35);
  animation: chatRing 2.4s ease-in-out infinite;
}

@keyframes chatPulse {
  0% { box-shadow: 0 0 0 0 rgba(15,161,137,0.55); }
  70% { box-shadow: 0 0 0 16px rgba(15,161,137,0); }
  100% { box-shadow: 0 0 0 0 rgba(15,161,137,0); }
}

@keyframes chatRing {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

/* -----------------------------------------------------------
   RESPONSIVE
----------------------------------------------------------- */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .custom-grid {
    grid-template-columns: 1fr;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-wrap: wrap;
    gap: .8rem;
  }

  .main-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 2.5rem 1.4rem;
  }

  .site-header {
    padding: .9rem 1.2rem;
  }

  .logo {
    align-items: center;
  }

  .main-nav {
    order: 2;
  }

  .main-nav a {
    margin: .35rem .6rem;
    font-size: .9rem;
  }

  .header-actions {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .header-actions .btn-phone {
    padding: .35rem .7rem;
    font-size: .78rem;
  }

  .cart-link {
    padding: .2rem .3rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-image {
    height: 220px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .featured-holiday {
    padding: 1.6rem;
  }

  .featured-row {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .cart-row {
    flex-direction: column;
  }

  .cart-summary {
    flex-direction: column;
    gap: .8rem;
    align-items: flex-start;
  }

  .custom-footer {
    grid-template-columns: 1fr;
  }

  .custom-grid {
    grid-template-columns: 1fr;
  }

  .chat-widget {
    right: 16px;
    left: 16px;
    width: auto;
  }
}
