/* ==========================================================================
   Beauty Basant — Theme Stylesheet
   ========================================================================== */

:root {
  --gold: #c19c51;
  --gold-hover: #a8833b;
  --ink: #1A1512;
  --cream: #FBF8F3;
  --cream-dark: #F3ECE1;
  --border: #E5DFD3;
  --text-muted: #6B6357;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  /* full-bleed sections (hero slider) break out to 100vw, which on some
     browsers is a hair wider than the visible viewport once a scrollbar is
     present — this keeps that from introducing horizontal scroll. */
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; }

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px; width: 1px;
  word-wrap: normal !important;
}

/* Top Bar */
.top-bar {
  background: var(--ink);
  color: #B8AFA0;
  font-size: 12px;
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-item {
  color: #E8E2D6;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12px;
}

.top-bar-item:hover { color: var(--gold); }

/* Header */
.site-header {
  background: #FFFFFF;
  padding: 18px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* WordPress adds margin-block-start to every direct child of .wp-site-blocks
   except the first, which puts a gap between the header and whatever comes
   next — close it so content sits flush under the header. */
.site-main {
  margin-block-start: 0;
  margin-top: 0;
}

.logo,
.logo a {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
  text-decoration: none;
}

.logo img { display: block; max-height: 42px; width: auto; }

.main-navigation ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.main-navigation a {
  text-decoration: none;
  color: #5A5248;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: var(--gold); }

.main-navigation ul ul { display: none; }

.header-icons {
  display: flex;
  gap: 15px;
  font-size: 20px;
  align-items: center;
}

.header-icons a { text-decoration: none; color: var(--ink); position: relative; }
.header-icons .cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
}

/* Hero Slider Container — full viewport width, breaking out of the
   theme's constrained (1200px, centered) content area. WordPress forces
   `margin: auto !important` on unaligned children of a constrained layout,
   so this needs `!important` too to win. */
.hero-slider-container {
  position: relative;
  height: 520px;
  overflow: hidden;
  width: 100vw !important;
  max-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  display: flex;
  align-items: center;
  padding: 0 8%;
  color: #FFFFFF;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active { opacity: 1; visibility: visible; }

.slide-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(26, 21, 18, 0.45), rgba(26, 21, 18, 0.45));
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 550px; }

.hero-tag {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-title { font-size: 40px; font-weight: 700; line-height: 1.25; margin: 0 0 16px; }
.hero-desc { font-size: 15px; color: #E8E2D6; margin-bottom: 28px; line-height: 1.7; }

a.btn-primary, button.btn-primary {
  background: var(--gold);
  color: #FFF;
  padding: 14px 36px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
}

a.btn-primary:hover, button.btn-primary:hover { background: var(--gold-hover); transform: translateY(-2px); color: #fff; }

/* Block-editor buttons (core/button): className lands on the wrapping
   .wp-block-button div, not the .wp-block-button__link the browser actually
   paints — so the gold styling above needs to target the link explicitly,
   overriding WordPress's default .wp-element-button global style. */
.wp-block-button.btn-primary .wp-block-button__link {
  background: var(--gold);
  color: #FFF;
  padding: 14px 36px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
}

.wp-block-button.btn-primary .wp-block-button__link:hover {
  background: var(--gold-hover);
  color: #FFF;
  transform: translateY(-2px);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.dot.active { background: var(--gold); transform: scale(1.2); }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 21, 18, 0.4);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s, color 0.3s;
  font-size: 20px;
}

.slider-arrow:hover { background: var(--gold); color: #FFF; }
.slider-arrow.prev { left: 25px; }
.slider-arrow.next { right: 25px; }

/* Section Layouts */
/* Full viewport width, matching the hero slider — see .hero-slider-container
   for why the !important is needed (WordPress's constrained-layout margin
   rule is !important too). */
.section {
  padding: 70px 8%;
  width: 100vw !important;
  max-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.section-title-wrap { text-align: center; margin-bottom: 45px; }

.subtitle {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.title { font-size: 28px; color: var(--ink); font-weight: 700; margin: 0; }

/* Products Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.product-card,
ul.products li.product {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  list-style: none;
}

.product-card:hover,
ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.product-img {
  height: var(--product-img-height, 200px);
  background-size: cover;
  background-position: center;
}

.product-info { padding: 20px; }
.product-name { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: var(--gold); }
.product-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price,
.product-card .price {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

/* "Our Collection" homepage grid (WooCommerce Product Collection block).
   Hide the empty add-to-cart notices placeholder the block always renders. */
.product-grid .wc-block-components-notices { display: none; }

/* Any WooCommerce Product Collection block grid — "Our Collection" on the
   homepage and "Related products" on the single product page both use this
   block, so styling it once keeps them identical. Equal-height cards with
   the button pinned to the bottom, so "Add to Cart" lines up across a row
   regardless of how long each product's title/price is. */
.wc-block-product {
  display: flex;
  flex-direction: column;
}

.wc-block-components-product-button {
  margin-top: auto;
}

.wc-block-components-product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

/* solid fill, matching the Shop page's product buttons — no outline. */
.wc-block-components-product-button__button {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s;
}

.wc-block-components-product-button__button:hover {
  background: var(--gold-hover);
  color: #FFF;
}

a.btn-outline, button.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
}

a.btn-outline:hover, button.btn-outline:hover { background: var(--gold); color: #FFF; }

.wp-block-button.btn-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: 0.3s;
  text-transform: uppercase;
}

.wp-block-button.btn-outline .wp-block-button__link:hover { background: var(--gold); color: #FFF; }

.view-all-wrap { text-align: center; margin-top: 40px; justify-content: center; }

/* Story Section */
.story-section {
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  gap: 50px;
}

.story-img {
  flex: 1;
  height: 380px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.story-img-wrap { flex: 1; height: 380px; border-radius: 8px; overflow: hidden; margin: 0; }
.story-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.story-content { flex: 1; }
.story-content p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; line-height: 1.8; }

/* Testimonials */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.review-card {
  background: #FFFFFF;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--border);
  /* Query Loop wraps each card in its own <li>, which is the element that
     actually stretches to match the row's tallest sibling — the card needs
     to fill that height itself, or its visible box stays content-sized. */
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.review-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 15px;
}

.stars { color: var(--gold); margin-bottom: 12px; }
.review-text { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; font-style: italic; }
.reviewer { font-weight: 600; font-size: 13px; }

/* Benefits Bar */
.benefits-bar {
  background: #110E0C;
  padding: 30px 8%;
  display: flex;
  justify-content: space-around;
  text-align: center;
  color: #D8CFC0;
  border-bottom: 1px solid #2A241F;
  flex-wrap: wrap;
  gap: 20px;
  width: 100vw !important;
  max-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.benefit-item i { font-size: 26px; color: var(--gold); margin-bottom: 8px; }
.benefit-item span { display: block; font-size: 11px; letter-spacing: 1px; }

/* Footer */
.site-footer { background: var(--ink); color: #A39B8E; padding: 60px 8% 25px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 { color: #FFF; font-size: 18px; margin-bottom: 15px; letter-spacing: 2px; }
.footer-col p { font-size: 13px; line-height: 1.8; }

.footer-col h4 {
  color: #FFF;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  position: relative;
  font-weight: 600;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #A39B8E; text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact li { font-size: 13px; margin-bottom: 12px; }
.footer-contact li i { color: var(--gold); margin-right: 6px; }

.footer-bottom {
  border-top: 1px solid #2A241F;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.payment-logo svg {
  display: block;
  height: 40px;
  width: auto;
}

.footer-social { display: flex; gap: 12px; font-size: 18px; color: var(--gold); }
.footer-social a { color: var(--gold); }

/* WooCommerce overrides */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.woocommerce ul.products li.product a img { width: 100%; height: 200px; object-fit: cover; border-radius: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px; font-weight: 600; padding: 20px 20px 6px; }
.woocommerce ul.products li.product .price { padding: 0 20px; display: block; }
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.08);
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-product-gallery__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  padding: 0 22px;
}

.woocommerce ul.products li.product .product-excerpt,
.woocommerce ul.products li.product .woocommerce-loop-product__excerpt {
  padding: 0 22px;
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.woocommerce ul.products li.product .price {
  padding: 0 22px;
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product a.button {
  margin: auto 22px 22px;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid transparent;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: var(--gold-hover);
  color: #fff;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title + .price {
  margin-top: 0;
}

@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

.woocommerce span.onsale { background: var(--gold); }
.woocommerce .star-rating { color: var(--gold); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: var(--gold);
  color: #fff;
  border-radius: 4px;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--gold-hover); color: #fff; }

.woocommerce-breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 25px;
}
.woocommerce-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--gold); }

.woocommerce-ordering select,
.woocommerce-pagination .page-numbers {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 13px;
}
.woocommerce-result-count { color: var(--text-muted); font-size: 13px; }
.woocommerce-pagination ul.page-numbers {
  list-style: none;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 30px;
}
.woocommerce-pagination .page-numbers li { display: inline-block; }
.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
}
.woocommerce-pagination span.page-numbers.current,
.woocommerce-pagination a.page-numbers:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ==========================================================================
   Single Post
   ========================================================================== */
.single-post-featured-image {
  margin: 0 0 30px;
}
.single-post-featured-image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.related-posts-section {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Page Hero Banner (Contact, Services, Shop, Single Product, My Account)
   ========================================================================== */
.page-hero {
  background: linear-gradient(rgba(26,21,18,0.75), rgba(26,21,18,0.75)), url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1600&q=60') center/cover no-repeat;
  padding: 60px 8%;
  text-align: center;
}
.page-hero-inner .subtitle { color: var(--gold); }
.page-hero-inner .title { color: #fff; margin-top: 6px; }

/* ==========================================================================
   Contact Us page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px 25px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.08); }
.contact-card i { font-size: 30px; color: var(--gold); margin-bottom: 12px; display: inline-block; }
.contact-card h3 { font-size: 15px; margin-bottom: 8px; }
.contact-card p { font-size: 13px; color: var(--text-muted); }
.contact-card a { color: var(--text-muted); text-decoration: none; }
.contact-card a:hover { color: var(--gold); }

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  background: var(--cream-dark);
  border-radius: 8px;
  padding: 40px;
}
.contact-panel-map { min-height: 320px; border-radius: 8px; overflow: hidden; }
.contact-panel-map-placeholder {
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 8px;
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 13px;
}
.contact-panel-map-placeholder i { font-size: 34px; color: var(--gold); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 6px; color: var(--ink); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: #fff;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-honeypot { position: absolute; left: -9999px; top: -9999px; }
.form-message { margin-top: 15px; font-size: 13px; }
.form-message.success { color: #4C7A3D; }
.form-message.error { color: #B23A3A; }

/* ==========================================================================
   Services page
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.08); }
.service-img { height: 200px; background-size: cover; background-position: center; }
.service-icon-badge {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-dark);
  font-size: 34px;
  color: var(--gold);
}
.service-info { padding: 24px; }
.service-name { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.service-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.service-meta i { color: var(--gold); margin-right: 4px; }
.service-price { font-weight: 700; color: var(--gold); font-size: 14px; }

/* ==========================================================================
   WooCommerce — My Account
   ========================================================================== */
.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 35px;
  align-items: start;
}
.woocommerce-MyAccount-navigation {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 0;
}
.woocommerce-MyAccount-navigation ul { list-style: none; }
.woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--border);
}
.woocommerce-MyAccount-navigation li:last-child { border-bottom: none; }
.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.woocommerce-MyAccount-navigation li a:hover { color: var(--gold); background: var(--cream-dark); }
.woocommerce-MyAccount-navigation li.is-active a { color: #fff; background: var(--gold); }
.woocommerce-MyAccount-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 35px;
}
.woocommerce-MyAccount-content table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.woocommerce-MyAccount-content table.shop_table th,
.woocommerce-MyAccount-content table.shop_table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.woocommerce-MyAccount-content .woocommerce-Address {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.woocommerce-MyAccount-content .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-family: inherit;
}
.woocommerce form p.form-row { margin-bottom: 18px; }
.woocommerce-MyAccount-content mark { background: none; color: var(--gold); font-weight: 600; }

.woocommerce-MyAccount-content .col2-set {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.woocommerce-MyAccount-content .col2-set .col-1,
.woocommerce-MyAccount-content .col2-set .col-2 {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
}

.woocommerce-MyAccount-content .col2-set .col-1 .woocommerce-form-login,
.woocommerce-MyAccount-content .col2-set .col-2 .woocommerce-form-register {
  margin: 0;
}

.woocommerce-MyAccount-content .col2-set .form-row input.input-text,
.woocommerce-MyAccount-content .col2-set .form-row textarea,
.woocommerce-MyAccount-content .col2-set .form-row select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}

.woocommerce-MyAccount-content .col2-set .form-row input.input-text:focus,
.woocommerce-MyAccount-content .col2-set .form-row textarea:focus,
.woocommerce-MyAccount-content .col2-set .form-row select:focus {
  border-color: var(--gold);
  outline: none;
}

.woocommerce-MyAccount-content .col2-set .form-row .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.woocommerce-MyAccount-content .col2-set .lost_password a {
  color: var(--ink);
  text-decoration: underline;
}

.woocommerce-MyAccount-content .col2-set .lost_password a:hover {
  color: var(--gold);
}

.woocommerce-MyAccount-content .col2-set .woocommerce-form-login .button,
.woocommerce-MyAccount-content .col2-set .woocommerce-form-register .button,
.woocommerce-MyAccount-content .col2-set .woocommerce-form-login button,
.woocommerce-MyAccount-content .col2-set .woocommerce-form-register button,
.woocommerce-MyAccount-content .col2-set .button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.woocommerce-MyAccount-content .col2-set .woocommerce-form-login .button:hover,
.woocommerce-MyAccount-content .col2-set .woocommerce-form-register .button:hover,
.woocommerce-MyAccount-content .col2-set .woocommerce-form-login button:hover,
.woocommerce-MyAccount-content .col2-set .woocommerce-form-register button:hover,
.woocommerce-MyAccount-content .col2-set .button.button:hover {
  background: var(--gold-hover);
  color: #fff;
}

@media (max-width: 860px) {
  .woocommerce-MyAccount-content .col2-set {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WooCommerce — Single Product
   ========================================================================== */
/* Gallery + summary panel — same card treatment as the Contact Us page's
   form/map panel (see .contact-panel). Tabs and related products sit
   outside it, directly on the page background.
   WooCommerce renders the gallery/details split itself as a nested
   wp-block-columns block, so this wrapper stays a plain card (no grid of
   its own) — imposing a second column split here starves that inner
   block's width and breaks its text wrapping. */
.product-panel {
  background: var(--cream-dark);
  border-radius: 8px;
  padding: 40px;
}
.woocommerce div.product .woocommerce-product-gallery { border-radius: 8px; overflow: hidden; }
.woocommerce div.product .woocommerce-product-gallery img { border-radius: 8px; }

/* WooCommerce renders the single-product summary as a block template
   (wp-block-post-title / wc-block-components-product-price / wp-block-post-excerpt),
   not the classic .product_title / p.price / .woocommerce-product-details__short-description
   markup — style the real elements. */
.product-panel .wp-block-post-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.product-panel .wc-block-components-product-price {
  font-size: 30px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}
.product-panel .wp-block-post-excerpt { color: var(--text-muted); margin-bottom: 24px; }
.woocommerce div.product form.cart { display: flex; gap: 12px; align-items: center; margin-bottom: 25px; }
.woocommerce div.product form.cart .quantity input {
  width: 70px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-align: center;
  font-family: inherit;
}
.woocommerce div.product form.cart button.single_add_to_cart_button {
  padding: 14px 36px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  font-weight: 600;
}
.woocommerce div.product .product_meta { font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 18px; }
.woocommerce div.product .product_meta a { color: var(--text-muted); }

.woocommerce-tabs { margin-top: 50px; }
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 5px;
  list-style: none;
  border-bottom: 1px solid var(--border);
  margin-bottom: 25px;
}
.woocommerce-tabs ul.tabs li { }
.woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--gold); }
.woocommerce-tabs .panel { color: var(--text-muted); line-height: 1.8; }

/* Show the first tab's content by default before WooCommerce's tab script
   runs its own show/hide (it hides every panel, then shows the active one
   in response to a click — including its own simulated click on load). No
   !important: once that script actually clicks a tab, its inline style
   takes over and this default gets out of the way, so switching between
   Description/Reviews still works normally. This is just a safety net for
   if that init click is ever delayed or doesn't fire. */
.woocommerce-tabs .panel:first-of-type { display: block; }

.related.products,
.upsells.products {
  margin-top: 60px;
}
.related.products > h2,
.upsells.products > h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .section { padding: 55px 6%; }
  .hero-slider-container { height: 440px; }
  .hero-title { font-size: 32px; }
  .main-navigation ul { gap: 18px; }
  .product-grid,
  .woocommerce ul.products,
  .reviews-grid,
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .story-section { gap: 30px; }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .main-navigation { display: none; }
  .menu-toggle { display: block; }
  .main-navigation.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 10px 5%;
    z-index: 99;
  }
  .main-navigation.is-open ul { flex-direction: column; gap: 15px; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; }
  .woocommerce-MyAccount-navigation li { border-bottom: none; border-right: 1px solid var(--border); }
  .woocommerce-MyAccount-navigation li:last-child { border-right: none; }
}

@media (max-width: 768px) {
  .story-section { flex-direction: column; }
  .story-img { width: 100%; height: 260px; }
  .hero-title { font-size: 28px; }
  .hero-slider-container { height: 400px; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  .slider-arrow { display: none; }
  .product-grid,
  .woocommerce ul.products,
  .reviews-grid,
  .services-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 6%; }
  .contact-panel { padding: 25px; }
  .product-panel { padding: 25px; }
}

@media (max-width: 480px) {
  .top-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: 24px; }
  .hero-slider-container { height: 460px; }
  .btn-primary { padding: 12px 24px; font-size: 12px; }
}
