/* =========================================================
   APNAGHOR PREMIUM CHILD v2
   Structural storefront + WooCommerce UI
   ========================================================= */
:root{
  --apg-primary:#151515;
  --apg-accent:#b88b45;
  --apg-accent-dark:#8f682e;
  --apg-text:#171717;
  --apg-muted:#707070;
  --apg-border:#ded4c4;
  --apg-soft:#faf8f4;
  --apg-white:#fff;
  --apg-danger:#b42318;
  --apg-radius:14px;
  --apg-container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.apg-premium-woocommerce,
body.apg-premium-home{margin:0;overflow-x:hidden;color:var(--apg-text);background:#fff}
body.apg-premium-woocommerce img,body.apg-premium-home img{max-width:100%;height:auto}
.apg-container{width:min(var(--apg-container),calc(100% - 32px));margin-inline:auto}
.apg-site-content{min-height:50vh}
.apg-topbar{background:var(--apg-primary);color:#fff;font-size:12px}
.apg-topbar-inner{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.apg-topbar-note{opacity:.72}
.apg-brand-row{min-height:88px;display:flex;align-items:center;justify-content:center}
.apg-logo,.apg-footer-logo{font-size:31px;line-height:1;font-weight:800;letter-spacing:-1.5px;color:var(--apg-primary);text-decoration:none}
.apg-logo:hover,.apg-footer-logo:hover{color:var(--apg-accent-dark)}
.apg-nav-row{display:grid;grid-template-columns:auto 1fr minmax(230px,330px) auto;align-items:center;gap:22px;border-top:1px solid #eee;border-bottom:1px solid #eee;min-height:64px}
.apg-main-menu{display:flex;align-items:center;gap:22px}
.apg-main-menu a{color:var(--apg-text);font-weight:650;font-size:14px;text-decoration:none;white-space:nowrap}
.apg-main-menu a:hover{color:var(--apg-accent-dark)}
.apg-menu-toggle{display:none;border:0;background:transparent;padding:10px 0;font-weight:700}
.apg-header-search form{position:relative;display:flex;align-items:center}
.apg-header-search input[type=search]{width:100%;height:42px;border:1px solid #d8d8d8;border-radius:999px;padding:0 48px 0 17px;background:#fff;outline:none;font-size:14px}
.apg-header-search input[type=search]:focus{border-color:var(--apg-accent);box-shadow:0 0 0 3px rgba(184,139,69,.12)}
.apg-cart-link{display:inline-flex;align-items:center;gap:7px;color:var(--apg-text);text-decoration:none;font-size:13px;font-weight:700}
.apg-cart-count{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:99px;background:var(--apg-accent);color:#fff;font-size:11px}
.apg-hero{padding:72px 0;background:linear-gradient(120deg,#f7f2ea,#fff)}
.apg-eyebrow,.apg-section-heading>span{font-size:11px;letter-spacing:2px;font-weight:800;color:var(--apg-accent-dark)}
.apg-hero h1{max-width:700px;margin:12px 0;font-size:clamp(32px,5vw,58px);line-height:1.08;letter-spacing:-2px}
.apg-hero p{max-width:650px;color:var(--apg-muted);font-size:17px;line-height:1.7;margin:0 0 25px}
.apg-primary-btn,.apg-outline-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:9px;text-decoration:none;font-weight:750}
.apg-primary-btn{background:var(--apg-primary);color:#fff}
.apg-primary-btn:hover{color:#fff;opacity:.9}
.apg-outline-btn{border:1px solid var(--apg-accent);color:var(--apg-accent-dark);background:#fff}
.apg-outline-btn:hover{background:var(--apg-soft);color:var(--apg-primary)}
.apg-home-section{padding:64px 0}
.apg-section-heading{margin-bottom:25px}
.apg-section-heading h2{margin:6px 0 0;font-size:clamp(25px,3vw,34px);letter-spacing:-.7px}
.apg-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.apg-category-card{display:block;text-decoration:none;color:var(--apg-text)}
.apg-category-image{display:block;aspect-ratio:1/1.06;border-radius:16px;overflow:hidden;background:#f2eee7}
.apg-category-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.apg-category-card:hover .apg-category-image img{transform:scale(1.035)}
.apg-category-name{display:block;text-align:center;font-weight:800;font-size:17px;padding:14px 5px}
.apg-products-section{background:var(--apg-soft)}
.apg-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.apg-product-card{background:#fff;border:1px solid #ece8e1;border-radius:14px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.apg-product-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(0,0,0,.07)}
.apg-product-image{display:block;aspect-ratio:1/1;background:#f7f7f7;overflow:hidden}
.apg-product-image img{width:100%;height:100%;object-fit:cover}
.apg-product-card-body{padding:14px}
.apg-product-card h3{margin:0 0 8px;font-size:15px;line-height:1.4}
.apg-product-card h3 a{color:var(--apg-text);text-decoration:none}
.apg-product-price{font-size:16px;font-weight:800}
.apg-product-price del{opacity:.45;font-size:.8em}
.apg-product-price ins{text-decoration:none}
.apg-footer{background:#151515;color:#eee;margin-top:60px}
.apg-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:40px;padding:56px 0}
.apg-footer-logo{color:#fff;display:inline-block;margin-bottom:14px}
.apg-footer p{color:#bdbdbd;font-size:13px;line-height:1.8;margin:0 0 7px}
.apg-footer h3{font-size:14px;margin:0 0 15px;color:#fff}
.apg-footer ul{list-style:none;margin:0;padding:0}
.apg-footer li{margin:0 0 9px}
.apg-footer a{color:#bdbdbd;text-decoration:none;font-size:13px}
.apg-footer a:hover{color:#fff}
.apg-footer-bottom{border-top:1px solid #2c2c2c;padding:17px 0;color:#888;font-size:11px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* WooCommerce */
.apg-premium-product .site-main,.apg-premium-product .content-area{overflow:visible}
.apg-premium-product .woocommerce-breadcrumb{display:none}
.apg-premium-product .product{gap:clamp(22px,4vw,56px)}
.apg-premium-product .product_title{font-size:clamp(25px,3vw,38px);line-height:1.18;font-weight:750;letter-spacing:-.02em;margin-bottom:12px}
.apg-premium-product .price{font-size:clamp(22px,2.4vw,30px);font-weight:750;line-height:1.25;margin-bottom:20px}
.apg-premium-product .price del{opacity:.48;font-size:.72em;font-weight:500;margin-right:8px}
.apg-premium-product .price ins{text-decoration:none}
.apg-premium-product .woocommerce-product-gallery{border-radius:var(--apg-radius);overflow:hidden;margin-bottom:18px!important}
.apg-premium-product .woocommerce-product-gallery__wrapper{margin:0!important}
.apg-premium-product .woocommerce-product-gallery__image img{border-radius:var(--apg-radius);display:block}
.apg-premium-product form.variations_form{margin-top:10px}
.apg-premium-product table.variations{width:100%;border:0;margin:0 0 12px}
.apg-premium-product table.variations tr{display:block;margin:0 0 18px}
.apg-premium-product table.variations td,.apg-premium-product table.variations th{display:block;width:100%;padding:0;border:0;text-align:left}
.apg-premium-product table.variations th label{display:block;font-weight:750;margin:0 0 9px}
.apg-premium-product .reset_variations{font-size:12px;margin-top:8px}
.apg-premium-product .apg-option-buttons{display:flex;flex-wrap:wrap;gap:8px}
.apg-premium-product .apg-option-btn{min-width:48px;min-height:42px;padding:7px 13px;border:2px solid var(--apg-accent);border-radius:8px;background:#fff;color:var(--apg-text);font-weight:700;cursor:pointer;transition:.15s}
.apg-premium-product .apg-option-btn:hover{border-color:var(--apg-primary)}
.apg-premium-product .apg-option-btn.is-selected{background:#fff8ed;border-color:var(--apg-primary);box-shadow:0 0 0 2px rgba(184,139,69,.25);color:var(--apg-primary)}
.apg-premium-product .apg-option-btn.is-disabled{opacity:.38;text-decoration:line-through;cursor:not-allowed}
.apg-premium-product .apg-option-buttons + select{position:absolute!important;left:-99999px!important}
.apg-premium-product .variable-items-wrapper,.apg-premium-product .woo-variation-items-wrapper{gap:8px}
.apg-premium-product .variable-item,.apg-premium-product .button-variable-item{transition:.15s}
.apg-premium-product .variable-item.selected,.apg-premium-product .button-variable-item.selected{border-color:var(--apg-primary)!important;box-shadow:0 0 0 1px var(--apg-primary)}
.apg-delivery-box{margin:18px 0;padding:15px 16px;background:var(--apg-soft);border:1px solid var(--apg-border);border-radius:var(--apg-radius);font-size:14px;line-height:1.7}
.apg-delivery-title{font-weight:750;margin-bottom:3px}
.apg-trust-strip{display:flex;flex-wrap:wrap;gap:8px 14px;margin:12px 0 18px;color:var(--apg-muted);font-size:12px}
.apg-premium-product .quantity{margin:0 10px 0 0!important;display:inline-flex;align-items:center}
.apg-premium-product .quantity input.qty{min-height:48px;border:2px solid var(--apg-accent);border-radius:8px;font-weight:750}
.apg-premium-product .single_add_to_cart_button{min-height:50px;border:0!important;border-radius:9px!important;background:var(--apg-primary)!important;color:#fff!important;padding:13px 24px!important;font-size:16px!important;font-weight:750!important;transition:.15s}
.apg-premium-product .single_add_to_cart_button:hover{transform:translateY(-1px);opacity:.92}
.apg-variation-warning{display:none;margin:10px 0 12px;padding:11px 13px;border:1px solid rgba(180,35,24,.2);background:#fff6f5;color:var(--apg-danger);border-radius:8px;font-size:14px;line-height:1.5;font-weight:650}
.apg-variation-warning.is-visible{display:block}
.apg-field-highlight{animation:apgPulse .55s ease}
@keyframes apgPulse{50%{transform:translateY(-2px)}}

/* Cart / checkout */
.apg-continue-shopping{margin:0 0 18px}
.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{padding-top:25px}
.woocommerce-cart table.shop_table,.woocommerce-checkout form.checkout{border-color:#e9e2d7}
.woocommerce-cart .product-remove a{display:inline-grid!important;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff2f0;color:#b42318!important;text-decoration:none}
.woocommerce-cart .quantity{display:inline-flex!important;align-items:center;gap:0}
.apg-qty-minus,.apg-qty-plus{width:36px;height:44px;border:1px solid var(--apg-accent)!important;background:#fff!important;color:var(--apg-primary)!important;font-size:20px;font-weight:700;cursor:pointer}
.apg-qty-minus{border-radius:8px 0 0 8px!important}
.apg-qty-plus{border-radius:0 8px 8px 0!important}
.woocommerce-cart .quantity input.qty{height:44px!important;width:52px!important;border:1px solid var(--apg-accent)!important;border-left:0!important;border-right:0!important;border-radius:0!important;text-align:center}
.woocommerce-cart .coupon button,.woocommerce-cart button[name=update_cart],.woocommerce-checkout #place_order{border-radius:8px!important}
.woocommerce-checkout .apg-continue-shopping{margin-bottom:10px}
.woocommerce-checkout .apg-outline-btn{min-height:42px}

/* Facebook / in-app browsers and mobile */
@media(max-width:1024px){
  .apg-nav-row{grid-template-columns:auto 1fr auto;gap:14px}
  .apg-menu-toggle{display:flex;align-items:center;gap:7px}
  .apg-main-menu{display:none;position:absolute;z-index:1000;left:16px;right:16px;top:100%;background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:10px;box-shadow:0 14px 30px rgba(0,0,0,.1);flex-direction:column;align-items:stretch;gap:0}
  .apg-main-menu.is-open{display:flex}
  .apg-main-menu a{padding:12px;border-radius:7px}
  .apg-main-menu a:hover{background:var(--apg-soft)}
  .apg-nav-row{position:relative}
  .apg-header-search{grid-column:1/-1;grid-row:2;padding-bottom:12px}
  .apg-cart-link{justify-self:end}
  .apg-category-grid,.apg-product-grid{grid-template-columns:repeat(2,1fr)}
  .apg-footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .apg-container{width:min(var(--apg-container),calc(100% - 22px))}
  .apg-topbar-inner{min-height:34px;font-size:10px}
  .apg-topbar-note{display:none}
  .apg-brand-row{min-height:70px}
  .apg-logo{font-size:28px}
  .apg-nav-row{min-height:54px;gap:8px}
  .apg-menu-toggle{font-size:13px}
  .apg-cart-link span{display:none}
  .apg-hero{padding:48px 0}
  .apg-hero h1{font-size:35px;letter-spacing:-1px}
  .apg-hero p{font-size:15px}
  .apg-home-section{padding:44px 0}
  .apg-category-grid,.apg-product-grid{gap:11px}
  .apg-category-name{font-size:14px;padding:10px 3px}
  .apg-product-card-body{padding:11px}
  .apg-product-card h3{font-size:13px}
  .apg-product-price{font-size:14px}
  .apg-footer-grid{grid-template-columns:1fr;gap:28px;padding:40px 0}
  .apg-footer{margin-top:35px}
  .apg-premium-product .product{gap:14px}
  .apg-premium-product .woocommerce-product-gallery{margin-top:0!important;margin-bottom:12px!important}
  .apg-premium-product .woocommerce-product-gallery__wrapper{padding:0!important}
  .apg-premium-product .woocommerce-product-gallery__image{margin:0!important}
  .apg-premium-product .summary{padding:0!important}
  .apg-premium-product .product_title{font-size:24px;margin-top:0}
  .apg-premium-product .price{font-size:22px;margin-bottom:14px}
  .apg-delivery-box{margin:12px 0;padding:12px}
  .apg-trust-strip{margin:10px 0 14px}
  .apg-premium-product .single_add_to_cart_button{min-height:47px;padding:11px 15px!important}
  .woocommerce-cart .shop_table_responsive tr{margin-bottom:10px}
}
@media(max-width:380px){
  .apg-category-grid,.apg-product-grid{grid-template-columns:1fr 1fr}
  .apg-product-card h3{font-size:12px}
}
@supports (-webkit-touch-callout:none){
  input,button,select,textarea{font-size:16px}
}

/* =========================================================
   APNAGHOR PREMIUM v2.1 REFINEMENTS
   ========================================================= */
:root{
  --apg-primary:#5c3926;
  --apg-accent:#c99a5a;
  --apg-accent-dark:#8a5f32;
  --apg-nav:#4b2d1e;
  --apg-nav-border:#704b33;
}

/* Top bar: warm brown + centered message. */
.apg-topbar{background:linear-gradient(90deg,#4a2c1d,#6a432b,#4a2c1d);color:#fff}
.apg-topbar-inner{justify-content:center;text-align:center;min-height:38px;font-weight:700}
.apg-topbar-note{opacity:.86}

/* Main menu bar: dark enough to remain visible on the store palette. */
.apg-nav-row{background:var(--apg-nav);border-top:1px solid var(--apg-nav-border);border-bottom:1px solid var(--apg-nav-border);min-height:62px}
.apg-main-menu a{color:#fff}
.apg-main-menu a:hover{color:#f0d3a5}
.apg-menu-toggle{color:#fff;background:transparent}
.apg-menu-icon{font-size:23px;line-height:1}
.apg-menu-close-icon{display:none}
.apg-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;min-width:max-content}
.apg-header-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;min-width:38px;min-height:38px}
.apg-header-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.apg-header-icon:hover{color:#f0d3a5}
.apg-search-trigger{cursor:pointer}
.apg-header-search{display:flex;align-items:center;position:relative}
.apg-search-trigger{border:0;background:transparent;padding:0;cursor:pointer}
.apg-search-panel{position:absolute;right:0;top:calc(100% + 12px);z-index:1100;width:min(330px,78vw);padding:8px;background:#fff;border:1px solid #d8cbbd;border-radius:12px;box-shadow:0 16px 34px rgba(0,0,0,.18)}
.apg-search-panel form{position:relative;display:flex;align-items:center}
.apg-search-panel input[type=search]{width:100%;height:42px;border:1px solid #cdbda9;border-radius:999px;padding:0 45px 0 15px;background:#fff;color:#26170e;outline:none;font-size:14px}
.apg-search-panel input[type=search]:focus{border-color:var(--apg-accent);box-shadow:0 0 0 3px rgba(201,154,90,.16)}
.apg-search-panel form>button{position:absolute;right:4px;width:34px;height:34px;border:0;border-radius:50%;background:var(--apg-primary);color:#fff;font-size:19px;line-height:1;cursor:pointer}
.apg-cart-link{gap:0}
.apg-cart-count{position:absolute;top:-1px;right:-3px;min-width:19px;height:19px;padding:0 4px;background:var(--apg-accent);color:#2a160b;font-size:10px;border:2px solid var(--apg-nav)}

/* Horizontal category rail. */
.apg-horizontal-slider{display:flex!important;grid-template-columns:none!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:var(--apg-accent) transparent;padding:0 2px 8px}
.apg-horizontal-slider::-webkit-scrollbar{height:7px}
.apg-horizontal-slider::-webkit-scrollbar-track{background:transparent}
.apg-horizontal-slider::-webkit-scrollbar-thumb{background:var(--apg-accent);border-radius:999px}
.apg-category-grid{gap:18px}
.apg-category-card{flex:0 0 calc(25% - 14px);scroll-snap-align:start}

/* Product gallery thumbnails: always show 4, remaining images slide horizontally. */
.apg-premium-product .woocommerce-product-gallery{margin-top:0!important;padding-top:0!important}
.apg-premium-product .woocommerce-product-gallery .flex-viewport{margin:0!important;padding:0!important}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs{display:flex!important;flex-wrap:nowrap!important;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:var(--apg-accent) transparent;margin:10px 0 0!important;padding:0 2px 5px!important;list-style:none!important}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar{height:6px}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb{background:var(--apg-accent);border-radius:999px}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs li{float:none!important;width:calc(25% - 8px)!important;min-width:calc(25% - 8px)!important;flex:0 0 calc(25% - 8px)!important;margin:0!important;scroll-snap-align:start}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border:1px solid #ded4c4;border-radius:10px;opacity:.82;cursor:pointer}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs .flex-active{opacity:1;border:2px solid var(--apg-accent-dark);box-shadow:0 0 0 1px rgba(92,57,38,.1)}

/* Product options + quantity: clear controls even on a light/white product image/theme. */
.apg-premium-product .apg-option-buttons{gap:9px}
.apg-premium-product .apg-option-btn{border:2px solid #9b6b3d!important;background:#fff!important;color:#2c1b12!important;box-shadow:none!important;min-width:52px;min-height:44px}
.apg-premium-product .apg-option-btn:hover{border-color:var(--apg-primary)!important;background:#fff8ee!important}
.apg-premium-product .apg-option-btn.is-selected{border:3px solid var(--apg-primary)!important;background:#fff8ee!important;box-shadow:0 0 0 2px var(--apg-accent)!important}
.apg-premium-product .apg-option-btn.is-disabled{opacity:.45;text-decoration:line-through;background:#f4f4f4!important;cursor:not-allowed}
.apg-premium-product .quantity{display:inline-flex!important;align-items:center!important;vertical-align:middle;margin:0 12px 0 0!important;border-radius:10px;overflow:hidden}
.apg-premium-product .quantity .apg-qty-minus,.apg-premium-product .quantity .apg-qty-plus{width:44px;height:50px;border:2px solid var(--apg-accent)!important;background:#fff!important;color:var(--apg-primary)!important;line-height:1;font-size:22px;font-weight:800;cursor:pointer}
.apg-premium-product .quantity .apg-qty-minus{border-right:0!important;border-radius:10px 0 0 10px!important}
.apg-premium-product .quantity .apg-qty-plus{border-left:0!important;border-radius:0 10px 10px 0!important}
.apg-premium-product .quantity input.qty{height:50px!important;width:56px!important;min-height:50px!important;border:2px solid var(--apg-accent)!important;border-left:0!important;border-right:0!important;border-radius:0!important;text-align:center;font-weight:800}
.apg-premium-product .single_add_to_cart_button{min-height:50px}
.apg-premium-product .apg-buy-now-button{display:inline-flex!important;align-items:center;justify-content:center;min-height:50px;margin-left:9px;padding:13px 24px!important;border:2px solid var(--apg-primary)!important;border-radius:9px!important;background:#fff!important;color:var(--apg-primary)!important;font-size:16px!important;font-weight:800!important;cursor:pointer}
.apg-premium-product .apg-buy-now-button:hover{background:#fff5e8!important;border-color:var(--apg-accent-dark)!important}

/* Cart quantity stays adjustable; each line can be removed. */
.woocommerce-cart .apg-qty-minus,.woocommerce-cart .apg-qty-plus{cursor:pointer}

/* Responsive menu open/close state. */
@media(max-width:1024px){
  .apg-nav-row{grid-template-columns:auto 1fr auto;gap:14px}
  .apg-menu-toggle{display:flex;align-items:center;gap:7px;border-radius:8px;padding:8px 10px}
  .apg-main-menu{left:0;right:0;top:100%;background:var(--apg-nav);border:1px solid var(--apg-nav-border);border-radius:0 0 14px 14px;padding:10px;box-shadow:0 18px 30px rgba(0,0,0,.18)}
  .apg-main-menu a{color:#fff;padding:13px 12px;border-radius:8px}
  .apg-main-menu a:hover{background:#6a432b;color:#fff}
  .apg-header-actions{gap:9px}
  .apg-menu-toggle .apg-menu-open-icon,.apg-menu-toggle .apg-menu-close-icon{display:inline-block}
  .apg-menu-toggle .apg-menu-close-icon{display:none}
  .apg-menu-toggle[aria-expanded="true"] .apg-menu-open-icon{display:none}
  .apg-menu-toggle[aria-expanded="true"] .apg-menu-close-icon{display:inline-block}
  .apg-menu-toggle[aria-expanded="true"] .apg-menu-label:after{content:' বন্ধ';font-size:12px}
  .apg-category-card{flex-basis:calc(25% - 13.5px)}
}
@media(max-width:600px){
  .apg-topbar-inner{min-height:35px;font-size:11px;padding:6px 0}
  .apg-brand-row{min-height:68px}
  .apg-logo{font-size:28px}
  .apg-nav-row{min-height:56px}
  .apg-menu-label{font-size:12px}
  .apg-main-menu{top:calc(100% - 1px)}
  .apg-category-card{flex-basis:calc(50% - 8px)}
  .apg-premium-product .product{gap:12px}
  .apg-premium-product .woocommerce-product-gallery__image img{border-radius:12px}
  .apg-premium-product .woocommerce-product-gallery .flex-control-thumbs li{width:calc(25% - 8px)!important;min-width:calc(25% - 8px)!important;flex-basis:calc(25% - 8px)!important}
  .apg-premium-product .apg-buy-now-button,.apg-premium-product .single_add_to_cart_button{width:100%;margin:10px 0 0!important}
  .apg-premium-product .quantity{margin:0!important}
  .apg-premium-product form.cart .quantity{margin-bottom:2px!important}
}

/* =========================================================
   APNAGHOR PREMIUM v3.0 — FINAL MOBILE / DESKTOP REFINEMENTS
   ========================================================= */
:root{
  --apg-primary:#5a3825;
  --apg-primary-deep:#422619;
  --apg-accent:#c79a5a;
  --apg-accent-soft:#f7ecd9;
  --apg-nav:#4b2c1d;
  --apg-nav-border:#6e4830;
}

/* Compact, centered brand area. */
.apg-topbar{background:linear-gradient(90deg,#45291b 0%,#68412a 50%,#45291b 100%);}
.apg-topbar-inner{min-height:36px;justify-content:center;text-align:center;font-size:12px;font-weight:800;padding:5px 0;}
.apg-brand-row{min-height:64px;padding:7px 0;}
.apg-logo{font-size:30px;line-height:1;font-weight:850;}

/* Dark premium menu bar; icon-only search. */
.apg-nav-row{
  grid-template-columns:auto minmax(0,1fr) auto!important;
  min-height:56px;
  gap:18px;
  position:relative;
  z-index:1200;
  background:var(--apg-nav);
  border:1px solid var(--apg-nav-border);
  border-radius:10px;
}
.apg-menu-toggle{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:#fff;padding:9px 11px;cursor:pointer;}
.apg-menu-label{font-weight:800;text-transform:uppercase;letter-spacing:.2px;}
.apg-menu-icon{font-size:26px;line-height:1;font-weight:400;}
.apg-menu-close-icon{font-size:32px;line-height:.78;}
.apg-main-menu{display:flex;align-items:center;gap:20px;min-width:0;}
.apg-main-menu a{color:#fff!important;font-weight:750;font-size:14px;text-decoration:none;}
.apg-main-menu a:hover{color:#f1d4a9!important;}
.apg-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:max-content;}
.apg-header-icon{color:#fff!important;width:40px;height:40px;min-width:40px;min-height:40px;border-radius:50%;}
.apg-header-icon:hover{color:#f1d4a9!important;background:rgba(255,255,255,.08);}
.apg-header-icon svg{width:24px;height:24px;stroke-width:1.9;}
.apg-search-trigger{padding:0!important;background:transparent!important;}
.apg-cart-count{top:-2px;right:-2px;}
.apg-search-panel{top:calc(100% + 10px);right:0;width:min(330px,82vw);}

/* Keep category cards in one horizontal rail on every device. */
.apg-category-grid{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;gap:14px;padding:0 2px 8px;}
.apg-category-card{flex:0 0 calc(25% - 10.5px)!important;min-width:0;}
.apg-category-image{aspect-ratio:1/1.05;}

/* Product page: remove Astra/default top whitespace. */
.apg-premium-product #primary{margin-top:10px!important;margin-bottom:28px!important;}
.apg-premium-product .site-main,
.apg-premium-product .content-area,
.apg-premium-product .ast-container,
.apg-premium-product .woocommerce{padding-top:0!important;margin-top:0!important;}
.apg-premium-product .woocommerce-product-gallery{margin-top:0!important;padding-top:0!important;}
.apg-premium-product .woocommerce-product-gallery .flex-viewport{margin-top:0!important;padding-top:0!important;}

/* Exactly four thumbnails visible, with the rest sliding left/right. */
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs{
  display:flex!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch;
  gap:10px!important;
  margin:10px 0 0!important;
  padding:0 2px 4px!important;
}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs li{
  float:none!important;
  flex:0 0 calc(25% - 7.5px)!important;
  width:calc(25% - 7.5px)!important;
  min-width:calc(25% - 7.5px)!important;
  margin:0!important;
}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs img{
  width:100%!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  display:block!important;
  border:1.5px solid #d8c8b5!important;
  border-radius:10px!important;
}

/* Clear variation boxes and white-color visibility. */
.apg-premium-product .apg-option-btn{
  min-width:52px!important;
  min-height:44px!important;
  border:2px solid #9b6b3d!important;
  background:#fff!important;
  color:#2e1c12!important;
}
.apg-premium-product .apg-option-btn.is-selected{
  border:3px solid var(--apg-primary)!important;
  background:var(--apg-accent-soft)!important;
  color:var(--apg-primary-deep)!important;
  box-shadow:0 0 0 2px var(--apg-accent)!important;
}

/* Professional, aligned quantity + actions. */
.apg-premium-product form.cart{
  display:grid!important;
  grid-template-columns:minmax(130px,160px) minmax(0,1fr) minmax(0,1fr);
  gap:10px!important;
  align-items:stretch!important;
  margin-top:12px!important;
}
.apg-premium-product form.cart .quantity{
  grid-column:1!important;
  display:flex!important;
  width:100%!important;
  min-width:0!important;
  height:52px!important;
  margin:0!important;
  border:2px solid var(--apg-accent)!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:#fff!important;
}
.apg-premium-product form.cart .quantity .apg-qty-minus,
.apg-premium-product form.cart .quantity .apg-qty-plus{
  flex:0 0 42px!important;
  width:42px!important;
  height:48px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:var(--apg-primary)!important;
  font-size:24px!important;
  font-weight:850!important;
}
.apg-premium-product form.cart .quantity input.qty{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  height:48px!important;
  min-height:48px!important;
  border:0!important;
  border-left:1px solid #e2cba9!important;
  border-right:1px solid #e2cba9!important;
  border-radius:0!important;
  padding:0 4px!important;
  text-align:center!important;
  font-size:17px!important;
  font-weight:850!important;
  color:#2d211b!important;
  background:#fff!important;
  -moz-appearance:textfield;
}
.apg-premium-product form.cart .quantity input.qty::-webkit-outer-spin-button,
.apg-premium-product form.cart .quantity input.qty::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;}
.apg-premium-product form.cart .single_add_to_cart_button,
.apg-premium-product form.cart .apg-buy-now-button{
  width:100%!important;
  min-height:52px!important;
  height:52px!important;
  margin:0!important;
  border-radius:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:10px 14px!important;
  line-height:1.15!important;
  font-size:16px!important;
  font-weight:850!important;
  text-align:center!important;
}
.apg-premium-product form.cart .single_add_to_cart_button{
  grid-column:2!important;
  background:var(--apg-primary)!important;
  color:#fff!important;
  border:2px solid var(--apg-primary)!important;
}
.apg-premium-product form.cart .apg-buy-now-button{
  grid-column:3!important;
  background:var(--apg-accent)!important;
  color:#fff!important;
  border:2px solid var(--apg-accent)!important;
}
.apg-premium-product form.cart .single_add_to_cart_button:hover,
.apg-premium-product form.cart .apg-buy-now-button:hover{transform:translateY(-1px);filter:brightness(.97);}

/* Less vertical dead space before delivery/trust information. */
.apg-delivery-box{margin-top:14px!important;}
.apg-trust-strip{margin-top:10px!important;}

/* Mobile: compact header + two clean action boxes side by side. */
@media(max-width:1024px){
  .apg-main-menu{
    display:none;
    left:0;right:0;top:calc(100% + 1px);
    padding:8px;
    background:var(--apg-nav);
    border:1px solid var(--apg-nav-border);
    border-radius:0 0 12px 12px;
    box-shadow:0 18px 32px rgba(0,0,0,.22);
    flex-direction:column;
    align-items:stretch;
    gap:2px;
  }
  .apg-main-menu.is-open{display:flex;}
  .apg-main-menu a{padding:12px 13px;color:#fff!important;border-radius:8px;}
  .apg-main-menu a:hover{background:#6a432b;color:#fff!important;}
  .apg-menu-toggle .apg-menu-open-icon{display:inline-block;}
  .apg-menu-toggle .apg-menu-close-icon{display:none;}
  .apg-menu-toggle[aria-expanded="true"] .apg-menu-open-icon{display:none;}
  .apg-menu-toggle[aria-expanded="true"] .apg-menu-close-icon{display:inline-block;}
  .apg-menu-toggle[aria-expanded="true"] .apg-menu-label:after{content:none!important;}
}

@media(max-width:600px){
  .apg-container{width:min(var(--apg-container),calc(100% - 22px));}
  .apg-topbar-inner{min-height:34px;font-size:10.5px;padding:5px 0;}
  .apg-brand-row{min-height:50px;padding:5px 0;}
  .apg-logo{font-size:25px;letter-spacing:-1px;}
  .apg-nav-row{min-height:52px!important;gap:8px!important;border-radius:8px;}
  .apg-menu-toggle{padding:7px 8px;gap:7px;}
  .apg-menu-icon{font-size:25px;}
  .apg-menu-close-icon{font-size:30px;}
  .apg-menu-label{font-size:12px;}
  .apg-header-actions{gap:5px;}
  .apg-header-icon{width:38px;height:38px;min-width:38px;min-height:38px;}
  .apg-search-panel{right:-2px;width:min(300px,88vw);top:calc(100% + 8px);}

  .apg-category-grid{gap:12px!important;}
  .apg-category-card{flex-basis:calc(50% - 6px)!important;}

  .apg-premium-product #primary{margin-top:4px!important;margin-bottom:24px!important;}
  .apg-premium-product .product{gap:8px!important;}
  .apg-premium-product .woocommerce-product-gallery{margin-bottom:9px!important;}
  .apg-premium-product .woocommerce-product-gallery__wrapper{margin-top:0!important;}
  .apg-premium-product .woocommerce-product-gallery .flex-control-thumbs{margin-top:7px!important;gap:8px!important;}
  .apg-premium-product .woocommerce-product-gallery .flex-control-thumbs li{
    flex-basis:calc(25% - 6px)!important;
    width:calc(25% - 6px)!important;
    min-width:calc(25% - 6px)!important;
  }
  .apg-premium-product .product_title{margin-top:0!important;font-size:24px;line-height:1.18;}
  .apg-premium-product .price{margin-bottom:12px!important;}
  .apg-premium-product form.cart{
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
    margin-top:10px!important;
  }
  .apg-premium-product form.cart .quantity{
    grid-column:1 / -1!important;
    height:52px!important;
  }
  .apg-premium-product form.cart .single_add_to_cart_button{grid-column:1!important;}
  .apg-premium-product form.cart .apg-buy-now-button{grid-column:2!important;}
  .apg-premium-product form.cart .single_add_to_cart_button,
  .apg-premium-product form.cart .apg-buy-now-button{
    min-height:50px!important;height:50px!important;font-size:14px!important;padding:8px 8px!important;
  }
  .apg-delivery-box{margin-top:12px!important;padding:11px 12px!important;}
}

@media(max-width:380px){
  .apg-logo{font-size:24px;}
  .apg-menu-label{font-size:11px;}
  .apg-premium-product form.cart .single_add_to_cart_button,
  .apg-premium-product form.cart .apg-buy-now-button{font-size:13px!important;}
}

/* =========================================================
   APNAGHOR PREMIUM v5 — PRODUCT OPTIONS + BUY NOW ONLY
   ========================================================= */

/* Keep native WooCommerce selects for compatibility but do not show the default
   dropdown/swatch UI from WooCommerce or common swatch plugins. */
.apg-premium-product table.variations{display:none!important;}
.apg-premium-product .variable-items-wrapper,
.apg-premium-product .woo-variation-items-wrapper,
.apg-premium-product .woo-variation-swatches,
.apg-premium-product .vi-wpvs-variation-wrap,
.apg-premium-product .thwvsf-wrapper-ul,
.apg-premium-product .wvs-pro-wrapper{display:none!important;}

.apg-premium-product .apg-server-variation-options{
  display:flex!important;
  flex-direction:column;
  gap:18px;
  margin:2px 0 18px!important;
  padding:0!important;
}
.apg-premium-product .apg-option-group{
  display:block!important;
  width:100%!important;
}
.apg-premium-product .apg-option-label{
  margin:0 0 9px!important;
  font-size:15px!important;
  font-weight:800!important;
  color:#2d211b!important;
}
.apg-premium-product .apg-option-buttons{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:9px!important;
  width:100%!important;
}
.apg-premium-product .apg-option-btn{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-width:72px!important;
  min-height:46px!important;
  padding:8px 14px!important;
  border:2px solid #a97946!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#2d211b!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease!important;
}
.apg-premium-product .apg-option-btn:hover:not(:disabled){
  border-color:#5a3825!important;
  background:#fff8ee!important;
  transform:translateY(-1px);
}
.apg-premium-product .apg-option-btn.is-selected{
  border:3px solid #5a3825!important;
  background:#fff4e2!important;
  color:#422619!important;
  box-shadow:0 0 0 2px #c79a5a!important;
}
.apg-premium-product .apg-option-btn.is-disabled,
.apg-premium-product .apg-option-btn:disabled{
  opacity:.42!important;
  text-decoration:line-through!important;
  cursor:not-allowed!important;
}
.apg-premium-product .apg-color-option{min-width:96px!important;}
.apg-premium-product .apg-color-dot{
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
  border-radius:50%!important;
  background:var(--apg-dot-color,#d8c8b5)!important;
  border:2px solid #80624a!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.75)!important;
}
.apg-premium-product .apg-color-option.is-selected .apg-color-dot{
  box-shadow:0 0 0 2px #fff,0 0 0 4px #5a3825!important;
}
.apg-premium-product .apg-option-text{white-space:nowrap!important;}
.apg-premium-product .apg-clear-option{
  display:inline-block!important;
  margin-top:7px!important;
  color:#725f52!important;
  font-size:12px!important;
  text-decoration:none!important;
}
.apg-premium-product .apg-clear-option:hover{color:#5a3825!important;text-decoration:underline!important;}

/* Single product: hide Add to Cart and keep only one full-width Buy Now action. */
.apg-premium-product form.cart .single_add_to_cart_button{display:none!important;}
.apg-premium-product form.cart{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  align-items:stretch!important;
  margin-top:12px!important;
}
.apg-premium-product form.cart .quantity{
  grid-column:1!important;
  width:100%!important;
  margin:0!important;
  height:54px!important;
  border:2px solid #c79a5a!important;
  border-radius:13px!important;
  background:#fff!important;
}
.apg-premium-product form.cart .quantity .apg-qty-minus,
.apg-premium-product form.cart .quantity .apg-qty-plus{
  width:52px!important;
  flex-basis:52px!important;
  height:50px!important;
  font-size:25px!important;
  background:#fff!important;
  color:#5a3825!important;
}
.apg-premium-product form.cart .quantity input.qty{
  height:50px!important;
  min-height:50px!important;
  font-size:18px!important;
  font-weight:850!important;
  border-left:1px solid #e5cfac!important;
  border-right:1px solid #e5cfac!important;
}
.apg-premium-product form.cart .apg-buy-now-button{
  grid-column:1!important;
  width:100%!important;
  min-height:54px!important;
  height:54px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:2px solid #c79a5a!important;
  border-radius:13px!important;
  background:#c79a5a!important;
  color:#fff!important;
  font-size:17px!important;
  font-weight:850!important;
  letter-spacing:.2px!important;
}
.apg-premium-product form.cart .apg-buy-now-button:hover{background:#b98c4f!important;border-color:#b98c4f!important;transform:translateY(-1px);}

/* Final single-product action lock: long/two-line titles must never make Buy Now
   overlap the quantity control. Keep the two controls on separate grid rows. */
.apg-premium-product form.cart{
  grid-template-columns:1fr!important;
  grid-template-areas:"quantity" "buy"!important;
  width:100%!important;
  clear:both!important;
  overflow:visible!important;
}
.apg-premium-product form.cart .quantity{
  grid-area:quantity!important;
  grid-column:1!important;
  grid-row:1!important;
  float:none!important;
  position:relative!important;
  z-index:1!important;
}
.apg-premium-product form.cart .apg-buy-now-button{
  grid-area:buy!important;
  grid-column:1!important;
  grid-row:2!important;
  float:none!important;
  position:relative!important;
  z-index:2!important;
  clear:both!important;
}

/* Gallery thumbnails: four visible, remainder scrolls by finger/mouse drag. */
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs{
  display:flex!important;
  flex-wrap:nowrap!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  gap:10px!important;
  margin:10px 0 0!important;
  padding:0 2px 6px!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-x:contain!important;
  touch-action:pan-x!important;
  cursor:grab!important;
  user-select:none!important;
  scrollbar-width:thin!important;
  scrollbar-color:#c79a5a transparent!important;
}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs.is-dragging{cursor:grabbing!important;scrollbar-width:none!important;}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar{height:5px!important;}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb{background:#c79a5a;border-radius:999px;}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs li{
  display:block!important;
  float:none!important;
  flex:0 0 calc(25% - 7.5px)!important;
  width:calc(25% - 7.5px)!important;
  min-width:calc(25% - 7.5px)!important;
  max-width:none!important;
  margin:0!important;
}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs li img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  border:2px solid #dbcab5!important;
  border-radius:10px!important;
  opacity:.78!important;
}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs li .flex-active{
  opacity:1!important;
  border:3px solid #5a3825!important;
  box-shadow:0 0 0 2px #c79a5a!important;
}

/* Main product image can also be swiped left/right. */
.apg-premium-product .woocommerce-product-gallery .flex-viewport,
.apg-premium-product .woocommerce-product-gallery__wrapper{
  touch-action:pan-y pinch-zoom!important;
}

@media(min-width:1025px){
  .apg-premium-product form.cart .quantity,
  .apg-premium-product form.cart .apg-buy-now-button{max-width:100%!important;}
  .apg-premium-product .apg-server-variation-options{margin-bottom:20px!important;}
}

@media(max-width:600px){
  .apg-premium-product .apg-server-variation-options{gap:14px;margin-bottom:14px!important;}
  .apg-premium-product .apg-option-label{font-size:14px!important;}
  .apg-premium-product .apg-option-buttons{gap:8px!important;}
  .apg-premium-product .apg-option-btn{min-width:64px!important;min-height:44px!important;padding:8px 11px!important;font-size:13px!important;}
  .apg-premium-product .apg-color-option{min-width:88px!important;}
  .apg-premium-product form.cart{gap:8px!important;margin-top:8px!important;}
  .apg-premium-product form.cart .quantity{height:52px!important;}
  .apg-premium-product form.cart .quantity .apg-qty-minus,
  .apg-premium-product form.cart .quantity .apg-qty-plus{width:50px!important;flex-basis:50px!important;height:48px!important;}
  .apg-premium-product form.cart .quantity input.qty{height:48px!important;min-height:48px!important;}
  .apg-premium-product form.cart .apg-buy-now-button{height:52px!important;min-height:52px!important;font-size:16px!important;}
  .apg-premium-product .woocommerce-product-gallery .flex-control-thumbs{gap:8px!important;margin-top:7px!important;}
  .apg-premium-product .woocommerce-product-gallery .flex-control-thumbs li{flex-basis:calc(25% - 6px)!important;width:calc(25% - 6px)!important;min-width:calc(25% - 6px)!important;}
}


/* v7: Variable-product action wrapper must stack quantity and Buy Now cleanly. */
.apg-premium-product .woocommerce-variation-add-to-cart{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto auto!important;
  grid-template-areas:"quantity" "buy"!important;
  gap:10px!important;
  width:100%!important;
  align-items:stretch!important;
  clear:both!important;
  overflow:visible!important;
}
.apg-premium-product .woocommerce-variation-add-to-cart .quantity{
  grid-area:quantity!important;
  grid-column:1!important;
  grid-row:1!important;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  position:relative!important;
  z-index:1!important;
}
.apg-premium-product .woocommerce-variation-add-to-cart .apg-buy-now-button{
  grid-area:buy!important;
  grid-column:1!important;
  grid-row:2!important;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  position:relative!important;
  z-index:2!important;
  clear:both!important;
}
.apg-premium-product .woocommerce-variation-add-to-cart .single_add_to_cart_button{display:none!important;}

/* Keep hidden WooCommerce fields out of the visual layout. */
.apg-premium-product form.cart input[name="add-to-cart"],
.apg-premium-product form.cart input[name="product_id"],
.apg-premium-product form.cart input[name="variation_id"],
.apg-premium-product form.cart input[name="apg_buy_now"]{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important;}

/* Four-thumbnail viewport with smooth programmatic auto-follow. */
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs{
  scroll-behavior:smooth!important;
  scroll-snap-type:x proximity!important;
  scroll-padding-inline:8px!important;
}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs li{
  scroll-snap-align:start!important;
}
.apg-premium-product .woocommerce-product-gallery .flex-control-thumbs li.apg-thumb-in-view img{
  opacity:1!important;
}

@media(max-width:600px){
  .apg-premium-product .woocommerce-variation-add-to-cart{gap:8px!important;}
}


/* =========================================================
   v7.1 — Dynamic category archive / premium collection UI
   ========================================================= */
.apg-premium-category-archive .site-main{padding:0 0 54px!important;}
.apg-premium-category-archive .apg-category-archive-main{min-height:60vh;}
.apg-category-hero{
  margin:18px 0 30px;
  padding:28px clamp(18px,4vw,40px) 30px;
  border:1px solid #eadfce;
  border-radius:22px;
  background:linear-gradient(145deg,#fffdf9 0%,#f8f1e7 100%);
  box-shadow:0 12px 35px rgba(67,45,29,.06);
}
.apg-category-breadcrumbs{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:16px;
  color:#77675c;
  font-size:12px;
  font-weight:650;
}
.apg-category-breadcrumbs a{color:#5a3825;text-decoration:none;}
.apg-category-breadcrumbs a:hover{text-decoration:underline;}
.apg-category-hero .apg-eyebrow{display:block;margin-bottom:8px;}
.apg-category-hero h1{
  margin:0;
  color:#3c271c;
  font-size:clamp(30px,4.2vw,52px);
  line-height:1.08;
  letter-spacing:-.025em;
}
.apg-category-description{
  max-width:760px;
  margin-top:12px;
  color:#6d5c50;
  font-size:15px;
  line-height:1.75;
}
.apg-category-description p{margin:0;}
.apg-category-collection-flow{display:block;}
.apg-category-product-section{
  margin:0 0 38px;
  padding:0 0 38px;
  border-bottom:1px solid #ebe2d7;
}
.apg-category-product-section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0;}
.apg-category-section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:0 0 17px;
}
.apg-category-section-heading-main{min-width:0;}
.apg-category-section-eyebrow{
  display:block;
  margin-bottom:4px;
  color:#98713f;
  font-size:10px;
  font-weight:850;
  letter-spacing:1.7px;
  text-transform:uppercase;
}
.apg-category-section-heading h2{
  margin:0;
  color:#39261b;
  font-size:clamp(21px,2.5vw,30px);
  line-height:1.18;
  font-weight:850;
  letter-spacing:-.015em;
}
.apg-category-view-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
  min-height:38px;
  padding:8px 13px;
  border:1px solid #dcc8ad;
  border-radius:999px;
  background:#fff;
  color:#5a3825;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.apg-category-view-link:hover{transform:translateY(-1px);background:#fff7ec;border-color:#c79a5a;color:#422619;}
.apg-category-product-grid{margin:0;}
.apg-category-empty{
  padding:22px 18px;
  border:1px dashed #dbcbb8;
  border-radius:14px;
  background:#fffaf3;
  color:#765f4f;
  text-align:center;
  font-size:14px;
  font-weight:650;
}
.apg-category-depth-1{padding-left:0;}
.apg-category-depth-2{padding-left:0;}
.apg-category-depth-3{padding-left:0;}
.apg-category-product-section .apg-product-card{min-width:0;}

@media(max-width:1024px){
  .apg-category-hero{margin-top:14px;padding:24px 22px 26px;border-radius:18px;}
  .apg-category-product-section{margin-bottom:30px;padding-bottom:30px;}
}

@media(max-width:600px){
  .apg-premium-category-archive .site-main{padding-bottom:35px!important;}
  .apg-category-hero{margin:10px 0 22px;padding:19px 16px 21px;border-radius:16px;}
  .apg-category-breadcrumbs{font-size:11px;margin-bottom:12px;}
  .apg-category-hero h1{font-size:30px;}
  .apg-category-description{font-size:13px;line-height:1.6;margin-top:9px;}
  .apg-category-product-section{margin-bottom:25px;padding-bottom:25px;}
  .apg-category-section-heading{align-items:center;margin-bottom:12px;gap:10px;}
  .apg-category-section-eyebrow{font-size:9px;letter-spacing:1.4px;}
  .apg-category-section-heading h2{font-size:22px;}
  .apg-category-view-link{min-height:34px;padding:7px 10px;font-size:11px;}
  .apg-category-product-grid{gap:11px;}
  .apg-category-product-grid .apg-product-card{border-radius:12px;}
  .apg-category-product-grid .apg-product-card-body{padding:10px;}
  .apg-category-product-grid .apg-product-card h3{font-size:12px;}
  .apg-category-product-grid .apg-product-price{font-size:14px;}
  .apg-category-empty{padding:18px 12px;font-size:12px;}
}

/* =========================================================
   Customer Account / Login UI
   ========================================================= */
.apg-account-link svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.apg-account-link{position:relative;}
.woocommerce-account .woocommerce,
.woocommerce-page .woocommerce{max-width:1180px;margin:0 auto;padding:28px 16px 55px;}
.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register,
.woocommerce-account .woocommerce form.lost_reset_password{
  border:1px solid #eadfce;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(67,45,29,.07);padding:24px;}
.woocommerce-account .woocommerce form.login{max-width:520px;margin:0 auto;}
.woocommerce-account .woocommerce form.register{max-width:620px;margin:0 auto;}
.woocommerce-account .woocommerce h2{font-size:clamp(24px,3vw,34px);line-height:1.15;color:#39261b;margin:0 0 18px;font-weight:850;}
.woocommerce-account .woocommerce form label{font-weight:750;color:#4b382c;margin-bottom:7px;display:block;}
.woocommerce-account .woocommerce form .input-text{min-height:48px;border:1px solid #dbcbb8;border-radius:11px;padding:10px 13px;background:#fff;}
.woocommerce-account .woocommerce form .input-text:focus{border-color:#b8874c;box-shadow:0 0 0 3px rgba(184,135,76,.12);outline:0;}
.woocommerce-account .woocommerce form .button{min-height:46px;border:0;border-radius:11px;padding:10px 20px;font-weight:800;cursor:pointer;}
.woocommerce-account .woocommerce .woocommerce-form-login__submit,
.woocommerce-account .woocommerce .woocommerce-form-register__submit{background:#39261b;color:#fff;}
.woocommerce-account .woocommerce .woocommerce-form-login__submit:hover,
.woocommerce-account .woocommerce .woocommerce-form-register__submit:hover{background:#513522;color:#fff;}
.woocommerce-account .woocommerce .woocommerce-LostPassword a{color:#6f4a2d;font-weight:700;}
.woocommerce-account .woocommerce .woocommerce-form-login__rememberme{font-size:13px;}
.woocommerce-account .woocommerce .woocommerce-form-login__rememberme input{accent-color:#39261b;}
.apg-register-name-field,.apg-register-phone-field{margin-bottom:16px!important;}
@media(max-width:600px){
  .woocommerce-account .woocommerce,.woocommerce-page .woocommerce{padding:18px 12px 35px;}
  .woocommerce-account .woocommerce form.login,.woocommerce-account .woocommerce form.register,.woocommerce-account .woocommerce form.lost_reset_password{padding:18px;border-radius:14px;}
  .woocommerce-account .woocommerce h2{font-size:25px;}
  .woocommerce-account .woocommerce form .input-text{min-height:46px;}
}

/* =========================================================
   v10 — Clean category archive + premium footer + account flow
   ========================================================= */
.apg-category-hero-clean{
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  min-height:150px; margin:18px 0 28px; padding:30px clamp(18px,4vw,40px);
  border:1px solid #eadfce; border-radius:22px;
  background:linear-gradient(145deg,#fffdf9 0%,#f8f1e7 100%);
  box-shadow:0 12px 35px rgba(67,45,29,.06);
}
.apg-category-hero-clean h1{margin:0;color:#39261b;font-size:clamp(30px,4vw,48px);line-height:1.08;font-weight:850;letter-spacing:-.025em}
.apg-category-title-line{display:block;width:58px;height:4px;margin-top:13px;border-radius:999px;background:linear-gradient(90deg,#9b6b35,#d2a96b)}
.apg-category-section-heading{align-items:center}
.apg-category-section-heading h2{font-size:clamp(22px,2.6vw,31px);font-weight:850}
.apg-category-section-heading h2:after{content:"";display:block;width:34px;height:3px;margin-top:8px;border-radius:999px;background:#c79a5a}
.apg-category-section-eyebrow,.apg-category-view-link{display:none!important}

/* Account: login first, registration opens only on request. */
.apg-account-auth{max-width:680px;margin:0 auto;padding:28px 0 55px}
.apg-account-card{border:1px solid #eadfce;border-radius:22px;background:linear-gradient(180deg,#fffdf9,#fff);box-shadow:0 16px 42px rgba(67,45,29,.08);padding:28px}
.apg-account-card-head{text-align:center;margin-bottom:20px}
.apg-account-kicker{display:block;color:#9a7040;font-size:10px;font-weight:850;letter-spacing:2px;margin-bottom:7px}
.apg-account-card-head h2{margin:0 0 7px!important;color:#39261b!important;font-size:clamp(25px,4vw,34px)!important}
.apg-account-card-head p{margin:0;color:#77675c;font-size:13px}
.apg-account-card form{border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;max-width:none!important;background:transparent!important}
.apg-login-actions,.apg-register-actions{margin-top:7px!important}
.apg-account-card .button{width:100%;min-height:50px;border-radius:12px!important;font-size:14px!important}
.apg-account-card .woocommerce-LostPassword{text-align:center;margin:13px 0 0!important}
.apg-register-prompt{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:22px;padding-top:20px;border-top:1px solid #eee3d7;color:#75665c;font-size:13px}
.apg-register-toggle,.apg-back-login{border:0;background:none;color:#6f4a2d;font-weight:850;cursor:pointer;padding:4px}
.apg-register-toggle:hover,.apg-back-login:hover{text-decoration:underline}
.apg-register-card{margin-top:18px}
.apg-generated-password-note{padding:11px 13px;border-radius:10px;background:#faf5ed;color:#75665c;font-size:12px}
.apg-back-login{display:block;margin:15px auto 0}
.apg-account-auth [hidden]{display:none!important}

/* Professional footer */
.apg-footer-pro{background:linear-gradient(145deg,#17120f,#241a14);color:#eee;margin-top:65px}
.apg-footer-pro .apg-footer-main{display:grid;grid-template-columns:1.55fr 1fr 1.05fr 1.25fr;gap:42px;padding:58px 0 42px}
.apg-footer-brand{min-width:0}
.apg-footer-logo-wrap{display:inline-flex;align-items:center;text-decoration:none;margin-bottom:15px}
.apg-footer-logo-wrap .custom-logo-link{display:flex;align-items:center}
.apg-footer-logo-wrap .custom-logo{max-height:54px;width:auto;object-fit:contain}
.apg-footer-pro .apg-footer-logo{font-size:32px;color:#fff;letter-spacing:-1.5px}
.apg-footer-tagline{max-width:330px!important;color:#c5bbb4!important;font-size:13px!important;line-height:1.85!important;margin:0 0 15px!important}
.apg-footer-phone{color:#f1d6ae!important;font-weight:800!important;font-size:14px!important}
.apg-footer-pro .apg-footer-column h3{color:#fff;font-size:15px;margin:5px 0 17px;font-weight:850}
.apg-footer-category-list,.apg-footer-links{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
.apg-footer-pro .apg-footer-column a{color:#c6bbb3;text-decoration:none;font-size:13px;transition:color .18s ease,transform .18s ease}
.apg-footer-pro .apg-footer-column a:hover{color:#fff;transform:translateX(2px)}
.apg-footer-contact p{color:#c6bbb3;font-size:13px;line-height:1.75;margin:0 0 5px}
.apg-footer-contact-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;margin-top:13px;padding:10px 15px;border:1px solid #755538;border-radius:999px;color:#f7e5cb!important;background:rgba(255,255,255,.04);font-weight:800}
.apg-footer-contact-button:hover{background:rgba(255,255,255,.09)!important}
.apg-footer-pro .apg-footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:17px 0;border-top:1px solid rgba(255,255,255,.1);color:#958b84;font-size:11px}
@media(max-width:900px){.apg-footer-pro .apg-footer-main{grid-template-columns:1.4fr 1fr 1fr;gap:30px}.apg-footer-contact{grid-column:1/-1}}
@media(max-width:600px){
  .apg-category-hero-clean{min-height:110px;margin:10px 0 22px;padding:22px 16px;border-radius:16px}
  .apg-category-hero-clean h1{font-size:30px}
  .apg-category-title-line{height:3px;width:46px;margin-top:10px}
  .apg-category-section-heading h2{font-size:22px}
  .apg-account-auth{padding:18px 0 35px}
  .apg-account-card{padding:19px;border-radius:16px}
  .apg-register-prompt{flex-wrap:wrap}
  .apg-footer-pro{margin-top:35px}
  .apg-footer-pro .apg-footer-main{grid-template-columns:1fr 1fr;gap:27px;padding:40px 0 30px}
  .apg-footer-brand,.apg-footer-contact{grid-column:1/-1}
  .apg-footer-pro .apg-footer-bottom{flex-direction:column;gap:6px;line-height:1.6}
}

/* ApnaGhor 10.1: refined product cards and premium evergreen footer */
.apg-product-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e8e5dd;border-radius:15px;box-shadow:0 2px 8px rgba(20,45,42,.035);height:100%;cursor:pointer}
.apg-product-image{aspect-ratio:4/5;background:#f4f1eb;flex:0 0 auto}
.apg-product-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .28s ease}
.apg-product-card:hover .apg-product-image img{transform:scale(1.025)}
.apg-product-card-body{display:flex;flex:1;flex-direction:column;gap:6px;padding:12px 13px 14px}
.apg-product-card h3{font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em;margin:0}
.apg-product-card h3 a{display:block}
.apg-product-price{font-size:15px;line-height:1.35;color:#173b34;font-weight:800;margin-top:auto}
.apg-product-price del{color:#858585;font-weight:500}
.apg-product-price ins{color:#173b34;text-decoration:none}
.apg-product-grid{align-items:stretch;gap:18px}
.apg-footer-pro{background:linear-gradient(145deg,#142d2a 0%,#1c3a34 100%);color:#f8f5ed;margin-top:58px}
.apg-footer-pro .apg-footer-main{padding-top:48px;padding-bottom:36px}
.apg-footer-pro .apg-footer-logo{color:#f8f5ed}
.apg-footer-tagline{color:#d7e1dc!important}
.apg-footer-pro .apg-footer-column h3{color:#dfc28e}
.apg-footer-pro .apg-footer-column a{color:#d7e1dc}
.apg-footer-pro .apg-footer-column a:hover{color:#fff}
.apg-footer-phone{color:#e3c68f!important}
.apg-footer-contact-button{border-color:#b69b66;color:#f7e5cb!important;background:rgba(255,255,255,.055)}
.apg-footer-pro .apg-footer-bottom{border-color:rgba(255,255,255,.16);color:#c0d0c9}
.apg-subcategory-picker{margin:0 0 26px}
.apg-subcategory-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.apg-subcategory-picker-card{display:flex;flex-direction:column;gap:9px;text-align:center;text-decoration:none;color:#203b35;font-weight:750;background:#fff;border:1px solid #e9e5dc;border-radius:14px;padding:10px;min-width:0;transition:box-shadow .2s ease,transform .2s ease}
.apg-subcategory-picker-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(20,45,42,.08);color:#173b34}
.apg-subcategory-picker-image{display:block;aspect-ratio:1/1;overflow:hidden;border-radius:10px;background:#f4f1eb}
.apg-subcategory-picker-image img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:767px){
 .apg-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .apg-product-card{border-radius:12px}
 .apg-product-image{aspect-ratio:4/5}
 .apg-product-card-body{padding:9px 9px 11px;gap:5px}
 .apg-product-card h3{font-size:12.5px;line-height:1.4;min-height:2.8em}
 .apg-product-price{font-size:14px}
 .apg-subcategory-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .apg-subcategory-picker-card{padding:8px;border-radius:12px;font-size:13px}
 .apg-footer-pro{margin-top:34px}
 .apg-footer-pro .apg-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;padding:32px 0 25px}
 .apg-footer-brand,.apg-footer-contact{grid-column:1/-1}
 .apg-footer-pro .apg-footer-logo{font-size:28px}
 .apg-footer-pro .apg-footer-column h3{font-size:13px;margin-bottom:12px}
 .apg-footer-pro .apg-footer-column a{font-size:12px}
}
@media(min-width:768px) and (max-width:1024px){.apg-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.apg-subcategory-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* Homepage See More button */
.apg-see-more-wrap{display:flex;flex-direction:column;align-items:center;gap:10px;margin:28px auto 8px;text-align:center}
.apg-see-more-btn{min-width:160px;cursor:pointer;border:0;background:#173b34;color:#fff}
.apg-see-more-btn:hover{background:#b88b45;color:#fff}
.apg-see-more-btn:disabled{opacity:.65;cursor:wait}
.apg-see-more-status{font-size:13px;color:#66756f}

/* v14: click-to-open top-level category dropdowns */
.apg-nav-category{position:relative;display:flex;align-items:center}
.apg-nav-category-toggle{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:inherit;font:inherit;font-weight:750;cursor:pointer;padding:12px 2px;white-space:nowrap}
.apg-nav-chevron{font-size:13px;transition:transform .18s ease}
.apg-nav-category-toggle[aria-expanded="true"] .apg-nav-chevron{transform:rotate(180deg)}
.apg-nav-submenu{position:absolute;z-index:1200;left:0;top:100%;min-width:190px;padding:8px;background:#4b2b1c;border:1px solid rgba(255,255,255,.12);border-radius:0 0 12px 12px;box-shadow:0 12px 26px rgba(0,0,0,.18)}
.apg-nav-submenu[hidden]{display:none!important}
.apg-nav-submenu a{display:block;padding:11px 12px;color:#fff!important;text-decoration:none;border-radius:7px;font-size:14px}
.apg-nav-submenu a:hover{background:#68432d;color:#f2d6a5!important}
@media(max-width:767px){
 .apg-main-menu .apg-nav-category{display:block;width:100%}
 .apg-main-menu .apg-nav-category-toggle{display:flex;justify-content:space-between;width:100%;padding:13px 12px;color:#fff!important;border-radius:8px;text-align:left}
 .apg-main-menu .apg-nav-category-toggle:hover{background:#6a432b}
 .apg-main-menu .apg-nav-submenu{position:static;min-width:0;margin:0 6px 8px;padding:5px;background:#3b2419;border-radius:9px;box-shadow:none;border:1px solid rgba(255,255,255,.08)}
 .apg-main-menu .apg-nav-submenu a{padding:11px 13px;font-size:13px}
}

/* v15 — unified, full-image product cards across home, category and related products. */
.apg-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:18px}
.apg-product-card{display:flex;flex-direction:column;height:100%;min-width:0;overflow:hidden;border:1px solid #e7e2d8;border-radius:15px;background:#fff;box-shadow:0 3px 12px rgba(22,48,42,.045);cursor:pointer;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.apg-product-card:focus-visible{outline:3px solid #c9a46b;outline-offset:3px}
.apg-product-image{display:block;position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;background:#f8f5ef}
.apg-product-image-frame{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.apg-product-image img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center center;box-sizing:border-box;padding:3px;transition:transform .34s cubic-bezier(.2,.75,.25,1),filter .34s ease;transform:scale(1);will-change:transform}
.apg-product-card-body{display:flex;flex:1;flex-direction:column;gap:6px;padding:12px 13px 14px;min-width:0}
.apg-product-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.85em;margin:0;font-size:14px;line-height:1.42;font-weight:750}
.apg-product-card h3 a{display:block;color:inherit;text-decoration:none}
.apg-product-price{margin-top:auto;padding-top:4px;color:#173b34;font-size:15px;line-height:1.35;font-weight:800;overflow-wrap:anywhere}
.apg-product-price del{margin-right:5px;color:#929292;font-size:.82em;font-weight:500;opacity:1}
.apg-product-price ins{text-decoration:none;color:#173b34}
.apg-related-products{margin-top:42px}
.apg-related-products>h2{margin-bottom:20px;font-size:clamp(22px,3vw,29px);font-weight:750}
.apg-related-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.apg-see-more-wrap{display:flex;flex-direction:column;align-items:center;gap:9px;margin:30px auto 2px;text-align:center}
.apg-see-more-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:176px;min-height:48px;padding:0 27px;border:1px solid #173b34;border-radius:999px;background:#173b34;color:#fff;font-size:15px;font-weight:800;box-shadow:0 7px 18px rgba(23,59,52,.16);transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
.apg-see-more-btn:hover{transform:translateY(-2px);background:#b88b45;border-color:#b88b45;color:#fff;box-shadow:0 9px 22px rgba(184,139,69,.24)}
.apg-see-more-btn:focus-visible{outline:3px solid #d6b77e;outline-offset:3px}
.apg-see-more-btn:disabled{opacity:.68;cursor:wait;transform:none}
.apg-see-more-status{min-height:1.25em;margin:0;color:#63756f;font-size:13px}

/* Gentle image pulse on a touch tap: zoom in, then settle back before opening the product. */
@keyframes apgTapZoomPulse{0%{transform:scale(1);filter:brightness(1)}32%{transform:scale(1.055);filter:brightness(1.025)}68%{transform:scale(1.025);filter:brightness(1.01)}100%{transform:scale(1);filter:brightness(1)}}
.apg-product-image img.apg-tap-zoom,.apg-category-image img.apg-tap-zoom{animation:apgTapZoomPulse .34s cubic-bezier(.2,.75,.25,1) both}
@media (hover:hover) and (pointer:fine){
 .apg-product-card:hover{transform:translateY(-3px);border-color:#ded4c2;box-shadow:0 12px 28px rgba(20,45,42,.105)}
 .apg-product-card:hover .apg-product-image img{transform:scale(1.035)}
 .apg-category-card:hover .apg-category-image img{transform:scale(1.045)}
}
.apg-category-image img{transition:transform .34s cubic-bezier(.2,.75,.25,1),filter .34s ease;will-change:transform}
.apg-home-product-grid .apg-product-image{aspect-ratio:4/5}
.apg-category-product-grid .apg-product-image,.apg-related-product-grid .apg-product-image{aspect-ratio:4/5}
.apg-footer-links.notranslate a,.apg-footer-contact-button.notranslate{unicode-bidi:isolate}
@media(max-width:1024px){
 .apg-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
 .apg-related-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767px){
 .apg-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .apg-related-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .apg-product-card{border-radius:12px}
 .apg-product-image{aspect-ratio:4/5}
 .apg-product-card-body{padding:9px 9px 11px;gap:5px}
 .apg-product-card h3{font-size:12.5px;line-height:1.4;min-height:2.8em}
 .apg-product-price{font-size:14px}
 .apg-see-more-wrap{margin-top:24px}
 .apg-see-more-btn{min-width:166px;min-height:46px}
 .apg-related-products{margin-top:32px}
 .apg-related-products>h2{font-size:22px;margin-bottom:15px}
 .apg-footer-pro .apg-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 18px;padding:30px 0 24px}
 .apg-footer-brand,.apg-footer-contact{grid-column:1/-1}
 .apg-footer-pro .apg-footer-column a{font-size:13px}
 .apg-footer-pro .apg-footer-links a{display:block;line-height:1.5;margin:0 0 13px}
}
@media(prefers-reduced-motion:reduce){
 .apg-product-card,.apg-product-image img,.apg-category-image img,.apg-see-more-btn{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

@media(hover:none){
 .apg-product-card:hover{transform:none;box-shadow:0 3px 12px rgba(22,48,42,.045)}
 .apg-product-card:hover .apg-product-image img:not(.apg-tap-zoom){transform:scale(1)}
 .apg-category-card:hover .apg-category-image img:not(.apg-tap-zoom){transform:scale(1)}
}


/* v16: desktop/mobile contrast, no-crop product photos, reliable tap feedback and sale carousel. */
.apg-main-menu .apg-nav-category-toggle,
.apg-main-menu .apg-nav-category-toggle:visited,
.apg-main-menu .apg-nav-category-toggle:hover,
.apg-main-menu .apg-nav-category-toggle:focus-visible{
  color:#fff!important;
  text-transform:none!important;
  -webkit-text-fill-color:#fff;
}
.apg-main-menu .apg-nav-category-toggle{font-weight:750;line-height:1.3;border-radius:8px;}
.apg-main-menu .apg-nav-category-toggle:hover,
.apg-main-menu .apg-nav-category-toggle[aria-expanded="true"]{background:#68432d;color:#f3d9ac!important;-webkit-text-fill-color:#f3d9ac;}
.apg-main-menu .apg-nav-category-toggle[aria-expanded="true"] .apg-nav-chevron{color:#f3d9ac;}
.apg-nav-submenu{background:#3b2419!important;}
.apg-nav-submenu a{color:#fff!important;-webkit-text-fill-color:#fff;}
.apg-nav-submenu a:hover,.apg-nav-submenu a:focus-visible{background:#68432d!important;color:#f3d9ac!important;-webkit-text-fill-color:#f3d9ac;}

/* Product cards use the uncropped WooCommerce single image rendition in a stable frame. */
.apg-product-image{background:#f7f4ee!important;}
.apg-product-image-frame{background:#f7f4ee;}
.apg-product-image img{object-fit:contain!important;object-position:center center!important;padding:5px!important;}
.apg-product-card h3{-webkit-line-clamp:2;line-clamp:2;}
.apg-footer-pro.notranslate,.apg-footer-pro.notranslate *{translate:none;}
.apg-footer-pro.notranslate{font-family:inherit;}
.apg-footer-pro .apg-footer-tagline{color:#d7e1dc!important;}

/* Hero: keep the welcome label and Shop Now, replace the text block with sale products. */
.apg-hero-deals{padding:23px 0 26px;background:linear-gradient(125deg,#fffaf1 0%,#f7f3eb 52%,#fff 100%);}
.apg-hero-deals .apg-container{min-width:0;}
.apg-hero-deals-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px;}
.apg-hero-deals-top .apg-eyebrow{display:block;font-size:11px;letter-spacing:1.8px;line-height:1.4;}
.apg-hero-deals-top .apg-primary-btn{flex:0 0 auto;min-height:38px;padding:0 17px;border-radius:999px;background:#173b34;color:#fff;font-size:13px;}
.apg-deal-slider{min-width:0;border:1px solid rgba(184,139,69,.2);border-radius:17px;padding:12px;background:rgba(255,255,255,.82);box-shadow:0 8px 24px rgba(34,42,34,.06);}
.apg-deal-slider-label{margin:0 0 10px;color:#9b6b35;font-size:10px;font-weight:850;letter-spacing:1.7px;}
.apg-deal-slider-viewport{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline-offset:4px;}
.apg-deal-slider-viewport::-webkit-scrollbar{display:none;}
.apg-deal-slider-track{display:flex;gap:12px;align-items:stretch;width:max-content;min-width:100%;}
.apg-deal-card{position:relative;display:flex;flex:0 0 clamp(176px,26vw,238px);flex-direction:column;min-width:0;overflow:hidden;border:1px solid #eae3d7;border-radius:12px;background:#fff;color:#173b34;text-decoration:none;scroll-snap-align:start;box-shadow:0 2px 8px rgba(23,59,52,.035);}
.apg-deal-card:hover,.apg-deal-card:focus-visible{color:#173b34;box-shadow:0 8px 22px rgba(23,59,52,.12);}
.apg-deal-card-image{display:block;position:relative;height:clamp(126px,18vw,175px);overflow:hidden;background:#f7f4ee;}
.apg-deal-card-image img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center;padding:5px;transition:transform .48s cubic-bezier(.2,.75,.25,1);}
.apg-deal-card-image img.apg-tap-zoom{animation:apgTapZoomPulse .48s cubic-bezier(.2,.75,.25,1) both;}
.apg-deal-badge{position:absolute;top:8px;left:8px;display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 8px;border-radius:999px;background:#a52c2c;color:#fff;font-size:10px;font-weight:850;line-height:1;box-shadow:0 3px 10px rgba(0,0,0,.13);}
.apg-deal-card-info{display:flex;flex:1;flex-direction:column;gap:6px;padding:9px 10px 11px;}
.apg-deal-card-info strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:2.7em;color:#183b34;font-size:12px;line-height:1.35;font-weight:800;}
.apg-deal-price{margin-top:auto;color:#173b34;font-size:13px;font-weight:850;line-height:1.3;}
.apg-deal-price del{margin-right:4px;color:#8c928f;font-size:.82em;font-weight:500;}
.apg-deal-price ins{text-decoration:none;color:#173b34;}
@keyframes apgTapZoomPulse{0%{transform:scale(1);filter:brightness(1)}32%{transform:scale(1.075);filter:brightness(1.025)}68%{transform:scale(1.035);filter:brightness(1.01)}100%{transform:scale(1);filter:brightness(1)}}
.apg-product-image img.apg-tap-zoom,.apg-category-image img.apg-tap-zoom{animation:apgTapZoomPulse .48s cubic-bezier(.2,.75,.25,1) both;}
@media(max-width:767px){
 .apg-hero-deals{padding:17px 0 20px;}
 .apg-hero-deals-top{margin-bottom:11px;}
 .apg-hero-deals-top .apg-eyebrow{font-size:9px;letter-spacing:1.4px;}
 .apg-hero-deals-top .apg-primary-btn{min-height:35px;padding:0 14px;font-size:12px;}
 .apg-deal-slider{padding:9px;border-radius:14px;}
 .apg-deal-slider-track{gap:9px;}
 .apg-deal-card{flex-basis:clamp(150px,43vw,190px);}
 .apg-deal-card-image{height:clamp(118px,37vw,155px);}
 .apg-deal-card-info{padding:8px;}
 .apg-deal-card-info strong{font-size:11.5px;}
 .apg-deal-price{font-size:12px;}
}
@media(hover:hover) and (pointer:fine){
 .apg-deal-card:hover .apg-deal-card-image img{transform:scale(1.035);}
}
@media(prefers-reduced-motion:reduce){
 .apg-deal-slider-viewport{scroll-behavior:auto;}
 .apg-product-image img.apg-tap-zoom,.apg-category-image img.apg-tap-zoom,.apg-deal-card-image img.apg-tap-zoom{animation:none!important;}
}

/* ApnaGhor 16.1: consistent premium styling for Contact, policy and account pages */
body.page:not(.home) .site-content .ast-container{padding-top:22px;padding-bottom:28px}
body.page:not(.home) .entry-header{max-width:1120px;margin:0 auto 18px;padding:0 0 15px;border-bottom:1px solid #eadfce}
body.page:not(.home) .entry-header .entry-title{color:#39261b;font-size:clamp(27px,3.5vw,39px);font-weight:850;letter-spacing:-.025em;line-height:1.2;margin:0}
body.page:not(.home) .entry-header .entry-title:after{content:"";display:block;width:54px;height:4px;border-radius:9px;margin-top:12px;background:linear-gradient(90deg,#9b6b35,#d2a96b)}
body.page:not(.home) .entry-content{color:#5f5147;font-size:15px;line-height:1.85}
body.page:not(.home) .entry-content>p:first-child{margin-top:0}
body.page:not(.home) .entry-content h2{color:#39261b;font-size:clamp(21px,2.6vw,27px);font-weight:800;line-height:1.35;margin:28px 0 12px;padding:0 0 9px;border-bottom:1px solid #eee3d7}
body.page:not(.home) .entry-content h3{color:#6f4a2d;font-size:18px;font-weight:800;margin:22px 0 9px}
body.page:not(.home) .entry-content p{margin:0 0 15px}
body.page:not(.home) .entry-content ul,body.page:not(.home) .entry-content ol{padding:17px 22px 17px 42px;margin:12px 0 22px;background:#fffdf9;border:1px solid #eee3d7;border-radius:14px;box-shadow:0 5px 18px rgba(67,45,29,.035)}
body.page:not(.home) .entry-content li{padding:3px 0 3px 3px}
body.page:not(.home) .entry-content a{color:#80552f;text-decoration-thickness:1px;text-underline-offset:3px}
body.page:not(.home) .entry-content a:hover{color:#39261b}
body.page:not(.home) .entry-content table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #eadfce;border-radius:12px;overflow:hidden;background:#fffdf9;margin:16px 0 24px}
body.page:not(.home) .entry-content th{background:#f4eadc;color:#39261b;font-weight:800}
body.page:not(.home) .entry-content th,body.page:not(.home) .entry-content td{padding:12px 14px;border-bottom:1px solid #eee3d7;text-align:left}
body.woocommerce-account .site-content .ast-container{max-width:1160px}
body.woocommerce-account .woocommerce-MyAccount-navigation{background:#fffdf9;border:1px solid #eadfce;border-radius:16px;padding:12px;box-shadow:0 8px 25px rgba(67,45,29,.05)}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
body.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0;border-bottom:1px solid #eee3d7}
body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child{border-bottom:0}
body.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:12px 14px;border-radius:10px;color:#6b5748;font-weight:700;text-decoration:none;transition:background .18s,color .18s}
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,body.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:#f3e7d7;color:#39261b}
body.woocommerce-account .woocommerce-MyAccount-content{background:#fff;border:1px solid #eadfce;border-radius:18px;padding:clamp(18px,3vw,30px);box-shadow:0 10px 28px rgba(67,45,29,.045);color:#5f5147;line-height:1.8}
body.woocommerce-account .woocommerce-MyAccount-content h2,body.woocommerce-account .woocommerce-MyAccount-content h3{color:#39261b;font-weight:800}
body.woocommerce-account .woocommerce-MyAccount-content .button,body.woocommerce-account .woocommerce-MyAccount-content button,body.woocommerce-account .woocommerce-MyAccount-content input[type=submit]{background:#6f4a2d;color:#fff;border-radius:10px;padding:11px 18px;border:0;font-weight:800}
body.woocommerce-account .woocommerce-MyAccount-content .button:hover,body.woocommerce-account .woocommerce-MyAccount-content button:hover,body.woocommerce-account .woocommerce-MyAccount-content input[type=submit]:hover{background:#39261b;color:#fff}
body.woocommerce-account .woocommerce-MyAccount-content input.input-text,body.woocommerce-account .woocommerce-MyAccount-content select,body.woocommerce-account .woocommerce-MyAccount-content textarea{border:1px solid #dfd1c0;border-radius:10px;background:#fffdf9;min-height:44px;padding:10px 12px;max-width:100%}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table{border:1px solid #eadfce;border-radius:12px;overflow:hidden;border-collapse:separate;border-spacing:0}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th{background:#f4eadc;color:#39261b}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td{padding:12px;border-bottom:1px solid #eee3d7}
@media(max-width:767px){
 body.page:not(.home) .site-content .ast-container{padding-top:12px;padding-bottom:20px}
 body.page:not(.home) .entry-header{margin-bottom:14px;padding-bottom:12px}
 body.page:not(.home) .entry-content{font-size:14px;line-height:1.8}
 body.page:not(.home) .entry-content h2{margin-top:22px;font-size:21px}
 body.page:not(.home) .entry-content ul,body.page:not(.home) .entry-content ol{padding:13px 14px 13px 32px;border-radius:12px}
 body.page:not(.home) .entry-content th,body.page:not(.home) .entry-content td{padding:9px 10px;font-size:13px}
 body.woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:16px}
 body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 body.woocommerce-account .woocommerce-MyAccount-navigation li{border:0}
 body.woocommerce-account .woocommerce-MyAccount-navigation a{padding:10px 8px;font-size:12px;text-align:center}
 body.woocommerce-account .woocommerce-MyAccount-content{padding:16px;border-radius:14px;overflow-wrap:anywhere}
}


/* =========================================================
   APNAGHOR v16.2 — store-wide usability and responsive polish
   ========================================================= */
:root{--apg-page-ink:#39261b;--apg-page-muted:#68594d;--apg-page-border:#eadfce;--apg-page-paper:#fffdf9;}
html{scroll-behavior:smooth;}
body{color:var(--apg-page-muted);}
button,a,input,select,textarea{touch-action:manipulation;}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid rgba(199,154,90,.85)!important;outline-offset:3px!important;}
.apg-hero-deals{padding:16px 0 25px;}
.apg-hero-deals .apg-container{max-width:1240px;}
.apg-deal-slider{border-color:#e5d5c2;box-shadow:0 8px 24px rgba(57,38,27,.055);}
.apg-deal-slider-label{font-size:11px;letter-spacing:1.4px;}
.apg-home-section{scroll-margin-top:18px;}
.apg-section-heading{gap:7px;}
.apg-section-heading h2{color:var(--apg-page-ink);line-height:1.3;}
.apg-category-card:focus-visible,.apg-product-card:focus-visible{outline:3px solid #c79a5a!important;outline-offset:3px;}
.apg-product-card{border-color:#e8ddcf;background:#fff;box-shadow:0 3px 12px rgba(57,38,27,.045);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;}
.apg-product-card:hover{border-color:#d2b48d;box-shadow:0 9px 24px rgba(57,38,27,.1);}
.apg-product-card h3 a{color:#39261b;}
.apg-product-card .apg-product-price{color:#573923;font-weight:800;}
.apg-category-card{border-radius:15px;overflow:hidden;}
.apg-category-name{color:#39261b;font-weight:800;}
.apg-primary-btn,.apg-outline-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{min-height:44px;}
.apg-premium-product .woocommerce-product-details__short-description{color:#67584c;line-height:1.8;}
.apg-premium-product .apg-delivery-box,.apg-premium-product .apg-trust-strip{border-radius:13px;}
body.page:not(.home) .site-content .ast-container{max-width:1200px;}
body.page:not(.home) .entry-header{max-width:1080px;}
body.page:not(.home) .entry-content{max-width:1080px;margin-left:auto;margin-right:auto;overflow-wrap:anywhere;}
body.page:not(.home) .entry-content h2:first-child,body.page:not(.home) .entry-content h3:first-child{margin-top:0;}
body.page:not(.home) .entry-content blockquote{margin:18px 0;padding:16px 20px;border-left:4px solid #c79a5a;border-radius:0 12px 12px 0;background:#fff8ef;color:#5f5147;}
body.page:not(.home) .entry-content img{height:auto;max-width:100%;border-radius:12px;}
body.page:not(.home) .entry-content iframe{max-width:100%;}
body.page:not(.home) .entry-content input:not([type=checkbox]):not([type=radio]):not([type=submit]),body.page:not(.home) .entry-content select,body.page:not(.home) .entry-content textarea{max-width:100%;min-height:44px;border:1px solid #dfd1c0;border-radius:10px;padding:10px 12px;background:#fffdf9;}
body.page:not(.home) .entry-content input:focus,body.page:not(.home) .entry-content select:focus,body.page:not(.home) .entry-content textarea:focus{border-color:#a77945;box-shadow:0 0 0 3px rgba(199,154,90,.16);}
.apg-footer-pro .apg-footer-links a{width:fit-content;max-width:100%;}
.apg-footer-pro .apg-footer-bottom{line-height:1.7;}
.woocommerce-account .woocommerce-error,.woocommerce-account .woocommerce-info,.woocommerce-account .woocommerce-message{border-radius:12px;line-height:1.6;}
.woocommerce-account .woocommerce form .form-row label{color:#4e392a;font-weight:750;margin-bottom:6px;}
.woocommerce-account .woocommerce form .input-text{border:1px solid #dfd1c0;border-radius:10px;background:#fffdf9;min-height:46px;padding:10px 12px;}
.woocommerce-account .woocommerce form .input-text:focus{border-color:#a77945;box-shadow:0 0 0 3px rgba(199,154,90,.16);}
.woocommerce-account .woocommerce-MyAccount-navigation{align-self:start;}
.woocommerce-account .woocommerce-MyAccount-content{min-width:0;overflow-wrap:anywhere;}
.woocommerce-account .woocommerce-MyAccount-content a{color:#80552f;text-underline-offset:3px;}
.woocommerce-account .woocommerce-MyAccount-content .button,.woocommerce-account .woocommerce-MyAccount-content button{transition:background .18s ease,transform .18s ease;}
.woocommerce-account .woocommerce-MyAccount-content .button:hover,.woocommerce-account .woocommerce-MyAccount-content button:hover{transform:translateY(-1px);}
@media(max-width:767px){
 .apg-hero-deals{padding:12px 0 19px;}
 .apg-home-section{padding-top:21px;padding-bottom:23px;}
 .apg-product-card{border-radius:12px;}
 .apg-product-card-body{padding:9px 9px 11px;gap:5px;}
 .apg-product-card h3{font-size:12px;line-height:1.42;}
 .apg-product-card .apg-product-price{font-size:13px;line-height:1.35;}
 body.page:not(.home) .entry-content{font-size:14px;}
 body.page:not(.home) .entry-content table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
 .apg-footer-pro .apg-footer-column h3{margin-bottom:12px;}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important;}}


/* v16.2.1 — prevent category and subcategory thumbnails from being cropped.
   Keep the full source image visible on mobile and desktop. */
.apg-category-image{background:#f7f2ea!important;}
.apg-category-image img{object-fit:contain!important;object-position:center center!important;padding:5px!important;box-sizing:border-box;}
.apg-subcategory-picker-image{background:#f7f2ea!important;}
.apg-subcategory-picker-image img{object-fit:contain!important;object-position:center center!important;padding:5px!important;box-sizing:border-box;}


/* =========================================================
   APNAGHOR PREMIUM v17.0 — Checkout, category and UX polish
   These rules extend the v16 baseline instead of replacing its working layout.
   ========================================================= */
:root{
  --apg-primary:#39261b;
  --apg-accent:#c79a5a;
  --apg-accent-dark:#80552f;
  --apg-text:#30251f;
  --apg-muted:#6b5a4e;
  --apg-border:#e6d8c7;
  --apg-soft:#fbf7f1;
  --apg-white:#fff;
}

/* Category thumbnails: remove inline-image baseline gaps and keep all artwork visible. */
.apg-category-image{display:block;line-height:0;overflow:hidden;background:#f7f2ea!important;}
.apg-category-image img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center center!important;padding:3px!important;box-sizing:border-box;}
.apg-category-name{padding:8px 5px 10px!important;line-height:1.35;}
.apg-subcategory-picker-image{line-height:0;background:#f7f2ea!important;}
.apg-subcategory-picker-image img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center center!important;padding:3px!important;box-sizing:border-box;}
.apg-subcategory-picker-card{gap:6px;padding:9px 9px 8px;border-color:#e8dccd;box-shadow:0 2px 9px rgba(57,38,27,.025);}
.apg-subcategory-picker-card>span:last-child{line-height:1.35;}

/* Premium classic WooCommerce checkout surfaces. */
body.woocommerce-checkout .site-content .ast-container{max-width:1180px;}
body.woocommerce-checkout .woocommerce{max-width:1080px;margin-inline:auto;padding-top:22px;padding-bottom:18px;}
body.woocommerce-checkout .woocommerce-notices-wrapper:empty{display:none;}
body.woocommerce-checkout .woocommerce form.checkout{border:0;background:transparent;box-shadow:none;padding:0;}
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review{
  border:1px solid #e8dac8!important;border-radius:18px!important;background:#fff!important;
  box-shadow:0 8px 26px rgba(57,38,27,.045);padding:clamp(16px,2.5vw,28px)!important;
}
body.woocommerce-checkout #customer_details{margin-bottom:24px;}
body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2{min-width:0;}
body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading{color:#39261b;font-size:clamp(20px,2.6vw,25px);font-weight:850;line-height:1.35;letter-spacing:-.2px;margin:0 0 18px;}
body.woocommerce-checkout #order_review_heading{margin-top:26px;margin-bottom:14px;}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{row-gap:3px;}
body.woocommerce-checkout .woocommerce form .form-row label{display:block;color:#4e392a;font-weight:750;font-size:13px;margin:0 0 6px;line-height:1.5;}
body.woocommerce-checkout .woocommerce form .form-row .required{color:#a64b3b;text-decoration:none;}
body.woocommerce-checkout .woocommerce form .input-text,
body.woocommerce-checkout .woocommerce form select,
body.woocommerce-checkout .woocommerce form textarea,
body.woocommerce-checkout .select2-container--default .select2-selection--single{
  width:100%;max-width:100%;min-height:47px;border:1px solid #dfd1c0!important;border-radius:10px!important;
  background:#fffdf9!important;color:#30251f!important;padding:11px 12px;box-shadow:none;line-height:1.45;
}
body.woocommerce-checkout .woocommerce form textarea{min-height:100px;}
body.woocommerce-checkout .woocommerce form .input-text:focus,
body.woocommerce-checkout .woocommerce form select:focus,
body.woocommerce-checkout .woocommerce form textarea:focus,
body.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single{
  border-color:#b8874c!important;box-shadow:0 0 0 3px rgba(199,154,90,.16)!important;outline:0;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:23px;padding-left:0;color:#30251f;}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:45px;right:8px;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table{border:0!important;border-collapse:collapse!important;margin:0 0 16px!important;background:transparent;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td{padding:13px 8px;border-bottom:1px solid #eee4d8;vertical-align:middle;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th{color:#6b5748;font-size:12px;text-transform:uppercase;letter-spacing:.45px;font-weight:850;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name{color:#39261b;font-weight:700;overflow-wrap:anywhere;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td{text-align:right;font-variant-numeric:tabular-nums;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th{color:#685647;font-weight:750;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td{border-top:1px solid #d8c3a9;border-bottom:0;color:#39261b;font-weight:900;font-size:17px;padding-top:17px;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .variation{font-size:12px;color:#76675b;font-weight:500;margin:5px 0 0;}
.apg-checkout-item-name{display:inline;vertical-align:middle;}
.apg-checkout-remove-item{
 display:inline-flex!important;align-items:center;justify-content:center;vertical-align:middle;
 width:25px;height:25px;margin-left:7px;border:1px solid #e7c9c2!important;border-radius:50%!important;
 background:#fff7f5!important;color:#a64036!important;text-decoration:none!important;font-size:19px;font-weight:500;line-height:1;
 transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease;flex:0 0 auto;
}
.apg-checkout-remove-item:hover,.apg-checkout-remove-item:focus-visible{background:#a64036!important;border-color:#a64036!important;color:#fff!important;transform:scale(1.04);}
.apg-checkout-remove-item[aria-busy="true"]{opacity:.5;pointer-events:none;}
body.woocommerce-checkout #payment{background:#fbf6ee!important;border:1px solid #eadcca;border-radius:14px;padding:15px!important;}
body.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid #eadcca;padding:0 0 13px!important;}
body.woocommerce-checkout #payment .payment_box{background:#f3e9da!important;border-radius:10px;color:#5d4a3b;}
body.woocommerce-checkout #payment .payment_box:before{border-bottom-color:#f3e9da!important;}
body.woocommerce-checkout #place_order,
body.woocommerce-checkout button#place_order{
 display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;margin-top:14px!important;
 border:1px solid #39261b!important;border-radius:12px!important;background:linear-gradient(135deg,#39261b,#64452f)!important;
 color:#fff!important;font-size:16px!important;font-weight:850!important;letter-spacing:.15px;box-shadow:0 6px 16px rgba(57,38,27,.14);
 transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
body.woocommerce-checkout #place_order:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(57,38,27,.19);filter:brightness(1.04);}
body.woocommerce-checkout #place_order:disabled{opacity:.65;transform:none;box-shadow:none;}
body.woocommerce-checkout .woocommerce-privacy-policy-text{font-size:12px;color:#76675b;line-height:1.7;}
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message{border-radius:12px;border-top-color:#c79a5a;padding:14px 16px;line-height:1.6;}
body.woocommerce-checkout .woocommerce-error:before,
body.woocommerce-checkout .woocommerce-info:before,
body.woocommerce-checkout .woocommerce-message:before{top:14px;}

/* Better detail pages, native product attributes and reviews without fake claims. */
body.single-product .woocommerce-tabs ul.tabs{border-bottom:1px solid #e8dccd;padding-left:0!important;}
body.single-product .woocommerce-tabs ul.tabs li{border:1px solid #e8dccd!important;border-radius:10px 10px 0 0!important;background:#fbf7f1!important;margin-right:4px!important;}
body.single-product .woocommerce-tabs ul.tabs li.active{background:#fff!important;border-bottom-color:#fff!important;}
body.single-product .woocommerce-tabs ul.tabs li a{color:#5c422e!important;font-weight:800;padding:11px 15px!important;}
body.single-product .woocommerce-tabs .panel{background:#fff;border:1px solid #eadfce;border-radius:0 0 14px 14px;padding:clamp(15px,2.5vw,25px)!important;line-height:1.8;color:#5f5147;}
body.single-product .woocommerce-tabs .shop_attributes{border-collapse:collapse;width:100%;}
body.single-product .woocommerce-tabs .shop_attributes th,
body.single-product .woocommerce-tabs .shop_attributes td{padding:10px 12px;border-bottom:1px solid #eee3d7;text-align:left;}
body.single-product .woocommerce-tabs .shop_attributes th{width:36%;background:#fbf5ec;color:#39261b;}
body.single-product #reviews #comments ol.commentlist li .comment-text{border:1px solid #eadfce;border-radius:12px;padding:15px;}
body.single-product #review_form_wrapper{margin-top:20px;padding:18px;border:1px solid #eadfce;border-radius:14px;background:#fffdf9;}

/* Consistent premium controls for policy and account pages. */
body.woocommerce-account .apg-account-card{border-color:#e5d5c2;box-shadow:0 14px 36px rgba(57,38,27,.075);}
body.woocommerce-account .apg-login-remember{margin:4px 0 12px!important;font-size:12px;color:#6b5a4e;}
body.woocommerce-account .apg-login-remember label{display:inline-flex;align-items:center;gap:8px;font-weight:600!important;}
body.woocommerce-account .apg-login-remember input[type=checkbox]{accent-color:#6f4a2d;width:16px;height:16px;}
.apg-primary-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{transition:transform .18s ease,box-shadow .18s ease,background .18s ease;}
.apg-primary-btn:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{transform:translateY(-1px);}

@media(max-width:767px){
 body.woocommerce-checkout .woocommerce{padding-top:12px;}
 body.woocommerce-checkout #customer_details,
 body.woocommerce-checkout #order_review{padding:15px!important;border-radius:14px!important;box-shadow:0 5px 17px rgba(57,38,27,.04);}
 body.woocommerce-checkout #customer_details .col-1,
 body.woocommerce-checkout #customer_details .col-2{width:100%;float:none;margin:0;}
 body.woocommerce-checkout #customer_details .col-2{margin-top:18px;}
 body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
 body.woocommerce-checkout .woocommerce-checkout-review-order-table td{padding:11px 5px;font-size:13px;}
 body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total th,
 body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td{font-size:15px;}
 .apg-checkout-remove-item{width:24px;height:24px;margin-left:5px;}
 body.single-product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:5px;}
 body.single-product .woocommerce-tabs ul.tabs li{margin:0!important;}
 body.single-product .woocommerce-tabs ul.tabs li a{padding:9px 10px!important;font-size:12px;}
 body.single-product .woocommerce-tabs .panel{border-radius:12px;padding:14px!important;}
 body.woocommerce-account .apg-account-auth{padding:14px 0 28px;}
}
@media(prefers-reduced-motion:reduce){
 .apg-checkout-remove-item,body.woocommerce-checkout #place_order,.apg-primary-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{transition:none!important;}
}

.apg-checkout-remove-feedback{margin:10px 0 14px;padding:10px 13px;border:1px solid #d9c5a8;border-radius:10px;background:#fbf5ec;color:#5e442f;font-size:13px;line-height:1.6;}


/* =========================================================
   APNAGHOR PREMIUM v18 — QUIET LUXURY DESIGN SYSTEM
   Ivory / midnight navy / champagne. Product image pixels remain untouched.
   ========================================================= */
:root{
  --apg-primary:#18283b;
  --apg-primary-deep:#101c2b;
  --apg-accent:#b79a68;
  --apg-accent-dark:#8c7043;
  --apg-accent-soft:#f2eadb;
  --apg-nav:#18283b;
  --apg-nav-border:#31445a;
  --apg-text:#252b34;
  --apg-muted:#68717d;
  --apg-border:#e5e0d6;
  --apg-soft:#f7f5f0;
  --apg-white:#fff;
  --apg-radius:16px;
  --apg-container:1200px;
}
body.apg-premium-home,body.apg-premium-woocommerce{background:#fff;color:var(--apg-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Bengali",sans-serif;}
.apg-container{width:min(var(--apg-container),calc(100% - 40px));}
.apg-topbar{background:var(--apg-primary-deep)!important;color:#f7f3e9!important;}
.apg-topbar-inner{min-height:34px!important;font-size:11px!important;letter-spacing:.035em;font-weight:600!important;}
.apg-brand-row{min-height:76px!important;background:#fff;}
.apg-logo,.apg-footer-logo{font-family:Georgia,"Times New Roman",serif!important;font-size:36px!important;font-weight:600!important;letter-spacing:-1.6px!important;color:var(--apg-primary)!important;}
.apg-logo:hover,.apg-footer-logo:hover{color:var(--apg-accent-dark)!important;}
.apg-nav-row{grid-template-columns:auto minmax(0,1fr) auto!important;gap:18px!important;min-height:58px!important;border:1px solid var(--apg-nav-border)!important;border-radius:3px!important;background:var(--apg-nav)!important;}
.apg-main-menu{gap:clamp(10px,1.55vw,22px)!important;}
.apg-main-menu a,.apg-main-menu .apg-nav-category-toggle{font-size:13px!important;font-weight:650!important;letter-spacing:.015em;}
.apg-main-menu .apg-nav-category-toggle{color:#f9f7f2!important;}
.apg-main-menu .apg-nav-category-toggle:hover,.apg-main-menu .apg-nav-category-toggle[aria-expanded="true"]{background:rgba(255,255,255,.08)!important;color:#e8d4ad!important;-webkit-text-fill-color:#e8d4ad!important;}
.apg-header-icon{color:#f8f5ed!important;}
.apg-header-icon:hover{color:#e4cca1!important;background:rgba(255,255,255,.08)!important;}
.apg-cart-count{background:var(--apg-accent)!important;color:#172235!important;border-color:var(--apg-nav)!important;}
.apg-search-panel{border-color:var(--apg-border)!important;box-shadow:0 18px 42px rgba(16,28,43,.16)!important;}
.apg-primary-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--apg-primary)!important;border:1px solid var(--apg-primary)!important;color:#fff!important;border-radius:5px!important;box-shadow:none!important;}
.apg-primary-btn:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--apg-primary-deep)!important;border-color:var(--apg-primary-deep)!important;color:#fff!important;}
.apg-outline-btn{border:1px solid var(--apg-accent)!important;border-radius:5px!important;background:transparent!important;color:var(--apg-primary)!important;}
.apg-outline-btn:hover{background:var(--apg-accent-soft)!important;color:var(--apg-primary)!important;}
.apg-section-heading h2,.apg-editorial-section-heading h2,.apg-category-products-heading h2,.apg-subcategory-picker-heading h2{font-family:Georgia,"Times New Roman",serif!important;font-weight:500!important;letter-spacing:-.025em!important;color:var(--apg-primary)!important;}
.apg-section-heading>span,.apg-editorial-section-heading>span{color:var(--apg-accent-dark)!important;font-size:10px!important;letter-spacing:2px!important;font-weight:750!important;}
.apg-editorial-section-heading{margin-bottom:24px!important;}
.apg-editorial-section-heading p{margin:8px 0 0;color:var(--apg-muted);font-size:14px;line-height:1.7;}

/* Editorial hero uses an actual catalog image; no synthetic product-photo recolouring. */
.apg-editorial-hero{position:relative;overflow:hidden;background:#f5f2eb;padding:clamp(34px,5vw,68px) 0;}
.apg-editorial-hero:before{content:"";position:absolute;inset:0 auto 0 0;width:54%;background:linear-gradient(115deg,#f7f5f0 0%,rgba(247,245,240,.94) 72%,rgba(247,245,240,0) 100%);pointer-events:none;}
.apg-editorial-hero-inner{position:relative;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(300px,.98fr);align-items:center;gap:clamp(26px,5vw,72px);}
.apg-editorial-copy{position:relative;z-index:1;padding:8px 0;}
.apg-editorial-kicker{display:inline-block;margin-bottom:16px;color:var(--apg-accent-dark);font-size:10px;font-weight:800;letter-spacing:2.5px;}
.apg-editorial-copy h1{margin:0 0 17px!important;color:var(--apg-primary)!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(39px,5.2vw,68px)!important;font-weight:500!important;line-height:1.02!important;letter-spacing:-1.9px!important;}
.apg-editorial-copy h1 em{color:var(--apg-accent-dark);font-weight:500;}
.apg-editorial-copy>p{max-width:510px;margin:0 0 25px;color:#59616b;font-size:15px;line-height:1.9;}
.apg-editorial-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;}
.apg-editorial-actions .apg-primary-btn{min-height:49px;padding:0 22px;gap:13px;}
.apg-editorial-text-link{color:var(--apg-primary);font-size:13px;font-weight:700;text-decoration:none;border-bottom:1px solid var(--apg-accent);padding:0 0 4px;}
.apg-editorial-assurance{display:flex;align-items:center;gap:11px;margin-top:30px;color:#717985;font-size:11px;letter-spacing:.02em;}
.apg-editorial-assurance i{width:4px;height:4px;border-radius:50%;background:var(--apg-accent);}
.apg-brand-mark .custom-logo-link{display:inline-flex;align-items:center;}
.apg-brand-mark .custom-logo{display:block;max-height:58px;width:auto;max-width:min(240px,70vw);object-fit:contain;}
.apg-editorial-visual{position:relative;display:block;min-width:0;max-width:510px;margin-left:auto;color:inherit;text-decoration:none;}
.apg-editorial-visual-frame{display:flex;align-items:center;justify-content:center;overflow:hidden;min-height:clamp(300px,37vw,475px);background:#ebe6dc;border-radius:2px;}
.apg-editorial-visual-frame img{display:block;width:100%;height:100%;max-height:475px;object-fit:contain;object-position:center;}
.apg-editorial-visual-caption{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 2px 0;color:var(--apg-primary);}
.apg-editorial-visual-caption small{font-size:9px;letter-spacing:1.4px;color:var(--apg-accent-dark);font-weight:800;}
.apg-editorial-visual-caption strong{font-size:12px;font-weight:650;text-align:right;}
.apg-editorial-visual-empty{display:grid;place-items:center;min-height:350px;background:#e9e4d9;color:var(--apg-primary);font-family:Georgia,serif;font-size:48px;}
.apg-assurance-bar{background:#fff;border-bottom:1px solid var(--apg-border);}
.apg-assurance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:16px 0;}
.apg-assurance-grid>div{display:flex;align-items:center;justify-content:center;gap:12px;padding:5px 12px;border-right:1px solid var(--apg-border);}
.apg-assurance-grid>div:last-child{border-right:0;}
.apg-assurance-symbol{display:grid;place-items:center;width:31px;height:31px;border:1px solid #e7ddca;border-radius:50%;color:var(--apg-accent-dark);font-size:15px;}
.apg-assurance-grid strong,.apg-assurance-grid small{display:block;}
.apg-assurance-grid strong{font-size:12px;color:var(--apg-primary);font-weight:750;}
.apg-assurance-grid small{margin-top:2px;color:var(--apg-muted);font-size:10px;}
.apg-home-section{padding:clamp(42px,5.5vw,72px) 0!important;}
.apg-category-section{background:#fff;}
.apg-category-grid{gap:17px!important;}
.apg-category-card{flex:0 0 calc(20% - 14px)!important;}
.apg-category-image{aspect-ratio:4/5!important;border-radius:2px!important;background:#f3f0e9!important;}
.apg-category-image img{object-fit:contain!important;padding:4px;transition:transform .45s cubic-bezier(.2,.65,.25,1)!important;}
.apg-category-card:hover .apg-category-image img{transform:scale(1.025)!important;}
.apg-category-name{display:flex!important;justify-content:space-between;align-items:center;padding:11px 2px!important;color:var(--apg-primary)!important;font-family:Georgia,"Times New Roman",serif;font-size:17px!important;font-weight:500!important;text-align:left!important;}
.apg-category-name span{font-family:system-ui,sans-serif;color:var(--apg-accent-dark);font-size:14px;}
.apg-products-section{background:#f8f7f3!important;}
.apg-new-arrivals{background:#fff!important;}
.apg-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;}
.apg-product-card{border:1px solid #ece9e2!important;border-radius:2px!important;background:#fff!important;box-shadow:none!important;transition:border-color .2s ease,transform .2s ease!important;}
.apg-product-card:hover{transform:translateY(-2px)!important;box-shadow:0 8px 24px rgba(24,40,59,.06)!important;border-color:#d8c7a7!important;}
.apg-product-image{aspect-ratio:4/5!important;background:#f4f1ea!important;}
.apg-product-image img{object-fit:contain!important;padding:4px;}
.apg-product-card-body{padding:13px 13px 15px!important;}
.apg-product-card h3{font-size:13px!important;line-height:1.5!important;font-weight:650!important;color:var(--apg-primary)!important;}
.apg-product-card h3 a{color:inherit!important;text-decoration:none!important;}
.apg-product-price{color:var(--apg-primary)!important;font-size:14px!important;font-weight:750!important;}
.apg-product-price del{color:#9298a0!important;font-size:11px!important;font-weight:500!important;}
.apg-product-price ins{text-decoration:none!important;color:var(--apg-accent-dark)!important;}
.apg-see-more-wrap{text-align:center;margin-top:28px;}
.apg-see-more-btn{min-width:150px;}
.apg-sale-section{background:#f8f7f3!important;}
.apg-deal-slider{padding:0!important;border:0!important;background:transparent!important;}
.apg-deal-slider-label{color:var(--apg-accent-dark)!important;}
.apg-deal-card{border:1px solid var(--apg-border)!important;border-radius:2px!important;background:#fff!important;box-shadow:none!important;}
.apg-deal-card-image{background:#f4f1ea!important;}
.apg-deal-card-image img{object-fit:contain!important;padding:4px;}
.apg-deal-card-info strong{color:var(--apg-primary)!important;}
.apg-deal-price{color:var(--apg-primary)!important;}

/* Product page: refined editorial details and keep SKU hidden. */
.apg-premium-product .product_title{font-family:Georgia,"Times New Roman",serif!important;font-weight:500!important;color:var(--apg-primary)!important;line-height:1.2!important;}
.apg-premium-product .price{color:var(--apg-primary)!important;font-weight:750!important;}
.apg-premium-product .product_meta .sku_wrapper{display:none!important;}
.apg-premium-product form.cart .quantity{border:1px solid var(--apg-border)!important;border-radius:5px!important;height:50px!important;background:#fff!important;}
.apg-premium-product form.cart .quantity input.qty{height:48px!important;min-height:48px!important;border:0!important;color:var(--apg-primary)!important;font-weight:650!important;}
.apg-premium-product .apg-option-btn{border-color:#b9aa90!important;border-radius:4px!important;color:var(--apg-primary)!important;}
.apg-premium-product .apg-option-btn.is-selected{border-color:var(--apg-primary)!important;background:#f3eee4!important;box-shadow:inset 0 0 0 1px var(--apg-primary)!important;}
.apg-premium-product form.cart .single_add_to_cart_button{background:var(--apg-primary)!important;border-color:var(--apg-primary)!important;border-radius:5px!important;}
.apg-premium-product form.cart .apg-buy-now-button{background:var(--apg-accent)!important;border-color:var(--apg-accent)!important;color:#152338!important;border-radius:5px!important;}
.apg-delivery-box{background:#f8f7f3!important;border:1px solid var(--apg-border)!important;border-radius:5px!important;color:var(--apg-text)!important;}
.apg-delivery-title{color:var(--apg-primary)!important;font-weight:750!important;}
.apg-trust-strip{gap:8px 14px!important;color:#5f6975!important;}
.apg-trust-strip span{padding:6px 9px;border:1px solid var(--apg-border);border-radius:3px;background:#fff;font-size:11px;}
.apg-premium-product .woocommerce-tabs ul.tabs li{border-color:var(--apg-border)!important;background:#f8f7f3!important;border-radius:3px 3px 0 0!important;}
.apg-premium-product .woocommerce-tabs ul.tabs li.active{background:#fff!important;}
.apg-premium-product .woocommerce-tabs ul.tabs li a{color:var(--apg-primary)!important;}
.apg-premium-product .woocommerce-tabs .panel{border-color:var(--apg-border)!important;border-radius:0 0 3px 3px!important;color:#515b67!important;}
.apg-premium-product .woocommerce-tabs .shop_attributes th{background:#f7f5f0!important;color:var(--apg-primary)!important;}
.apg-related-products,.apg-recently-viewed{margin-top:42px!important;padding-top:30px!important;border-top:1px solid var(--apg-border)!important;}
.apg-recently-viewed:not(.is-loaded){display:none;}
.apg-recently-viewed-grid{margin-top:18px;}

/* Paginated category pages use WooCommerce's native query and predictable page weight. */
.apg-category-archive-main{padding:24px 0 54px!important;}
.apg-category-breadcrumbs{margin:0 0 12px!important;color:var(--apg-muted)!important;font-size:11px!important;}
.apg-category-breadcrumbs a{color:var(--apg-accent-dark)!important;}
.apg-category-hero{padding:28px clamp(18px,4vw,42px)!important;border:1px solid var(--apg-border)!important;border-radius:3px!important;background:#f8f7f3!important;box-shadow:none!important;}
.apg-category-eyebrow,.apg-subcategory-picker-heading>span,.apg-category-products-heading>div>span{display:block;margin-bottom:8px;color:var(--apg-accent-dark);font-size:10px;font-weight:800;letter-spacing:1.8px;}
.apg-category-hero h1{font-family:Georgia,"Times New Roman",serif!important;color:var(--apg-primary)!important;font-weight:500!important;}
.apg-category-description{color:var(--apg-muted)!important;}
.apg-subcategory-picker{margin:0 0 32px!important;}
.apg-subcategory-picker-heading{margin-bottom:16px;}
.apg-subcategory-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
.apg-subcategory-picker-card{border:1px solid var(--apg-border)!important;border-radius:3px!important;background:#fff!important;color:var(--apg-primary)!important;box-shadow:none!important;}
.apg-subcategory-picker-card small{display:block;margin-top:5px;color:var(--apg-accent-dark);font-size:10px;font-weight:650;}
.apg-subcategory-picker-image{border-radius:2px!important;background:#f4f1ea!important;}
.apg-subcategory-picker-image img{object-fit:contain!important;padding:4px!important;}
.apg-category-products-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin:24px 0 16px;}
.apg-category-products-heading h2{margin:0!important;font-size:clamp(22px,2.8vw,30px)!important;}
.apg-category-result-count{color:var(--apg-muted);font-size:12px;}
.apg-category-result-count p{margin:0;}
.apg-category-ordering{display:flex;justify-content:flex-end;margin:0 0 16px;}
.apg-category-ordering select{min-height:40px;border:1px solid var(--apg-border);border-radius:4px;background:#fff;color:var(--apg-primary);padding:7px 10px;font-size:12px;}
.apg-category-pagination{margin-top:30px;}
.apg-category-pagination .nav-links{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;}
.apg-category-pagination .page-numbers{display:inline-grid;place-items:center;min-width:38px;min-height:38px;padding:0 10px;border:1px solid var(--apg-border);background:#fff;color:var(--apg-primary);text-decoration:none;font-size:12px;border-radius:3px;}
.apg-category-pagination .page-numbers.current{background:var(--apg-primary);border-color:var(--apg-primary);color:#fff;}

/* Premium order confirmation with no redirect and native order details kept below. */
body.woocommerce-order-received .woocommerce{max-width:940px;margin:0 auto;padding:20px 0 50px;}
.apg-order-confirmation{margin:24px 0 26px;padding:clamp(22px,4vw,42px);border:1px solid var(--apg-border);border-radius:3px;background:#f8f7f3;text-align:center;}
.apg-order-confirmation-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 16px;border:1px solid #d8c8a8;border-radius:50%;background:#fff;color:#42634f;font-size:27px;font-weight:600;}
.apg-order-confirmation-eyebrow{margin:0 0 9px;color:var(--apg-accent-dark);font-size:9px;font-weight:800;letter-spacing:2px;}
.apg-order-confirmation h2{margin:0 0 10px!important;color:var(--apg-primary)!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(24px,3vw,34px)!important;font-weight:500!important;}
.apg-order-confirmation-message{max-width:610px;margin:0 auto 18px;color:#59636f;font-size:14px;line-height:1.8;}
.apg-order-confirmation-number{display:inline-flex;flex-direction:column;gap:4px;min-width:180px;padding:12px 24px;border:1px dashed #cfc3ad;background:#fff;}
.apg-order-confirmation-number span{color:var(--apg-muted);font-size:10px;}
.apg-order-confirmation-number strong{color:var(--apg-primary);font-size:21px;letter-spacing:.04em;}
.apg-order-confirmation-note{margin:13px 0 0;color:var(--apg-muted);font-size:11px;}
.apg-order-confirmation-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:22px;}
.apg-order-confirmation-actions a{min-width:150px;min-height:44px;}
body.woocommerce-order-received .woocommerce-order-details,body.woocommerce-order-received .woocommerce-customer-details{margin-top:25px;padding:20px;border:1px solid var(--apg-border);border-radius:3px;background:#fff;}
body.woocommerce-order-received .woocommerce table.shop_table{border-color:var(--apg-border);}
body.woocommerce-order-received .woocommerce table.shop_table th{color:var(--apg-primary);}

/* Footer palette and contrast. */
.apg-footer-pro{background:linear-gradient(145deg,#101c2b 0%,#1c3047 100%)!important;margin-top:0!important;}
.apg-footer-pro .apg-footer-logo{color:#fff!important;}
.apg-footer-tagline,.apg-footer-pro .apg-footer-column a,.apg-footer-contact p{color:#d2d9e1!important;}
.apg-footer-pro .apg-footer-column h3{color:#d9c49d!important;}
.apg-footer-phone{color:#e3d2b0!important;}
.apg-footer-contact-button{border-color:#9f895e!important;color:#f2e5ca!important;}
.apg-footer-pro .apg-footer-bottom{border-color:rgba(255,255,255,.13)!important;color:#b5c0cc!important;}
:focus-visible{outline:2px solid var(--apg-accent)!important;outline-offset:3px!important;}

@media(max-width:1024px){
  .apg-editorial-hero-inner{grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);gap:28px;}
  .apg-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .apg-category-card{flex-basis:calc(25% - 13px)!important;}
}
@media(max-width:767px){
  .apg-container{width:min(var(--apg-container),calc(100% - 24px));}
  .apg-brand-row{min-height:62px!important;}
  .apg-logo{font-size:31px!important;}
  .apg-editorial-hero{padding:28px 0 24px;}
  .apg-editorial-hero:before{width:100%;background:linear-gradient(180deg,#f7f5f0 0%,#f7f5f0 42%,rgba(247,245,240,.2) 100%);}
  .apg-editorial-hero-inner{grid-template-columns:1fr;gap:20px;}
  .apg-editorial-copy h1{font-size:clamp(36px,10vw,50px)!important;}
  .apg-editorial-copy>p{font-size:13px;line-height:1.75;margin-bottom:18px;}
  .apg-editorial-kicker{margin-bottom:10px;}
  .apg-editorial-actions{gap:14px;}
  .apg-editorial-actions .apg-primary-btn{min-height:45px;padding:0 16px;font-size:12px;}
  .apg-editorial-assurance{margin-top:18px;font-size:9px;gap:8px;}
  .apg-editorial-visual{width:100%;max-width:none;}
  .apg-editorial-visual-frame{min-height:250px;max-height:360px;}
  .apg-editorial-visual-frame img{max-height:360px;}
  .apg-editorial-visual-caption{padding-top:8px;}
  .apg-editorial-visual-caption strong{max-width:55%;}
  .apg-assurance-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:10px 0;}
  .apg-assurance-grid>div{justify-content:flex-start;gap:6px;padding:4px 5px;border-right:0;}
  .apg-assurance-symbol{width:24px;height:24px;flex:0 0 24px;font-size:12px;}
  .apg-assurance-grid strong{font-size:9px;line-height:1.3;}
  .apg-assurance-grid small{font-size:8px;line-height:1.35;}
  .apg-home-section{padding:39px 0!important;}
  .apg-editorial-section-heading{margin-bottom:17px!important;}
  .apg-editorial-section-heading h2{font-size:25px!important;}
  .apg-editorial-section-heading p{font-size:12px;}
  .apg-category-grid{gap:12px!important;}
  .apg-category-card{flex-basis:calc(40% - 8px)!important;}
  .apg-category-name{font-size:15px!important;padding:8px 1px!important;}
  .apg-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;}
  .apg-product-card-body{padding:9px 9px 11px!important;}
  .apg-product-card h3{font-size:12px!important;margin-bottom:5px!important;}
  .apg-product-price{font-size:13px!important;}
  .apg-see-more-wrap{margin-top:20px;}
  .apg-category-archive-main{padding:15px 0 35px!important;}
  .apg-category-hero{margin:0 0 20px!important;padding:20px 16px!important;}
  .apg-category-hero h1{font-size:30px!important;}
  .apg-subcategory-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .apg-subcategory-picker-card{padding:8px!important;gap:7px!important;font-size:12px!important;}
  .apg-subcategory-picker-card small{font-size:9px;}
  .apg-category-products-heading{align-items:flex-start;flex-direction:column;gap:6px;margin:20px 0 12px;}
  .apg-category-products-heading h2{font-size:23px!important;}
  .apg-category-ordering{justify-content:flex-start;}
  .apg-category-pagination{margin-top:22px;}
  .apg-order-confirmation{margin:15px 0 20px;padding:23px 15px;}
  .apg-order-confirmation h2{font-size:24px!important;}
  .apg-order-confirmation-message{font-size:12px;}
  .apg-order-confirmation-actions{flex-direction:column;}
  .apg-order-confirmation-actions a{width:100%;}
  body.woocommerce-order-received .woocommerce-order-details,body.woocommerce-order-received .woocommerce-customer-details{padding:13px;}
  body.woocommerce-order-received .woocommerce{padding:10px 0 30px;}
}
@media(max-width:380px){
  .apg-assurance-grid>div{gap:4px;padding:3px 2px;}
  .apg-assurance-grid strong{font-size:8px;}
  .apg-assurance-grid small{font-size:7px;}
  .apg-category-card{flex-basis:calc(48% - 6px)!important;}
}
@media(prefers-reduced-motion:reduce){
  .apg-editorial-visual-frame img,.apg-category-card:hover .apg-category-image img,.apg-product-card{transition:none!important;}
  html{scroll-behavior:auto;}
}


/* Cart, checkout and account surfaces share the same navy/champagne system. */
body.woocommerce-cart .woocommerce,.woocommerce-account .woocommerce{color:var(--apg-text);}
body.woocommerce-cart .shop_table,body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-checkout #customer_details,body.woocommerce-checkout #order_review,
.woocommerce-account .woocommerce form.login,.woocommerce-account .woocommerce form.register,
.woocommerce-account .woocommerce form.lost_reset_password{border-color:var(--apg-border)!important;border-radius:5px!important;box-shadow:0 8px 24px rgba(24,40,59,.045)!important;}
body.woocommerce-cart .cart_totals h2,body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading,.woocommerce-account .woocommerce h2{color:var(--apg-primary)!important;font-family:Georgia,"Times New Roman",serif!important;font-weight:500!important;}
body.woocommerce-checkout .woocommerce form .input-text,
body.woocommerce-checkout .woocommerce form select,
body.woocommerce-checkout .woocommerce form textarea,
body.woocommerce-account .woocommerce form .input-text{border:1px solid var(--apg-border)!important;border-radius:4px!important;background:#fff!important;color:var(--apg-text)!important;}
body.woocommerce-checkout .woocommerce form .input-text:focus,
body.woocommerce-checkout .woocommerce form select:focus,
body.woocommerce-checkout .woocommerce form textarea:focus,
body.woocommerce-account .woocommerce form .input-text:focus{border-color:var(--apg-accent)!important;box-shadow:0 0 0 3px rgba(183,154,104,.15)!important;}
body.woocommerce-checkout #payment{background:#f8f7f3!important;border:1px solid var(--apg-border)!important;border-radius:4px!important;}
body.woocommerce-checkout #payment ul.payment_methods{border-color:var(--apg-border)!important;}
body.woocommerce-checkout #payment .payment_box{background:#eee9df!important;color:#46505c!important;border-radius:4px!important;}
body.woocommerce-checkout #payment .payment_box:before{border-bottom-color:#eee9df!important;}
body.woocommerce-checkout #place_order,body.woocommerce-checkout button#place_order{background:var(--apg-primary)!important;border:1px solid var(--apg-primary)!important;border-radius:5px!important;color:#fff!important;box-shadow:none!important;}
body.woocommerce-checkout #place_order:hover{background:var(--apg-primary-deep)!important;}
body.woocommerce-checkout .woocommerce-error,body.woocommerce-checkout .woocommerce-info,body.woocommerce-checkout .woocommerce-message,
.woocommerce-cart .woocommerce-error,.woocommerce-cart .woocommerce-info,.woocommerce-cart .woocommerce-message{border-top-color:var(--apg-accent)!important;border-radius:4px!important;background:#fbfaf7!important;color:var(--apg-text)!important;}
.woocommerce-account .woocommerce form .button,.woocommerce-account .woocommerce .woocommerce-form-login__submit,
.woocommerce-account .woocommerce .woocommerce-form-register__submit{background:var(--apg-primary)!important;color:#fff!important;border-radius:4px!important;}
.woocommerce-account .woocommerce .woocommerce-LostPassword a,.apg-register-toggle,.apg-back-login{color:var(--apg-accent-dark)!important;}
.woocommerce-cart table.shop_table th,.woocommerce-cart table.shop_table td{border-color:var(--apg-border)!important;}
.woocommerce-cart .coupon .input-text{min-height:42px;border-color:var(--apg-border)!important;border-radius:4px!important;}
/* The custom order-confirmation panel replaces WooCommerce's duplicate default success sentence. */
body.woocommerce-order-received .woocommerce-thankyou-order-received{display:none!important;}


/* =========================================================
   APNAGHOR PREMIUM CHILD v18.1.0 — CUSTOMER REQUESTED REFINEMENTS
   ========================================================= */
:root{
  --apg-primary:#18283B;
  --apg-primary-deep:#101C2B;
  --apg-accent:#B79A68;
  --apg-accent-dark:#85683F;
  --apg-nav:#111E2D;
  --apg-nav-border:#34465B;
  --apg-text:#344256;
  --apg-muted:#758092;
  --apg-border:#E4DED3;
  --apg-soft:#F6F4EF;
}
.apg-topbar{background:linear-gradient(90deg,#111E2D 0%,#263A50 50%,#111E2D 100%)!important;color:#fff!important;}
.apg-nav-row{background:#111E2D!important;border-color:#34465B!important;}
.apg-main-menu a,.apg-menu-toggle,.apg-header-icon{color:#fff!important;}
.apg-main-menu a:hover,.apg-header-icon:hover{color:#E2D0AE!important;}
.apg-footer-pro{background:linear-gradient(145deg,#101C2B 0%,#1B2D43 100%)!important;}
.apg-footer-pro .apg-footer-column h3{color:#D8C29A!important;}
.apg-primary-btn,.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--apg-primary)!important;border-color:var(--apg-primary)!important;color:#fff!important;}
.apg-primary-btn:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:#263A50!important;border-color:#263A50!important;color:#fff!important;}
.apg-outline-btn{border-color:var(--apg-accent)!important;color:var(--apg-primary)!important;}

/* Mobile-safe header search: panel is anchored to the full navigation row, never clipped off-screen. */
.apg-search-panel[hidden],.apg-search-results[hidden]{display:none!important;}
.apg-search-panel{overflow:visible!important;border:1px solid #D8D0C3!important;border-radius:12px!important;background:#fff!important;padding:10px!important;box-shadow:0 18px 45px rgba(16,28,43,.18)!important;}
.apg-search-panel form{display:flex!important;gap:8px!important;align-items:center!important;}
.apg-search-panel input[type=search]{min-width:0!important;width:100%!important;height:48px!important;padding:0 48px 0 16px!important;border:1px solid #D8D0C3!important;border-radius:8px!important;background:#fff!important;color:#18283B!important;font-size:16px!important;}
.apg-search-panel form>button{width:38px!important;height:38px!important;right:5px!important;background:#18283B!important;color:#fff!important;border-radius:7px!important;}
.apg-search-results{display:block;max-height:min(56vh,440px);overflow-y:auto;margin-top:9px;border-top:1px solid #EEE9E0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
.apg-search-result{display:flex;align-items:center;gap:11px;min-width:0;padding:10px 4px;border-bottom:1px solid #F0ECE5;color:#18283B!important;text-decoration:none!important;}
.apg-search-result:last-child{border-bottom:0;}
.apg-search-result:focus-visible,.apg-search-result:hover{background:#F8F6F1;outline:none;}
.apg-search-result-image{flex:0 0 48px;width:48px;height:58px;overflow:hidden;border-radius:6px;background:#F3F0E9;}
.apg-search-result-image img{display:block;width:100%;height:100%;object-fit:cover!important;}
.apg-search-result-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;}
.apg-search-result-info strong{overflow:hidden;color:#18283B;font-size:13px;font-weight:650;line-height:1.4;text-overflow:ellipsis;}
.apg-search-result-info>span{color:#80633D;font-size:12px;font-weight:700;}
.apg-search-result-arrow{color:#A88A5B;font-size:18px;}
.apg-search-status{padding:14px 7px;color:#667184;font-size:13px;line-height:1.5;}
@media(max-width:1024px){
  .apg-header-actions{position:static!important;min-width:0!important;}
  .apg-header-search{position:static!important;}
  .apg-search-panel{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 8px)!important;width:auto!important;max-width:none!important;margin:0!important;z-index:1200!important;}
  .apg-nav-row{position:relative!important;}
}
@media(max-width:600px){
  .apg-nav-row{grid-template-columns:auto 1fr auto!important;gap:7px!important;}
  .apg-header-actions{gap:4px!important;}
  .apg-header-search,.apg-header-icon{flex:0 0 36px!important;}
  .apg-search-panel{left:0!important;right:0!important;padding:9px!important;}
  .apg-search-result{gap:9px;padding:9px 3px;}
}

/* Replace the old landing-message hero with a clean sales-ranked Best Sellers shelf. */
.apg-best-sellers-hero{padding:clamp(30px,4.2vw,54px) 0 34px!important;background:linear-gradient(180deg,#F8F7F3 0%,#fff 100%)!important;}
.apg-best-sellers-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 23px;}
.apg-best-sellers-kicker{display:block;margin:0 0 8px;color:#85683F;font-size:10px;font-weight:800;letter-spacing:2.3px;}
.apg-best-sellers-heading h1{margin:0!important;color:#18283B!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(28px,3.4vw,42px)!important;font-weight:500!important;letter-spacing:-.7px!important;line-height:1.15!important;}
.apg-best-sellers-heading p{margin:8px 0 0;color:#687386;font-size:13px;line-height:1.65;}
.apg-best-sellers-view-all{display:inline-flex;align-items:center;gap:12px;flex:0 0 auto;padding:10px 0;border-bottom:1px solid #B79A68;color:#18283B!important;font-size:12px;font-weight:700;text-decoration:none!important;}
.apg-best-sellers-empty{padding:26px;border:1px solid var(--apg-border);background:#fff;color:#687386;text-align:center;}
.apg-best-sellers-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;}
.apg-best-sellers-grid .apg-product-card{border-color:#E7E1D6!important;box-shadow:0 6px 20px rgba(24,40,59,.035)!important;}
@media(max-width:767px){
  .apg-best-sellers-hero{padding:23px 0 20px!important;}
  .apg-best-sellers-heading{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:15px;}
  .apg-best-sellers-heading h1{font-size:29px!important;}
  .apg-best-sellers-heading p{font-size:12px;margin-top:5px;}
  .apg-best-sellers-view-all{padding:5px 0;font-size:11px;}
  .apg-best-sellers-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;}
}

/* Product images fill their display frame without stretching. Cover crops excess edges instead of adding blank bands. */
.apg-product-image,.apg-category-image,.apg-subcategory-picker-image,.apg-deal-card-image{overflow:hidden!important;background:#F1EEE7!important;}
.apg-product-image img,.apg-category-image img,.apg-subcategory-picker-image img,.apg-deal-card-image img{
  display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  object-fit:cover!important;object-position:center center!important;padding:0!important;box-sizing:border-box!important;
}
.apg-product-image-frame{background:transparent!important;}
/* Main gallery keeps the original photo ratio; it is not stretched into an arbitrary fixed height. */
.apg-premium-product .woocommerce-product-gallery__image{height:auto!important;overflow:hidden!important;background:#F6F4EF!important;}
.apg-premium-product .woocommerce-product-gallery__image img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:initial!important;object-position:center!important;}

/* Quantity stepper restored on product pages (it had been hidden in the prior theme revision). */
.apg-premium-product form.cart .quantity{display:inline-flex!important;align-items:stretch!important;overflow:hidden!important;border:1px solid #D6C7AD!important;border-radius:8px!important;background:#fff!important;height:48px!important;}
.apg-premium-product form.cart .quantity .apg-qty-minus,.apg-premium-product form.cart .quantity .apg-qty-plus{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 42px!important;width:42px!important;height:48px!important;padding:0!important;border:0!important;background:#F6F4EF!important;color:#18283B!important;font-size:22px!important;font-weight:600!important;line-height:1!important;cursor:pointer!important;}
.apg-premium-product form.cart .quantity .apg-qty-minus{border-right:1px solid #E4DED3!important;}
.apg-premium-product form.cart .quantity .apg-qty-plus{border-left:1px solid #E4DED3!important;}
.apg-premium-product form.cart .quantity input.qty{width:52px!important;min-width:52px!important;height:48px!important;min-height:48px!important;padding:0 3px!important;border:0!important;border-radius:0!important;background:#fff!important;color:#18283B!important;text-align:center!important;font-weight:700!important;}
.apg-premium-product form.cart .quantity .apg-qty-minus:hover,.apg-premium-product form.cart .quantity .apg-qty-plus:hover{background:#EDE7DB!important;}
@media(max-width:600px){
  .apg-premium-product form.cart .quantity{height:48px!important;}
  .apg-premium-product form.cart .quantity .apg-qty-minus,.apg-premium-product form.cart .quantity .apg-qty-plus{height:48px!important;flex-basis:42px!important;width:42px!important;}
  .apg-premium-product form.cart .quantity input.qty{height:48px!important;min-height:48px!important;}
}

/* Product sizes under titles on Shop and category result cards. */
.apg-product-sizes{margin:4px 0 7px;color:#697587;font-size:11px;line-height:1.45;}
.apg-product-sizes span{color:#85683F;font-weight:750;letter-spacing:.02em;}

/* Remove the WooCommerce price-filter UI from Shop and product archives, including the standard block. */
body.woocommerce-shop .widget_price_filter,body.post-type-archive-product .widget_price_filter,
body.tax-product_cat .widget_price_filter,body.woocommerce-shop .wp-block-woocommerce-price-filter,
body.post-type-archive-product .wp-block-woocommerce-price-filter,body.tax-product_cat .wp-block-woocommerce-price-filter,
body.woocommerce-shop .wc-block-price-filter,body.post-type-archive-product .wc-block-price-filter,body.tax-product_cat .wc-block-price-filter{display:none!important;}

/* A neat single-row added-to-cart confirmation: icon, product text, then View cart. */
.woocommerce-notices-wrapper .woocommerce-message,.woocommerce .woocommerce-message{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;
  position:relative!important;padding:13px 15px!important;border:1px solid #E4DED3!important;border-top:2px solid #B79A68!important;
  border-radius:9px!important;background:#FBFAF7!important;color:#344256!important;line-height:1.5!important;
}
.woocommerce-notices-wrapper .woocommerce-message:before,.woocommerce .woocommerce-message:before{display:none!important;content:none!important;}
.apg-added-cart-icon{display:inline-grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:50%;background:#EAF1EC;color:#315F43;font-size:15px;font-weight:800;line-height:1;}
.apg-added-cart-copy{flex:1 1 190px;min-width:0;color:#344256;font-size:13px;}
.apg-added-cart-copy a{color:#18283B!important;font-weight:750;text-decoration:underline;text-underline-offset:2px;}
.apg-added-cart-action,.woocommerce .woocommerce-message a.button.wc-forward{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;margin:0 0 0 auto!important;padding:8px 13px!important;border:1px solid #18283B!important;border-radius:6px!important;background:#18283B!important;color:#fff!important;font-size:11px!important;font-weight:700!important;line-height:1.3!important;}
@media(max-width:600px){
  .woocommerce-notices-wrapper .woocommerce-message,.woocommerce .woocommerce-message{gap:8px!important;padding:11px!important;}
  .apg-added-cart-copy{flex-basis:calc(100% - 38px);font-size:12px;}
  .apg-added-cart-action,.woocommerce .woocommerce-message a.button.wc-forward{margin-left:35px!important;}
}

/* Footer has Customer Reviews and Customer Rewards pages; courier tracking remains with its dedicated plugin. */
.apg-footer-pro .apg-footer-links a{display:block;padding:4px 0;}
.apg-footer-pro .apg-footer-links a:hover{color:#E5D4B4!important;}

/* v18.2.0 homepage merchandising: Three Piece first, then other Women collections, followed by live See More arrivals. */
.apg-home-collection-heading{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:18px!important;}
.apg-home-collection-heading>div{min-width:0;}
.apg-collection-see-all{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;padding:7px 0;border-bottom:1px solid #B79A68;color:#18283B!important;font-size:12px;font-weight:750;text-decoration:none!important;white-space:nowrap;}
.apg-collection-see-all:hover{color:#85683F!important;border-color:#85683F;}
.apg-home-collection-section{background:#fff!important;}
.apg-home-three-piece-section{background:#F8F7F3!important;}
.apg-home-women-section{background:#fff!important;}
.apg-home-collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
.apg-home-see-more-wrap{margin-top:25px!important;}
.apg-home-see-more-wrap .apg-see-more-btn{min-width:178px;min-height:48px;border:1px solid #18283B;border-radius:4px;background:#18283B;color:#fff;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;}
.apg-home-see-more-wrap .apg-see-more-btn:hover{background:#85683F;border-color:#85683F;color:#fff;}
.apg-home-see-more-wrap .apg-see-more-btn:disabled{opacity:.65;cursor:wait;}
@media(max-width:767px){
 .apg-home-collection-heading{align-items:flex-start!important;flex-direction:column!important;gap:8px!important;}
 .apg-collection-see-all{font-size:11px;padding:4px 0;}
 .apg-home-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 .apg-home-see-more-wrap{margin-top:19px!important;}
 .apg-home-see-more-wrap .apg-see-more-btn{min-width:164px;min-height:45px;font-size:11px;}
}
