/* ============================================================
   THYSEED — GLOBAL STYLES
   ============================================================ */
@import url('https://fonts.bunny.net/css?family=cormorant-garamond:400,400i,500,500i,600&family=inter:300,400,500,600&display=swap');

:root {
  --brown:        #6B4226;
  --brown-dark:   #4A2912;
  --brown-mid:    #8B5E3C;
  --brown-light:  #B8845A;
  --brown-pale:   #D4A87A;
  --cream:        #FAF6F0;
  --warm-white:   #FDF9F5;
  --beige:        #EDE0CF;
  --beige-light:  #F5EDE0;
  --text-dark:    #2C1A0A;
  --text-mid:     #5A3A20;
  --text-soft:    #8C6A4A;
  --text-muted:   #AE8E70;
  --border:       #E5D5C0;
  --gold:         #C8923A;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── ANNOUNCEMENT BAR ── */
.announce-bar {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.92);
  text-align: center;
  padding: 9px 20px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}

.header-top {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 30px;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  height: 34px;
  width: auto;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 0.02em;
}

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

.main-nav > a,
.main-nav > .nav-dropdown {
  position: relative;
}

.main-nav > a > span,
.main-nav > .nav-dropdown > .nav-link {
  display: block;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.main-nav > a:hover > span,
.main-nav > .nav-dropdown:hover > .nav-link {
  color: var(--brown);
}

.main-nav > a.active > span {
  color: var(--brown);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 0;
  box-shadow: 0 8px 30px rgba(107,66,38,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s;
  z-index: 300;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13.5px;
  color: var(--text-mid);
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
  background: var(--beige-light);
  color: var(--brown);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-actions a,
.header-actions button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  background: none;
  border: none;
  transition: background 0.15s, color 0.15s;
}

.header-actions a:hover,
.header-actions button:hover {
  background: var(--beige-light);
  color: var(--brown);
}

.cart-count {
  background: var(--gold);
  color: white;
  border-radius: 50%;
  width: 18px; height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.flag-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12.5px;
  color: var(--text-soft);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.15s;
}

.flag-selector:hover { background: var(--beige-light); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 26px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--brown);
  color: white;
}
.btn-primary:hover { background: var(--brown-dark); }

.btn-outline {
  background: transparent;
  color: var(--brown);
  border: 1.5px solid var(--brown);
}
.btn-outline:hover { background: var(--brown); color: white; }

.btn-white {
  background: white;
  color: var(--brown);
}
.btn-white:hover { background: var(--cream); }

.btn-sm { padding: 9px 18px; font-size: 11.5px; }
.btn-lg { padding: 15px 34px; font-size: 14px; }

/* ── SECTION HEADERS ── */
.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 10px;
}

.section-head p {
  font-size: 14.5px;
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(107,66,38,0.11);
}

.product-card__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--beige-light);
  position: relative;
}

.product-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .product-card__img img {
  transform: scale(1.04);
}

.product-card__badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--gold);
  color: white;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.product-card__info {
  padding: 16px;
}

.product-card__title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 8px;
  min-height: 40px;
}

.product-card__price {
  font-size: 15px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 12px;
}

.product-card__price-old {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.product-card__btn {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1.5px solid var(--brown);
  color: var(--brown);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.product-card__btn:hover {
  background: var(--brown);
  color: white;
}

/* ── NEWSLETTER ── */
.newsletter-section {
  background: var(--beige-light);
  padding: 64px 40px;
  text-align: center;
}

.newsletter-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.newsletter-section p {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 13px 16px;
  border: 1.5px solid var(--brown-pale);
  border-right: none;
  border-radius: 2px 0 0 2px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  background: white;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input:focus { border-color: var(--brown); }
.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-form button {
  padding: 13px 22px;
  background: var(--brown);
  color: white;
  border: none;
  border-radius: 0 2px 2px 0;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover { background: var(--brown-dark); }

/* ── FOOTER ── */
.site-footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 40px 30px;
}

.footer-inner {
  max-width: 1340px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}

.footer-brand .footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: white;
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-contact-info {
  font-size: 12.5px;
  line-height: 2;
  opacity: 0.6;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 11px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--brown-pale); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  opacity: 0.45;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 14px 40px;
  max-width: 1340px;
  margin: 0 auto;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a { color: var(--text-soft); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--brown); }
.breadcrumb span { color: var(--text-muted); }

/* ── PAGE HEADER ── */
.page-hero {
  background: var(--beige-light);
  padding: 52px 40px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 500;
  color: var(--text-dark);
}

/* ── CART DRAWER ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 400px;
  max-width: 100vw;
  background: white;
  z-index: 501;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open { transform: translateX(0); }

.cart-drawer__head {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer__head h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
}

.cart-close {
  width: 36px; height: 36px;
  border: none;
  background: var(--beige-light);
  border-radius: 50%;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-mid);
  transition: background 0.15s;
}

.cart-close:hover { background: var(--beige); }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cart-empty {
  text-align: center;
  color: var(--text-soft);
}

.cart-empty p { margin: 12px 0 20px; font-size: 14px; }

.cart-drawer__foot {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

/* ── SEARCH OVERLAY ── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(250,246,240,0.97);
  z-index: 600;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  display: flex;
  align-items: flex-start;
  padding-top: 100px;
  justify-content: center;
}

.search-overlay.open { opacity: 1; visibility: visible; }

.search-box {
  width: 100%;
  max-width: 640px;
  padding: 0 20px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  border: 2px solid var(--brown);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  background: white;
  color: var(--text-dark);
  outline: none;
}

.search-close {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--text-soft);
  cursor: pointer;
  background: none;
  border: none;
}

/* ── UTILITY ── */
.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 72px 40px; }
.section-sm { padding: 48px 40px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-brand { grid-column: auto; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-top { padding: 0 20px; }
  .section, .section-sm { padding-left: 20px; padding-right: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding: 0 0 36px; }
  .site-footer { padding: 48px 20px 24px; }
  .newsletter-section { padding: 48px 20px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1.5px solid var(--brown-pale); border-bottom: none; border-radius: 2px 2px 0 0; }
  .newsletter-form button { border-radius: 0 0 2px 2px; }
}
