@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@1,500;1,600;1,700&display=swap');

:root {
  --bg: #EDE4D6;
  --surface: #C8B89A;
  --header-bg: #EDE4D6;
  --footer-bg: #f0e9df;
  --text: #2C1F0E;
  --muted: #7A4E20;
  --brand: #A07840;
  --brand-2: #7A4E20;
  --line: #D4B88A;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(31, 41, 51, 0.06);
  --shadow-hover: 0 18px 50px rgba(31, 41, 51, 0.08);
  --transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Dark overlay to improve text contrast on hero images */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.48));
  z-index: 1;
  pointer-events: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 97%;
  max-width: none;
  margin: 0 auto;
}

/* Topbar */
.topbar {
  background: var(--header-bg);
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.topbar .topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.topbar .topbar-item:first-child {
  justify-content: flex-start;
}

.topbar .topbar-item:nth-child(2) {
  justify-content: center;
}

.topbar .topbar-item:last-child,
.topbar .topbar-item.topbar-promo-mobile+*,
.topbar .topbar-item:nth-last-child(2):has(+ .topbar-promo-mobile) {
  justify-content: flex-end;
}

.topbar-item svg {
  opacity: 0.7;
  color: #A07840;
}

/* Topbar rotator */
.topbar-rotator {
  display: inline-block;
  position: relative;
  min-width: 220px;
}

.topbar-rotator .rotator-item {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
}

.topbar-rotator .rotator-item.active {
  opacity: 1;
  position: relative;
}

.topbar-rotator .rotator-item+.rotator-item {
  margin-left: 0;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }

  /* Topbar on mobile: full-width eye-catching promo */
  .topbar {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 0;
    background: linear-gradient(90deg, #FAF3E6 0%, #F5EADA 50%, #FAF3E6 100%) !important;
    border-bottom: 1px solid #E6D4B5 !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .topbar .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .topbar-content {
    display: flex !important;
    width: 100%;
    gap: 0;
    flex-direction: row;
    justify-content: center !important;
    align-items: center;
    text-align: center;
    padding: 20px 16px !important;
    margin: 0 !important;
  }

  .topbar .topbar-item:not(.topbar-promo-mobile) {
    display: none !important;
  }

  .topbar .topbar-item.topbar-promo-mobile,
  .topbar .topbar-item:last-child.topbar-promo-mobile {
    display: flex !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.2px;
    color: #7A4E20 !important;
    line-height: 1.35;
    white-space: normal !important;
    word-wrap: break-word;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .topbar-promo-mobile a,
  .topbar-promo-mobile span {
    color: #A07840 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
  }
}

@keyframes promoShine {
  0% {
    background-position: 0% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.topbar .topbar-item.topbar-promo-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .topbar .topbar-item.topbar-promo-mobile {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .topbar-rotator {
    min-width: auto;
  }

  .topbar-rotator .rotator-item {
    position: relative;
    opacity: 1;
  }
}

/* Header */
.header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 104px;
  backface-visibility: hidden;
  overflow: visible;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 20px;
}

.header>.container.header-inner,
.header .header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  min-height: 104px;
  position: relative;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.nav-left {
  justify-self: start;
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-right {
  justify-self: end;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.nav-right .currency-switcher {
  margin-right: 6px;
}

.logo {
  justify-self: center;
}

/* Header right controls: currency, cart, admin */
.currency-switcher {
  display: inline-flex;
  align-items: center;
}

.currency-switcher select {
  padding: 6px 24px 6px 10px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.cart-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--bg);
  text-decoration: none;
  transition: var(--transition);
}

.cart-icon-btn svg {
  width: 20px;
  height: 20px;
}

.cart-icon-btn:hover {
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 6px 20px rgba(160, 120, 64, 0.2);
  transform: translateY(-2px);
}

.cart-badge {
  display: inline-block;
  min-width: 22px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: var(--bg);
  text-align: center;
  box-shadow: 0 2px 8px rgba(160, 120, 64, 0.3);
}

.admin-link {
  color: var(--text);
  font-size: 14px;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  font-weight: 500;
}

.admin-link:hover {
  color: var(--brand);
  background: rgba(44, 31, 14, 0.08);
}

/* Small spacing tweaks so controls align visually with nav */

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--brand);
  text-shadow: 0 2px 4px rgba(44, 31, 14, 0.1);
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.02);
}

.logo span {
  color: var(--brand-2);
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 22px;
  color: var(--text);
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav a,
.nav-drop-btn {
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--text);
  font-weight: 300;
  font-size: 15px;
  transition: var(--transition);
}

.nav a:hover,
.nav-drop-btn:hover {
  color: var(--brand);
  background: rgba(44, 31, 14, 0.05);
}

.nav a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

/* Menu bar under header */
.menu-bar {
  border: none;
  background: var(--surface);
  position: sticky;
  top: 104px;
  z-index: 80;
}

.menu-bar .container {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.menu-bar .menu-inner {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.menu {
  display: flex;
  gap: 0;
  align-items: stretch;
  padding: 0;
  justify-content: center;
  flex: 1 1 auto;
}

.menu {
  position: relative;
  z-index: 70;
}

.promo-text {
  display: inline-block;
  background: rgba(44, 31, 14, 0.06);
  padding: 6px 10px;
  border-radius: 6px;
  color: #2C1F0E;
  font-weight: 500;
}

.promo-link {
  display: inline-block;
  background: rgba(44, 31, 14, 0.06);
  padding: 6px 10px;
  border-radius: 6px;
  color: #A07840;
  font-weight: 600;
  text-decoration: none;
}

.menu-promo {
  display: none;
}

.menu>a,
.menu .nav-dropdown {
  display: flex;
  align-items: stretch;
}

.menu>a,
.menu .nav-drop-btn {
  color: var(--text);
  font-size: 14px;
  padding: 14px 18px;
  font-weight: 500;
  border-radius: 0;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.menu a:hover,
.menu .nav-drop-btn:hover {
  color: var(--brand);
  background: rgba(0, 0, 0, 0.06);
}

.menu .nav-dropdown:hover .nav-drop-btn,
.menu .nav-dropdown.keep-open .nav-drop-btn {
  color: var(--brand);
  background: rgba(0, 0, 0, 0.06);
}

@media (max-width: 900px) {
  .menu {
    display: none;
  }

  .menu.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    box-shadow: 0 8px 28px rgba(44, 31, 14, 0.16);
    max-height: 80vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
  }

  .menu a,
  .menu .nav-drop-btn {
    width: 100%;
    padding: 10px 12px;
  }

  .menu-promo {
    min-width: auto;
    display: block;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Header left promo styling (inside .nav-left) */
.nav-left .promo-text,
.nav-left .promo-link {
  display: inline-block;
  background: rgba(44, 31, 14, 0.06);
  padding: 6px 10px;
  border-radius: 6px;
  color: #2C1F0E;
  font-weight: 500;
  max-width: 420px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-left .promo-link {
  color: #A07840;
  font-weight: 600;
}

/* Keep the logo visually centered regardless of left promo width */
.logo {
  justify-self: center;
  z-index: 60;
}

@media (max-width: 1100px) {

  .nav-left .promo-text,
  .nav-left .promo-link {
    max-width: 180px;
  }
}

@media (max-width: 900px) {

  .nav-left .promo-text,
  .nav-left .promo-link {
    display: none;
  }
}

/* ── Dropdown – Level 1 ─────────────────────────── */
.nav-dropdown {
  position: relative;
}

.nav-drop-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #2C1F0E;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-drop-btn svg {
  opacity: 0.5;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.nav-dropdown:hover .nav-drop-btn {
  color: #A07840;
  background: rgba(44, 31, 14, 0.08);
}

.nav-dropdown:hover .nav-drop-btn svg {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-drop-btn a {
  color: inherit;
  text-decoration: none;
}

.nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 210px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(44, 31, 14, 0.13);
  padding: 0;
  overflow: visible;
  z-index: 200;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

/* invisible bridge fills gap between button and menu so hover doesn't break */
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.keep-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--brand);
}

/* ── Dropdown – Level 2 (flyout) ───────────────── */
.nav-sub-dropdown {
  position: relative;
}

.nav-sub-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-sub-parent svg {
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.nav-sub-parent:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--brand);
}

.nav-sub-parent:hover svg {
  opacity: 1;
}

.nav-sub-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(4px);
  position: fixed;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(44, 31, 14, 0.13);
  min-width: 190px;
  padding: 0;
  overflow: visible;
  z-index: 9999;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  white-space: nowrap;
}

/* bridge to prevent gap closing flyout */
.nav-sub-menu::after {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  width: 10px;
  height: 100%;
}

.nav-sub-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.nav-sub-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-sub-menu a:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--brand);
}

.currency-switcher select {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 8px;
  padding: 8px 28px 8px 12px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232C1F0E' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  outline: none;
}

.currency-switcher select:focus {
  border-color: var(--brand);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--bg);
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(160, 120, 64, 0.3);
}

.btn-light {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-light:hover {
  background: var(--surface);
  box-shadow: none;
}

.btn-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.btn-row form {
  margin: 0;
  display: flex;
}

.btn-row form .btn {
  width: 100%;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(180deg, #C8B89A 0%, #A07840 100%);
  color: #EDE4D6;
  text-shadow: 0 2px 4px rgba(44, 31, 14, 0.3);
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(44, 31, 14, 0.25);
  pointer-events: none;
}

.hero {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero h1,
.hero p {
  color: #fff;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: #EDE4D6;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  margin: 0 0 18px;
  max-width: 1200px;
  line-height: 1.08;
  font-weight: 700;
  color: #EDE4D6;
  letter-spacing: -1px;
}

.hero p {
  max-width: 720px;
  color: rgba(237, 228, 214, 0.9);
  font-size: 18px;
  margin: 0 0 28px;
  font-weight: 400;
}

.hero .eyebrow {
  color: rgba(237, 228, 214, 0.85);
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .section {
    padding: 32px 0;
  }
}

h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.5px;
}

.section-head {
  margin-bottom: 32px;
  text-align: left;
  background: var(--surface);
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head h1,
.section-head h2 {
  font-size: 28px;
  margin: 0;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}

.section-head .eyebrow {
  color: var(--brand);
  margin-bottom: 8px;
}

.section-head>div {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  background: var(--bg);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 8px rgba(44, 31, 14, 0.06);
}

.card:hover {
  transform: translateY(-5px) translateZ(0);
  box-shadow: 0 16px 40px rgba(44, 31, 14, 0.14);
  border-color: var(--brand);
  z-index: 1;
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: var(--surface);
  display: block;
}

.btn-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-wishlist:hover {
  transform: scale(1.05);
  color: var(--brand);
}

.btn-wishlist.active {
  color: #e74c3c;
  background: #fff;
  border-color: #e74c3c;
}

.btn-wishlist svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: all 0.2s ease;
}

.btn-wishlist.active svg {
  fill: currentColor;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover img {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .card,
  .card img {
    transition: none;
  }
  .card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(44, 31, 14, 0.06);
  }
}

/* Home Layout with Sidebar */
.home-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding-top: 16px;
}

@media (max-width: 768px) {
  .home-layout {
    padding-top: 0;
    gap: 16px;
    flex-direction: column;
  }
}

.home-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}

.home-sidebar .sidebar-inner {
  margin-bottom: 0;
}

.home-sidebar a:hover {
  color: #A07840 !important;
  padding-left: 4px;
}

/* Mobile-only / Desktop-only utilities */
.show-mobile {
  display: none !important;
}

@media (max-width: 900px) {
  .show-mobile {
    display: block !important;
  }
}

/* Mobile price filter bar */
.mpf-wrap {
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 10px 14px 12px;
}

.mpf-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  gap: 8px;
}

.mpf-toggle svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.mpf-toggle.mpf-open svg {
  transform: rotate(180deg);
}

.mpf-active-tag {
  font-size: 11px;
  color: var(--brand);
  background: rgba(160, 120, 64, 0.15);
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 500;
  margin-left: auto;
}

.mpf-body {
  display: none;
  padding-top: 12px;
}

.mpf-body.mpf-open {
  display: block;
}

.mpf-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

/* Price range filter */
.price-range-wrap {
  padding: 4px 0 2px;
}

.price-range-track {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.price-range-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--surface);
  border-radius: 3px;
}

.price-range-fill {
  position: absolute;
  height: 5px;
  background: var(--brand);
  border-radius: 3px;
  pointer-events: none;
}

.price-range-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.price-range-slider::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  background: transparent;
  height: 5px;
}

.price-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--bg);
  box-shadow: 0 2px 6px rgba(44, 31, 14, 0.35);
  cursor: pointer;
  pointer-events: all;
  margin-top: -7px;
  transition: transform 0.15s;
}

.price-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.price-range-slider::-moz-range-track {
  background: transparent;
  height: 5px;
}

.price-range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--bg);
  box-shadow: 0 2px 6px rgba(44, 31, 14, 0.35);
  cursor: pointer;
  pointer-events: all;
}

.price-inputs-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin-top: 4px;
}

.price-input-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  flex: 1;
  transition: border-color 0.2s;
}

.price-input-box:focus-within {
  border-color: var(--brand);
}

.price-input-box span {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  flex-shrink: 0;
  line-height: 1.4;
}

.price-input-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  padding: 0;
  margin: 0;
  min-width: 0;
  line-height: 1.4;
  appearance: none;
  -moz-appearance: textfield;
}

.price-input-box input::-webkit-outer-spin-button,
.price-input-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.price-range-sep {
  color: var(--muted);
  font-size: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.home-main {
  flex-grow: 1;
  min-width: 0;
  /* Prevents overflow in flex child */
}

.home-main .section {
  padding-top: 0;
}

.card .body {
  padding: 14px 16px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin: 6px 0 5px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.2px;
}

.card a:hover h3 {
  color: var(--brand);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 17px;
  color: var(--brand);
  margin: 0 0 14px;
}

.price .price-old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
}

.badge {
  display: inline-block;
  background: var(--surface);
  color: var(--text);
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card .badge {
  display: none;
}

.category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.category-pills a {
  background: var(--bg);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
}

.category-pills a:hover {
  background: var(--brand);
  color: var(--bg);
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: var(--text);
  padding: 40px 0 20px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.footer h3,
.footer h4 {
  color: var(--brand-2);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.footer h3 {
  font-size: 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 20px;
}

.footer-bottom {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.05);
  font-size: 13px;
  color: var(--muted);
  border-radius: 0 0 4px 4px;
  margin: 0 -0px;
}

.footer p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer a {
  display: block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 15px;
}

.footer a:hover {
  color: var(--text);
}

/* Footer currency switcher */
.footer .footer-currency {
  display: flex !important;
  align-items: center !important;
  gap: 6px;
  margin: 0;
}

.footer .footer-currency label {
  margin: 0;
  font-size: 12px;
  color: var(--brand);
  white-space: nowrap;
  line-height: 26px;
}

.footer .footer-currency select {
  height: 26px;
  padding: 0 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
  box-sizing: border-box;
}

.footer .footer-currency select:focus {
  outline: none;
  border-color: var(--brand);
}

/* Header search bar */
.header-search-wrap {
  display: flex;
  align-items: center;
}

.header-search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(160, 120, 64, 0.35);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: 36px;
  width: 280px;
}

.header-search-form:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(160, 120, 64, 0.12);
}

.header-search-input {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: transparent;
  outline: none;
  padding: 0 10px 0 14px;
  margin: 0;
  font-size: 13px;
  color: var(--text);
  flex: 1;
  min-width: 0;
  height: 36px;
  line-height: 36px;
  font-family: inherit;
  letter-spacing: 0.01em;
  box-sizing: border-box;
}

.header-search-input::placeholder {
  color: var(--muted);
}

.header-search-input::-webkit-search-cancel-button {
  display: none;
}

.header-search-btn {
  background: var(--brand);
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0 11px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
  border-left: none;
}

.header-search-btn:hover {
  background: #8a6530;
}

@media (max-width: 900px) {
  .header-search-wrap {
    display: none;
  }
}

/* Mobile search bar row */
.mobile-search-bar {
  display: none;
  background: var(--surface);
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}

.mobile-search-bar .header-search-form {
  width: 100%;
}

.mobile-search-bar .header-search-input {
  width: 100%;
}

@media (max-width: 900px) {
  .mobile-search-bar {
    display: block;
  }
}

/* Social share buttons (product page) */
.product-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 16px;
  flex-wrap: wrap;
}

.product-share-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 31, 14, 0.15);
}

.share-fb:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.share-wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.share-tw:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.share-pi:hover {
  background: #e60023;
  border-color: #e60023;
  color: #fff;
}

.share-copy:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* Footer social follow icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin: 18px 0 10px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer-social {
    justify-content: center;
  }
}

.footer-social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  background: transparent;
  color: var(--brand);
  text-decoration: none;
  margin-bottom: 0 !important;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.footer-social-link svg {
  display: block;
}

.footer-social-link:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(160, 120, 64, 0.28);
}

/* ── Reviews Section ────────────────────────── */
.reviews-section {
  background: var(--surface);
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.reviews-header {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.reviews-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  color: var(--brand);
  margin: 0;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-avg-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.stars-row {
  display: flex;
  gap: 2px;
}

.reviews-count-label {
  font-size: 13px;
  color: var(--muted);
}

/* Alert messages */
.review-alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 20px;
}

.review-alert-success {
  background: #f0faf4;
  color: #1a7a40;
  border: 1px solid #b2e0c4;
}

.review-alert-error {
  background: #fff5f5;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}

/* Login prompt */
.review-login-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.review-login-prompt a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}

/* Review form */
.review-form-wrap {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
}

.review-form-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 16px;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Star rating input (CSS-only, inputs in reverse DOM order 5→1 + flex-direction:row-reverse) */
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.star-rating-input input[type="radio"] {
  display: none;
}

.star-rating-input label {
  color: #ddd;
  cursor: pointer;
  transition: color 0.15s;
  line-height: 1;
}

.star-rating-input input:checked~label,
.star-rating-input label:hover,
.star-rating-input label:hover~label {
  color: #A07840;
}

.review-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  resize: vertical;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.review-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(160, 120, 64, 0.10);
}

/* Review cards list */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-info {
  flex: 1;
}

.reviewer-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 3px;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-date {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  margin-left: auto;
}

.review-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}

.no-reviews-msg {
  color: var(--muted);
  font-size: 14px;
  padding: 20px 0;
}

@media (max-width: 600px) {
  .reviews-section {
    padding: 28px 0;
  }

  .review-form-wrap {
    padding: 16px;
  }

  .review-card {
    padding: 14px;
  }
}

/* ── Mega Menu ─────────────────────────────────── */
.has-mega {
  position: static !important;
}

.nav-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  transform: translateY(-10px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 20px 60px rgba(44, 31, 14, 0.14);
  padding: 28px 28px 18px;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.has-mega:hover .nav-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px 28px;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mega-col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
  text-decoration: none;
  transition: color .15s;
}

.mega-col-head:hover {
  color: var(--brand);
}

.mega-col-img {
  width: 26px;
  height: 26px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.mega-sub-link {
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0 4px 2px;
  text-decoration: none;
  display: block;
  transition: color .15s, padding-left .15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-sub-link:hover {
  color: var(--brand);
  padding-left: 6px;
}

.mega-footer {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.mega-footer-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.mega-footer-link:hover {
  text-decoration: underline;
}

/* Sidebar category navigation */
.cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 7px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: background .15s, color .15s;
  gap: 8px;
}

.cat-row:hover {
  background: rgba(160, 120, 64, .1);
  color: var(--brand);
}

.cat-row.cat-active {
  background: rgba(160, 120, 64, .13);
  color: var(--brand);
  font-weight: 700;
}

.cat-toggle {
  font-family: inherit;
}

.cat-name {
  flex: 1;
  text-align: left;
}

.cat-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cat-count {
  font-size: 11px;
  font-weight: 600;
  background: var(--line);
  color: var(--muted);
  padding: 2px 7px;
  border-radius: 20px;
  min-width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.cat-chevron {
  flex-shrink: 0;
  transition: transform .2s;
  color: var(--muted);
}

.subcat-list {
  list-style: none;
  margin: 2px 0 4px 10px;
  padding: 0 0 0 12px;
  border-left: 2px solid var(--line);
}

.subcat-link {
  display: block;
  padding: 5px 8px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 5px;
  transition: background .15s, color .15s;
}

.subcat-link:hover {
  background: rgba(160, 120, 64, .08);
  color: var(--brand);
}

.subcat-link.subcat-active {
  color: var(--brand);
  font-weight: 700;
  background: rgba(160, 120, 64, .1);
}

.cat-viewall {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 8px;
}

/* Trust Badges */
.trust-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 52px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.trust-card:hover {
  box-shadow: 0 6px 24px rgba(160, 120, 64, 0.12);
  transform: translateY(-3px);
}

.trust-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(160, 120, 64, 0.08);
  border: 1.5px solid rgba(160, 120, 64, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.trust-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: -0.1px;
}

.trust-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1100px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust-section {
    padding: 32px 0;
  }

  .trust-card {
    padding: 20px 12px;
  }

  .trust-icon {
    width: 52px;
    height: 52px;
  }
}

/* Related products */
.related-products-section {
  background: var(--surface);
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.related-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  color: var(--brand);
  text-align: center;
  margin: 0 0 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.related-grid .card-img-wrap {
  height: 220px;
}

.related-grid .card img {
  height: 220px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

@media (max-width: 1024px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Layouts */
.product-page {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 0;
  align-items: start;
}

.product-page>div {
  position: relative;
}

/* Product page - remove section padding */
body .section:has(.product-page) {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}

.product-image-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #D4B88A;
  box-shadow: 0 8px 30px rgba(44, 31, 14, 0.1);
  background: #fff;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  line-height: 0;
  min-width: 0;
}

.product-main-image {
  width: 100%;
  height: 100%;
  max-height: 500px;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.product-image-wrapper:hover .product-main-image {
  opacity: 0.95;
}

/* Product Thumbnails */
.product-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 80px;
  flex-shrink: 0;
}

.thumbnail-item {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #D4B88A;
  cursor: pointer;
  transition: var(--transition);
  aspect-ratio: 1;
  background: #C8B89A;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail-item:hover {
  border-color: #A07840;
  transform: translateX(2px);
}

.thumbnail-item.active {
  border-color: #A07840;
  box-shadow: 0 0 0 3px rgba(160, 120, 64, 0.2);
}

/* Product Details */
.product-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.product-category {
  background: #C8B89A;
  color: #2C1F0E;
}

.stock-badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stock-badge.in-stock {
  background: rgba(160, 120, 64, 0.15);
  color: #A07840;
}

.stock-badge.out-of-stock {
  background: rgba(122, 78, 32, 0.15);
  color: #7A4E20;
}

.product-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #2C1F0E;
  line-height: 1.2;
  margin: 0;
}

.product-price-section {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid #D4B88A;
  border-bottom: 1px solid #D4B88A;
}

.old-price {
  font-size: 20px;
  color: #7A4E20;
  text-decoration: line-through;
  font-weight: 400;
}

.discount-badge {
  background: #7A4E20;
  color: #EDE4D6;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.current-price {
  font-size: 32px;
  font-weight: 700;
  color: #A07840;
}

.product-description h3 {
  font-size: 18px;
  color: #2C1F0E;
  margin-bottom: 12px;
}

.product-description p {
  color: #2C1F0E;
  line-height: 1.7;
  font-size: 15px;
}

.success-message {
  background: rgba(160, 120, 64, 0.15);
  color: #A07840;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #A07840;
  font-weight: 500;
  text-align: center;
}

/* Product Form */
.product-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quantity-selector label {
  display: block;
  font-weight: 600;
  color: #2C1F0E;
  margin-bottom: 8px;
  font-size: 14px;
}

.quantity-input-wrapper {
  display: flex;
  align-items: center;
  max-width: 150px;
  border: 1px solid #D4B88A;
  border-radius: 8px;
  overflow: hidden;
}

.quantity-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: #C8B89A;
  color: #2C1F0E;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quantity-btn:hover {
  background: #A07840;
  color: #EDE4D6;
}

.quantity-input {
  width: 62px;
  height: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid #D4B88A;
  border-right: 1px solid #D4B88A;
  background: #EDE4D6;
  color: #2C1F0E;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  padding: 0;
}

.quantity-input:focus {
  outline: none;
  background: #f5efe6;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #A07840;
  color: #EDE4D6;
  flex: 1;
  min-width: 200px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.btn-primary:hover {
  background: #7A4E20;
  box-shadow: 0 8px 25px rgba(160, 120, 64, 0.3);
}

.btn-secondary {
  background: #EDE4D6;
  color: #2C1F0E;
  border: 1px solid #D4B88A;
  flex: 1;
  min-width: 150px;
  padding: 14px 24px;
}

.btn-secondary:hover {
  background: #C8B89A;
  border-color: #A07840;
  color: #A07840;
}

/* Product Features */
.product-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: rgba(200, 184, 154, 0.3);
  border-radius: 8px;
  border: 1px solid #D4B88A;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2C1F0E;
  font-size: 14px;
  font-weight: 500;
}

.feature-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7A4E20;
  font-weight: 500;
  padding: 8px 0;
  transition: var(--transition);
}

.back-link svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.back-link:hover {
  color: #A07840;
  transform: translateX(-4px);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  padding: 0 0 40px;
  align-items: start;
}

.section:has(.checkout-layout) .section-head {
  margin-bottom: 12px;
}

.compact-fields .field-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.compact-fields .field-row label {
  min-width: 140px;
  flex-shrink: 0;
  font-size: 13px;
  margin: 0;
  white-space: nowrap;
}

.compact-fields .field-row input {
  flex: 1;
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
}

.compact-fields .field-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid>div.full {
  grid-column: span 2;
}

.content-tab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.content-card-full {
  grid-column: 1 / -1;
}

@media (min-width: 1000px) {
  .content-tab-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.inline-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.inline-field:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.inline-field:first-of-type {
  padding-top: 0;
}

.inline-field label {
  min-width: 110px;
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
  white-space: nowrap;
  padding-top: 8px;
}

.inline-field input,
.inline-field select {
  flex: 1;
  margin: 0;
  padding: 7px 10px;
  font-size: 13.5px;
  min-height: auto;
}

.inline-field textarea {
  flex: 1;
  margin: 0;
  padding: 7px 10px;
  font-size: 13.5px;
  min-height: auto;
  resize: vertical;
}

@media (min-width: 1000px) {
  .inline-field {
    padding: 10px 0;
    gap: 16px;
  }

  .inline-field:first-of-type {
    padding-top: 2px;
  }

  .inline-field label {
    min-width: 130px;
    font-size: 13px;
    padding-top: 8px;
  }

  .inline-field input,
  .inline-field select {
    padding: 7px 10px;
    font-size: 14px;
  }

  .inline-field textarea {
    padding: 7px 10px;
    font-size: 14px;
  }
}

.summary-box {
  background: #EDE4D6;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid #D4B88A;
  box-shadow: 0 8px 30px rgba(44, 31, 14, 0.1);
}

.summary-box h3 {
  margin-bottom: 24px;
  border-bottom: 1px solid #D4B88A;
  padding-bottom: 16px;
}

.summary-box table {
  width: 100%;
  border-collapse: collapse;
}

.summary-box th,
.summary-box td {
  padding: 12px 0;
  border-bottom: 1px solid #D4B88A;
}

.summary-box th {
  text-align: left;
  font-weight: 500;
  color: #7A4E20;
}

.summary-box td {
  text-align: right;
  font-weight: 600;
  color: #2C1F0E;
}

/* Forms */
.form-control,
textarea,
select,
input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #D4B88A;
  border-radius: 8px;
  margin: 4px 0 16px;
  background: #EDE4D6;
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
  color: #2C1F0E;
}

.form-control:focus,
textarea:focus,
select:focus,
input:focus {
  outline: none;
  border-color: #A07840;
  box-shadow: 0 0 0 3px rgba(160, 120, 64, 0.15);
}

label {
  font-weight: 500;
  font-size: 14px;
  color: #2C1F0E;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.panel {
  background: #EDE4D6;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #D4B88A;
  box-shadow: 0 8px 30px rgba(44, 31, 14, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
}

.admin-main table {
  min-width: 720px;
}

.panel {
  overflow-x: auto;
}

th,
td {
  text-align: left;
  padding: 6px 10px;
  border-bottom: 1px solid #D4B88A;
  font-size: 13px;
  white-space: nowrap;
}

th {
  color: #7A4E20;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

tr {
  height: 40px;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-link {
  background: #C8B89A;
  color: #2C1F0E;
  padding: 6px 10px;
  border-radius: 5px;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
}

.btn-link:hover {
  background: #A07840;
  color: #EDE4D6;
}

.danger {
  background: rgba(122, 78, 32, 0.2);
  color: #7A4E20;
  border: 1px solid #7A4E20;
}

.danger:hover {
  background: rgba(122, 78, 32, 0.3);
}

/* Admin */
.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: #2C1F0E;
  color: #EDE4D6;
  padding: 24px 16px;
  border-right: 1px solid #7A4E20;
}

.sidebar h3 {
  margin: 0 0 24px;
  color: #A07840;
  padding: 0 12px;
  font-size: 20px;
}

.sidebar a {
  display: block;
  padding: 7px 16px;
  color: #C8B89A;
  text-decoration: none;
  margin: 0;
  font-weight: 500;
}

.sidebar a:hover {
  background: rgba(160, 120, 64, 0.15);
  color: #A07840;
}

.admin-main {
  padding: 32px;
  background: #EDE4D6;
  overflow-x: auto;
}

.admin-topbar {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

/* Product editor compact sidebar layout */
.product-editor {
  padding: 20px;
}

.product-editor form input[type="text"],
.product-editor form input[type="number"],
.product-editor form textarea,
.product-editor form select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #D4B88A;
  border-radius: 6px;
  background: #EDE4D6;
  color: #2C1F0E;
}

.product-editor form textarea {
  resize: vertical;
}

@media (max-width: 900px) {
  .product-editor form {
    grid-template-columns: 1fr !important;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .product-page {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-gallery {
    position: relative;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .compact-fields .field-row {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .compact-fields .field-row label {
    min-width: auto;
  }

  .compact-fields .field-row-half {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {

  /* Keep header above the fixed mobile menu so toggle is always clickable */
  .header {
    z-index: 250;
  }


  .logo {
    font-size: 26px;
    white-space: nowrap;
    letter-spacing: -0.5px;
  }

  .header,
  .header .header-inner {
    min-height: auto;
  }

  /* Compact mobile header — switch from 3-col grid to flex */
  .header .header-inner {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    gap: 8px;
  }

  .nav-left.header-search-wrap {
    display: none !important;
  }

  .logo {
    flex: 1;
    justify-self: unset;
  }

  .nav-right {
    justify-self: unset;
    flex-shrink: 0;
    gap: 8px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(160, 120, 64, 0.1);
    border: 1px solid #D4B88A;
    transition: var(--transition);
  }

  .menu-toggle:hover {
    background: rgba(160, 120, 64, 0.2);
    border-color: #A07840;
  }

  .menu-toggle svg {
    width: 22px;
    height: 22px;
    color: #2C1F0E;
  }

  .nav {
    display: none;
    position: absolute;
    right: 4%;
    top: 60px;
    background: #EDE4D6;
    border: 1px solid #D4B88A;
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(44, 31, 14, 0.15);
    padding: 16px;
    flex-direction: column;
    width: 240px;
    align-items: flex-start;
    animation: fadeIn 0.2s ease;
    z-index: 100;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-5px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav-drop-btn {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    font-size: 13px;
  }

  .menu>a,
  .menu .nav-drop-btn,
  .menu .nav-sub-parent {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 10px 14px !important;
    font-size: 13px;
    color: #2C1F0E;
    border-radius: 0;
  }

  .menu .nav-dropdown,
  .menu .nav-sub-dropdown {
    display: block;
    width: 100%;
  }

  /* Full-width hamburger menu and hide menu-bar background */
  .menu-bar {
    padding: 0;
    background: transparent;
    position: static;
  }

  .menu {
    background: #EDE4D6;
  }

  .menu.is-open {
    width: 100%;
    padding: 8px 0;
    border-top: 1px solid #D4B88A;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    pointer-events: auto;
    transform: none;
    background: rgba(44, 31, 14, 0.06);
    border-radius: 8px;
    box-shadow: none;
    padding: 4px 0 4px 10px;
    min-width: 0;
    margin: 2px 0 4px;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown.mobile-open>.nav-dropdown-menu {
    display: block;
  }

  /* Mega menu on mobile */
  .nav-mega-menu {
    position: static;
    transform: none;
    width: calc(100% - 16px);
    border: 1px solid rgba(160, 120, 64, 0.2);
    border-radius: 8px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
    padding: 8px 0 8px 12px;
    background: rgba(44, 31, 14, 0.04);
    margin: 8px 8px 12px;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .has-mega.mobile-open>.nav-mega-menu {
    display: block;
    max-height: 45vh;
    overflow-y: auto;
  }

  .mega-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mega-col {
    margin-bottom: 8px;
  }

  .mega-col-head {
    font-size: 13px;
    padding: 6px 0 5px;
    margin-bottom: 2px;
  }

  .mega-col-img {
    width: 20px;
    height: 20px;
  }

  .mega-sub-link {
    padding: 5px 8px;
    font-size: 13px;
  }

  .mega-footer {
    margin-top: 10px;
    padding-top: 8px;
    justify-content: flex-start;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a {
    color: #2C1F0E;
    font-size: 13px;
    padding: 8px 12px;
    white-space: normal;
  }

  .nav-dropdown-menu a:hover {
    background: rgba(160, 120, 64, 0.12);
    color: #A07840;
  }

  .nav-sub-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: rgba(44, 31, 14, 0.04);
    border: none;
    box-shadow: none;
    padding: 4px 0 4px 10px;
    min-width: 0;
    margin: 2px 0;
    display: none !important;
  }

  .nav-sub-dropdown.mobile-open>.nav-sub-menu {
    display: block !important;
  }

  /* Hide any nav-sub-menu that got detached to body on mobile */
  body>.nav-sub-menu {
    display: none !important;
  }

  /* mobile caret indicator */
  .nav-drop-btn::after,
  .nav-sub-parent::after {
    content: '+';
    margin-left: 8px;
    font-size: 15px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1;
  }

  .nav-dropdown.mobile-open>.nav-drop-btn::after,
  .nav-sub-dropdown.mobile-open>.nav-sub-parent::after {
    content: '−';
    color: #A07840;
  }

  .nav-sub-menu::before {
    display: none;
  }

  .nav-sub-menu a {
    color: #2C1F0E;
    font-size: 12px;
    padding: 7px 12px;
  }

  .nav-sub-menu a:hover {
    background: rgba(160, 120, 64, 0.1);
    color: #A07840;
  }

  .nav-sub-parent {
    color: #2C1F0E;
    font-size: 13px;
    padding: 8px 12px;
  }

  .nav-sub-parent:hover {
    background: rgba(160, 120, 64, 0.12);
    color: #A07840;
  }

  .nav-drop-btn svg {
    display: none;
  }

  .currency-switcher {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .card-img-wrap {
    height: auto !important;
    aspect-ratio: 3 / 4;
    min-height: 280px;
    background: var(--surface); /* placeholder color shown while image loads */
  }

  .card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .footer {
    padding: 32px 0 16px;
  }

  .footer-grid>div {
    text-align: center;
  }

  .footer-grid>div a {
    display: inline-block;
    margin: 0 8px 10px;
  }

  .footer-grid>div p {
    text-align: center;
  }

  .footer h3,
  .footer h4 {
    text-align: center;
    margin-bottom: 14px;
  }

  .footer-bottom {
    text-align: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid>div {
    grid-column: auto !important;
  }

  .section {
    padding: 16px 0;
    margin-top: 8px;
  }

  .section-head {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    padding: 10px 14px;
    gap: 8px;
    margin-bottom: 14px;
  }

  .hero+.section {
    margin-top: 8px;
  }

  .section-head h1,
  .section-head h2 {
    font-size: 18px;
    text-align: left;
    line-height: 1.2;
  }

  .section-head .eyebrow {
    font-size: 10px;
    letter-spacing: 1.2px;
    margin-bottom: 2px;
  }

  .section-head>div {
    justify-content: flex-end;
  }

  .hero {
    padding: 28px 0 20px;
    margin-bottom: 0;
  }

  .hero h1 {
    font-size: 32px;
    margin: 0 0 12px;
  }

  .hero p {
    font-size: 14px;
    margin: 0 0 16px;
  }

  .hero .btn {
    margin-bottom: 0;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
    position: fixed;
    z-index: 100;
    inset: 0 auto 0 0;
    width: 280px;
    height: 100vh;
    box-shadow: 10px 0 30px rgba(44, 31, 14, 0.3);
  }

  .sidebar.is-open {
    display: block;
  }

  .admin-topbar {
    display: flex;
  }

  .admin-main {
    padding: 20px;
  }
}

/* Desktop: force 5 products per row on wide screens */
@media (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .card-img-wrap {
    aspect-ratio: 3 / 4;
  }

  .card img {
    object-fit: contain;
    object-position: center;
  }
}

/* Compact category headers on desktop */
@media (min-width: 1000px) {
  .section {
    padding: 15px 0;
  }

  .section-head {
    margin-bottom: 24px;
    padding: 8px 20px;
  }

  .section-head h1,
  .section-head h2 {
    font-size: 24px;
    line-height: 1.1;
    font-weight: 600;
  }

  .section-head h2 img {
    width: 40px;
    height: 40px;
  }

  .section-head .eyebrow {
    font-size: 11px;
    letter-spacing: 1.6px;
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 6px;
  }
}

/* Grid & Cards */
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-head .view-all-btn,
.section-head .btn-light {
  padding: 6px 18px;
  border-radius: 10px;
  font-size: 14px;
  background: #EDE4D6;
  color: #A07840;
  border: 1px solid #D4B88A;
  display: inline-block;
  box-shadow: 0 6px 18px rgba(160, 120, 64, 0.1);
  font-weight: 500;
  transition: all 0.2s ease;
  margin-left: auto;
}

.section-head .view-all-btn:hover,
.section-head .btn-light:hover {
  background: #C8B89A;
  color: #7A4E20;
  border-color: #A07840;
}

/* badge override already defined in main card rules */

/* Contact page spacing */
.contact-section {
  padding-top: 32px;
  padding-bottom: 48px;
}

.contact-hero {
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .contact-section {
    padding-top: 16px !important;
    padding-bottom: 24px !important;
  }

  .contact-hero {
    margin-bottom: 20px !important;
  }

  .contact-section .about-grid {
    margin-bottom: 24px !important;
  }

  .contact-section .about-hero {
    padding: 28px 18px !important;
  }
}

/* About Us Page */
.about-hero {
  background: linear-gradient(135deg, #2C1F0E 0%, #7A4E20 100%);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 8px 30px rgba(44, 31, 14, 0.15);
}

.about-eyebrow {
  display: inline-block;
  background: rgba(160, 120, 64, 0.2);
  color: #EDE4D6;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.about-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #EDE4D6;
  margin: 0 0 16px;
  line-height: 1.2;
}

.about-hero h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #C8B89A;
  margin: 0;
}

.about-section {
  margin-bottom: 60px;
}

.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background: #C8B89A;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #D4B88A;
}

.about-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #2C1F0E;
  margin: 0 0 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #2C1F0E;
  margin: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.about-card {
  background: #EDE4D6;
  padding: 40px 30px;
  border-radius: var(--radius);
  border: 1px solid #D4B88A;
  text-align: center;
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(44, 31, 14, 0.15);
}

.about-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(200, 184, 154, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #2C1F0E;
  margin: 0 0 16px;
}

.about-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #2C1F0E;
  margin: 0;
}

@media (max-width: 768px) {
  .about-hero {
    padding: 40px 20px;
  }

  .about-hero h1 {
    font-size: 32px;
  }

  .about-hero h2 {
    font-size: 18px;
  }

  .about-content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Page Content Styles */
.page-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #2C1F0E;
  margin: 32px 0 16px;
}

.page-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #2C1F0E;
  margin: 24px 0 12px;
}

.page-content p {
  margin: 0 0 16px;
  line-height: 1.8;
}

.page-content ul,
.page-content ol {
  margin: 0 0 16px 20px;
  padding-left: 20px;
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-content strong {
  color: #7A4E20;
}

.page-content a {
  color: #7A4E20;
  text-decoration: underline;
}

.page-content a:hover {
  color: #2C1F0E;
}

/* ===================== BLOG STYLES ===================== */
.blog-hero {
  background: linear-gradient(135deg, #EDE4D6 0%, #C8B89A 100%);
  padding: 64px 0 48px;
  text-align: center;
  border-bottom: 1px solid #D4B88A;
}

.blog-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  color: #2C1F0E;
  margin: 0 0 12px;
}

.blog-hero p {
  color: #7A4E20;
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

.blog-container {
  padding: 48px 0 64px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 31, 14, 0.08);
  border: 1px solid #EDE4D6;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(44, 31, 14, 0.14);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #C8B89A;
  flex-shrink: 0;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #C8B89A 0%, #EDE4D6 100%);
}

.blog-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #A07840;
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #2C1F0E;
  margin: 0 0 10px;
  line-height: 1.35;
  font-family: 'Montserrat', sans-serif;
}

.blog-card-excerpt {
  font-size: 14px;
  color: #7A4E20;
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  font-size: 13px;
  font-weight: 600;
  color: #A07840;
  margin-top: auto;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.blog-pagination a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #7A4E20;
  background: #EDE4D6;
  border: 1px solid #D4B88A;
  text-decoration: none;
  transition: all 0.2s;
}

.blog-pagination a.active,
.blog-pagination a:hover {
  background: #A07840;
  color: #fff;
  border-color: #A07840;
}

/* Single blog post */
.blog-post-cover {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
}

.blog-post-cover img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.blog-post-container {
  max-width: 820px;
  padding-top: 40px;
  padding-bottom: 64px;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 13px;
  color: #7A4E20;
}

.blog-post-date,
.blog-post-author {
  background: #EDE4D6;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.blog-post-title {
  font-size: clamp(26px, 4vw, 42px);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #2C1F0E;
  margin: 0 0 18px;
  line-height: 1.2;
}

.blog-post-excerpt {
  font-size: 18px;
  color: #7A4E20;
  font-style: italic;
  border-left: 4px solid #A07840;
  padding-left: 18px;
  margin: 0 0 32px;
  line-height: 1.6;
}

.blog-post-content {
  font-size: 16px;
  line-height: 1.85;
  color: #2C1F0E;
}

.blog-post-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #2C1F0E;
  margin: 36px 0 16px;
}

.blog-post-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #2C1F0E;
  margin: 28px 0 12px;
}

.blog-post-content p {
  margin: 0 0 18px;
}

.blog-post-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 16px 0;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 18px 20px;
  padding-left: 18px;
}

.blog-post-content li {
  margin-bottom: 8px;
}

.blog-post-content a {
  color: #A07840;
  text-decoration: underline;
}

.blog-post-content blockquote {
  border-left: 4px solid #A07840;
  margin: 24px 0;
  padding: 12px 20px;
  background: #FAF3E6;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #7A4E20;
}

.blog-related {
  padding: 48px 0;
  border-top: 1px solid #EDE4D6;
}

.blog-related h3 {
  font-size: 22px;
  font-weight: 700;
  color: #2C1F0E;
  margin: 0 0 24px;
  font-family: 'Montserrat', sans-serif;
}

.blog-grid-related {
  grid-template-columns: repeat(3, 1fr);
}

/* Blog layout with sidebar */
.blog-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.blog-main {
  flex: 1;
  min-width: 0;
}

.blog-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #EDE4D6;
  padding: 20px 0;
  box-shadow: 0 2px 12px rgba(44, 31, 14, 0.07);
  position: sticky;
  top: 80px;
}

.blog-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  color: #7A4E20;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 18px 12px;
  margin: 0;
  border-bottom: 1px solid #EDE4D6;
}

.blog-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  font-size: 14px;
  color: #2C1F0E;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.blog-cat-link:hover,
.blog-cat-link.active {
  background: #FAF3E6;
  color: #A07840;
  font-weight: 600;
}

.blog-cat-count {
  font-size: 11px;
  background: #EDE4D6;
  color: #7A4E20;
  border-radius: 20px;
  padding: 2px 8px;
  font-weight: 600;
}

.blog-filter-label {
  font-size: 14px;
  color: #7A4E20;
  margin-bottom: 20px;
  padding: 10px 14px;
  background: #FAF3E6;
  border-radius: 8px;
  border: 1px solid #EDE4D6;
}

.blog-card-cat {
  background: #A07840;
  color: #fff;
  border-radius: 20px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Blog responsive */
@media (max-width: 900px) {
  .blog-layout {
    flex-direction: column;
  }

  .blog-sidebar {
    width: 100%;
    position: static;
    display: flex;
    flex-wrap: wrap;
    padding: 12px 8px;
    gap: 4px;
  }

  .blog-sidebar-title {
    width: 100%;
    padding: 0 10px 8px;
    margin-bottom: 4px;
  }

  .blog-cat-link {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    background: #EDE4D6;
    flex: 0 0 auto;
  }

  .blog-cat-link.active {
    background: #A07840;
    color: #fff;
  }

  .blog-cat-count {
    display: none;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .blog-grid-related {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-hero {
    padding: 40px 0 32px;
  }

  .blog-container {
    padding: 28px 0 40px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-grid-related {
    grid-template-columns: 1fr;
  }

  .blog-card-img {
    height: auto;
  }

  .blog-card-img img {
    height: 240px;
  }

  .blog-post-cover img {
    height: 240px;
  }

  .blog-post-container {
    padding-top: 24px;
    padding-bottom: 40px;
  }
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */
.about-hero {
  text-align: center;
  margin-bottom: 60px;
}

.about-eyebrow {
  display: inline-block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand);
  margin-bottom: 12px;
  font-weight: 600;
}

.about-hero h1 {
  font-size: 42px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.about-hero h2 {
  font-size: 20px;
  color: var(--muted);
  font-weight: 400;
}

.about-section {
  margin-bottom: 80px;
}

.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  width: 100%;
  display: block;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(160, 120, 64, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(160, 120, 64, 0.2);
  box-shadow: 0 4px 20px rgba(44, 31, 14, 0.05);
  transition: transform 0.4s ease;
}

.about-image-placeholder:hover {
  transform: translateY(-5px);
}

.about-image-placeholder svg {
  width: 80px;
  height: 80px;
  stroke: var(--brand);
  opacity: 0.8;
}

.about-text h3 {
  font-size: 32px;
  margin-bottom: 24px;
  position: relative;
  display: block;
  width: fit-content;
}

.about-text h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  text-align: left;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-card {
  background: var(--surface);
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--line);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(44, 31, 14, 0.08);
  border-color: var(--brand);
}

.about-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(160, 120, 64, 0.08);
  border-radius: 50%;
  margin-bottom: 24px;
  color: var(--brand);
}

.about-card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--brand);
}

.about-card h4 {
  font-size: 20px;
  margin-bottom: 16px;
}

.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .about-hero h1 {
    font-size: 32px;
  }
  
  .about-text h3 {
    font-size: 28px;
  }
}

/* Desktop spacing for wishlist icon */
.wishlist-icon-btn {
  margin-right: 8px;
}

@media (max-width: 900px) {
  .topbar {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .header>.container.header-inner,
  .header .header-inner {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    min-height: auto;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    gap: 8px;
    overflow: hidden !important;
  }

  .nav-left {
    display: none !important;
  }

  .header .logo,
  .logo {
    flex: 1 1 auto;
    font-size: 22px !important;
    letter-spacing: -0.5px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .header .logo img {
    max-height: 40px !important;
    max-width: 100% !important;
    width: auto;
  }

  .nav-right {
    display: flex !important;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
  }

  .cart-icon-btn {
    padding: 6px;
    gap: 2px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-right: 0 !important;
  }

  .cart-icon-btn svg {
    width: 22px;
    height: 22px;
  }

  .cart-badge {
    min-width: 16px;
    padding: 2px 5px;
    font-size: 10px;
  }

  .menu-toggle {
    padding: 6px;
    margin: 0;
  }
}