/* ==========================================================================
   Medovik theme — tokens taken from the live site (Bonbon / ThemeREX)
   ========================================================================== */
:root {
  --c-yellow: #fffbcc;
  --c-yellow-50: rgba(255, 251, 204, .5);
  --c-yellow-42: rgba(255, 251, 204, .42);
  --c-gold: #febc09;
  --c-gold-btn: #fabf35;
  --c-brown: #432b10;
  --c-brown-deep: #241c10;
  --c-footer: #1f1207;
  --c-text: #6a5952;
  --c-text-light: #9d9690;
  --c-muted: #afa8a2;
  --c-border: #e6e1dc;
  --c-cream: #fbf6f2;
  --c-banner: #feeabf;
  --c-white: #fff;
  --c-error: #b23a2a;
  --c-ok: #2f7d4f;

  --f-body: "Open Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-head: "Playfair Display", "Times New Roman", Georgia, serif;

  --page: 1200px;
  --gap: 30px;
  --header-h: 121px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-gold); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--c-brown); }
button { font: inherit; cursor: pointer; }
input, select, textarea, button { font-family: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  font-weight: 400;
  color: var(--c-brown);
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: 3.563em; }
h2 { font-size: 2.938em; line-height: 1.02; }
h3 { font-size: 2.188em; line-height: 1.09; }
h4 { font-size: 1.75em; line-height: 1.21; }
h5 { font-size: 1.5em; line-height: 1.2; }
h6 { font-size: 1.188em; }
p { margin: 0 0 1.4em; }
.container { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--c-text-light); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--c-brown); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }
.section { padding: 90px 0; }
.section-title { margin-bottom: 1.2em; }
.eyebrow { color: var(--c-gold); text-transform: uppercase; letter-spacing: 3px; font-size: 12px; font-weight: 600; margin-bottom: 1em; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 17px;
  line-height: 21px;
  padding: 14px 32px;
  border: 0;
  border-radius: 0;
  text-align: center;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  cursor: pointer;
}
.btn-dark { background: var(--c-brown-deep); color: var(--c-cream); }
.btn-dark:hover { background: var(--c-gold); color: var(--c-brown); }
.btn-gold { background: var(--c-gold-btn); color: #fcfcfc; }
.btn-gold:hover { background: var(--c-brown); color: #fff; }
.btn-outline { background: transparent; color: var(--c-brown); border: 1px solid var(--c-brown); }
.btn-outline:hover { background: var(--c-brown); color: #fff; }
.btn-outline-dark { background: transparent; color: var(--c-brown); border: 1px solid var(--c-brown); display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-dark:hover { background: var(--c-brown); color: #fff; }
.btn-pill { background: var(--c-brown); color: #fff; border: 1px solid #fff; border-radius: 50px; padding: 12px 24px; font-family: var(--f-body); font-size: 15px; }
.btn-pill:hover { background: #fff; color: var(--c-brown); }
.btn-sm { padding: 10px 22px; font-size: 15px; }
.btn-lg { padding: 17px 44px; }
.cart-actions .btn-gold { background: var(--c-gold); }
.cart-actions .btn-gold[disabled] { background: #c9c2bb; opacity: 1; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-yellow);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 2px 20px rgba(67, 43, 16, .08); }
body.header-over .site-header { position: fixed; left: 0; right: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 30px; }
.logo img { width: 220px; height: auto; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-family: var(--f-head);
  font-size: 17px;
  color: var(--c-brown);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--c-brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.icon-btn { background: none; border: 0; color: var(--c-brown); padding: 6px; position: relative; display: inline-flex; align-items: center; }
.icon-btn:hover { color: var(--c-gold); }
.cart-count {
  position: absolute; right: -2px; bottom: 0;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--c-gold); color: var(--c-brown);
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; border-radius: 8px;
}
.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 34px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--c-brown); transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(255, 251, 204, .97); display: flex; align-items: center; }
.search-overlay[hidden] { display: none; }
.search-overlay .container { position: relative; }
.search-form { display: flex; border-bottom: 2px solid var(--c-brown); max-width: 800px; margin: 0 auto; }
.search-form input { flex: 1; border: 0; background: transparent; font-family: var(--f-head); font-size: 32px; padding: 14px 0; color: var(--c-brown); outline: none; }
.search-form input::placeholder { color: var(--c-muted); }
.search-form button { background: none; border: 0; color: var(--c-brown); }
.search-form.inline { border: 1px solid var(--c-border); margin-bottom: 40px; }
.search-form.inline input { font-family: var(--f-body); font-size: 16px; padding: 12px 16px; }
.overlay-close { position: absolute; right: 20px; top: -80px; background: none; border: 0; font-size: 42px; line-height: 1; color: var(--c-brown); }

.mobile-menu { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--c-yellow); z-index: 150; padding: 30px 20px; overflow: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: block; font-family: var(--f-head); font-size: 26px; color: var(--c-brown); padding: 12px 0; border-bottom: 1px solid rgba(67, 43, 16, .1); }

/* Mini cart --------------------------------------------------------------- */
.mini-cart {
  position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 100%;
  background: #fff; z-index: 300; box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease);
}
.mini-cart.is-open { transform: none; }
.mini-cart[hidden] { display: flex; }
.mini-cart-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--c-border); }
.mini-cart-head h3 { margin: 0; font-size: 1.6em; }
.mini-cart-head .overlay-close { position: static; font-size: 32px; }
.mini-cart-body { padding: 24px 28px; overflow: auto; flex: 1; }
.mini-cart-empty { color: var(--c-text-light); }
.mini-cart-items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.mini-cart-items img { width: 64px; height: 64px; object-fit: cover; }
.mini-cart-name { font-family: var(--f-head); color: var(--c-brown); font-size: 17px; display: block; }
.mini-cart-items small { display: block; color: var(--c-text-light); font-size: 12px; line-height: 1.5; }
.mini-cart-qty { font-size: 14px; }
.remove { background: none; border: 0; color: var(--c-muted); font-size: 22px; line-height: 1; padding: 0 4px; }
.remove:hover { color: var(--c-error); }
.mini-cart-total { display: flex; justify-content: space-between; font-size: 18px; padding: 20px 0; color: var(--c-brown); }
.mini-cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.backdrop { position: fixed; inset: 0; background: rgba(36, 28, 16, .5); z-index: 250; opacity: 0; transition: opacity .3s; }
.backdrop.is-open { opacity: 1; }
.backdrop[hidden] { display: none; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--c-brown); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: var(--c-brown); opacity: .45; }
.hero-content { position: relative; z-index: 1; color: #fff; padding-bottom: 80px; padding-top: 200px; }
.hero-title { color: #fff; font-size: clamp(3rem, 8vw, 6.2rem); font-weight: 400; margin: 0; line-height: 1; }
.hero-sub { font-size: 14px; margin: 14px 0 12px; color: #fff; }
.hero-content .btn-pill { margin-top: 26px; }

.banner-strip { background: var(--c-banner); }
.banner-strip img { width: 100%; max-height: 420px; object-fit: cover; margin: 0 auto; }

/* Featured products ------------------------------------------------------- */
.section-featured { background: var(--c-yellow-50); }
.section-head { margin-bottom: 50px; }
.products-swiper { padding-bottom: 50px; }
.swiper-pagination-bullet { background: var(--c-brown); opacity: .25; width: 9px; height: 9px; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--c-gold); }
.products-swiper .product-card { text-align: center; }

/* Product card ------------------------------------------------------------ */
.product-card-media { position: relative; overflow: hidden; background: #fff; }
.product-card-media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.06); }
.product-card-media::after { content: ""; position: absolute; inset: 0; background: rgba(67, 43, 16, .25); opacity: 0; transition: opacity .3s; pointer-events: none; }
.product-card:hover .product-card-media::after { opacity: 1; }
.product-card-icons { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 10px; opacity: 0; transform: translateY(12px); transition: all .35s var(--ease); z-index: 2; }
.product-card:hover .product-card-icons { opacity: 1; transform: none; }
.pc-icon { width: 44px; height: 44px; background: #fff; color: var(--c-brown); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.pc-icon:hover { background: var(--c-gold); color: var(--c-brown); }
.product-card-body { padding: 18px 0 0; }
.product-card-title { font-size: 1.15em; margin: 0 0 4px; line-height: 1.3; }
.product-card-title a { color: var(--c-brown); }
.product-card-title a:hover { color: var(--c-gold); }
.price { color: var(--c-text); font-size: 15px; }
.product-card .price { display: block; }
.product-card .btn { margin-top: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap) 30px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Promo ------------------------------------------------------------------- */
.section-promo { background: var(--c-yellow); padding: 70px 0; }
.promo-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: center; }
.promo-text h2 { font-size: 2.6em; }
.promo-images { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.promo-images img { aspect-ratio: 1; object-fit: cover; width: 100%; }

/* Testimonials ------------------------------------------------------------ */
.section-testimonials { padding: 70px 0; }
.testimonials-swiper { padding-bottom: 50px; }
.testimonial { margin: 0; text-align: center; }
.testimonial p { font-family: var(--f-head); font-size: 1.55em; line-height: 1.45; color: var(--c-brown); margin: 0 0 26px; }
.testimonial footer h4 { font-size: 1.15em; margin: 0; }
.testimonial footer span { color: var(--c-text-light); font-size: 13px; }

/* Timeless ---------------------------------------------------------------- */
.section-timeless { padding: 40px 0 90px; }
.timeless-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
.timeless-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.timeless-text { background: var(--c-cream); padding: 70px 60px; }
.timeless-text p { margin-bottom: 1.2em; }
.timeless-text .btn { margin-top: 10px; }

/* Contact strip ----------------------------------------------------------- */
.section-contact-strip { background: var(--c-yellow-42); }
.contact-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.contact-icon svg { margin: 0 auto 16px; color: var(--c-gold); }
.contact-icon p { margin: 0; color: var(--c-brown); }
.contact-icon a { color: var(--c-brown); }
.contact-icon a:hover { color: var(--c-gold); }

/* Instagram --------------------------------------------------------------- */
.section-instagram { padding-bottom: 0; }
.section-instagram .section-title { font-size: 2em; }
.instagram-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.instagram-grid a { display: block; overflow: hidden; }
.instagram-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.instagram-grid a:hover img { transform: scale(1.08); }
.instagram-follow { padding: 40px 0 0; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--c-footer) center / cover no-repeat; color: #c9bfb5; padding: 80px 0 30px; margin-top: 90px; }
.section-instagram + .site-footer { margin-top: 90px; }
.footer-logo { text-align: center; margin-bottom: 50px; }
.footer-logo img { margin: 0 auto; width: 260px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-col h5 { color: #fff; font-size: 1.25em; margin-bottom: 14px; }
.footer-col p { margin: 0 0 6px; font-size: 14px; }
.footer-col a { color: #c9bfb5; }
.footer-col a:hover { color: var(--c-gold); }
.newsletter-form { display: grid; gap: 10px; }
.newsletter-form input[type="email"] { width: 100%; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font-size: 14px; }
.newsletter-form input::placeholder { color: #8f8680; }
.form-msg { margin: 0; font-size: 13px; min-height: 1em; }
.form-msg.ok { color: var(--c-gold); }
.form-msg.err { color: #f0a08f; }
.footer-hours { text-align: center; margin-top: 50px; font-size: 14px; }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 30px; padding-top: 24px; text-align: center; font-size: 13px; }
.footer-copy p { margin: 0; }

/* Popup ------------------------------------------------------------------- */
.popup { position: fixed; inset: 0; z-index: 400; background: rgba(36, 28, 16, .6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.popup[hidden] { display: none; }
.popup-inner { position: relative; background: #fff; max-width: 760px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.popup-image img { width: 100%; height: 100%; object-fit: cover; }
.popup-content { padding: 40px 36px; }
.popup-content h3 { font-size: 1.5em; line-height: 1.3; }
.popup-content h4 { font-size: 1.05em; color: var(--c-gold); margin: 18px 0 10px; }
.popup-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 30px; color: var(--c-muted); line-height: 1; z-index: 2; }
.popup .newsletter-form input[type="email"] { border: 1px solid var(--c-border); background: #fff; color: var(--c-brown); }
.popup .newsletter-form input::placeholder { color: var(--c-muted); }
.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 36px; height: 36px; border: 1px solid var(--c-border); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--c-brown); }
.social-icons a:hover { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-brown); }

/* Page hero / title bar --------------------------------------------------- */
.page-hero { position: relative; min-height: 300px; display: flex; align-items: center; background: var(--c-brown) center / cover no-repeat; }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(36, 28, 16, .45); }
.page-hero .container { position: relative; text-align: center; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(2.8rem, 6vw, 4.2rem); }
.page-title-bar { padding: 50px 0 10px; }
.page-title-bar h1 { font-size: 2.6em; margin: 6px 0 0; }
.breadcrumbs { font-size: 13px; color: var(--c-text-light); }
.breadcrumbs a { color: var(--c-text-light); }
.breadcrumbs a:hover { color: var(--c-brown); }
.breadcrumbs .sep { margin: 0 6px; }
.breadcrumbs .current { color: var(--c-brown); }

/* Shop -------------------------------------------------------------------- */
.shop { padding-top: 40px; }
.category-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 60px; }
.category-tile-media { aspect-ratio: 1; background: #f4f1ee; overflow: hidden; }
.category-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.category-tile:hover .category-tile-media img { transform: scale(1.06); }
.category-tile-media .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #c9c2bb; }
.category-tile h2 { font-size: 1.25em; margin: 16px 0 0; }
.category-tile h2 span { color: var(--c-text-light); font-size: .85em; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; gap: 20px; flex-wrap: wrap; }
.result-count { margin: 0; font-size: 14px; }
.ordering select, .select { padding: 10px 40px 10px 14px; border: 1px solid var(--c-border); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23432b10' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-size: 14px; color: var(--c-brown); }
.notice { background: var(--c-cream); padding: 16px 20px; border-left: 3px solid var(--c-gold); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 60px; }
.pagination a, .pagination .current { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--c-border); color: var(--c-brown); font-family: var(--f-head); }
.pagination .current, .pagination a:hover { background: var(--c-brown); color: #fff; border-color: var(--c-brown); }

/* Product single ---------------------------------------------------------- */
.product-single { padding-top: 60px; }
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.gallery-main img { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: #f7f4f1; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; background: none; width: 80px; }
.gallery-thumbs button.is-active { border-color: var(--c-gold); }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-title { font-size: 2.4em; margin: 10px 0 8px; }
.product-price { font-family: var(--f-head); font-size: 26px; color: var(--c-gold); margin: 14px 0 6px; }
.product-price[hidden] { display: none; }
.option-chosen { font-weight: 600; }
.cutoff-note { font-size: 13px; color: var(--c-brown); background: var(--c-yellow); padding: 10px 14px; margin: 14px 0 0; border-left: 3px solid var(--c-gold); }
.pickup-note + .cutoff-note { margin-top: 6px; }
.checkout-fields h3 small { font-size: 13px; font-weight: 400; font-family: inherit; }
.option-label { font-size: 1.1em; margin: 22px 0 10px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.swatch span { display: inline-block; padding: 4px 8px; border: 1px solid #c8c1ba; font-size: 14px; color: #000; background: #fff; transition: all .2s; border-radius: 2px; cursor: pointer; }
.swatch:hover span { border-color: var(--c-brown); }
.swatch input:checked + span { background: #fff; color: #000; border: 2px solid var(--c-brown); padding: 3px 7px; }
.swatch input:focus-visible + span { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.select { width: 100%; max-width: 360px; }

.mixmatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mix-item { text-align: center; }
.mix-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mix-item h5 { font-size: .95em; margin: 8px 0; line-height: 1.3; min-height: 2.4em; }
.mixmatch-status { margin: 20px 0 0; padding: 14px 18px; background: var(--c-cream); border-left: 3px solid var(--c-gold); }
.mixmatch-status p { margin: 0; }
.mixmatch-price { color: var(--c-brown); font-size: 18px; }
.mixmatch-msg { font-size: 13px; color: var(--c-text-light); }
.mixmatch.is-complete .mixmatch-status { border-color: var(--c-ok); }
.mixmatch.is-complete .mixmatch-msg { color: var(--c-ok); }

.upload-box { display: block; border: 2px dashed #c8c1ba; padding: 26px; text-align: center; cursor: pointer; position: relative; background: #fff; }
.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload-box:hover { border-color: var(--c-gold); }
.upload-text { display: block; color: var(--c-brown); }
.upload-text strong { color: var(--c-gold); letter-spacing: 1px; }
.upload-hint { display: block; font-size: 12px; color: var(--c-text-light); }
.upload-preview { max-height: 180px; margin: 14px auto 0; object-fit: contain; }

.addons { margin-top: 8px; }
.addons-title { margin: 26px 0 12px; font-size: 1.3em; }
.addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 12px; }
.addons-grid.cols-1 { grid-template-columns: 1fr; }
.addons-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.addons-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.addon-option { display: block; cursor: pointer; }
.addon-image img { width: auto; max-width: 110px; height: 100px; object-fit: contain; background: var(--c-yellow); }
.addon-check { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; font-size: 13px; line-height: 1.35; flex-wrap: wrap; }
.addon-check input { margin-top: 2px; accent-color: var(--c-brown); flex-shrink: 0; }
.addon-name { color: var(--c-text); max-width: 110px; }
.addon-price { color: var(--c-text-light); font-size: 11px; align-self: center; }
.addon-fields { grid-column: 1 / -1; padding: 0; margin-top: 4px; display: grid; gap: 10px; max-width: 360px; }
.addon-fields[hidden] { display: none; }
.addon-fields label span { font-size: 13px; color: var(--c-brown); display: block; margin-bottom: 4px; }
.addon-fields input { width: 100%; padding: 10px 12px; border: 1px solid #c8c1ba; font-size: 14px; }
.addon-fields small { color: var(--c-error); font-size: 11px; display: block; margin-top: 3px; }
.addon.has-fields { display: contents; }

.cart-actions { display: flex; gap: 14px; align-items: center; margin-top: 28px; }
.qty { display: inline-flex; border: 1px solid var(--c-border); height: 55px; }
.qty input { width: 56px; text-align: center; border: 0; padding: 0; font-size: 15px; color: var(--c-brown); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 40px; border: 0; background: #fff; color: var(--c-brown); font-size: 18px; }
.qty-btn:hover { background: var(--c-yellow); }
.qty-sm input { width: 42px; padding: 7px 0; }
.qty-sm .qty-btn { width: 30px; }
.total-line { margin: 14px 0 0; color: var(--c-brown); }
.product-features { display: flex; gap: 40px; flex-wrap: wrap; margin: 40px 0 26px; font-family: var(--f-head); font-size: 15px; color: var(--c-brown); }
.product-features span { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.product-features svg { color: var(--c-gold); }
.allergy { font-size: 14px; line-height: 1.85; background: #f7f7f7; padding: 22px 26px; }
.allergy strong { color: var(--c-brown); }
.serving-guide { margin-top: 20px; }
.serving-guide summary { cursor: pointer; font-family: var(--f-head); color: var(--c-brown); font-size: 1.15em; padding: 10px 0; }
.serving-guide img { max-width: 420px; margin-top: 10px; }
.short-desc { margin-bottom: 20px; }

.product-tabs { margin-top: 80px; }
.tab-nav { display: flex; gap: 40px; border-bottom: 1px solid var(--c-border); }
.tab-nav button { background: none; border: 0; padding: 14px 0; font-family: var(--f-head); font-size: 1.15em; color: var(--c-text-light); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-nav button.is-active { color: var(--c-brown); border-bottom-color: var(--c-brown); }
.tab-panel { padding: 30px 0; max-width: 800px; }
.tab-panel[hidden] { display: none; }
.related { margin-top: 70px; }
.related .section-title { font-size: 2em; }

/* Cart -------------------------------------------------------------------- */
.cart-page, .checkout-page, .order-received { padding-top: 40px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-family: var(--f-head); font-weight: 400; color: var(--c-brown); padding: 12px 10px; border-bottom: 1px solid var(--c-border); }
.cart-table td { padding: 18px 10px; border-bottom: 1px solid var(--c-border); vertical-align: middle; }
.td-thumb img { width: 80px; height: 80px; object-fit: cover; }
.td-name a { color: var(--c-brown); font-family: var(--f-head); font-size: 18px; }
.item-meta { font-size: 12px; color: var(--c-text-light); line-height: 1.5; margin-top: 4px; }
.cart-table-actions { display: flex; justify-content: space-between; margin-top: 24px; gap: 12px; flex-wrap: wrap; }
.cart-totals, .checkout-summary { background: var(--c-cream); padding: 30px; }
.cart-totals h3, .checkout-summary h3 { font-size: 1.5em; margin-bottom: 18px; }
.totals-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--c-border); font-size: 15px; }
.totals-row.total { font-size: 20px; color: var(--c-brown); border-bottom: 0; margin-bottom: 20px; }
.secure-note { font-size: 12px; color: var(--c-text-light); margin: 14px 0 0; text-align: center; }
.totals-row.discount { color: var(--c-ok); }
.totals-row code { font-family: inherit; font-weight: 600; letter-spacing: 1px; }
.gst-note { font-size: 12px; color: var(--c-text-light); margin: -14px 0 18px; text-align: right; }
.coupon-link { font-size: 13px; text-align: center; margin: 12px 0 0; }
.coupon-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px; padding: 18px 20px; background: var(--c-cream); border: 1px solid var(--c-border); }
.coupon-form label { font-size: 14px; color: var(--c-brown); margin-right: 4px; }
.coupon-form input { flex: 1 1 200px; max-width: 280px; padding: 11px 14px; border: 1px solid var(--c-border); font-size: 14px; text-transform: uppercase; }
.coupon-form span { flex: 1 1 260px; font-size: 14px; color: var(--c-brown); }
.cart-empty { text-align: center; padding: 40px 0; }
.cart-empty .notice { display: inline-block; margin-bottom: 26px; }

/* Checkout ---------------------------------------------------------------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 50px; align-items: start; }
.checkout-fields h3 { font-size: 1.6em; margin: 0 0 16px; }
.checkout-fields h3 + .muted { font-size: 14px; }
.checkout-fields h3:not(:first-child) { margin-top: 36px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--c-brown); margin-bottom: 6px; }
.field label span { color: var(--c-error); }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; border: 1px solid var(--c-border); font-size: 15px; color: var(--c-brown); background: #fff; font-family: inherit; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-brown); }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23432b10' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.field-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 16px; }
.field-checks label { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--c-brown); cursor: pointer; }
.field-checks input { margin-top: 4px; accent-color: var(--c-brown); }
.field small { display: block; font-size: 12px; color: var(--c-text-light); margin-top: 5px; }
.field small.error { color: var(--c-error); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.summary-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--c-border); font-size: 14px; }
.summary-items img { width: 56px; height: 56px; object-fit: cover; }
.summary-items small { display: block; color: var(--c-text-light); font-size: 12px; line-height: 1.5; }
.summary-items strong { color: var(--c-brown); font-weight: 600; }
.summary-items .line-total { color: var(--c-brown); }
.alert { padding: 16px 20px; margin-bottom: 26px; border-left: 3px solid; font-size: 14px; }
.alert-ok { background: #edf7f0; border-color: var(--c-ok); color: #225a39; }
.alert-error { background: #fbeeec; border-color: var(--c-error); color: #7a2418; }
.alert-info { background: var(--c-cream); border-color: var(--c-gold); color: var(--c-brown); }
.alert.big { font-size: 16px; padding: 22px 24px; }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--c-gold); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; margin-left: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Order received ---------------------------------------------------------- */
.order-overview { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 30px 0; padding: 24px; background: var(--c-cream); }
.order-overview li span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--c-text-light); }
.order-overview li strong { color: var(--c-brown); font-family: var(--f-head); font-weight: 400; font-size: 18px; }
.order-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.order-table th, .order-table td { padding: 12px 10px; border-bottom: 1px solid var(--c-border); text-align: left; }
.order-table th { font-family: var(--f-head); font-weight: 400; color: var(--c-brown); }
.order-table td:last-child, .order-table th:last-child { text-align: right; }
.order-received h3 { font-size: 1.5em; }
address { font-style: normal; margin-bottom: 26px; }

/* About / Contact --------------------------------------------------------- */
.about-section { background: var(--c-cream); }
.about-body { text-align: left; }
.about-body p { margin-bottom: 1.3em; }
.about-phone { margin-top: 30px; font-family: var(--f-head); font-size: 1.3em; }
.about-phone a { color: var(--c-brown); }
.contact-layout { display: grid; grid-template-columns: 300px 1fr; gap: 60px; }
.contact-details h3 { font-size: 1.6em; }
.contact-details p { margin-bottom: 8px; }
.contact-details a { color: var(--c-text); }
.contact-details a:hover { color: var(--c-gold); }
.contact-details .social-icons { margin-top: 20px; }
.contact-form .field { position: relative; }
.icon-field svg { position: absolute; left: 0; top: 15px; color: var(--c-muted); }
.icon-field input, .icon-field textarea { border: 0; border-bottom: 1px solid var(--c-border); padding: 12px 0 12px 28px; background: transparent; border-radius: 0; }
.icon-field input:focus, .icon-field textarea:focus { border-bottom-color: var(--c-brown); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--c-text-light); }
.checkbox input { margin-top: 5px; accent-color: var(--c-brown); }
.map-section iframe { display: block; border: 0; filter: grayscale(.1); }
.map-section + .site-footer { margin-top: 0; }

/* Misc -------------------------------------------------------------------- */
.error-section { padding: 120px 0; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px); background: var(--c-brown); color: #fff; padding: 14px 24px; z-index: 500; font-size: 14px; opacity: 0; transition: all .3s; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); max-width: 90%; }
.toast.is-visible { opacity: 1; transform: translateX(-50%); }
.toast[hidden] { display: none; }
.toast.is-error { background: var(--c-error); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1199px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  :root { --header-h: 90px; }
  .logo img { width: 180px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 70px 0; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-images { grid-template-columns: repeat(4, 1fr); }
  .timeless-grid { grid-template-columns: 1fr; }
  .timeless-text { padding: 40px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .order-overview { grid-template-columns: repeat(3, 1fr); }
  .mixmatch-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  h1 { font-size: 2.6em; } h2 { font-size: 2.2em; } h3 { font-size: 1.8em; }
  .hero { min-height: 82vh; }
  .hero-content { padding-bottom: 50px; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .category-tiles { grid-template-columns: repeat(2, 1fr); }
  .contact-icons { grid-template-columns: 1fr; }
  .promo-images { grid-template-columns: repeat(2, 1fr); }
  .popup-inner { grid-template-columns: 1fr; max-width: 420px; }
  .popup-image { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 80px 1fr auto; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
  .cart-table td { border: 0; padding: 0; }
  .td-thumb { grid-row: 1 / 4; }
  .td-price::before { content: "Price: "; color: var(--c-text-light); }
  .td-total::before { content: "Subtotal: "; color: var(--c-text-light); }
  .td-remove { grid-column: 3; grid-row: 1; }
  .order-overview { grid-template-columns: 1fr 1fr; }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .mixmatch-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-nav { gap: 20px; }
  .mini-cart { width: 100%; }
}
@media (max-width: 480px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-actions { flex-wrap: wrap; }
  .cart-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Payment method choice (checkout) */
.payment-methods { display: grid; gap: 10px; margin-bottom: 22px; }
.payment-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--c-border); background: #fff; cursor: pointer; }
.payment-option:has(input:checked) { border-color: var(--c-brown); background: var(--c-cream); }
.payment-option input { margin-top: 5px; accent-color: var(--c-brown); }
.payment-option strong { display: block; color: var(--c-brown); font-weight: 600; font-size: 15px; }
.payment-option small { display: block; color: var(--c-text-light); font-size: 13px; line-height: 1.5; }

/* CAPTCHA */
.captcha-field { display: grid; grid-template-columns: 170px auto 1fr; gap: 10px; align-items: center; }
.captcha-field img { border: 1px solid var(--c-border); }
.captcha-refresh { background: none; border: 1px solid var(--c-border); width: 38px; height: 38px; font-size: 20px; color: var(--c-brown); }
.captcha-field input { padding: 12px 14px; border: 1px solid var(--c-border); font-size: 16px; letter-spacing: 3px; text-transform: uppercase; }
.captcha-field small.error { grid-column: 1 / -1; }
@media (max-width: 480px) { .captcha-field { grid-template-columns: 170px auto; } .captcha-field input { grid-column: 1 / -1; } }

/* Category hub (/categories/) + gallery / enquiry pages */
.hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 30px; }
.hub-tile { display: block; color: var(--c-brown); }
.hub-tile-media { display: block; overflow: hidden; background: #fff; }
.hub-tile-media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.hub-tile:hover .hub-tile-media img { transform: scale(1.06); }
.hub-tile-title { display: block; margin-top: 16px; font-family: var(--f-head); font-size: 1.25em; line-height: 1.3; }
.hub-tile-title .arrow { color: var(--c-gold); margin-right: 4px; transition: margin .25s; }
.hub-tile:hover .hub-tile-title .arrow { margin-right: 10px; }
.page-hero-sm { min-height: 240px; }
.landing-section .breadcrumb { margin-bottom: 26px; }
.landing-intro { font-size: 1.05em; line-height: 1.8; margin: 0 auto 36px; }
.landing-intro.narrow { max-width: 760px; }
.landing-intro p { margin-bottom: 1.2em; }
.landing-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 36px; }
.landing-gallery.single { grid-template-columns: minmax(280px, 620px); justify-content: center; }
.landing-gallery figure { margin: 0; background: #fff; }
.landing-gallery img { width: 100%; height: auto; display: block; }
.landing-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.enquiry-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.enquiry-copy .landing-gallery { margin-bottom: 26px; }
.enquiry-form { background: var(--c-cream); padding: 34px 32px; border: 1px solid var(--c-border); }
.enquiry-form h3 { margin-bottom: 20px; }
.enquiry-form .small { font-size: 13px; margin-top: 10px; }
@media (max-width: 1199px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { .enquiry-layout { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 768px) { .hub-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } .enquiry-form { padding: 24px 18px; } }
@media (max-width: 480px) { .hub-grid { grid-template-columns: 1fr; } }
