/* ============================================================
   HG LUXE — Hamid Group SAL  ·  refined editorial system (v2)
   Calmer neutral base · gold as ACCENT only · site-wide
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Poppins:wght@300;400;500;600&family=Jost:wght@300;400;500;600&display=swap');

:root{
  --bg:#FCFBF9; --surface:#FFFFFF; --well:#F6F4EF; --soft:#F2EFE8;
  --gold:#C2A256; --gold-2:#A07E2C; --gold-dk:#83651E;
  --grad:linear-gradient(135deg,#D6BB73 0%,#BC9540 60%,#A07E2C 100%);
  --grad-soft:linear-gradient(135deg,#F7F1E2,#EFE7D2);
  --ink:#262219; --ink-2:#5F594D; --muted:#9A9182; --line:#ECE8DD; --line-2:#E1DBCC;
  --shadow:0 18px 48px -16px rgba(40,36,26,.18);
  --shadow-sm:0 8px 22px -10px rgba(40,36,26,.12);
  --r:18px; --r-lg:26px; --ease:cubic-bezier(.22,.61,.36,1);
}

/* ---------- base ---------- */
body,body[theme="light"]{ background:var(--bg)!important; color:var(--ink)!important; font-family:'Poppins',sans-serif!important; -webkit-font-smoothing:antialiased; }
.main-content{ background:transparent!important; position:relative; z-index:1; }
h1,h2,h3,h4,h5,.styled-title{ font-family:'Playfair Display',serif!important; color:var(--ink)!important; letter-spacing:.2px; }
a{ text-decoration:none; } img{ max-width:100%; } .container{ max-width:1280px; }

/* ---------- animation framework ---------- */
@keyframes hgUp{ from{opacity:0;transform:translateY(34px)} to{opacity:1;transform:none} }
@keyframes hgIn{ from{opacity:0} to{opacity:1} }
@keyframes hgScale{ from{opacity:0;transform:scale(.94)} to{opacity:1;transform:none} }
.reveal{ opacity:0; } .reveal.in{ animation:hgUp .85s var(--ease) forwards; animation-delay:var(--d,0s); }
.reveal-scale.in{ animation:hgScale .8s var(--ease) forwards; animation-delay:var(--d,0s); }
@media (prefers-reduced-motion:reduce){ .reveal,.reveal-scale{ opacity:1!important; animation:none!important; } }

/* ---------- buttons ---------- */
.hg-btn,.btn-primary,.btn--primary{ display:inline-flex;align-items:center;gap:.55rem; background:var(--grad)!important; color:#2A2310!important;
  border:none!important; border-radius:999px!important; padding:.8rem 1.8rem!important; font-family:'Jost',sans-serif; font-weight:600!important;
  letter-spacing:.3px; cursor:pointer; box-shadow:0 8px 20px -8px rgba(160,126,44,.45)!important; transition:.35s var(--ease)!important; position:relative; overflow:hidden; }
.hg-btn::after,.btn-primary::after{ content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.4),transparent 70%);transform:translateX(-120%);transition:transform .7s var(--ease); }
.hg-btn:hover,.btn-primary:hover{ transform:translateY(-2px); color:#2A2310!important; box-shadow:0 14px 28px -10px rgba(160,126,44,.55)!important; }
.hg-btn:hover::after,.btn-primary:hover::after{ transform:translateX(120%); }
.hg-btn--ghost{ background:transparent!important;color:var(--ink)!important;border:1.5px solid var(--line-2)!important;box-shadow:none!important; }
.hg-btn--ghost:hover{ background:var(--ink)!important;color:#fff!important;border-color:var(--ink)!important; }
.btn-outline-primary,.btn-outline-success{ border-radius:999px!important;border-color:var(--gold-2)!important;color:var(--gold-2)!important; }
.btn-outline-primary:hover,.btn-outline-success:hover{ background:var(--gold-2)!important;color:#fff!important; }
.btn-link{ color:var(--gold-2)!important;font-weight:500; }
.text-primary{ color:var(--gold-2)!important; } .text-gold,.star-rating{ color:var(--gold)!important; }
.bg-primary{ background:var(--gold-2)!important; } .bg-primary-light{ background:var(--grad-soft)!important; }

/* ============================================================ HEADER (calm, light) */
.header{ position:relative; z-index:60; }
.header-top{ background:var(--well)!important; color:var(--ink-2)!important; border-bottom:1px solid var(--line)!important; }
.header-top a,.header-top span,.header-top button,.header-top i{ color:var(--ink-2)!important; }
.announcement-color{ background:var(--ink)!important; color:#F3ECDC!important; }
.header-middle{ background:var(--surface)!important; border-bottom:1px solid var(--line)!important; }
.header-main,.header-main.love-sticky{ background:rgba(255,255,255,.9)!important; backdrop-filter:blur(14px); border-bottom:1px solid var(--line)!important;
  box-shadow:0 6px 22px -16px rgba(40,36,26,.4)!important; position:relative; z-index:60; }
.header-main.love-sticky{ position:sticky; top:0; }
.header-main a,.main-nav a{ color:var(--ink)!important;font-weight:500; } .header-main a:hover,.main-nav a:hover{ color:var(--gold-2)!important; }
.logo img,.logo .h-45,img.h-45{ height:60px!important;width:auto!important; }
@media(max-width:992px){ .logo img,img.h-45{ height:44px!important; } }
.header-main .btn,.all-category-btn{ background:var(--grad)!important;border:none!important;color:#2A2310!important; }
.search-box,.search-bar-input,.select-wrap{ border-radius:999px!important; }
.search-box{ border:1px solid var(--line)!important;overflow:hidden; }
.focus-border:focus-within{ border-color:var(--gold)!important; }
/* dropdowns must sit ABOVE the hero */
.header-main .dropdown-menu,.dropdown-menu--static,.main-nav .sub_menu,.main-nav .sub-menu,.header .dropdown-menu{ z-index:120!important; }
.main-nav .sub_menu a:hover{ color:var(--gold-2)!important; }

/* ============================================================ SECTION SCAFFOLD */
.hg-sec{ padding:18px 0; }
.hg-head{ text-align:center; max-width:720px; margin:0 auto 34px; }
.hg-eyebrow{ display:inline-flex;align-items:center;gap:.6rem; font-family:'Jost',sans-serif; text-transform:uppercase; letter-spacing:.32em; font-size:.7rem; font-weight:600; color:var(--gold-2); margin-bottom:.6rem; }
.hg-eyebrow::before,.hg-eyebrow::after{ content:""; width:24px;height:1px; background:var(--gold); opacity:.55; }
.hg-title{ font-size:clamp(1.6rem,3.2vw,2.5rem); line-height:1.12; margin:0; font-weight:600; }
.hg-title em{ font-style:italic; color:var(--gold-2); }
.hg-sub{ color:var(--ink-2); margin-top:.6rem; font-size:.98rem; }
.hg-head--row{ display:flex;align-items:flex-end;justify-content:space-between;text-align:left;max-width:none;gap:1rem;margin-bottom:26px; }
.hg-head--row .hg-title{ font-size:clamp(1.4rem,2.5vw,2rem); }
.hg-viewall{ font-family:'Jost',sans-serif;font-weight:600;letter-spacing:.04em;color:var(--gold-2)!important;white-space:nowrap;display:inline-flex;align-items:center;gap:.4rem;transition:.3s var(--ease); }
.hg-viewall:hover{ gap:.7rem; }

/* ============================================================ HERO (z-layered so header/dropdown sit above) */
.hg-hero{ position:relative; z-index:1; border-radius:var(--r-lg); overflow:hidden; min-height:clamp(360px,44vw,540px); display:flex; align-items:center; box-shadow:var(--shadow); margin-top:14px; }
.hg-hero__bg{ position:absolute; inset:0; z-index:0; }
.hg-hero__bg img{ width:100%;height:100%;object-fit:cover; transform:scale(1.05); animation:hgIn 1.4s var(--ease) both; }
.hg-hero__bg::after{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(252,251,249,.94) 0%,rgba(252,251,249,.74) 34%,rgba(252,251,249,.06) 62%,transparent 100%); }
.hg-hero__inner{ position:relative; z-index:2; padding:clamp(1.6rem,5vw,4rem); max-width:600px; }
.hg-hero__tag{ font-family:'Jost',sans-serif;text-transform:uppercase;letter-spacing:.3em;font-size:.7rem;font-weight:600;color:var(--gold-2); animation:hgUp .8s var(--ease) both; }
.hg-hero__title{ font-size:clamp(2rem,5vw,3.8rem); line-height:1.05; margin:.5rem 0 .4rem; font-weight:700; animation:hgUp .9s var(--ease) .1s both; }
.hg-hero__title em{ font-style:italic;color:var(--gold-2); }
.hg-hero__text{ color:var(--ink-2); font-size:clamp(.95rem,1.4vw,1.08rem); max-width:430px; margin-bottom:1.6rem; animation:hgUp .9s var(--ease) .2s both; }
.hg-hero__cta{ display:flex;flex-wrap:wrap;gap:.8rem; animation:hgUp .9s var(--ease) .3s both; }
.hg-hero__chips{ display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem; animation:hgUp .9s var(--ease) .42s both; }
.hg-hero__chip{ font-family:'Jost',sans-serif;font-size:.8rem;font-weight:500;color:var(--ink-2);background:rgba(255,255,255,.72);backdrop-filter:blur(6px);border:1px solid var(--line);border-radius:999px;padding:.4rem .9rem; }
@media(max-width:768px){ .hg-hero__bg::after{ background:linear-gradient(0deg,rgba(252,251,249,.97) 8%,rgba(252,251,249,.62) 55%,transparent 100%);} .hg-hero{ align-items:flex-end; } }

/* ============================================================ CATEGORY CAROUSEL */
.hg-cat-wrap{ position:relative; }
.hg-cat-wrap .swiper{ overflow:hidden; }
.hg-cat-slide{ width:218px!important; }
@media(max-width:560px){ .hg-cat-slide{ width:150px!important; } }
.hg-cat{ position:relative; border-radius:var(--r); overflow:hidden; aspect-ratio:1/1; display:block; box-shadow:var(--shadow-sm); transition:.5s var(--ease); }
.hg-cat::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top,rgba(30,27,20,.8) 0%,rgba(30,27,20,.12) 46%,transparent 70%); transition:.5s var(--ease); }
.hg-cat img{ width:100%;height:100%;object-fit:cover; transition:transform .8s var(--ease); }
.hg-cat:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.hg-cat:hover img{ transform:scale(1.1); }
.hg-cat__body{ position:absolute; left:0;right:0;bottom:0; padding:15px; z-index:2; color:#fff; }
.hg-cat__name{ font-family:'Playfair Display',serif; font-size:1.02rem; font-weight:600; line-height:1.15; color:#fff; }
.hg-cat__count{ font-family:'Jost',sans-serif; font-size:.72rem; letter-spacing:.05em; opacity:.82; display:flex;align-items:center;gap:.4rem; margin-top:.2rem; }
.hg-cat__go{ position:absolute; top:12px; right:12px; width:36px;height:36px;border-radius:50%; background:rgba(255,255,255,.2); backdrop-filter:blur(6px); border:1px solid rgba(255,255,255,.32); display:flex;align-items:center;justify-content:center;color:#fff; opacity:0; transform:translateY(-6px); transition:.45s var(--ease); z-index:2; }
.hg-cat:hover .hg-cat__go{ opacity:1; transform:none; background:var(--grad); color:#2A2310; border-color:transparent; }
/* carousel arrows */
.hg-nav{ position:absolute; top:50%; transform:translateY(-50%); width:44px;height:44px;border-radius:50%; background:var(--surface); border:1px solid var(--line);
  box-shadow:var(--shadow-sm); display:flex;align-items:center;justify-content:center; color:var(--ink); cursor:pointer; z-index:5; transition:.3s var(--ease); }
.hg-nav:hover{ background:var(--grad); color:#2A2310; border-color:transparent; }
.hg-nav--prev{ left:-10px; } .hg-nav--next{ right:-10px; }
.swiper-button-next::after,.swiper-button-prev::after{ display:none; }
@media(max-width:560px){ .hg-nav{ display:none; } }

/* ============================================================ PRODUCT GRID + CARD */
.hg-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
@media(max-width:1100px){ .hg-grid{ grid-template-columns:repeat(4,1fr);} }
@media(max-width:820px){ .hg-grid{ grid-template-columns:repeat(3,1fr);} }
@media(max-width:560px){ .hg-grid{ grid-template-columns:repeat(2,1fr); gap:12px;} }
.product{ background:var(--surface)!important; border:1px solid var(--line)!important; border-radius:var(--r)!important; padding:.5rem .5rem .25rem!important; box-shadow:var(--shadow-sm); height:100%; transition:transform .42s var(--ease),box-shadow .42s var(--ease),border-color .42s var(--ease)!important; }
.product:hover{ transform:translateY(-7px); box-shadow:var(--shadow)!important; border-color:var(--line-2)!important; }
.product__top{ border:none!important; background:var(--well)!important; border-radius:15px!important; overflow:hidden; position:relative; }
.product__thumbnail img{ transition:transform .6s var(--ease); }
.product:hover .product__thumbnail img{ transform:scale(1.08); }
.product__title{ font-family:'Poppins',sans-serif!important; font-weight:500!important; color:var(--ink)!important; font-size:.92rem!important; }
.product__new-price,.product__price ins{ color:var(--gold-2)!important; font-weight:700!important; font-family:'Jost',sans-serif; }
.product__old-price,.product__price del{ color:var(--muted)!important; }
.discount-badge,.product__discount-badge{ background:var(--grad)!important;color:#2A2310!important;border-radius:999px!important;padding:3px 11px!important; font-family:'Jost',sans-serif;font-weight:600!important;font-size:.74rem; box-shadow:0 4px 10px -2px rgba(160,126,44,.45); z-index:3; }
.discount-badge span{ color:#2A2310!important; }
.product__actions{ z-index:3; }
.product__actions a,.btn-wishlist,.btn-compare,.btn-quickview,.store-product__action{ width:38px!important;height:38px!important;border-radius:50%!important; background:rgba(255,255,255,.94)!important; color:var(--ink)!important;border:1px solid var(--line)!important; display:flex!important;align-items:center;justify-content:center; box-shadow:0 6px 14px -6px rgba(0,0,0,.28)!important; transition:.35s var(--ease)!important; opacity:0; transform:translateX(10px); }
.product:hover .product__actions a{ opacity:1; transform:none; }
.product__actions a:nth-child(2){ transition-delay:.05s; } .product__actions a:nth-child(3){ transition-delay:.1s; }
.product__actions a:hover,.store-product__action:hover{ background:var(--grad)!important;color:#2A2310!important;transform:scale(1.12)!important;border-color:transparent!important; }
.wishlist_icon_active{ background:var(--gold-2)!important;color:#fff!important; }
.product__notify{ background:rgba(38,34,25,.82)!important;color:#fff!important;border-radius:8px; }
.slide-shadow{ border:1px solid var(--line)!important;border-radius:var(--r)!important;box-shadow:var(--shadow-sm)!important;background:var(--surface)!important;transition:transform .42s var(--ease),box-shadow .42s var(--ease)!important; }
.slide-shadow:hover{ transform:translateY(-6px);box-shadow:var(--shadow)!important; }
.store-product__top{ border:none!important;background:var(--well)!important;border-radius:14px!important; }
.store-product img{ transition:transform .6s var(--ease); } .slide-shadow:hover .store-product img{ transform:scale(1.08); }

/* ============================================================ PROMO BAND */
.hg-promo{ position:relative; border-radius:var(--r-lg); overflow:hidden; min-height:300px; display:flex; align-items:center; box-shadow:var(--shadow); }
.hg-promo__bg{ position:absolute; inset:0; z-index:0; } .hg-promo__bg img{ width:100%;height:100%;object-fit:cover; }
.hg-promo__bg::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(30,27,20,.66),rgba(30,27,20,.14) 60%,transparent); }
.hg-promo__inner{ position:relative; z-index:2; padding:clamp(1.6rem,5vw,3.5rem); color:#fff; max-width:560px; }
.hg-promo__tag{ font-family:'Jost',sans-serif;text-transform:uppercase;letter-spacing:.3em;font-size:.7rem;color:#ECD9A8; }
.hg-promo__title{ color:#fff!important; font-size:clamp(1.5rem,3.2vw,2.5rem); line-height:1.1; margin:.5rem 0 1.3rem; }
.hg-promo__title em{ color:#E7C879; font-style:italic; }

/* ============================================================ FEATURES BAR */
.hg-feat{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media(max-width:820px){ .hg-feat{ grid-template-columns:repeat(2,1fr);} }
.hg-feat__item{ display:flex;align-items:center;gap:14px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:18px 20px; box-shadow:var(--shadow-sm); transition:.4s var(--ease); }
.hg-feat__item:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.hg-feat__ic{ flex:none; width:50px;height:50px;border-radius:14px; background:var(--soft); color:var(--gold-2); display:flex;align-items:center;justify-content:center; font-size:1.35rem; }
.hg-feat__t{ font-family:'Jost',sans-serif;font-weight:600;color:var(--ink);font-size:.94rem; }
.hg-feat__s{ font-size:.8rem;color:var(--muted); }

/* ============================================================ NEWSLETTER (neutral charcoal) */
.hg-news{ position:relative; border-radius:var(--r-lg); overflow:hidden; padding:clamp(2rem,6vw,3.6rem); text-align:center; background:#23201A; color:#fff; box-shadow:var(--shadow); }
.hg-news__t{ color:#fff!important; font-size:clamp(1.5rem,3vw,2.1rem); margin-bottom:.6rem; } .hg-news__t em{ color:#E7C879;font-style:italic; }
.hg-news__s{ color:#CFC7B6; max-width:480px;margin:0 auto 1.5rem; }
.hg-news__form{ display:flex; max-width:480px; margin:0 auto; gap:.6rem; flex-wrap:wrap; justify-content:center; }
.hg-news__input{ flex:1; min-width:220px; border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.07); color:#fff; border-radius:999px; padding:.8rem 1.4rem; font-family:'Jost',sans-serif; outline:none; }
.hg-news__input::placeholder{ color:#B3AB99; }

/* ============================================================ INNER PAGES (site-wide) */
/* breadcrumb */
.breadcrumb{ background:transparent!important; }
.breadcrumb-item a{ color:var(--ink-2)!important; } .breadcrumb-item.active{ color:var(--gold-2)!important; }
.page-title,.inner-page-title{ font-family:'Playfair Display',serif!important; }
/* generic content cards across inner pages */
main .card,.card.rounded-10,.card.border{ background:var(--surface)!important; border:1px solid var(--line)!important; border-radius:var(--r)!important; box-shadow:var(--shadow-sm); }
/* PRODUCT DETAILS */
.product-details-sticky,.product-details-sticky-section{ background:var(--surface)!important; border:1px solid var(--line)!important; border-radius:var(--r-lg)!important; box-shadow:var(--shadow-sm); }
.product-details-content .product__price,.product-details-chosen-price-amount,.product__new-price{ color:var(--gold-2)!important; }
.product-details-chosen-price-amount{ font-family:'Jost',sans-serif; font-weight:700; }
.product-details-stock-qty{ color:var(--gold-2)!important; }
.quantity{ border:1px solid var(--line-2)!important; border-radius:999px!important; overflow:hidden; }
.quantity__minus,.quantity__plus{ background:var(--well)!important; border:none!important; color:var(--ink)!important; }
.quantity__minus:hover,.quantity__plus:hover{ background:var(--grad)!important; color:#2A2310!important; }
.product-details-tab-content .nav-link,.nav-tabs .nav-link{ color:var(--ink-2)!important; border:none!important; }
.nav-tabs .nav-link.active{ color:var(--gold-2)!important; border-bottom:2px solid var(--gold-2)!important; background:transparent!important; }
.product-gallery img,.product-thumbnail img,.zoomWrapper img{ border-radius:14px; }
.color-variant,.choice_attributes label,.variant-card{ border-radius:10px!important; }
.color-variant input:checked + label,.choice_attributes input:checked + label{ border-color:var(--gold-2)!important; }
/* SHOP / LISTING */
.product-filter,.filter-sidebar,.shop-sidebar,.left-sidebar,.products-sidebar,aside .card{ border-radius:var(--r)!important; border:1px solid var(--line)!important; }
.shop-top-bar,.products-top-bar,.product-list-top{ background:var(--surface)!important; border:1px solid var(--line)!important; border-radius:var(--r)!important; }
.price-range input,.form-control,.form-select{ border-radius:10px!important; border-color:var(--line-2)!important; }
.form-control:focus,.form-select:focus{ border-color:var(--gold)!important; box-shadow:0 0 0 .2rem rgba(194,162,86,.18)!important; }
.custom-checkbox input:checked ~ label::before,.form-check-input:checked{ background:var(--gold-2)!important; border-color:var(--gold-2)!important; }
.pagination .page-item.active .page-link,.page-link.active{ background:var(--grad)!important; border-color:transparent!important; color:#2A2310!important; }
.page-link{ color:var(--ink)!important; border-radius:10px!important; margin:0 3px; border-color:var(--line)!important; }
.page-link:hover{ color:var(--gold-2)!important; }
/* CART + CHECKOUT */
.cart-table,.table{ border-radius:var(--r); overflow:hidden; } .table thead{ background:var(--well)!important; }
.cart-summary,.order-summary,.checkout-summary,.summary-card{ background:var(--surface)!important; border:1px solid var(--line)!important; border-radius:var(--r)!important; box-shadow:var(--shadow-sm); }
.coupon-input input{ border-radius:999px 0 0 999px!important; } .payment-method label,.address-card,.delivery-card{ border-radius:14px!important; border:1px solid var(--line)!important; }
.payment-method input:checked + label,.address-card.active{ border-color:var(--gold-2)!important; box-shadow:0 0 0 2px rgba(194,162,86,.18); }
/* ACCOUNT / PROFILE */
.profile-aside,.account-sidebar,.dashboard-sidebar{ background:var(--surface)!important; border:1px solid var(--line)!important; border-radius:var(--r)!important; }
.profile-aside a.active,.account-menu a.active{ color:var(--gold-2)!important; }
/* BLOG / BUSINESS PAGES */
.blog-card,.blog-item{ border-radius:var(--r)!important; overflow:hidden; border:1px solid var(--line)!important; }
.blog-card:hover{ box-shadow:var(--shadow); transform:translateY(-5px); }

/* ---------- footer + misc ---------- */
footer,.footer,.footer-section{ background:#201D17!important; color:#E2D8C2!important; }
footer a,.footer a{ color:#E2D8C2!important; } footer a:hover,.footer a:hover{ color:var(--gold)!important; }
.footer-top,.feature-bar{ background:var(--grad-soft)!important;color:var(--ink)!important; }
.rounded,.rounded-3,.rounded-10{ border-radius:14px!important; }
hr{ border-color:var(--line); }
::selection{ background:var(--grad-soft);color:var(--ink); }
::-webkit-scrollbar{ width:10px;height:10px; } ::-webkit-scrollbar-thumb{ background:var(--gold);border-radius:10px; }
.main-content.d-flex.flex-column.gap-3{ gap:0!important; }
