:root {
  --hdf-gold: #b78a52;
  --hdf-gold-dark: #8b632f;
  --hdf-dark: #111923;
  --hdf-dark-soft: #1c2733;
  --hdf-cream: #f7f3ec;
  --hdf-paper: #fffdf9;
  --hdf-text: #272a2d;
  --hdf-muted: #6f7479;
  --hdf-line: rgba(17, 25, 35, .12);
  --hdf-radius: 16px;
  --hdf-radius-sm: 10px;
  --hdf-shadow: 0 18px 50px rgba(22, 27, 32, .10);
  --hdf-transition: 220ms ease;
}

.hdf-luxury-theme { color: var(--hdf-text); }
.hdf-luxury-theme h1,
.hdf-luxury-theme h2,
.hdf-luxury-theme h3,
.hdf-luxury-theme .product-title { letter-spacing: -.025em; }
.hdf-luxury-theme a { transition: color var(--hdf-transition), background var(--hdf-transition), border var(--hdf-transition), transform var(--hdf-transition), box-shadow var(--hdf-transition); }
.hdf-luxury-theme img { height: auto; }
.hdf-icon { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--hdf-gold); }
.hdf-icon svg { width: 100%; height: 100%; fill: currentColor; }
.hdf-eyebrow { display: inline-block; margin-bottom: 10px; color: var(--hdf-gold); font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }

.hdf-button,
.hdf-luxury-theme .button.hdf-button,
.hdf-luxury-theme button.hdf-button {
  min-height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.2;
  box-shadow: none;
  margin: 0;
}
.hdf-button svg { width: 19px; height: 19px; fill: currentColor; }
.hdf-button:hover { transform: translateY(-2px); }
.hdf-button-gold { color: #15130f !important; background: linear-gradient(135deg, #d4af67 0%, var(--hdf-gold) 100%) !important; border-color: var(--hdf-gold) !important; box-shadow: 0 12px 28px rgba(183, 138, 82, .26) !important; }
.hdf-button-gold:hover { box-shadow: 0 16px 36px rgba(183, 138, 82, .34) !important; }
.hdf-button-dark { color: #fff !important; background: var(--hdf-dark) !important; border-color: var(--hdf-dark) !important; }
.hdf-button-outline { color: var(--hdf-dark) !important; background: transparent !important; border-color: rgba(17,25,35,.28) !important; }
.hdf-button-outline:hover { border-color: var(--hdf-gold) !important; color: var(--hdf-gold-dark) !important; }
.hdf-button-outline-light { color: #fff !important; background: transparent !important; border-color: rgba(255,255,255,.42) !important; }
.hdf-button-outline-light:hover { background: rgba(255,255,255,.1) !important; border-color: #fff !important; }

.hdf-trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--hdf-paper); border: 1px solid var(--hdf-line); border-radius: var(--hdf-radius); overflow: hidden; }
.hdf-trust-item { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 17px 18px; border-right: 1px solid var(--hdf-line); }
.hdf-trust-item:last-child { border-right: 0; }
.hdf-trust-item strong, .hdf-trust-item small { display: block; }
.hdf-trust-item strong { color: var(--hdf-dark); font-size: .93rem; }
.hdf-trust-item small { margin-top: 2px; color: var(--hdf-muted); font-size: .78rem; line-height: 1.35; }

.hdf-section { max-width: 1230px; margin: 0 auto; padding: 72px 30px; }
.hdf-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.hdf-section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.hdf-section-heading a { color: var(--hdf-gold-dark); font-weight: 700; }

/* Homepage */
.hdf-homepage { background: var(--hdf-paper); overflow: hidden; }
.hdf-home-hero { min-height: min(760px, 82vh); position: relative; display: flex; align-items: center; color: #fff; background: radial-gradient(circle at 72% 28%, #4c3a27 0, #1c2023 36%, #0f141a 80%); }
.hdf-home-hero.has-image { background-size: cover; background-position: center; }
.hdf-home-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,13,18,.86) 0%, rgba(9,13,18,.58) 48%, rgba(9,13,18,.10) 100%); }
.hdf-home-hero-row { width: 100%; position: relative; z-index: 1; padding-top: 70px; padding-bottom: 70px; }
.hdf-home-hero-copy { max-width: 760px; }
.hdf-home-hero h1 { color: #fff; font-size: clamp(3rem, 6vw, 6rem); line-height: .98; margin-bottom: 24px; }
.hdf-home-hero p { max-width: 690px; color: rgba(255,255,255,.82); font-size: 1.15rem; line-height: 1.75; }
.hdf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hdf-home-trust-wrap { max-width: 1180px; margin: -38px auto 0; padding: 0 24px; position: relative; z-index: 3; }
.hdf-home-trust-wrap .hdf-trust-strip { box-shadow: var(--hdf-shadow); }
.hdf-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hdf-category-card { min-height: 360px; border-radius: var(--hdf-radius); position: relative; overflow: hidden; background: linear-gradient(145deg, #c6b293, #6a543e); background-size: cover; background-position: center; box-shadow: 0 10px 28px rgba(15,20,26,.1); }
.hdf-category-card:hover { transform: translateY(-5px); box-shadow: var(--hdf-shadow); }
.hdf-category-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(10,13,17,.82) 100%); }
.hdf-category-content { position: absolute; inset: auto 24px 22px; color: #fff; }
.hdf-category-content strong, .hdf-category-content small { display: block; }
.hdf-category-content strong { color: #fff; font-size: 1.25rem; }
.hdf-category-content small { margin-top: 5px; color: rgba(255,255,255,.72); }
.hdf-products-section { padding-top: 48px; }
.hdf-story-card { padding: clamp(30px, 5vw, 68px); border-radius: 24px; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 50px; color: #fff; background: linear-gradient(135deg, var(--hdf-dark) 0%, #283545 100%); overflow: hidden; position: relative; }
.hdf-story-card:after { content: ''; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(183,138,82,.24); border-radius: 50%; right: -180px; top: -210px; }
.hdf-story-card h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.hdf-story-card p { color: rgba(255,255,255,.7); max-width: 680px; }
.hdf-story-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; z-index: 1; }
.hdf-story-metrics span { min-height: 140px; padding: 24px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; display: flex; flex-direction: column; justify-content: center; text-align: center; background: rgba(255,255,255,.04); }
.hdf-story-metrics strong { color: #e2bd78; font-size: 1.45rem; }
.hdf-story-metrics small { color: rgba(255,255,255,.66); margin-top: 7px; }

/* Product cards and images 1:1 */
.hdf-luxury-theme .products .product-small .box-image,
.hdf-luxury-theme .products .product-small .image-fade_in_back,
.hdf-luxury-theme .product-small .box-image { aspect-ratio: 1 / 1; overflow: hidden; background: #f3f1ed; border-radius: 12px; }
.hdf-luxury-theme .products .product-small .box-image img,
.hdf-luxury-theme .product-small .box-image img { width: 100%; height: 100% !important; object-fit: cover; }
.hdf-luxury-theme .product-small { position: relative; border: 1px solid var(--hdf-line); border-radius: var(--hdf-radius); padding: 9px; background: #fff; transition: transform var(--hdf-transition), box-shadow var(--hdf-transition), border-color var(--hdf-transition); }
.hdf-luxury-theme .product-small:hover { transform: translateY(-4px); border-color: rgba(183,138,82,.38); box-shadow: var(--hdf-shadow); }
.hdf-luxury-theme .product-small .box-text { padding: 15px 8px 8px; }
.hdf-luxury-theme .product-small .name { color: var(--hdf-dark); font-weight: 650; }
.hdf-luxury-theme .product-small .price { color: var(--hdf-gold-dark); font-size: 1rem; font-weight: 750; }
.hdf-product-badge { position: absolute; z-index: 3; top: 17px; left: 17px; padding: 5px 9px; border-radius: 999px; color: #fff; background: var(--hdf-gold-dark); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Shop archive */
.hdf-shop-hero { margin: 0 0 34px; padding: 44px 30px; color: #fff; background: linear-gradient(135deg, var(--hdf-dark), #263340); }
.hdf-shop-hero h1 { color: #fff; margin: 0; font-size: clamp(2.3rem, 5vw, 4.6rem); }
.hdf-shop-intro, .hdf-shop-intro p { color: rgba(255,255,255,.72); margin-bottom: 0; }
.hdf-shop-hero .hdf-trust-strip { grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.hdf-shop-hero .hdf-trust-item { border-color: rgba(255,255,255,.12); }
.hdf-shop-hero .hdf-trust-item strong { color: #fff; }
.hdf-shop-hero .hdf-trust-item small { color: rgba(255,255,255,.58); }
.hdf-shop-hero .hdf-trust-item:nth-child(2) { border-right: 0; }
.hdf-shop-hero .hdf-trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
.hdf-luxury-theme .shop-page-title.category-page-title { background: var(--hdf-cream); }
.hdf-luxury-theme .shop-page-title .page-title-inner { padding-top: 16px; padding-bottom: 16px; }
.hdf-luxury-theme .widget_price_filter .ui-slider .ui-slider-range,
.hdf-luxury-theme .widget_price_filter .ui-slider .ui-slider-handle { background-color: var(--hdf-gold); }

/* Single product */
.hdf-luxury-theme.single-product .product-main { padding-top: 46px; padding-bottom: 48px; }
.hdf-luxury-theme.single-product .product-gallery .woocommerce-product-gallery__image,
.hdf-luxury-theme.single-product .product-gallery .woocommerce-product-gallery__image a { aspect-ratio: 1 / 1; display: block; overflow: hidden; border-radius: var(--hdf-radius); background: #f3f0ea; }
.hdf-luxury-theme.single-product .product-gallery .woocommerce-product-gallery__image img { width: 100%; height: 100% !important; object-fit: cover; }
.hdf-luxury-theme.single-product .product-info h1 { color: var(--hdf-dark); font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.06; }
.hdf-luxury-theme.single-product .product-info .price { color: var(--hdf-gold-dark); font-size: 2rem; }
.hdf-product-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.hdf-product-feature { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--hdf-line); border-radius: 12px; background: var(--hdf-paper); }
.hdf-product-feature .hdf-icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: rgba(183,138,82,.12); }
.hdf-product-feature strong, .hdf-product-feature small { display: block; }
.hdf-product-feature strong { color: var(--hdf-dark); font-size: .82rem; }
.hdf-product-feature small { color: var(--hdf-muted); font-size: .76rem; margin-top: 2px; }
.hdf-luxury-theme.single-product form.cart .button,
.hdf-landing-cart form.cart .button { min-height: 52px; border-radius: 999px; padding: 0 28px; background: linear-gradient(135deg, #d4af67, var(--hdf-gold)); color: #17130e; font-weight: 800; }
.hdf-luxury-theme.single-product form.cart .quantity input,
.hdf-landing-cart form.cart .quantity input { min-height: 50px; }
.hdf-product-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 20px; }
.hdf-single-trust { clear: both; padding: 14px 0 40px; }
.hdf-spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--hdf-line); background: #fff; }
.hdf-spec-table th, .hdf-spec-table td { padding: 13px 16px; border-bottom: 1px solid var(--hdf-line); text-align: left; }
.hdf-spec-table th { width: 40%; color: var(--hdf-dark); background: var(--hdf-cream); }

/* Product landing page */
.hdf-product-landing { background: var(--hdf-paper); }
.hdf-landing-hero { max-width: 1260px; margin: 0 auto; padding: 62px 30px 40px; }
.hdf-landing-main-image { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 22px; background: #f0ede7; }
.hdf-landing-main-image img { width: 100%; height: 100%; object-fit: cover; }
.hdf-landing-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.hdf-landing-thumbs button { aspect-ratio: 1 / 1; padding: 0; overflow: hidden; border: 1px solid var(--hdf-line); border-radius: 10px; background: #fff; opacity: .72; }
.hdf-landing-thumbs button:hover, .hdf-landing-thumbs button.is-active { opacity: 1; border-color: var(--hdf-gold); box-shadow: 0 0 0 2px rgba(183,138,82,.18); }
.hdf-landing-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hdf-landing-summary { padding-left: 22px; }
.hdf-landing-summary h1 { color: var(--hdf-dark); font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: .98; margin-bottom: 16px; }
.hdf-landing-rating { display: flex; align-items: center; gap: 10px; color: var(--hdf-muted); }
.hdf-landing-price { margin: 16px 0; color: var(--hdf-gold-dark); font-size: 2.1rem; font-weight: 800; }
.hdf-landing-short-description { color: var(--hdf-muted); font-size: 1.03rem; }
.hdf-landing-summary .hdf-trust-strip { grid-template-columns: 1fr 1fr; margin-top: 20px; }
.hdf-landing-summary .hdf-trust-item:nth-child(2) { border-right: 0; }
.hdf-landing-summary .hdf-trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--hdf-line); }
.hdf-landing-content { border-top: 1px solid var(--hdf-line); }
.hdf-prose { font-size: 1.03rem; line-height: 1.8; }
.hdf-empty-state { padding: 60px; text-align: center; border: 1px dashed var(--hdf-line); border-radius: var(--hdf-radius); background: var(--hdf-cream); }

/* Consultation */
.hdf-consultation { min-height: 250px; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 35px; padding: clamp(34px, 5vw, 64px); color: #fff; border-radius: 24px; background: radial-gradient(circle at 80% 20%, #2f4052, var(--hdf-dark) 58%); position: relative; overflow: hidden; }
.hdf-consultation:after { content: ''; position: absolute; width: 360px; height: 360px; right: -160px; bottom: -230px; border-radius: 50%; border: 1px solid rgba(183,138,82,.35); }
.hdf-consultation h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 14px; }
.hdf-consultation p { color: rgba(255,255,255,.7); max-width: 720px; margin: 0; }
.hdf-consult-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; position: relative; z-index: 1; }

/* Cart and checkout */
.hdf-luxury-theme.woocommerce-cart .woocommerce,
.hdf-luxury-theme.woocommerce-checkout .woocommerce { max-width: 1230px; margin: 0 auto; padding: 48px 30px 80px; }
.hdf-luxury-theme .woocommerce-cart-form,
.hdf-luxury-theme .cart-collaterals,
.hdf-luxury-theme .woocommerce-checkout-review-order,
.hdf-luxury-theme .woocommerce-billing-fields,
.hdf-luxury-theme .woocommerce-shipping-fields,
.hdf-luxury-theme .woocommerce-additional-fields { border: 1px solid var(--hdf-line); border-radius: var(--hdf-radius); background: #fff; padding: 22px; }
.hdf-luxury-theme .cart_totals { border: 0 !important; }
.hdf-luxury-theme .checkout-button,
.hdf-luxury-theme #place_order { width: 100%; min-height: 54px; border-radius: 999px; color: #17130e; background: linear-gradient(135deg, #d4af67, var(--hdf-gold)); font-weight: 800; }
.hdf-luxury-theme input[type='text'],
.hdf-luxury-theme input[type='email'],
.hdf-luxury-theme input[type='tel'],
.hdf-luxury-theme input[type='number'],
.hdf-luxury-theme input[type='password'],
.hdf-luxury-theme select,
.hdf-luxury-theme textarea { border-radius: 10px; border-color: var(--hdf-line); box-shadow: none; }
.hdf-luxury-theme input:focus,
.hdf-luxury-theme select:focus,
.hdf-luxury-theme textarea:focus { border-color: var(--hdf-gold); box-shadow: 0 0 0 3px rgba(183,138,82,.12); }

/* Mobile sticky bar */
.hdf-mobile-product-bar { display: none; }

@media (max-width: 1024px) {
  .hdf-category-grid { grid-template-columns: repeat(2, 1fr); }
  .hdf-category-card { min-height: 320px; }
  .hdf-story-card { grid-template-columns: 1fr; }
  .hdf-landing-summary { padding-left: 0; padding-top: 24px; }
  .hdf-consultation { grid-template-columns: 1fr; }
  .hdf-consult-actions { justify-content: flex-start; }
}

@media (max-width: 849px) {
  body.single-product, body.page-template-product-landing { padding-bottom: 78px; }
  .hdf-section { padding: 52px 18px; }
  .hdf-home-hero { min-height: 650px; }
  .hdf-home-hero-row { padding-left: 8px; padding-right: 8px; }
  .hdf-home-hero h1 { font-size: clamp(2.8rem, 12vw, 4.6rem); }
  .hdf-home-trust-wrap { margin-top: -24px; padding: 0 14px; }
  .hdf-trust-strip { grid-template-columns: 1fr 1fr; }
  .hdf-trust-item:nth-child(2) { border-right: 0; }
  .hdf-trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--hdf-line); }
  .hdf-story-metrics { grid-template-columns: 1fr; }
  .hdf-story-metrics span { min-height: 100px; }
  .hdf-shop-hero { padding: 36px 18px; }
  .hdf-product-feature-grid { grid-template-columns: 1fr 1fr; }
  .hdf-product-cta-row { grid-template-columns: 1fr; }
  .hdf-landing-hero { padding: 34px 18px; }
  .hdf-landing-thumbs { grid-template-columns: repeat(5, 1fr); }
  .hdf-consultation { border-radius: 18px; }
  .hdf-consult-actions .hdf-button { width: 100%; }
  .hdf-mobile-product-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; min-height: 72px; display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; color: #fff; background: rgba(17,25,35,.97); box-shadow: 0 -10px 35px rgba(0,0,0,.22); transform: translateY(110%); transition: transform 220ms ease; backdrop-filter: blur(12px); }
  .hdf-mobile-product-bar.is-visible { transform: translateY(0); }
  .hdf-mobile-consult { color: #fff; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .7rem; }
  .hdf-mobile-consult svg { width: 22px; height: 22px; fill: var(--hdf-gold); }
  .hdf-mobile-product-info { min-width: 0; }
  .hdf-mobile-product-info strong, .hdf-mobile-product-info span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hdf-mobile-product-info strong { color: #fff; font-size: .78rem; }
  .hdf-mobile-product-info span { color: #e3bd77; font-size: .82rem; font-weight: 700; }
  .hdf-mobile-product-bar .hdf-button { min-height: 46px; padding: 0 15px; font-size: .76rem; }
  .hdf-mobile-product-bar .hdf-button svg { width: 17px; }
}

@media (max-width: 549px) {
  .hdf-category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hdf-category-card { min-height: 245px; }
  .hdf-category-content { inset: auto 15px 15px; }
  .hdf-category-content strong { font-size: 1rem; }
  .hdf-section-heading { align-items: flex-start; }
  .hdf-section-heading h2 { font-size: 2rem; }
  .hdf-product-feature-grid { grid-template-columns: 1fr; }
  .hdf-trust-strip { grid-template-columns: 1fr; }
  .hdf-trust-item { border-right: 0; border-bottom: 1px solid var(--hdf-line); }
  .hdf-trust-item:last-child { border-bottom: 0; }
  .hdf-landing-summary .hdf-trust-strip { grid-template-columns: 1fr; }
  .hdf-landing-thumbs { grid-template-columns: repeat(4, 1fr); }
  .hdf-mobile-product-bar { grid-template-columns: 54px 1fr auto; }
  .hdf-mobile-product-bar .hdf-button span { display: none; }
  .hdf-mobile-product-bar .hdf-button { width: 48px; padding: 0; }
}
