/*
Theme Name: ALJOSA Website Final 1.6.10.115
Theme URI: https://aljosaofficial.com/
Author: ALJOSA
Description: Mobile-first WooCommerce theme for ALJOSA.
Version: 1.6.10.115
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aljosa-website-final-1-6-10-62
*/
:root{--navy:#17263b;--cream:#f7f4ee;--text:#1d1d1d;--muted:#707070;--line:#e7e4de;--sale:#b33a32}
*{box-sizing:border-box}html{overflow-x:hidden}body{margin:0;color:var(--text);font-family:Arial,sans-serif;background:#fff;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}
.aljosa-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}.aljosa-bar{height:64px;display:grid;grid-template-columns:48px 1fr 96px;align-items:center;max-width:1200px;margin:auto;padding:0 14px}.aljosa-menu{font-size:25px;background:none;border:0;padding:8px;cursor:pointer}.aljosa-logo{text-align:center;font-family:Georgia,serif;font-size:24px;letter-spacing:4px;font-weight:700}.aljosa-actions{display:flex;justify-content:flex-end;gap:10px}.aljosa-actions a{font-size:20px;position:relative}.aljosa-nav{display:none}
.aljosa-drawer{position:fixed;inset:0;z-index:100;visibility:hidden}.aljosa-drawer.is-open{visibility:visible}.aljosa-overlay{position:absolute;inset:0;background:rgba(0,0,0,.4)}.aljosa-panel{position:absolute;left:0;top:0;bottom:0;width:min(88%,360px);background:#fff;overflow:auto;padding:22px}.aljosa-close{border:0;background:none;font-size:28px;float:right}.aljosa-panel h3{clear:both;margin:35px 0 12px}.aljosa-panel ul{list-style:none;padding:0;margin:0}.aljosa-panel li{border-bottom:1px solid var(--line)}.aljosa-panel a{display:block;padding:12px 4px}
.site-main{max-width:1200px;margin:auto;padding:0 14px}.hero{margin:14px 0;background:var(--cream);min-height:320px;display:flex;align-items:center;justify-content:center;text-align:center;padding:30px}.hero h1{font-family:Georgia,serif;font-size:clamp(30px,7vw,62px);margin:0}.hero p{margin:10px 0;color:var(--muted)}
.section{padding:28px 0}.section-title{font-family:Georgia,serif;font-size:24px;margin:0 0 16px}.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.category-card{background:var(--cream);padding:28px 14px;text-align:center;font-weight:700}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px;padding:0!important;margin:0!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;position:relative}.woocommerce ul.products li.product a img{width:100%;aspect-ratio:4/5;object-fit:contain;background:#f7f7f7;margin:0 0 9px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;line-height:1.35;padding:0;margin:0 0 5px}.price{font-size:14px}.price del{color:#999;margin-right:5px}.price ins{text-decoration:none;font-weight:700}.onsale{position:absolute!important;top:8px!important;left:8px!important;right:auto!important;margin:0!important;min-height:0!important;min-width:0!important;width:auto!important;height:auto!important;padding:4px 8px!important;border-radius:3px!important;background:var(--sale)!important;color:#fff!important;font-size:10px!important;line-height:1!important;font-weight:700!important;z-index:2}
.woocommerce div.product{padding-top:10px}.woocommerce div.product div.images img{width:100%;height:auto;object-fit:contain}.woocommerce div.product .summary{width:100%;float:none}.woocommerce div.product .product_title{font-size:24px;line-height:1.25}.woocommerce div.product p.price{font-size:20px}.woocommerce div.product form.cart{margin-top:18px}.woocommerce div.product form.cart .variations{width:100%}.woocommerce div.product form.cart .variations select{width:100%;min-height:46px;padding:8px}.single_add_to_cart_button,.checkout-button,.button{min-height:48px!important;padding:12px 18px!important;border-radius:3px!important;font-weight:700!important}.single_add_to_cart_button{background:var(--navy)!important;color:#fff!important}.woocommerce-tabs{clear:both;margin-top:30px}.woocommerce div.product .woocommerce-tabs .panel{font-size:15px;overflow-wrap:anywhere}.woocommerce div.product .woocommerce-tabs .panel img{max-width:100%;height:auto}
.aljosa-footer{background:var(--navy);color:#fff;margin-top:45px;padding:38px 18px}.footer-inner{max-width:1200px;margin:auto}.footer-brand{max-width:620px}.footer-brand h2{font-family:Georgia,serif;font-size:22px;letter-spacing:1px;margin:0 0 4px}.footer-brand .tagline{font-style:italic;opacity:.85}.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:30px}.footer-col h3{font-size:13px;letter-spacing:1px;margin:0 0 10px}.footer-col a{display:block;padding:4px 0;opacity:.9}.footer-bottom{border-top:1px solid rgba(255,255,255,.2);margin-top:30px;padding-top:18px;font-size:12px;opacity:.8}
@media(min-width:768px){.aljosa-bar{grid-template-columns:180px 1fr 120px}.aljosa-logo{text-align:left}.aljosa-menu{display:none}.aljosa-nav{display:flex;justify-content:center;gap:24px;height:46px;align-items:center;font-size:13px}.site-main{padding:0 24px}.woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 18px}.woocommerce div.product div.images{width:100%;float:none!important;margin-right:0!important}.woocommerce div.product .summary{width:100%;float:none!important;clear:both!important;margin-right:0!important;margin-top:18px}.footer-grid{grid-template-columns:repeat(3,1fr)}}

/* ALJOSA category hero */
.category-hero{position:relative;margin:14px 0 28px;overflow:hidden;background:#111;min-height:420px}
.category-hero-image{position:absolute;inset:0}.category-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center 28%;display:block}
.category-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.58),rgba(0,0,0,.08) 70%,rgba(0,0,0,.15))}
.category-hero-copy{position:relative;z-index:2;color:#fff;padding:42px 24px;min-height:420px;display:flex;flex-direction:column;justify-content:flex-end;max-width:600px}
.category-hero-copy .eyebrow{font-size:12px;letter-spacing:3px;margin:0 0 6px}.category-hero-copy h1{font-family:Georgia,serif;font-size:clamp(34px,8vw,60px);line-height:1;margin:0 0 8px}.category-hero-copy p:last-child{font-size:15px;margin:0}
.category-heading{padding-bottom:10px}.category-description{font-size:15px;overflow-wrap:anywhere}
@media(max-width:767px){.category-hero{min-height:470px;margin-left:0;margin-right:0}.category-hero-image img{object-position:center top}.category-hero-copy{min-height:470px;padding:26px 18px}.category-hero-copy h1{font-size:36px}.category-hero-copy p:last-child{font-size:14px}}

.category-hero-kids .category-hero-image img{object-position:center 35%}
@media(max-width:767px){.category-hero-kids .category-hero-image img{object-position:center 30%}}

/* V1.3 polish */
body{font-size:15px}
.aljosa-header{box-shadow:0 1px 8px rgba(0,0,0,.04)}
.aljosa-actions button{border:0;background:none;color:var(--navy);font-size:24px;padding:0;cursor:pointer}
.aljosa-actions{align-items:center}
.cart-link{position:relative}.cart-count{position:absolute;top:-9px;right:-10px;min-width:17px;height:17px;border-radius:50%;background:var(--sale);color:#fff;font-size:10px;display:flex;align-items:center;justify-content:center;padding:0 4px}
.aljosa-searchbar{border-top:1px solid var(--line);padding:10px 14px;background:#fff}.aljosa-searchbar form{display:flex;max-width:900px;margin:auto;gap:7px}.aljosa-searchbar input{flex:1;min-height:44px;border:1px solid #d8d5cf;padding:9px 12px;font-size:15px;border-radius:3px}.aljosa-searchbar button{border:0;background:var(--navy);color:#fff;padding:0 17px;border-radius:3px;font-weight:700}
.drawer-parent a{font-weight:700;text-transform:uppercase;color:var(--navy)}.drawer-child a{padding-left:22px!important;font-size:14px;color:#555}.aljosa-panel li.drawer-child{border-bottom:0}
.home-hero{position:relative;margin:14px 0 30px;overflow:hidden;background:#fff;border:1px solid var(--line)}.home-hero-picture{display:block;width:100%;background:#f7f7f7}.home-hero-picture img{display:block;width:100%;height:auto;max-height:720px;object-fit:contain;object-position:center center}.home-hero-copy{position:relative;z-index:2;color:var(--text);background:#fff;display:flex;flex-direction:column;align-items:flex-start;padding:22px 22px 24px}.home-hero-copy p{color:var(--muted);letter-spacing:3px;font-size:12px;font-weight:700;margin:0 0 7px}.home-hero-copy h1{font-family:Georgia,serif;font-size:clamp(30px,7vw,54px);line-height:1.05;margin:0 0 18px;max-width:760px}.hero-button{display:inline-block;background:var(--aljosa-black,#111);color:#fff;font-size:12px;font-weight:700;padding:13px 18px;width:max-content}
.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:15px}.section-head>a{font-size:13px;text-decoration:underline}.category-grid-images{grid-template-columns:1fr 1fr}.image-card{padding:0;position:relative;overflow:hidden;min-height:250px}.image-card img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.image-card:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 40%,rgba(0,0,0,.62))}.image-card span{position:absolute;z-index:2;bottom:16px;left:14px;color:#fff;font-size:15px;font-weight:700;letter-spacing:.5px}
.trust-strip{margin:30px 0;padding:18px;background:var(--cream);display:flex;flex-direction:column;gap:4px;text-align:center;font-size:12px;letter-spacing:.5px}.trust-strip span{color:var(--muted)}
.page-content{max-width:820px;margin:auto}.page-copy{font-size:15px;overflow-wrap:anywhere}.page-copy img{max-width:100%;height:auto}.page-copy h2{font-family:Georgia,serif;margin-top:28px}.page-copy h3{margin-top:24px}.page-copy ol{padding-left:22px}.page-copy a{text-decoration:underline}
.search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.search-item img{width:100%;aspect-ratio:4/5;object-fit:contain;background:#f7f7f7}.search-item h2{font-size:14px;line-height:1.35;margin:7px 0 4px}
.footer-info{display:grid;grid-template-columns:auto 1fr;gap:2px 14px;margin:20px 0}.footer-info span{opacity:.9}.footer-contact{margin-top:18px}.footer-contact a,.footer-contact strong{color:#fff}.footer-hashtag{margin-top:20px}.aljosa-wa{position:fixed;right:14px;bottom:74px;z-index:45;background:#1f9d55;color:#fff;padding:11px 14px;border-radius:999px;font-size:12px;font-weight:700;box-shadow:0 5px 18px rgba(0,0,0,.18)}
.woocommerce .woocommerce-breadcrumb{font-size:12px;color:#777}.woocommerce .woocommerce-ordering select,.woocommerce .woocommerce-result-count{font-size:13px}
.woocommerce div.product div.images img{object-fit:contain;background:#f8f8f8}.woocommerce div.product .woocommerce-product-details__short-description{font-size:15px;overflow-wrap:anywhere}.woocommerce div.product .woocommerce-tabs .panel{overflow-wrap:anywhere;word-break:normal}.woocommerce div.product .woocommerce-tabs .panel table{max-width:100%;display:block;overflow-x:auto}.woocommerce div.product .woocommerce-tabs .panel iframe{max-width:100%}
.woocommerce-message,.woocommerce-info,.woocommerce-error{font-size:13px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{min-height:46px;padding:9px 11px;border:1px solid #d8d5cf}.woocommerce form .form-row label{font-size:13px;font-weight:600}.woocommerce-checkout #payment{background:#f7f4ee}.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid #ddd}
@media(min-width:769px){.home-hero,.home-hero-copy{min-height:620px}.home-hero-copy{padding:48px}.search-results{grid-template-columns:repeat(4,minmax(0,1fr))}.trust-strip{flex-direction:row;justify-content:center;gap:24px}.aljosa-wa{bottom:28px;right:28px}}

/* ALJOSA V16.10.4 — Hero responsive image fix
   Mobile keeps the original portrait artwork. Tablet and desktop use
   purpose-cropped landscape sources so the hero no longer loses the
   important subject area when object-fit:cover is applied. */
@media (min-width:481px) and (max-width:768px){
  .home-hero-copy{padding:26px 24px 28px}
  .home-hero-picture img{max-height:620px}
}
@media (min-width:769px){
  .home-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);align-items:stretch}
  .home-hero-picture{display:flex;align-items:center;justify-content:center}
  .home-hero-picture img{max-height:700px;object-fit:contain}
  .home-hero-copy{justify-content:center;padding:48px}
  .home-hero-copy h1{font-size:clamp(38px,4vw,62px)}
}

.category-links{padding:0 0 8px}.category-links-inner{display:flex;gap:8px;overflow-x:auto;padding:0 0 4px;scrollbar-width:none}.category-links-inner::-webkit-scrollbar{display:none}.category-links-inner a{white-space:nowrap;border:1px solid var(--line);padding:9px 12px;font-size:12px;border-radius:999px;background:#fff}.category-links-inner a:hover{background:var(--cream)}
.woocommerce ul.products li.product .button{display:block;text-align:center;width:100%;font-size:12px;margin-top:8px}
.woocommerce ul.products li.product .star-rating{font-size:11px;margin:4px 0}
.woocommerce ul.products li.product .price{min-height:21px}
.woocommerce-cart .cart-collaterals .cart_totals{width:100%}
@media(max-width:767px){.woocommerce-cart table.shop_table{font-size:12px}.woocommerce-cart .coupon{display:flex;gap:6px}.woocommerce-cart .coupon input{width:60%!important}.woocommerce-cart .coupon button{width:40%}.woocommerce-checkout .col2-set,.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{width:100%!important;float:none!important}.woocommerce-checkout #order_review_heading{margin-top:25px}}

/* Supplied ALJOSA logo */
.aljosa-logo{display:flex;align-items:center;justify-content:center;height:48px}
.aljosa-logo img{display:block;width:auto;height:46px;max-width:150px;object-fit:contain}
.footer-logo{display:block;width:auto;height:62px;max-width:150px;object-fit:contain;margin-bottom:16px;filter:none}
@media(min-width:768px){.aljosa-logo{justify-content:flex-start}.aljosa-logo img{height:48px;max-width:155px}}

/* ALJOSA announcement running text */
.aljosa-announcement{height:36px;background:#111;color:#fff;overflow:hidden;display:flex;align-items:center}
.aljosa-marquee{width:100%;overflow:hidden;white-space:nowrap}
.aljosa-marquee-track{display:inline-flex;align-items:center;gap:18px;min-width:max-content;padding-left:100%;animation:aljosa-marquee 24s linear infinite}
.aljosa-marquee-track span{font-size:11px;letter-spacing:1.1px;font-weight:600}
.aljosa-marquee-track b{font-size:10px;opacity:.8}
@keyframes aljosa-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.aljosa-marquee-track{animation:none;padding-left:0}}

.footer-social{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.footer-social a{display:inline-block;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:8px 11px;font-size:11px;color:#fff}

/* =========================================================
   ALJOSA FINAL IDENTITY + MOBILE COMFORT
   Primary: ALJOSA Black / White
   Accent: Deep Navy
   Support: Warm Cream
   Sale: Muted Burgundy
   ========================================================= */
:root{
  --aljosa-black:#111111;
  --aljosa-white:#ffffff;
  --aljosa-navy:#17263b;
  --aljosa-cream:#f7f4ee;
  --aljosa-gray:#707070;
  --aljosa-line:#e7e4de;
  --aljosa-sale:#8f2f2f;
}
body{overflow-x:hidden}
.site-main,.footer-inner{width:100%;max-width:1200px}
img{max-width:100%;height:auto}

/* Product cards: sale badge never sits on top of the product image. */
.woocommerce ul.products li.product{display:flex;flex-direction:column;min-width:0}
.woocommerce ul.products li.product .onsale{
  position:static!important;
  align-self:flex-start;
  order:0;
  margin:0 0 6px!important;
  display:inline-flex;
  align-items:center;
  min-height:24px!important;
  padding:5px 9px!important;
  border-radius:2px!important;
  background:var(--aljosa-sale)!important;
  color:#fff!important;
  font-size:10px!important;
  letter-spacing:.4px;
  line-height:1!important;
  box-shadow:none;
  z-index:auto;
}
.woocommerce ul.products li.product>a:first-of-type{order:1}
.woocommerce ul.products li.product .woocommerce-loop-product__title{order:2}
.woocommerce ul.products li.product .price{order:3}
.woocommerce ul.products li.product .button{order:4}

/* Product image is contained, never forcibly cropped. */
.woocommerce ul.products li.product a img{
  aspect-ratio:4/5!important;
  object-fit:contain!important;
  object-position:center;
  background:#f8f8f8;
  padding:8px;
}

/* Price hierarchy */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price{
  color:var(--aljosa-black);
  font-weight:700;
}
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins{
  color:var(--aljosa-navy);
  font-weight:800;
  text-decoration:none;
}
.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del,
.woocommerce div.product span.price del{
  color:#999;
  font-weight:400;
}

/* "Pilih opsi" / cart buttons */
.woocommerce ul.products li.product .button,
.single_add_to_cart_button,
.checkout-button,
.woocommerce button.button,
.woocommerce a.button{
  background:var(--aljosa-black)!important;
  color:#fff!important;
  border:1px solid var(--aljosa-black)!important;
  border-radius:2px!important;
  min-height:46px!important;
  font-weight:700!important;
  transition:background .15s ease,border-color .15s ease;
}
.woocommerce ul.products li.product .button:hover,
.single_add_to_cart_button:hover,
.checkout-button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover{
  background:var(--aljosa-navy)!important;
  border-color:var(--aljosa-navy)!important;
}

/* Variation options: clean ALJOSA black/navy controls */
.woocommerce div.product form.cart .variations{
  border-collapse:separate;
  border-spacing:0 8px;
}
.woocommerce div.product form.cart .variations label{
  color:var(--aljosa-black);
  font-weight:700;
  font-size:13px;
}
.woocommerce div.product form.cart .variations select,
.woocommerce div.product form.cart select{
  width:100%;
  min-height:46px;
  background:#fff;
  color:var(--aljosa-black);
  border:1px solid #cfcfcf;
  border-radius:2px;
  padding:9px 12px;
  font-size:14px;
}
.woocommerce div.product form.cart .variations select:focus,
.woocommerce div.product form.cart select:focus{
  outline:2px solid rgba(23,38,59,.16);
  border-color:var(--aljosa-navy);
}

/* Home trust strip: clear on mobile */
.trust-strip strong{color:var(--aljosa-black);font-size:12px}
.trust-strip span{color:var(--aljosa-gray);font-size:12px}

/* Mobile readability and touch targets */
@media(max-width:767px){
  .site-main{padding-left:14px;padding-right:14px}
  .home-hero{margin-left:0;margin-right:0}
  .home-hero-copy{padding:20px 18px 22px}
  .home-hero-copy h1{font-size:clamp(30px,8vw,42px)}
  .category-grid-images{gap:10px}
  .image-card{min-height:230px}
  .section{padding:24px 0}
  .section-title{font-size:22px}
  .woocommerce ul.products{gap:20px 10px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px}
  .woocommerce ul.products li.product .price{font-size:13px}
  .woocommerce ul.products li.product .button{font-size:12px;padding:11px 10px!important}
  .woocommerce div.product .product_title{font-size:22px}
  .woocommerce div.product p.price{font-size:19px}
  .woocommerce div.product .woocommerce-tabs .panel{font-size:14px;line-height:1.65}
  .trust-strip{padding:16px 12px}
}

/* =========================================================
   ALJOSA HOME — BEST SELLER MERCHANDISING
   1 featured product first, then 2 products below.
   ========================================================= */
.best-seller-featured .products{
  grid-template-columns:1fr!important;
  margin-bottom:22px!important;
}
.best-seller-featured .products li.product{
  max-width:100%;
}
.best-seller-featured .products li.product a img{
  aspect-ratio:4/5!important;
  max-height:none;
}
.best-seller-grid .products{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.best-seller-grid .products li.product a img{
  aspect-ratio:4/5!important;
}
@media(min-width:768px){
  .best-seller-featured .products li.product{
    max-width:560px;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* ALJOSA FINAL V8 — BEST SELLER 2x2 */
.best-seller-home .best-seller-grid .products{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:28px 16px!important;
  margin:0!important;
}
.best-seller-home .best-seller-grid .products li.product{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  min-width:0!important;
}
.best-seller-home .best-seller-grid .products li.product a img{
  width:100%!important;
  aspect-ratio:4/5!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#f8f8f8!important;
  padding:6px!important;
}
.best-seller-home .best-seller-grid .products li.product .onsale{
  position:static!important;
  margin:0 0 7px!important;
}
.best-seller-home .best-seller-grid .products li.product .woocommerce-loop-product__title{
  font-size:14px!important;
  line-height:1.35!important;
  min-height:38px;
  margin-top:9px!important;
}
.best-seller-home .best-seller-grid .products li.product .price{
  font-size:14px!important;
  margin:7px 0 10px!important;
}
.best-seller-home .best-seller-grid .products li.product .button{
  width:100%!important;
  min-height:44px!important;
  padding:10px 8px!important;
  font-size:12px!important;
}
@media(max-width:767px){
  .best-seller-home .best-seller-grid .products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:26px 10px!important;
  }
  .best-seller-home .best-seller-grid .products li.product .woocommerce-loop-product__title{
    font-size:12px!important;
    min-height:34px;
  }
  .best-seller-home .best-seller-grid .products li.product .price{
    font-size:13px!important;
  }
}

/* ALJOSA V9 — compact Why ALJOSA trust strip */
.why-aljosa{
  padding-top:28px!important;
  padding-bottom:22px!important;
}
.why-aljosa-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.why-item{
  background:var(--aljosa-cream,#f7f4ee);
  border:1px solid var(--aljosa-line,#e7e4de);
  padding:14px 12px;
  min-height:92px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.why-item strong{
  color:var(--aljosa-black,#111111);
  font-size:12px;
  line-height:1.35;
}
.why-item span{
  color:var(--aljosa-gray,#707070);
  font-size:10px;
  line-height:1.45;
  margin-top:5px;
}
@media(max-width:767px){
  .why-aljosa{
    padding-top:22px!important;
    padding-bottom:18px!important;
  }
  .why-aljosa-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .why-item{
    min-height:86px;
    padding:12px 10px;
  }
  .why-item strong{font-size:11px}
  .why-item span{font-size:9px}
}

/* Whole category cards are already anchor elements; ensure entire card is touchable. */
.category-grid-images .category-card{
  display:block;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.category-grid-images .category-card img{
  display:block;
  width:100%;
}

/* ALJOSA V10 — footer uses exact logo artwork on solid white background */
.site-footer .footer-logo,
.footer-logo{
  background:#fff!important;
  display:inline-block!important;
  padding:8px!important;
  border-radius:0!important;
  box-sizing:border-box!important;
  width:78px!important;
  height:auto!important;
  object-fit:contain!important;
}

/* ALJOSA V11 — FIX EMPTY FIRST CELL IN BEST SELLER GRID
   WooCommerce adds ::before/::after clearfix nodes to ul.products.
   With CSS Grid those nodes can occupy grid cells, creating a blank column.
*/
.best-seller-home .best-seller-grid ul.products::before,
.best-seller-home .best-seller-grid ul.products::after{
  display:none!important;
  content:none!important;
}
.best-seller-home .best-seller-grid ul.products{
  width:100%!important;
  max-width:none!important;
  float:none!important;
  justify-content:stretch!important;
  align-items:start!important;
}
.best-seller-home .best-seller-grid ul.products li.product{
  grid-column:auto!important;
}

/* ALJOSA V12 — deterministic Home Best Seller grid.
   Do not rely on WooCommerce shortcode column/clearfix behavior. */
.best-seller-home .best-seller-grid{
  width:100%!important;
  display:block!important;
  overflow:visible!important;
}
.best-seller-home .best-seller-grid ul.aljosa-home-products{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:28px 10px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.best-seller-home .best-seller-grid ul.aljosa-home-products::before,
.best-seller-home .best-seller-grid ul.aljosa-home-products::after{
  display:none!important;
  content:none!important;
}
.best-seller-home .aljosa-home-product{
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  position:relative!important;
}
.best-seller-home .aljosa-home-product .onsale{
  position:static!important;
  align-self:flex-start!important;
  order:0!important;
  margin:0 0 7px!important;
}
.best-seller-home .aljosa-home-product .aljosa-product-image{
  order:1!important;
  display:block!important;
  width:100%!important;
  margin:0!important;
}
.best-seller-home .aljosa-home-product .aljosa-product-image img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:4/5!important;
  object-fit:contain!important;
  background:#f7f7f7!important;
  margin:0!important;
  padding:5px!important;
}
.best-seller-home .aljosa-home-product .woocommerce-loop-product__link{
  order:2!important;
  display:block!important;
  text-decoration:none!important;
  margin-top:9px!important;
}
.best-seller-home .aljosa-home-product .woocommerce-loop-product__title{
  display:block!important;
  font-size:13px!important;
  line-height:1.35!important;
  min-height:36px!important;
  margin:0!important;
  padding:0!important;
  color:#111!important;
}
.best-seller-home .aljosa-home-product .price{
  order:3!important;
  display:block!important;
  min-height:21px!important;
  margin:7px 0 10px!important;
  font-size:13px!important;
  line-height:1.25!important;
}
.best-seller-home .aljosa-home-product .price del{color:#999!important}
.best-seller-home .aljosa-home-product .price ins{
  color:var(--aljosa-navy,#17263b)!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.best-seller-home .aljosa-home-product .aljosa-option-button{
  order:4!important;
  display:block!important;
  width:100%!important;
  min-height:44px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:11px 8px!important;
  background:#111!important;
  color:#fff!important;
  text-align:center!important;
  font-size:12px!important;
  line-height:22px!important;
  text-decoration:none!important;
}
.why-item strong,.why-item span{
  display:block!important;
}
.why-item span{
  margin-top:6px!important;
}
@media(max-width:767px){
  .best-seller-home .best-seller-grid ul.aljosa-home-products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:26px 10px!important;
  }
  .best-seller-home .aljosa-home-product .woocommerce-loop-product__title{font-size:12px!important}
  .best-seller-home .aljosa-home-product .price{font-size:13px!important}
}

/* V13 hard isolation: Home Best Seller uses unique classes, no WooCommerce grid/list selectors. */
.aljosa-best-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:26px 10px!important;}
.aljosa-best-grid .aljosa-best-card{width:100%!important;min-width:0!important;float:none!important;}
.aljosa-best-grid .aljosa-best-image img{display:block!important;width:100%!important;aspect-ratio:4/5!important;height:auto!important;object-fit:contain!important;background:#f7f7f7!important;}
.aljosa-best-grid .aljosa-best-button{display:flex!important;align-items:center!important;justify-content:center!important;}
.why-aljosa-grid .why-item strong,.why-aljosa-grid .why-item span{display:block!important;}
@media(max-width:767px){.aljosa-best-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}


/* ALJOSA V15 FINAL — minimal premium product cards */
.aljosa-best-grid .aljosa-best-card{
  background:#fff!important;
  border:1px solid #e5e5e5!important;
  border-radius:7px!important;
  box-shadow:0 1px 5px rgba(0,0,0,.045)!important;
  padding:8px!important;
  box-sizing:border-box!important;
}
.aljosa-best-grid .aljosa-best-image{
  background:#f7f7f7!important;
  border:1px solid #eeeeee!important;
}
.aljosa-best-grid .aljosa-best-button{
  background:#111!important;
  color:#fff!important;
}
.why-aljosa-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
.why-aljosa-grid .why-item{
  background:#f7f4ee!important;
  border:1px solid #e7e4de!important;
  border-radius:6px!important;
  min-height:92px!important;
  box-sizing:border-box!important;
}
.why-aljosa-grid .why-item strong,
.why-aljosa-grid .why-item span{display:block!important;}


/* =========================================================
   ALJOSA V15.1 FINAL POLISH
   - One promo language only: SALE
   - Product cards are clearly boxed
   - SALE badge is compact and never covers the product image
   - Larger product image area on mobile
   - Same identity across Home / Category / Shop
   ========================================================= */
:root{
  --aljosa-black:#111111;
  --aljosa-white:#ffffff;
  --aljosa-navy:#17263b;
  --aljosa-cream:#f7f4ee;
  --aljosa-gray:#707070;
  --aljosa-line:#e7e4de;
  --aljosa-sale:#8f2f2f;
}

/* All WooCommerce product cards: clean, visible ALJOSA card. */
.woocommerce ul.products li.product{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  padding:8px!important;
  margin:0!important;
  width:auto!important;
  background:#fff!important;
  border:1px solid #e4e2de!important;
  border-radius:7px!important;
  box-shadow:0 1px 5px rgba(0,0,0,.045)!important;
}

/* Compact SALE: sits in the card header area, not over the product. */
.woocommerce ul.products li.product .onsale{
  position:absolute!important;
  top:8px!important;
  left:8px!important;
  right:auto!important;
  z-index:5!important;
  order:0!important;
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:4px 8px!important;
  border:0!important;
  border-radius:2px!important;
  background:var(--aljosa-sale)!important;
  color:#fff!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:.3px!important;
  box-shadow:none!important;
}

/* Reserve a small header area above the image so SALE never covers the photo. */
.woocommerce ul.products li.product > a:first-of-type{
  order:1!important;
  padding-top:24px!important;
}
.woocommerce ul.products li.product > a:first-of-type img{
  display:block!important;
  width:100%!important;
  aspect-ratio:4/5!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#f7f7f7!important;
  padding:5px!important;
  margin:0 0 9px!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  order:2!important;
  color:var(--aljosa-black)!important;
  font-size:13px!important;
  line-height:1.35!important;
  margin:0 0 5px!important;
  padding:0!important;
}
.woocommerce ul.products li.product .price{
  order:3!important;
  min-height:21px!important;
  margin:0!important;
  color:var(--aljosa-black)!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
.woocommerce ul.products li.product .price del{color:#999!important;font-weight:400!important}
.woocommerce ul.products li.product .price ins{color:var(--aljosa-navy)!important;font-weight:800!important;text-decoration:none!important}
.woocommerce ul.products li.product .button{
  order:4!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:44px!important;
  margin:8px 0 0!important;
  padding:10px 8px!important;
  background:var(--aljosa-black)!important;
  border:1px solid var(--aljosa-black)!important;
  border-radius:2px!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
  text-align:center!important;
}
.woocommerce ul.products li.product .button:hover{background:var(--aljosa-navy)!important;border-color:var(--aljosa-navy)!important}

/* Home Best Seller uses the same boxed product language, with slightly tighter spacing. */
.aljosa-best-grid .aljosa-best-card{
  border:1px solid #e4e2de!important;
  border-radius:7px!important;
  box-shadow:0 1px 5px rgba(0,0,0,.045)!important;
  padding:8px!important;
  background:#fff!important;
}
.aljosa-best-grid .aljosa-best-image img{padding:4px!important;background:#f7f7f7!important}
.aljosa-best-grid .aljosa-best-sale{
  background:var(--aljosa-sale)!important;
  color:#fff!important;
  border-radius:2px!important;
  font-size:10px!important;
  padding:4px 8px!important;
  margin:0 0 7px!important;
}

/* Consistent product detail page. */
.woocommerce div.product .summary{
  background:#fff!important;
  border:1px solid #e4e2de!important;
  border-radius:7px!important;
  padding:16px!important;
  box-sizing:border-box!important;
}
.woocommerce div.product .product_title{color:var(--aljosa-black)!important;font-weight:700!important}
.woocommerce div.product p.price,
.woocommerce div.product span.price{color:var(--aljosa-navy)!important;font-weight:800!important}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del{color:#999!important;font-weight:400!important}
.woocommerce div.product form.cart .variations label{color:var(--aljosa-black)!important;font-weight:700!important}
.woocommerce div.product form.cart .variations select,
.woocommerce div.product form.cart select{border-color:#cfcfcf!important;border-radius:3px!important}
.woocommerce div.product .single_add_to_cart_button{background:var(--aljosa-black)!important;border-color:var(--aljosa-black)!important}
.woocommerce div.product .single_add_to_cart_button:hover{background:var(--aljosa-navy)!important;border-color:var(--aljosa-navy)!important}

/* Mobile: preserve large, easy-to-see product photos. */
@media(max-width:767px){
  .woocommerce ul.products{gap:16px 10px!important}
  .woocommerce ul.products li.product{padding:8px!important}
  .woocommerce ul.products li.product > a:first-of-type{padding-top:24px!important}
  .woocommerce ul.products li.product > a:first-of-type img{aspect-ratio:4/5!important;padding:4px!important}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px!important;line-height:1.35!important}
  .woocommerce ul.products li.product .price{font-size:13px!important}
  .woocommerce ul.products li.product .button{font-size:12px!important;min-height:44px!important}
  .woocommerce div.product .summary{padding:14px!important}
}



/* =========================================================
   ALJOSA V16.10 — FINAL MOBILE COMMERCE SYSTEM
   Mobile is the priority. Desktop/tablet stay native.
   ========================================================= */

/* ---------- SALE: exactly one visible badge ---------- */
.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale,
.woocommerce span.onsale,
.woocommerce-page span.onsale{
  display:none!important;
}

.woocommerce ul.products li.product .aljosa-archive-sale-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:flex-start!important;
  position:static!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0 0 8px!important;
  padding:5px 8px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:3px!important;
  background:#8f2f2f!important;
  color:#fff!important;
  font-family:Arial,sans-serif!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:.2px!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  overflow:visible!important;
}

/* Product cards: badge is outside the image area. */
.woocommerce ul.products li.product{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  min-width:0!important;
  width:auto!important;
  margin:0!important;
  padding:8px!important;
  box-sizing:border-box!important;
  position:relative!important;
  background:#fff!important;
  border:1px solid #e4e2de!important;
  border-radius:7px!important;
  box-shadow:0 1px 5px rgba(0,0,0,.045)!important;
  float:none!important;
  clear:none!important;
}
.woocommerce ul.products li.product>a:first-of-type{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  order:1!important;
}
.woocommerce ul.products li.product>a:first-of-type img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  aspect-ratio:4/5!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#f7f7f7!important;
  padding:4px!important;
  margin:0 0 9px!important;
  box-sizing:border-box!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  order:2!important;
  min-width:0!important;
  margin:0 0 6px!important;
  padding:0!important;
  color:#111!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:600!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.woocommerce ul.products li.product .price{
  order:3!important;
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  min-width:0!important;
  min-height:21px!important;
  margin:0!important;
  padding:0!important;
  color:#111!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
.woocommerce ul.products li.product .price del{
  color:#999!important;
  font-size:11px!important;
  font-weight:400!important;
  white-space:nowrap!important;
}
.woocommerce ul.products li.product .price ins{
  color:#17263b!important;
  font-weight:800!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.woocommerce ul.products li.product .button{
  order:4!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:44px!important;
  margin:8px 0 0!important;
  padding:10px 8px!important;
  box-sizing:border-box!important;
  background:#111!important;
  border:1px solid #111!important;
  border-radius:3px!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:700!important;
  text-align:center!important;
}

/* ---------- CART / CHECKOUT base ---------- */
.woocommerce-cart .shop_table,
.woocommerce-checkout #order_review .shop_table{
  border:1px solid #e4e2de!important;
  border-radius:6px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden!important;
  background:#fff!important;
}
.woocommerce-cart .shop_table th,
.woocommerce-cart .shop_table td,
.woocommerce-checkout #order_review .shop_table th,
.woocommerce-checkout #order_review .shop_table td{
  border-color:#e7e4de!important;
}
.woocommerce-cart .shop_table .amount,
.woocommerce-checkout #order_review .shop_table .amount{
  white-space:nowrap!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .checkout-button,
.woocommerce form.checkout_coupon .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  background:#111!important;
  border-color:#111!important;
  color:#fff!important;
}

/* =========================================================
   MOBILE ONLY — stable card layouts, no table squeezing
   ========================================================= */
@media(max-width:767px){

  /* General page safety */
  body.woocommerce-cart,
  body.woocommerce-checkout{overflow-x:hidden!important;}
  body.woocommerce-cart .site-main,
  body.woocommerce-checkout .site-main{width:100%!important;max-width:100%!important;min-width:0!important;}

  /* ---------- PRODUCT ARCHIVE ---------- */
  .woocommerce ul.products,
  .woocommerce-page ul.products{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px 10px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0 10px!important;
    box-sizing:border-box!important;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px!important;}
  .woocommerce ul.products li.product .price{font-size:13px!important;}

  /* ---------- CART ---------- */
  body.woocommerce-cart .woocommerce-cart-form{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    table-layout:auto!important;
    border-collapse:separate!important;
    overflow:hidden!important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart thead{display:none!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody tr.cart_item{
    display:grid!important;
    grid-template-columns:24px 58px minmax(0,1fr) 74px!important;
    grid-template-areas:
      "remove thumb name subtotal"
      ". thumb qty subtotal"!important;
    column-gap:7px!important;
    row-gap:7px!important;
    align-items:start!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:12px 9px!important;
    box-sizing:border-box!important;
    border:0!important;
    border-bottom:1px solid #e7e4de!important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody tr.cart_item>td{
    display:block!important;
    float:none!important;
    position:static!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    border:0!important;
    vertical-align:top!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-remove{
    grid-area:remove!important;
    width:24px!important;
    min-width:24px!important;
    text-align:center!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:24px!important;
    height:24px!important;
    margin:0!important;
    padding:0!important;
    font-size:18px!important;
    line-height:24px!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail{
    grid-area:thumb!important;
    width:58px!important;
    min-width:58px!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail a{
    display:block!important;
    width:58px!important;
    margin:0!important;
    padding:0!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img{
    display:block!important;
    width:58px!important;
    height:72px!important;
    max-width:58px!important;
    max-height:72px!important;
    margin:0!important;
    padding:2px!important;
    box-sizing:border-box!important;
    object-fit:contain!important;
    background:#f7f7f7!important;
    border:1px solid #e7e4de!important;
    border-radius:4px!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-name{
    grid-area:name!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:600!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    hyphens:none!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-name a,
  body.woocommerce-cart .woocommerce-cart-form td.product-name *{
    max-width:100%!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    hyphens:none!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation{
    display:block!important;
    margin:4px 0 0!important;
    font-size:11px!important;
    line-height:1.35!important;
    font-weight:400!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dt,
  body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dd{
    display:inline!important;
    float:none!important;
    margin:0!important;
    padding:0!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dd{margin-right:5px!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-quantity{
    grid-area:qty!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-quantity .quantity{
    display:inline-flex!important;
    align-items:center!important;
    width:auto!important;
    max-width:100%!important;
    margin:0!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-quantity input.qty{
    width:48px!important;
    min-width:48px!important;
    height:34px!important;
    margin:0!important;
    padding:4px!important;
    box-sizing:border-box!important;
    text-align:center!important;
    font-size:13px!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-price{display:none!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal{
    grid-area:subtotal!important;
    width:74px!important;
    min-width:74px!important;
    max-width:74px!important;
    margin:0!important;
    padding:0!important;
    text-align:right!important;
    font-size:13px!important;
    line-height:1.3!important;
    font-weight:700!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal *{
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody tr:not(.cart_item){
    display:block!important;
    width:100%!important;
  }
  body.woocommerce-cart .woocommerce-cart-form .actions{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    width:100%!important;
    margin:0!important;
    padding:12px 0!important;
    box-sizing:border-box!important;
  }
  body.woocommerce-cart .woocommerce-cart-form .actions .coupon{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    gap:7px!important;
    margin:0!important;
  }
  body.woocommerce-cart .woocommerce-cart-form .actions .coupon input{
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
  }
  body.woocommerce-cart .woocommerce-cart-form .actions .coupon button{
    flex:0 0 112px!important;
    width:112px!important;
    min-width:112px!important;
  }
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-cart .cart-collaterals .cart_totals{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  /* ---------- CHECKOUT ---------- */
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{
    display:block!important;
    margin:0!important;
    padding:0!important;
    table-layout:auto!important;
    border-collapse:separate!important;
    overflow:hidden!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table thead{display:none!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tbody{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tbody tr.cart_item{
    display:grid!important;
    grid-template-columns:58px minmax(0,1fr) 78px!important;
    grid-template-areas:"thumb product total"!important;
    column-gap:9px!important;
    align-items:start!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:12px!important;
    box-sizing:border-box!important;
    border:0!important;
    border-bottom:1px solid #e7e4de!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tbody tr.cart_item>td{
    display:block!important;
    float:none!important;
    position:static!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    border:0!important;
    vertical-align:top!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-thumbnail{
    grid-area:thumb!important;
    width:58px!important;
    min-width:58px!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-thumbnail a{
    display:block!important;
    width:58px!important;
    margin:0!important;
    padding:0!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-thumbnail img{
    display:block!important;
    width:58px!important;
    height:72px!important;
    max-width:58px!important;
    max-height:72px!important;
    margin:0!important;
    padding:2px!important;
    box-sizing:border-box!important;
    object-fit:contain!important;
    background:#f7f7f7!important;
    border:1px solid #e7e4de!important;
    border-radius:4px!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name{
    grid-area:product!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:600!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    hyphens:none!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name *{
    max-width:100%!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    hyphens:none!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name .product-quantity{
    display:inline!important;
    margin-left:4px!important;
    white-space:nowrap!important;
    font-weight:700!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name dl.variation{
    display:block!important;
    margin:4px 0 0!important;
    font-size:11px!important;
    line-height:1.35!important;
    font-weight:400!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name dl.variation dt,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name dl.variation dd{
    display:inline!important;
    float:none!important;
    margin:0!important;
    padding:0!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name dl.variation dd{margin-right:5px!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-total{
    grid-area:total!important;
    width:78px!important;
    min-width:78px!important;
    max-width:78px!important;
    margin:0!important;
    padding:0!important;
    text-align:right!important;
    font-size:13px!important;
    line-height:1.3!important;
    font-weight:700!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-total::before{display:none!important;content:none!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-total *{
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot{
    display:table!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr{
    display:table-row!important;
    width:100%!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot th,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot td{
    display:table-cell!important;
    box-sizing:border-box!important;
    padding:10px 12px!important;
    border:0!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot th{
    width:62%!important;
    text-align:left!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot td{
    width:38%!important;
    text-align:right!important;
    white-space:nowrap!important;
  }

  /* Shipping blocks must remain inside the phone width. */
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-totals,
  body.woocommerce-cart .cart_totals .woocommerce-shipping-totals{
    width:100%!important;
    max-width:100%!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-methods{
    margin:0!important;
    padding:0!important;
    list-style:none!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-methods li{
    display:flex!important;
    align-items:flex-start!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 8px!important;
    padding:0!important;
    box-sizing:border-box!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-methods li input{flex:0 0 auto!important;margin-top:3px!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-methods li label{min-width:0!important;overflow-wrap:break-word!important;}

  /* Kill every table pseudo-label that could force one-letter columns. */
  body.woocommerce-cart table.shop_table.cart td::before,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td::before{
    display:none!important;
    content:none!important;
  }
}

/* ---------- DESKTOP / TABLET: keep WooCommerce table layout ---------- */
@media(min-width:768px){
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart{display:table!important;width:100%!important;table-layout:auto!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{display:table!important;width:100%!important;table-layout:auto!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-price,
  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-total{
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
}



/* =========================================================
   ALJOSA V16.10 — PRODUCT CHAT + MOBILE CHECKOUT SAFETY
   Only the requested additions/fixes; desktop layout preserved.
   ========================================================= */
.aljosa-product-chat-wrap{margin:14px 0 0;width:100%;}
.aljosa-product-chat-button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:46px!important;padding:11px 14px!important;box-sizing:border-box!important;border:1px solid var(--navy)!important;border-radius:3px!important;background:#fff!important;color:var(--navy)!important;font-size:13px!important;line-height:1.25!important;font-weight:700!important;cursor:pointer!important;text-align:center!important;}
.aljosa-product-chat-button:hover{background:var(--navy)!important;color:#fff!important;}
.aljosa-product-chat-modal[hidden]{display:none!important;}
.aljosa-product-chat-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:18px;}
.aljosa-product-chat-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.48);}
.aljosa-product-chat-dialog{position:relative;width:min(100%,430px);max-height:calc(100vh - 36px);overflow:auto;box-sizing:border-box;background:#fff;border-radius:14px;padding:22px;box-shadow:0 18px 60px rgba(0,0,0,.25);}
.aljosa-product-chat-close{position:absolute;top:9px;right:11px;width:36px;height:36px;border:0;background:transparent;color:#222;font-size:28px;line-height:36px;cursor:pointer;}
.aljosa-product-chat-title{margin:0 38px 16px 0;font-size:18px;line-height:1.3;font-weight:700;color:#1d1d1d;}
.aljosa-product-chat-product{margin:0 0 12px;font-size:12px;line-height:1.45;color:#707070;}
.aljosa-product-chat-textarea{display:block;width:100%;min-height:120px;resize:vertical;box-sizing:border-box;padding:12px;border:1px solid #d8d5cf;border-radius:9px;background:#fff;color:#1d1d1d;font:inherit;font-size:14px;line-height:1.5;outline:none;}
.aljosa-product-chat-textarea:focus{border-color:var(--navy);box-shadow:0 0 0 2px rgba(23,38,59,.08);}
.aljosa-product-chat-submit{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:46px!important;margin-top:12px!important;padding:11px 14px!important;border:1px solid #111!important;border-radius:8px!important;background:#111!important;color:#fff!important;font-size:13px!important;font-weight:700!important;cursor:pointer!important;}
.aljosa-footer-whatsapp{margin-top:10px;}
.aljosa-footer-whatsapp a{display:inline-block;color:#fff!important;font-weight:700;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.45);padding-bottom:2px;}
@media(max-width:767px){
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals{display:block!important;width:100%!important;min-width:0!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals>th,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals>td{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;text-align:left!important;white-space:normal!important;overflow:visible!important;padding:10px 12px!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals>td{padding-top:0!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals .woocommerce-shipping-methods li label{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals .woocommerce-shipping-methods li{align-items:flex-start!important;}
  .aljosa-product-chat-dialog{padding:20px 16px;}
}

/* =========================================================
   ALJOSA V16.10 — SIZE GUIDE + PRODUCT TRUST
   Additive only; V16.9 layout remains unchanged.
   ========================================================= */
.aljosa-size-guide-wrap{width:100%;margin:9px 0 0;}
.aljosa-size-guide-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:9px 12px!important;border:1px solid #d8d5cf!important;border-radius:4px!important;background:#fff!important;color:var(--navy)!important;font-size:12px!important;line-height:1.3!important;font-weight:700!important;cursor:pointer!important;}
.aljosa-size-guide-button:hover{background:#f7f5f1!important;}
.aljosa-size-guide-modal[hidden]{display:none!important;}
.aljosa-size-guide-modal{position:fixed;inset:0;z-index:100001;display:flex;align-items:center;justify-content:center;padding:18px;}
.aljosa-size-guide-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.48);}
.aljosa-size-guide-dialog{position:relative;width:min(100%,520px);max-height:calc(100vh - 36px);overflow:auto;box-sizing:border-box;background:#fff;border-radius:14px;padding:22px;box-shadow:0 18px 60px rgba(0,0,0,.25);}
.aljosa-size-guide-close{position:absolute;top:8px;right:10px;width:36px;height:36px;border:0;background:transparent;color:#222;font-size:28px;line-height:36px;cursor:pointer;}
.aljosa-size-guide-dialog h2{margin:0 40px 3px 0;color:#1d1d1d;font-size:20px;line-height:1.3;}
.aljosa-size-guide-note{margin:0 0 14px;color:#707070;font-size:12px;}
.aljosa-size-guide-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.aljosa-size-guide-table{width:100%;min-width:420px;border-collapse:collapse;font-size:12px;line-height:1.35;}
.aljosa-size-guide-table th,.aljosa-size-guide-table td{padding:9px 7px;border:1px solid #e6e2dc;text-align:center;white-space:nowrap;}
.aljosa-size-guide-table thead th{background:#f7f5f1;color:#1d1d1d;font-weight:700;}
.aljosa-size-guide-table tbody th{font-weight:700;}
.aljosa-size-guide-tip{margin-top:13px;padding:11px 12px;border-radius:8px;background:#f7f5f1;color:#444;font-size:12px;line-height:1.5;}
.aljosa-size-guide-chat{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;box-sizing:border-box!important;margin-top:12px!important;padding:11px 12px!important;border:1px solid var(--navy)!important;border-radius:8px!important;background:#fff!important;color:var(--navy)!important;font-size:12px!important;font-weight:700!important;text-align:center!important;text-decoration:none!important;}
.aljosa-size-guide-chat:hover{background:var(--navy)!important;color:#fff!important;}
.aljosa-product-trust{margin:16px 0 0;padding:13px 14px;border:1px solid #e6e2dc;border-radius:8px;background:#fff;}
.aljosa-product-trust-title{margin-bottom:7px;color:#1d1d1d;font-size:13px;line-height:1.4;font-weight:700;}
.aljosa-product-trust a{display:block;margin-top:5px;color:#555;font-size:12px;line-height:1.45;text-decoration:none;}
.aljosa-product-trust a:hover{text-decoration:underline;color:var(--navy);}
@media(max-width:767px){
  .aljosa-size-guide-dialog{padding:20px 15px;}
  .aljosa-size-guide-table{min-width:420px;font-size:11px;}
  .aljosa-size-guide-table th,.aljosa-size-guide-table td{padding:8px 6px;}
  .aljosa-size-guide-button{width:100%!important;}
}


/* V16.10.1 — clear return/exchange policy navigation */
.aljosa-policy-hub,.aljosa-policy-page{font-size:15px;line-height:1.65}
.aljosa-policy-hub>p:first-child,.aljosa-policy-page>p:first-child{margin-top:0}
.aljosa-policy-cards{display:grid;grid-template-columns:1fr;gap:12px;margin:22px 0}
.aljosa-policy-card{display:block;border:1px solid var(--line);border-radius:8px;padding:16px;background:#fff;text-decoration:none!important;box-shadow:0 2px 8px rgba(0,0,0,.03)}
.aljosa-policy-card strong{display:block;color:var(--navy);font-size:16px;margin-bottom:5px}
.aljosa-policy-card span{display:block;color:var(--muted);font-size:13px;margin-bottom:8px}
.aljosa-policy-card b{display:block;color:var(--navy);font-size:12px}
.aljosa-policy-help{margin-top:24px;padding:16px;border-radius:8px;background:var(--cream)}
.aljosa-policy-help strong{display:block;color:var(--navy);margin-bottom:4px}
.aljosa-policy-help p{margin:0 0 10px}
.aljosa-policy-help a{display:inline-block;text-decoration:none!important;background:var(--navy);color:#fff!important;padding:10px 13px;border-radius:4px;font-size:12px;font-weight:700}
.aljosa-policy-page h2{font-family:Georgia,serif;color:var(--navy);font-size:20px;margin:28px 0 8px}
.aljosa-policy-page ul,.aljosa-policy-page ol{padding-left:22px}
.aljosa-policy-page li{margin:5px 0}
@media(min-width:768px){.aljosa-policy-cards{grid-template-columns:1fr 1fr}}

/* V16.10.3 — policy/FAQ navigation polish */
.aljosa-policy-back{margin-top:22px!important}
.aljosa-policy-back a{color:var(--navy)!important;font-weight:700;text-decoration:none!important}
.aljosa-policy-back a:hover{text-decoration:underline!important}
.aljosa-faq h2{font-family:Georgia,serif;color:var(--navy);font-size:22px;margin:0 0 18px}
.aljosa-faq h3{font-size:16px;line-height:1.4;margin:22px 0 6px;color:var(--navy)}
.aljosa-faq p{margin:0 0 10px}
.aljosa-faq a{text-decoration:underline}
.aljosa-faq-whatsapp{display:inline-block!important;text-decoration:none!important;background:var(--navy);color:#fff!important;padding:10px 13px;border-radius:4px;font-size:12px;font-weight:700}



/* ALJOSA V16.10.4 — Category cards responsive fix
   Scope: homepage category image cards only.
   Keeps the existing markup/assets and prevents portrait category artwork
   from being over-cropped across desktop/tablet/mobile. */
@media (min-width: 769px) {
  .image-card {
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
  }
  .image-card img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .image-card {
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
  }
  .image-card img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

@media (max-width: 480px) {
  .image-card {
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
  }
  .image-card img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

/* ALJOSA V16.10.4 — PRODUCT DETAIL STACK FIX
   Desktop now follows the same vertical product layout as tablet/mobile:
   gallery first, product information directly underneath. */
@media (min-width: 768px){
  body.single-product.woocommerce div.product div.images,
  body.single-product.woocommerce div.product .summary{
    width:100%!important;
    max-width:100%!important;
    float:none!important;
    clear:both!important;
    margin-right:0!important;
  }
  body.single-product.woocommerce div.product .summary{
    margin-top:18px!important;
  }
}

/* ALJOSA V16.10.4 — FINAL HERO RESPONSIVE RATIO FIX
   Desktop/tablet use dedicated source images at their native aspect ratios.
   Mobile remains on the original portrait hero and existing mobile sizing. */
@media (min-width: 769px){
  .home-hero{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:1600 / 700!important;
  }
  .home-hero-picture,
  .home-hero-copy{
    height:100%!important;
    min-height:0!important;
  }
  .home-hero-picture img{
    object-fit:cover!important;
    object-position:center center!important;
  }
}

@media (min-width: 481px) and (max-width: 768px){
  .home-hero{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:1200 / 800!important;
  }
  .home-hero-picture,
  .home-hero-copy{
    height:100%!important;
    min-height:0!important;
  }
  .home-hero-picture img{
    object-fit:cover!important;
    object-position:center center!important;
  }
}

@media (max-width: 480px){
  .home-hero{
    min-height:500px!important;
    height:auto!important;
    aspect-ratio:auto!important;
  }
  .home-hero-picture,
  .home-hero-copy{
    height:auto!important;
  }
  .home-hero-picture img{
    object-fit:cover!important;
    object-position:center center!important;
  }
}


/* =========================================================
   ALJOSA V16.10.4 — FINAL RESPONSIVE PRODUCT + HERO FIX
   Desktop product detail MUST STACK exactly like tablet/mobile.
   Hero uses native source ratios so desktop/tablet are not cropped.
   ========================================================= */

/* Product detail: force a single vertical flow at all widths.
   This overrides WooCommerce/theme grid or float rules. */
body.single-product.woocommerce div.product{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  float:none!important;
  clear:both!important;
  grid-template-columns:none!important;
  grid-template-areas:none!important;
}
body.single-product.woocommerce div.product::before,
body.single-product.woocommerce div.product::after{
  display:none!important;
  content:none!important;
}
body.single-product.woocommerce div.product div.images,
body.single-product.woocommerce div.product .summary{
  display:block!important;
  position:relative!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  left:auto!important;
  right:auto!important;
  flex:none!important;
  grid-column:1 / -1!important;
  grid-area:auto!important;
  box-sizing:border-box!important;
}
body.single-product.woocommerce div.product div.images{
  margin:0 0 18px!important;
}
body.single-product.woocommerce div.product .summary{
  margin:0!important;
}

/* Desktop hero: match the 1600x700 source ratio exactly. */
@media (min-width:769px){
  .home-hero{
    min-height:0!important;
    height:calc((100vw - 48px) * 0.4375)!important;
    max-height:525px!important;
    aspect-ratio:auto!important;
  }
  .home-hero-picture,
  .home-hero-copy{
    height:100%!important;
    min-height:0!important;
  }
  .home-hero-picture img{
    width:100%!important;
    height:100%!important;
    object-fit:fill!important;
    object-position:center center!important;
  }
}

/* Tablet hero: match the 1200x800 source ratio exactly. */
@media (min-width:481px) and (max-width:768px){
  .home-hero{
    min-height:0!important;
    height:calc((100vw - 28px) * 0.6666667)!important;
    max-height:none!important;
    aspect-ratio:auto!important;
  }
  .home-hero-picture,
  .home-hero-copy{
    height:100%!important;
    min-height:0!important;
  }
  .home-hero-picture img{
    width:100%!important;
    height:100%!important;
    object-fit:fill!important;
    object-position:center center!important;
  }
}

/* Mobile remains on the original portrait composition. */
@media (max-width:480px){
  .home-hero{
    min-height:500px!important;
    height:auto!important;
    aspect-ratio:auto!important;
  }
  .home-hero-picture,
  .home-hero-copy{
    height:auto!important;
  }
  .home-hero-picture img{
    object-fit:cover!important;
    object-position:center center!important;
  }
}


/* =========================================================
   ALJOSA V16.10.5 — VERIFIED FINAL REPLACE OVERRIDE
   1) Product detail is ALWAYS one vertical stack.
   2) Hero sources use their native ratios on desktop/tablet.
   3) Mobile keeps the original portrait hero.
   4) Cache-busted through functions.php stylesheet version 1.6.10.5.
   ========================================================= */
.single-product.woocommerce div.product,
.single-product div.product{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  float:none!important;
  clear:both!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  grid-template-columns:1fr!important;
  grid-template-areas:none!important;
}
.single-product.woocommerce div.product > div.images,
.single-product.woocommerce div.product > .summary,
.single-product div.product > div.images,
.single-product div.product > .summary{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  margin-left:0!important;
  margin-right:0!important;
  flex:0 0 100%!important;
  grid-column:1 / -1!important;
  grid-area:auto!important;
  box-sizing:border-box!important;
}
.single-product.woocommerce div.product > div.images,
.single-product div.product > div.images{
  margin-top:0!important;
  margin-bottom:18px!important;
}
.single-product.woocommerce div.product > .summary,
.single-product div.product > .summary{
  margin-top:0!important;
  margin-bottom:0!important;
}

@media (min-width:769px){
  .home-hero{
    min-height:0!important;
    height:calc(min(1200px, 100vw - 48px) * 0.4375)!important;
    max-height:525px!important;
    aspect-ratio:auto!important;
  }
  .home-hero-picture,
  .home-hero-copy{
    height:100%!important;
    min-height:0!important;
  }
  .home-hero-picture img{
    width:100%!important;
    height:100%!important;
    object-fit:fill!important;
    object-position:center center!important;
  }
}
@media (min-width:481px) and (max-width:768px){
  .home-hero{
    min-height:0!important;
    height:calc((100vw - 28px) * 0.6666666667)!important;
    max-height:none!important;
    aspect-ratio:auto!important;
  }
  .home-hero-picture,
  .home-hero-copy{
    height:100%!important;
    min-height:0!important;
  }
  .home-hero-picture img{
    width:100%!important;
    height:100%!important;
    object-fit:fill!important;
    object-position:center center!important;
  }
}
@media (max-width:480px){
  .home-hero{
    min-height:500px!important;
    height:auto!important;
  }
  .home-hero-picture,
  .home-hero-copy{
    height:auto!important;
  }
  .home-hero-picture img{
    object-fit:cover!important;
    object-position:center center!important;
  }
}

/* =========================================================
   ALJOSA V16.10.6 — AUTHORITATIVE FINAL REPLACE
   Product detail: all screen sizes use one vertical stack:
   gallery -> product information. No two-column layout.
   Hero: desktop/tablet containers use exact source ratios.
   Mobile keeps the original portrait hero behavior.
   ========================================================= */
.single-product.woocommerce div.product,
.single-product div.product{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  width:100%!important;
  max-width:100%!important;
  float:none!important;
  clear:both!important;
  margin-left:0!important;
  margin-right:0!important;
  grid-template-columns:none!important;
  grid-template-areas:none!important;
}
.single-product.woocommerce div.product::before,
.single-product.woocommerce div.product::after,
.single-product div.product::before,
.single-product div.product::after{
  display:none!important;
  content:none!important;
}
.single-product.woocommerce div.product > div.images,
.single-product.woocommerce div.product > .summary,
.single-product div.product > div.images,
.single-product div.product > .summary{
  display:block!important;
  position:relative!important;
  order:initial!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  flex:0 0 auto!important;
  float:none!important;
  clear:both!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
.single-product.woocommerce div.product > div.images,
.single-product div.product > div.images{
  order:1!important;
  margin-top:0!important;
  margin-bottom:18px!important;
}
.single-product.woocommerce div.product > .summary,
.single-product div.product > .summary{
  order:2!important;
  margin-top:0!important;
  margin-bottom:0!important;
}

/* Desktop hero: width determines height from the 1600x700 source ratio. */
@media (min-width:769px){
  .home-hero{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:1600 / 700!important;
    max-height:none!important;
  }
  .home-hero-picture{
    position:absolute!important;
    inset:0!important;
    height:auto!important;
  }
  .home-hero-copy{
    position:relative!important;
    inset:auto!important;
    height:100%!important;
    min-height:100%!important;
  }
  .home-hero-picture img{
    width:100%!important;
    height:100%!important;
    object-fit:fill!important;
    object-position:center center!important;
  }
}

/* Tablet hero: width determines height from the 1200x800 source ratio. */
@media (min-width:481px) and (max-width:768px){
  .home-hero{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:1200 / 800!important;
    max-height:none!important;
  }
  .home-hero-picture{
    position:absolute!important;
    inset:0!important;
    height:auto!important;
  }
  .home-hero-copy{
    position:relative!important;
    inset:auto!important;
    height:100%!important;
    min-height:100%!important;
  }
  .home-hero-picture img{
    width:100%!important;
    height:100%!important;
    object-fit:fill!important;
    object-position:center center!important;
  }
}

/* Mobile: preserve the original portrait hero. */
@media (max-width:480px){
  .home-hero{
    min-height:500px!important;
    height:auto!important;
    aspect-ratio:auto!important;
  }
  .home-hero-picture{
    position:absolute!important;
    inset:0!important;
    height:100%!important;
  }
  .home-hero-copy{
    position:relative!important;
    inset:auto!important;
    height:auto!important;
    min-height:500px!important;
  }
  .home-hero-picture img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center center!important;
  }
}

/* ALJOSA FINAL REPLACE BUILD 1.6.10.9
   Desktop product: one-column stack (gallery above product info).
   Desktop hero: desktop source ratio.
   Tablet hero: tablet source ratio.
   Mobile hero: original portrait source retained.
*/



/* =========================================================
   WEBSITE CORE FINAL 3 — HERO COMPOSITION
   Mobile remains the visual reference.
   Desktop: keep the original landscape artwork/crop. Move ONLY
   the copy slightly downward so the model head is clearly above
   the word “Essential” without making the photo look cropped.
   Tablet: keep the correct artwork position and move the copy
   inward from the left so ALJOSA is fully visible.
   Mobile: unchanged.
   ========================================================= */

/* DESKTOP — DO NOT MOVE/CROP THE PHOTO */
@media (min-width:769px){
  .home-hero-picture img{
    top:0!important;
    height:100%!important;
    object-fit:fill!important;
    object-position:center center!important;
  }
  .home-hero-copy{
    transform:none!important;
    padding:28px 22px 23px 22px!important;
  }
  .home-hero-copy h1{
    max-width:520px!important;
  }
}

/* TABLET — PHOTO POSITION STAYS AS-IS; COPY MOVES INWARD */
@media (min-width:481px) and (max-width:768px){
  .home-hero-picture img{
    top:0!important;
    height:100%!important;
    object-fit:fill!important;
    object-position:center center!important;
  }
  .home-hero-copy{
    transform:none!important;
    padding:30px 24px 24px 42px!important;
  }
  .home-hero-copy h1{
    max-width:390px!important;
  }
}

/* MOBILE — PRESERVE THE EXISTING REFERENCE EXACTLY */
@media (max-width:480px){
  .home-hero-copy{
    transform:none!important;
  }
  .home-hero-copy h1{
    max-width:none!important;
  }
}


/* =========================================================
   ALJOSA FINAL — DESKTOP CATEGORY NAVIGATION
   Desktop: visible horizontal navigation with clean dropdowns.
   Tablet/mobile: existing hamburger + drawer remain unchanged.
   ========================================================= */
@media (min-width: 769px){
  .aljosa-nav{
    display:flex!important;
    justify-content:center;
    align-items:stretch;
    gap:8px;
    height:46px;
    font-size:13px;
  }
  .aljosa-nav-item{
    position:relative;
    display:flex;
    align-items:stretch;
  }
  .aljosa-nav > a,
  .aljosa-nav-trigger{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 12px;
    white-space:nowrap;
    color:#222;
    font-size:13px;
    line-height:1;
  }
  .aljosa-nav-trigger span{
    margin-left:5px;
    font-size:13px;
    line-height:1;
    transform:translateY(-1px);
  }
  .aljosa-nav > a:hover,
  .aljosa-nav > a:focus-visible,
  .aljosa-nav-trigger:hover,
  .aljosa-nav-trigger:focus-visible{
    color:var(--navy);
  }
  .aljosa-dropdown{
    position:absolute;
    left:50%;
    top:100%;
    z-index:80;
    width:235px;
    transform:translateX(-50%) translateY(8px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    background:#fff;
    border:1px solid var(--line);
    box-shadow:0 12px 30px rgba(0,0,0,.12);
    padding:7px 0;
    transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
  }
  .aljosa-nav-item:hover .aljosa-dropdown,
  .aljosa-nav-item:focus-within .aljosa-dropdown{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(-50%) translateY(0);
  }
  .aljosa-dropdown a{
    display:block;
    padding:11px 17px;
    color:#222;
    font-size:13px;
    line-height:1.25;
    white-space:normal;
  }
  .aljosa-dropdown a:hover,
  .aljosa-dropdown a:focus-visible{
    background:#f7f4ee;
    color:var(--navy);
  }
  .aljosa-dropdown .aljosa-dropdown-all{
    margin-top:4px;
    border-top:1px solid var(--line);
    font-weight:700;
    color:var(--navy);
  }
}

/* Keep the existing tablet/mobile hamburger navigation exactly as-is. */
@media (max-width: 768px){
  .aljosa-nav{display:none!important;}
  .aljosa-menu{display:block;}
}


/* =========================================================
   ALJOSA SHIPPING MOBILE FIX — SAFE ADDITIVE PATCH
   Scope: WooCommerce checkout shipping methods only.
   Purpose: prevent courier names/cards from collapsing into
   one-letter-per-line columns on narrow mobile screens.
   Desktop/tablet are intentionally untouched.
   ========================================================= */
@media (max-width: 767px){
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table
  tfoot tr.woocommerce-shipping-totals .woocommerce-shipping-methods{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
    box-sizing:border-box!important;
  }

  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table
  tfoot tr.woocommerce-shipping-totals .woocommerce-shipping-methods > li{
    display:flex!important;
    flex:0 0 100%!important;
    flex-direction:row!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    white-space:normal!important;
    overflow:visible!important;
  }

  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table
  tfoot tr.woocommerce-shipping-totals .woocommerce-shipping-methods > li > input{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:16px!important;
    max-width:none!important;
    margin:0 8px 0 0!important;
  }

  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table
  tfoot tr.woocommerce-shipping-totals .woocommerce-shipping-methods > li > label{
    display:flex!important;
    flex:1 1 auto!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
  }

  /* Keep courier/service names as normal horizontal text. */
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table
  tfoot tr.woocommerce-shipping-totals .woocommerce-shipping-methods > li > label > *{
    max-width:100%!important;
    min-width:0!important;
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
  }
}

/* =========================================================
   ALJOSA MASTER FINAL 1.6.10.16 — SHIPPING MOBILE NORMALIZER
   Scope: checkout order-review shipping area on narrow phones.
   ========================================================= */
@media (max-width:767px){
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals > th,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals > td{
    min-width:0!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals .woocommerce-shipping-methods,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals .woocommerce-shipping-methods > li{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals .woocommerce-shipping-methods > li > label,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals .woocommerce-shipping-methods > li > label *{
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    white-space:normal!important;
  }
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals .woocommerce-shipping-methods > li > label{
    display:flex!important;
    flex:1 1 auto!important;
    align-items:center!important;
    justify-content:space-between!important;
  }
}



/* =========================================================
   ALJOSA MASTER FINAL 1.6.10.19 — TARGETED SHIPPING MOBILE FIX
   Only the custom courier cards in checkout are affected.
   No global checkout elements are resized here.
   ========================================================= */
@media (max-width:767px){
  body.woocommerce-checkout #order_review .aljosa-courier-card-fix{
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    white-space:normal!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.woocommerce-checkout #order_review .aljosa-courier-label-fix{
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    white-space:nowrap!important;
    width:auto!important;
    max-width:none!important;
    min-width:max-content!important;
    display:inline-block!important;
    flex:0 0 auto!important;
  }
}


/* =========================================================
   ALJOSA MASTER FINAL 1.6.10.19 — SHIPPING COMPARISON VIEW
   Mobile checkout: courier groups remain open so prices and
   delivery estimates are visible before the customer taps.
   Desktop/tablet layout is untouched.
   ========================================================= */
@media (max-width:767px){
  body.woocommerce-checkout #order_review .aljosa-courier-card-fix{
    overflow:visible!important;
  }
  body.woocommerce-checkout #order_review .aljosa-courier-card-fix *{
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
  }
}

/* =========================================================
   ALJOSA MASTER FINAL 1.6.10.21 — ALL COURIERS MOBILE FIX
   Fixes every courier group, including GOSEND, without relying
   on courier names.  Mobile only; tablet/desktop are untouched.
   ========================================================= */
@media (max-width:767px){
  body.woocommerce-checkout #order_review .woocommerce-shipping-methods,
  body.woocommerce-checkout #order_review .woocommerce-shipping-methods *{
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }

  body.woocommerce-checkout #order_review .aljosa-courier-card-fix{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    white-space:normal!important;
  }

  body.woocommerce-checkout #order_review .aljosa-courier-card-fix *{
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  body.woocommerce-checkout #order_review .aljosa-courier-card-fix,
  body.woocommerce-checkout #order_review .aljosa-courier-card-fix > *,
  body.woocommerce-checkout #order_review .aljosa-courier-card-fix label{
    white-space:normal!important;
  }
}


/* =========================================================
   ALJOSA 1.6.10.23 — MOBILE SHOPPING UX REVISION
   Safe/additive: homepage, about, cart, checkout presentation only.
   ========================================================= */
.home-hero-copy p{font-size:13px!important;letter-spacing:1.5px!important;font-weight:700!important;text-transform:uppercase!important;margin-bottom:8px!important;}
.home-hero-copy h1{font-family:Arial,sans-serif!important;font-weight:800!important;letter-spacing:-.5px!important;}
.hero-button{border-radius:4px!important;min-height:46px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:12px 18px!important;font-size:13px!important;}
.aljosa-category-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.aljosa-category-chips a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 8px;border:1px solid var(--line);border-radius:5px;background:#fff;font-size:12px;font-weight:700;text-align:center;}
.aljosa-category-chips a:active{background:var(--cream);}
.trust-marketplace-links{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;margin-top:3px;}
.trust-marketplace-links a,.trust-marketplace-links span{font-weight:700;color:var(--navy);font-size:13px;}
.trust-marketplace-links a{text-decoration:underline;text-underline-offset:3px;}
.aljosa-about-lifestyle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 24px;}
.aljosa-about-lifestyle figure{margin:0;background:var(--cream);border-radius:6px;overflow:hidden;}
.aljosa-about-lifestyle img{display:block;width:100%;height:300px;object-fit:cover;}
.aljosa-about-lifestyle figcaption{padding:10px 11px;font-size:12px;line-height:1.45;color:#555;}
.aljosa-cart-helper,.aljosa-cart-trust,.aljosa-checkout-trust{border:1px solid var(--line);border-radius:7px;background:var(--cream);box-sizing:border-box;}
.aljosa-cart-helper{display:flex;flex-direction:column;gap:2px;margin:0 0 14px;padding:12px 13px;}
.aljosa-cart-helper strong{font-size:13px;line-height:1.35;}
.aljosa-cart-helper span{font-size:12px;color:var(--muted);line-height:1.45;}
.aljosa-cart-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px;padding:11px;}
.aljosa-cart-trust div{min-width:0;display:flex;flex-direction:column;gap:2px;}
.aljosa-cart-trust strong{font-size:11px;line-height:1.3;}
.aljosa-cart-trust span{font-size:10px;line-height:1.4;color:var(--muted);}
.aljosa-checkout-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0 0 18px;padding:0;}
.aljosa-checkout-steps div{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;}
.aljosa-checkout-steps b{display:flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;background:#111;color:#fff;font-size:11px;}
.aljosa-checkout-steps span{font-size:10px;line-height:1.25;color:#555;font-weight:600;}
.aljosa-checkout-trust{display:flex;flex-direction:column;gap:4px;margin:0 0 12px;padding:12px 13px;}
.aljosa-checkout-trust strong{font-size:13px;line-height:1.35;margin-bottom:2px;}
.aljosa-checkout-trust span{font-size:11px;line-height:1.4;color:#555;}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:50px!important;font-size:14px!important;letter-spacing:.1px!important;border-radius:5px!important;}
.woocommerce-checkout #place_order{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:52px!important;font-size:14px!important;border-radius:5px!important;}
@media(max-width:767px){
  .home-hero{min-height:560px!important;margin-top:10px!important;}
  .home-hero-picture img{object-position:center 42%!important;}
  .home-hero-copy{min-height:560px!important;padding:22px 18px 24px!important;}
  .home-hero-copy h1{font-size:35px!important;line-height:1.06!important;max-width:320px!important;margin-bottom:16px!important;}
  .home-hero-copy p{font-size:12px!important;letter-spacing:1.1px!important;}
  .section{padding:24px 0!important;}
  .section-title{font-size:21px!important;}
  .category-grid-images{gap:8px!important;}
  .image-card{min-height:205px!important;}
  .image-card span{font-size:13px!important;bottom:13px!important;left:12px!important;}
  .aljosa-category-chips{grid-template-columns:repeat(2,minmax(0,1fr));}
  .aljosa-about-lifestyle{grid-template-columns:1fr;gap:10px;}
  .aljosa-about-lifestyle img{height:auto;aspect-ratio:4/5;object-fit:cover;}
  .aljosa-cart-trust{grid-template-columns:1fr;gap:9px;}
  .aljosa-cart-trust div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:6px;align-items:start;}
  .aljosa-checkout-steps{gap:3px;margin-bottom:14px;}
  .aljosa-checkout-steps b{width:25px;height:25px;font-size:10px;}
  .aljosa-checkout-steps span{font-size:9px;}
  body.woocommerce-cart .cart-collaterals .cart_totals{margin-top:14px!important;}
  body.woocommerce-cart .cart-collaterals .cart_totals h2{font-size:18px!important;}
  body.woocommerce-checkout #order_review_heading{font-size:20px!important;line-height:1.25!important;margin-bottom:12px!important;}
  body.woocommerce-checkout .woocommerce-billing-fields h3,
  body.woocommerce-checkout .woocommerce-shipping-fields h3{font-size:18px!important;line-height:1.3!important;}
  body.woocommerce-checkout .form-row{margin-bottom:11px!important;}
  body.woocommerce-checkout .form-row label{margin-bottom:5px!important;display:block!important;}
  body.woocommerce-checkout .form-row input.input-text,
  body.woocommerce-checkout .form-row textarea,
  body.woocommerce-checkout .form-row select{min-height:48px!important;border-radius:5px!important;font-size:15px!important;}
  body.woocommerce-checkout #payment{border-radius:7px!important;}
}

/* =========================================================
   ALJOSA 1.6.10.24 — HERO SAFE COMPOSITION / NO-CROP
   Goal: preserve the supplied lifestyle photos exactly and keep
   headline/CTA away from the model. Mobile uses image-above-copy;
   desktop/tablet use the native 1600x1000 composition without stretch.
   ========================================================= */
@media (min-width:769px){
  .home-hero{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:1600 / 1000!important;
    overflow:hidden!important;
  }
  .home-hero-picture{
    position:absolute!important;
    inset:0!important;
    height:100%!important;
  }
  .home-hero-picture img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center center!important;
  }
  .home-hero-overlay{
    z-index:1!important;
    background:linear-gradient(90deg,rgba(0,0,0,.64),rgba(0,0,0,.18) 48%,rgba(0,0,0,0) 78%)!important;
  }
  .home-hero-copy{
    z-index:2!important;
    min-height:100%!important;
    height:100%!important;
    box-sizing:border-box!important;
    justify-content:center!important;
    align-items:flex-start!important;
    max-width:46%!important;
    padding:48px 34px 48px 48px!important;
  }
  .home-hero-copy h1{max-width:500px!important;}
}

@media (min-width:481px) and (max-width:768px){
  .home-hero{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:1600 / 1000!important;
    overflow:hidden!important;
  }
  .home-hero-picture{position:absolute!important;inset:0!important;height:100%!important;}
  .home-hero-picture img{
    width:100%!important;height:100%!important;
    object-fit:cover!important;object-position:center center!important;
  }
  .home-hero-overlay{
    z-index:1!important;
    background:linear-gradient(90deg,rgba(0,0,0,.66),rgba(0,0,0,.18) 55%,rgba(0,0,0,0) 82%)!important;
  }
  .home-hero-copy{
    z-index:2!important;
    min-height:100%!important;height:100%!important;
    box-sizing:border-box!important;
    justify-content:center!important;align-items:flex-start!important;
    max-width:55%!important;
    padding:30px 24px!important;
  }
}

@media (max-width:480px){
  .home-hero{
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
    height:auto!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  .home-hero-picture{
    position:relative!important;
    inset:auto!important;
    order:1!important;
    width:100%!important;
    height:auto!important;
  }
  .home-hero-picture img{
    position:static!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    object-fit:contain!important;
    object-position:center center!important;
  }
  .home-hero-overlay{display:none!important;}
  .home-hero-copy{
    position:relative!important;
    order:2!important;
    z-index:2!important;
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    height:auto!important;
    box-sizing:border-box!important;
    padding:22px 18px 24px!important;
    background:#fff!important;
    color:#111!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    align-items:flex-start!important;
  }
  .home-hero-copy p{color:#111!important;margin:0 0 7px!important;}
  .home-hero-copy h1{
    color:#111!important;
    font-size:30px!important;
    line-height:1.08!important;
    max-width:340px!important;
    margin:0 0 16px!important;
  }
  .home-hero-copy .hero-button{
    background:#111!important;
    color:#fff!important;
    min-height:48px!important;
  }
}

/* Supplied lifestyle photos on About: preserve the subject and avoid
   aggressive cropping on mobile. */
.aljosa-about-lifestyle img{
  object-fit:contain!important;
  background:#f7f7f7!important;
}
@media(max-width:767px){
  .aljosa-about-lifestyle img{
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
}

/* ALJOSA 1.6.10.27 — HERO TEXT SEPARATED FROM IMAGE
   The headline and CTA sit outside the photo so the model/product image is never covered.
   Mobile uses the portrait asset without forced crop; desktop uses the landscape asset with contain. */

/* =========================================================
   ALJOSA 1.6.10.27 — FINAL RESPONSIVE / BUYING FLOW OVERRIDES
   This block intentionally overrides earlier experimental rules.
   ========================================================= */

/* ---------- HOME: stable responsive composition ---------- */
.home-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr)!important;
  min-height:0!important;
  height:auto!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid var(--aljosa-line,#e7e4de)!important;
}
.home-hero-picture{
  position:relative!important;
  inset:auto!important;
  order:1!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-width:0!important;
  background:#f7f7f7!important;
}
.home-hero-picture img{
  display:block!important;
  position:static!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
}
.home-hero-copy{
  position:relative!important;
  inset:auto!important;
  order:2!important;
  width:auto!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  box-sizing:border-box!important;
  padding:clamp(28px,4vw,58px)!important;
  background:#fff!important;
  color:#111!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
}
.home-hero-overlay{display:none!important;}
.home-hero-copy p{color:#111!important;font-size:12px!important;letter-spacing:1.5px!important;margin:0 0 10px!important;order:2!important;}
.home-hero-copy h1{color:#111!important;font-family:Arial,sans-serif!important;font-weight:800!important;font-size:clamp(34px,4vw,58px)!important;line-height:1.04!important;letter-spacing:-.8px!important;max-width:650px!important;margin:0 0 18px!important;order:1!important;}
.home-hero-copy .hero-button{order:3!important;min-height:48px!important;padding:13px 20px!important;border-radius:4px!important;}

/* Category cards: visible separation and equal tap areas. */
.category-grid-images{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;}
.category-grid-images .image-card{min-width:0!important;margin:0!important;border-radius:6px!important;}
.category-grid-images .image-card img{width:100%!important;height:100%!important;object-fit:cover!important;}

/* ---------- PRODUCT: clear variation choices ---------- */
.woocommerce div.product form.cart .variations{width:100%!important;margin:0 0 12px!important;border:0!important;border-spacing:0!important;}
.woocommerce div.product form.cart .variations tr{display:block!important;margin:0 0 18px!important;}
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td{display:block!important;width:100%!important;text-align:left!important;padding:0!important;}
.woocommerce div.product form.cart .variations label{display:block!important;margin:0 0 8px!important;font-size:13px!important;font-weight:800!important;}
.aljosa-variation-choice-group{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;margin:0!important;}
.aljosa-variation-choice{width:100%!important;min-height:46px!important;padding:10px 8px!important;border:1px solid #cfcfcf!important;border-radius:5px!important;background:#fff!important;color:#111!important;font-size:13px!important;font-weight:700!important;cursor:pointer!important;}
.aljosa-variation-choice.is-selected{background:#111!important;color:#fff!important;border-color:#111!important;box-shadow:inset 0 0 0 1px #111!important;}
.woocommerce div.product form.cart .reset_variations{display:inline-block!important;margin:4px 0 0!important;font-size:11px!important;}
.woocommerce div.product form.cart .single_variation_wrap{margin-top:4px!important;}
.woocommerce div.product form.cart .quantity{margin:0 10px 0 0!important;}
.woocommerce div.product form.cart .quantity input.qty{min-height:46px!important;border:1px solid #cfcfcf!important;border-radius:5px!important;font-size:15px!important;}
.woocommerce div.product form.cart .single_add_to_cart_button{min-height:50px!important;}
.aljosa-buy-now-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:50px!important;padding:12px 18px!important;margin:0!important;background:#17263b!important;color:#fff!important;border:1px solid #17263b!important;border-radius:4px!important;font-weight:800!important;font-size:13px!important;cursor:pointer!important;}
.aljosa-buy-now-button:hover{background:#111!important;border-color:#111!important;}

/* ---------- CART: mobile card, no horizontal squeeze ---------- */
@media(max-width:767px){
  body.woocommerce-cart .site-main{padding-left:12px!important;padding-right:12px!important;}
  body.woocommerce-cart .woocommerce-cart-form{width:100%!important;overflow:visible!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart{display:block!important;width:100%!important;border:0!important;margin:0!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart thead{display:none!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody{display:block!important;width:100%!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody tr.cart_item{
    display:grid!important;
    grid-template-columns:76px minmax(0,1fr) auto!important;
    grid-template-areas:"remove thumb name" "remove thumb qty";
    gap:4px 10px!important;
    width:100%!important;
    box-sizing:border-box!important;
    margin:0 0 12px!important;
    padding:12px!important;
    border:1px solid #e7e4de!important;
    border-radius:8px!important;
    background:#fff!important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody tr.cart_item>td{border:0!important;padding:0!important;min-width:0!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-remove{grid-area:remove!important;display:block!important;align-self:start!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove{display:flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:28px!important;font-size:20px!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail{grid-area:thumb!important;display:block!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img{width:76px!important;height:96px!important;object-fit:contain!important;background:#f7f7f7!important;border-radius:5px!important;margin:0!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-name{grid-area:name!important;display:block!important;font-size:13px!important;line-height:1.4!important;align-self:end!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-name a{font-weight:700!important;color:#111!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation{font-size:11px!important;line-height:1.35!important;margin:5px 0 0!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-quantity{grid-area:qty!important;display:block!important;align-self:start!important;justify-self:end!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-quantity .quantity{display:flex!important;align-items:center!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-quantity input.qty{width:54px!important;min-height:40px!important;border:1px solid #ccc!important;border-radius:5px!important;text-align:center!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-price{display:none!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal{display:block!important;grid-column:2 / 4!important;text-align:right!important;padding-top:8px!important;border-top:1px solid #eee!important;margin-top:5px!important;font-size:13px!important;font-weight:700!important;}
  body.woocommerce-cart .woocommerce-cart-form .actions{display:flex!important;flex-direction:column!important;gap:8px!important;padding:0!important;border:0!important;}
  body.woocommerce-cart .woocommerce-cart-form .actions .coupon{display:none!important;}
  body.woocommerce-cart .cart-collaterals{width:100%!important;float:none!important;}
  body.woocommerce-cart .cart-collaterals .cart_totals{width:100%!important;float:none!important;margin-top:12px!important;padding:14px!important;border:1px solid #e7e4de!important;border-radius:8px!important;box-sizing:border-box!important;background:#fff!important;}
  body.woocommerce-cart .cart_totals h2{font-size:19px!important;margin:0 0 12px!important;}
  body.woocommerce-cart .cart_totals table{width:100%!important;border:0!important;}
  body.woocommerce-cart .cart_totals table th,
  body.woocommerce-cart .cart_totals table td{padding:8px 0!important;border:0!important;font-size:13px!important;}
  body.woocommerce-cart .cart_totals table .order-total th,
  body.woocommerce-cart .cart_totals table .order-total td{font-size:17px!important;font-weight:800!important;border-top:1px solid #ddd!important;padding-top:12px!important;}
  body.woocommerce-cart .wc-proceed-to-checkout{padding:10px 0 0!important;}
  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{min-height:54px!important;font-size:14px!important;}
}

/* ---------- CHECKOUT: first-time buyer clarity ---------- */
body.woocommerce-checkout .site-main{max-width:900px!important;margin:0 auto!important;}
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce-form-login-toggle{font-size:12px!important;}
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout #payment{border:1px solid #e7e4de!important;border-radius:8px!important;background:#fff!important;box-sizing:border-box!important;}
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields{padding:15px!important;margin-bottom:12px!important;}
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3{font-size:19px!important;margin:0 0 12px!important;}
body.woocommerce-checkout .form-row{width:100%!important;float:none!important;clear:both!important;box-sizing:border-box!important;}
body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select{width:100%!important;box-sizing:border-box!important;min-height:48px!important;border:1px solid #cfcfcf!important;border-radius:5px!important;padding:11px 12px!important;font-size:15px!important;background:#fff!important;}
body.woocommerce-checkout .form-row label{font-size:13px!important;font-weight:700!important;display:block!important;margin-bottom:5px!important;}
body.woocommerce-checkout #order_review{padding:14px!important;}
body.woocommerce-checkout #order_review_heading{font-size:20px!important;margin:22px 0 10px!important;}
body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{width:100%!important;border:0!important;margin:0!important;table-layout:auto!important;}
body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td,
body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table th{border:0!important;padding:8px 4px!important;vertical-align:top!important;}
body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name{font-size:13px!important;font-weight:600!important;}
body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-total{text-align:right!important;white-space:nowrap!important;font-size:13px!important;}
body.woocommerce-checkout #payment{padding:0!important;margin-top:12px!important;overflow:hidden!important;}
body.woocommerce-checkout #payment ul.payment_methods{padding:14px!important;margin:0!important;}
body.woocommerce-checkout #payment .place-order{padding:14px!important;margin:0!important;}
body.woocommerce-checkout #place_order{min-height:56px!important;font-size:15px!important;}
@media(max-width:767px){
  body.woocommerce-checkout .site-main{padding-left:12px!important;padding-right:12px!important;}
  body.woocommerce-checkout .aljosa-checkout-steps{position:sticky!important;top:0!important;z-index:20!important;background:#fff!important;padding:8px 0!important;border-bottom:1px solid #eee!important;}
  body.woocommerce-checkout .aljosa-checkout-steps span{font-size:8px!important;}
  body.woocommerce-checkout .aljosa-checkout-trust{font-size:11px!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{font-size:12px!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-thumbnail img{width:54px!important;height:54px!important;object-fit:contain!important;background:#f7f7f7!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name{font-size:12px!important;line-height:1.4!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-total{font-size:12px!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot th,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot td{font-size:12px!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.order-total th,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.order-total td{font-size:16px!important;font-weight:800!important;}
  body.woocommerce-checkout #payment .payment_methods li{margin-bottom:9px!important;}
  body.woocommerce-checkout #payment .payment_methods label{font-size:13px!important;line-height:1.4!important;}
}

/* ---------- CATEGORY cards: mobile breathing room ---------- */
@media(max-width:767px){
  .category-grid-images{grid-template-columns:1fr!important;gap:16px!important;}
  .category-grid-images .image-card{min-height:245px!important;}
  .category-grid-images .image-card img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;}
  .category-grid-images .image-card span{font-size:15px!important;bottom:16px!important;left:15px!important;}
  .aljosa-category-chips{gap:9px!important;}
}

/* ---------- No accidental horizontal scroll from Woo tables ---------- */
body.woocommerce-cart,body.woocommerce-checkout,body.single-product{overflow-x:hidden!important;}
body.woocommerce-cart *,body.woocommerce-checkout *,body.single-product *{max-width:100%;}
/* Product action row: two equally clear actions on mobile and desktop. */
.woocommerce div.product form.cart .single_variation_wrap{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;width:100%!important;}
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation{flex:0 0 100%!important;width:100%!important;}
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;width:100%!important;}
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart .quantity{margin:0!important;flex:0 0 auto!important;}


/* =========================================================
 * ALJOSA 1.6.10.32 — FINAL QA OVERRIDES
 * Scope is intentionally limited to homepage presentation and
 * product purchase controls. Existing category/data/payment/shipping
 * logic remains untouched.
 * ========================================================= */

/* HERO: never overlay copy on the lifestyle photo. */
.home-hero{display:flex!important;flex-direction:column!important;overflow:hidden!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;}
.home-hero-picture{order:1!important;width:100%!important;height:auto!important;min-height:0!important;display:block!important;background:#f7f7f7!important;}
.home-hero-picture img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;}
.home-hero-copy{order:2!important;width:100%!important;height:auto!important;min-height:0!important;position:relative!important;inset:auto!important;background:#fff!important;color:var(--text)!important;padding:26px 22px 28px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;}
.home-hero-copy h1{color:#111!important;font-family:Arial,sans-serif!important;font-weight:800!important;font-size:clamp(32px,7vw,54px)!important;line-height:1.04!important;letter-spacing:-.6px!important;margin:0 0 12px!important;max-width:760px!important;}
.home-hero-copy p{color:#555!important;font-size:12px!important;font-weight:700!important;letter-spacing:1.5px!important;line-height:1.4!important;margin:0 0 14px!important;text-transform:uppercase!important;}
.hero-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;background:#111!important;color:#fff!important;padding:13px 20px!important;border-radius:4px!important;font-size:12px!important;font-weight:800!important;}
@media (min-width:769px){
  .home-hero{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr)!important;align-items:stretch!important;}
  .home-hero-picture{display:flex!important;align-items:center!important;justify-content:center!important;height:auto!important;}
  .home-hero-picture img{width:100%!important;height:auto!important;object-fit:contain!important;}
  .home-hero-copy{height:auto!important;min-height:0!important;padding:48px!important;justify-content:center!important;}
  .home-hero-copy h1{font-size:clamp(38px,4vw,60px)!important;}
}
@media (min-width:481px) and (max-width:768px){
  .home-hero-copy{padding:28px 24px 30px!important;}
  .home-hero-copy h1{font-size:clamp(34px,6vw,48px)!important;}
}

/* CATEGORY: keep the requested two-photo layout, with visible breathing room. */
.category-grid-images{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important;}
.category-grid-images .image-card{min-width:0!important;margin:0!important;aspect-ratio:1/1!important;}
.category-grid-images .image-card img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;}
@media (min-width:769px){.category-grid-images{gap:24px!important;}.category-grid-images .image-card{aspect-ratio:4/3!important;}}
@media (max-width:390px){.category-grid-images{gap:12px!important;}.category-grid-images .image-card span{left:12px!important;bottom:13px!important;font-size:13px!important;}}

/* PRODUCT: make the native WooCommerce variation UI easy to use. */
body.single-product.woocommerce div.product form.cart .variations select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}
.aljosa-variation-choice-group{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:0 0 4px!important;}
.aljosa-variation-choice{display:flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;width:100%!important;padding:9px 8px!important;border:1px solid #cfcfcf!important;border-radius:5px!important;background:#fff!important;color:#111!important;font-size:13px!important;font-weight:700!important;}
.aljosa-variation-choice.is-selected{background:#111!important;color:#fff!important;border-color:#111!important;}


/* CART: one obvious primary action. */
@media(max-width:767px){
  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:54px!important;margin:0!important;}
}

/* CHECKOUT: keep the five-step guide readable without covering content. */
@media(max-width:767px){
  body.woocommerce-checkout .aljosa-checkout-steps{position:relative!important;top:auto!important;z-index:1!important;overflow-x:auto!important;}
  body.woocommerce-checkout .aljosa-checkout-steps>div{flex:0 0 auto!important;min-width:58px!important;}
}

/* =========================================================
 * ALJOSA 1.6.10.30 — FINAL MOBILE QA PATCH
 * Mobile-only stabilization after visual QA.
 * Desktop/tablet rules are intentionally untouched.
 * ========================================================= */

@media (max-width: 767px){
  /* Prevent the page shell from creating accidental horizontal overflow. */
  body,
  body.home,
  body.woocommerce-cart,
  body.woocommerce-checkout,
  body.single-product{
    overflow-x:hidden!important;
  }

  .site-main{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
}

/* ---------- HOME: mobile composition ---------- */
@media (max-width: 480px){
  body.home .home-hero{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    margin:12px 0 26px!important;
    overflow:hidden!important;
  }

  body.home .home-hero-picture{
    order:1!important;
    position:relative!important;
    inset:auto!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
  }

  body.home .home-hero-picture img{
    display:block!important;
    position:static!important;
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center center!important;
  }

  body.home .home-hero-overlay{display:none!important;}

  body.home .home-hero-copy{
    order:2!important;
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    box-sizing:border-box!important;
    padding:22px 18px 24px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    align-items:flex-start!important;
    background:#fff!important;
  }

  body.home .home-hero-copy h1{
    color:#111!important;
    font-family:Arial,sans-serif!important;
    font-weight:800!important;
    font-size:clamp(30px,8.5vw,40px)!important;
    line-height:1.04!important;
    letter-spacing:-.5px!important;
    max-width:100%!important;
    margin:0 0 12px!important;
  }

  body.home .home-hero-copy p{
    color:#555!important;
    font-size:11px!important;
    line-height:1.4!important;
    letter-spacing:1.2px!important;
    margin:0 0 14px!important;
  }

  body.home .home-hero-copy .hero-button{
    display:inline-flex!important;
    width:auto!important;
    min-height:48px!important;
    padding:13px 20px!important;
    align-items:center!important;
    justify-content:center!important;
  }

  /* KEEP the approved two-card category structure. */
  body.home .category-grid-images{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    column-gap:16px!important;
    row-gap:16px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }

  body.home .category-grid-images .image-card{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    aspect-ratio:1 / 1!important;
    margin:0!important;
    padding:0!important;
    position:relative!important;
    overflow:hidden!important;
    border-radius:6px!important;
  }

  body.home .category-grid-images .image-card img{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    object-fit:cover!important;
    object-position:center center!important;
  }

  body.home .category-grid-images .image-card span{
    left:12px!important;
    bottom:13px!important;
    z-index:2!important;
    font-size:13px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }

  body.home .best-seller-home,
  body.home .why-aljosa{
    width:100%!important;
    max-width:100%!important;
  }
}

@media (max-width: 390px){
  body.home .category-grid-images{
    column-gap:12px!important;
  }
}

/* ---------- CART: mobile card layout ---------- */
@media (max-width: 767px){
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody tr.cart_item{
    display:grid!important;
    grid-template-columns:24px 64px minmax(0,1fr)!important;
    grid-template-areas:
      "remove thumb name"
      "remove thumb price"
      "remove thumb qty"
      "remove thumb subtotal"!important;
    column-gap:10px!important;
    row-gap:6px!important;
    align-items:start!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:14px 8px!important;
    box-sizing:border-box!important;
    border:0!important;
    border-bottom:1px solid #e7e4de!important;
  }

  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody tr.cart_item > td{
    display:block!important;
    float:none!important;
    position:static!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    border:0!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-remove{
    grid-area:remove!important;
    width:24px!important;
    min-width:24px!important;
    text-align:center!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:24px!important;
    height:24px!important;
    margin:0!important;
    padding:0!important;
    font-size:18px!important;
    line-height:24px!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail{
    grid-area:thumb!important;
    width:64px!important;
    min-width:64px!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail a{
    display:block!important;
    width:64px!important;
    margin:0!important;
    padding:0!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img{
    display:block!important;
    width:64px!important;
    height:80px!important;
    max-width:64px!important;
    max-height:80px!important;
    margin:0!important;
    padding:2px!important;
    box-sizing:border-box!important;
    object-fit:contain!important;
    background:#f7f7f7!important;
    border:1px solid #e7e4de!important;
    border-radius:4px!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-name{
    grid-area:name!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:700!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    hyphens:none!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-name a,
  body.woocommerce-cart .woocommerce-cart-form td.product-name *{
    max-width:100%!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    hyphens:none!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation{
    display:block!important;
    margin:4px 0 0!important;
    font-size:11px!important;
    line-height:1.35!important;
    font-weight:400!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dt,
  body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dd{
    display:inline!important;
    float:none!important;
    margin:0!important;
    padding:0!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dd{
    margin-right:5px!important;
  }

  /* Show the unit price under the product name without squeezing it. */
  body.woocommerce-cart .woocommerce-cart-form td.product-price{
    grid-area:price!important;
    display:block!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    text-align:left!important;
    font-size:12px!important;
    line-height:1.3!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-price:before{
    content:'Harga: '!important;
    color:#707070!important;
    font-weight:400!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-price .amount{
    white-space:nowrap!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-quantity{
    grid-area:qty!important;
    display:block!important;
    width:auto!important;
    min-width:0!important;
    text-align:left!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-quantity .quantity{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:auto!important;
    max-width:100%!important;
    margin:0!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-quantity input.qty{
    width:48px!important;
    min-width:48px!important;
    height:38px!important;
    margin:0!important;
    padding:4px!important;
    box-sizing:border-box!important;
    text-align:center!important;
    font-size:13px!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal{
    grid-area:subtotal!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:3px 0 0!important;
    padding:7px 0 0!important;
    border-top:1px solid #eee!important;
    text-align:right!important;
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:700!important;
    white-space:nowrap!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal:before{
    content:'Subtotal: '!important;
    color:#707070!important;
    font-weight:400!important;
  }

  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .amount{
    white-space:nowrap!important;
  }

  body.woocommerce-cart .woocommerce-cart-form .actions{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    box-sizing:border-box!important;
  }

  body.woocommerce-cart .woocommerce-cart-form .actions .coupon{
    width:100%!important;
    min-width:0!important;
    display:flex!important;
    gap:7px!important;
  }

  body.woocommerce-cart .woocommerce-cart-form .actions .coupon input{
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
  }

  body.woocommerce-cart .woocommerce-cart-form .actions .coupon button{
    flex:0 0 108px!important;
    width:108px!important;
    min-width:108px!important;
  }

  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-cart .cart-collaterals .cart_totals{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    box-sizing:border-box!important;
  }

  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:54px!important;
  }
}

/* ---------- CHECKOUT: mobile order review safety ---------- */
@media (max-width: 767px){
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tbody tr.cart_item{
    grid-template-columns:58px minmax(0,1fr) 78px!important;
  }

  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name *{
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }

  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-total,
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-total .amount{
    white-space:nowrap!important;
  }
}

/* =========================================================
 * ALJOSA 1.6.10.30 — FINAL DETERMINISTIC MOBILE QA
 * Last rule block intentionally wins over earlier historical
 * responsive experiments. Mobile only; desktop/tablet untouched.
 * ========================================================= */
@media (max-width: 767px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
  .site-main{width:100%!important;max-width:100%!important;min-width:0!important;padding-left:14px!important;padding-right:14px!important;}
}

@media (max-width: 480px){
  /* HOME: photo first, readable copy below, never overlay text on photo. */
  body.home .home-hero{display:flex!important;flex-direction:column!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;margin:12px 0 26px!important;overflow:hidden!important;background:#fff!important;}
  body.home .home-hero-picture{order:1!important;position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;}
  body.home .home-hero-picture img{position:static!important;display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;}
  body.home .home-hero-overlay{display:none!important;}
  body.home .home-hero-copy{order:2!important;position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;padding:22px 18px 24px!important;background:#fff!important;color:#111!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important;box-sizing:border-box!important;}
  body.home .home-hero-copy h1{color:#111!important;font-family:Arial,sans-serif!important;font-weight:800!important;font-size:clamp(30px,8.5vw,40px)!important;line-height:1.04!important;letter-spacing:-.5px!important;max-width:100%!important;margin:0 0 12px!important;}
  body.home .home-hero-copy p{color:#555!important;font-size:11px!important;line-height:1.4!important;letter-spacing:1.2px!important;margin:0 0 14px!important;}
  body.home .home-hero-copy .hero-button{display:inline-flex!important;width:auto!important;min-height:48px!important;padding:13px 20px!important;align-items:center!important;justify-content:center!important;background:#111!important;color:#fff!important;}

  /* HOME CATEGORY: exactly two cards, with unmistakable separation. */
  body.home .category-grid-images{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:16px!important;row-gap:16px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important;}
  body.home .category-grid-images .image-card{display:block!important;width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;aspect-ratio:1/1!important;margin:0!important;padding:0!important;position:relative!important;overflow:hidden!important;border-radius:6px!important;}
  body.home .category-grid-images .image-card img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center center!important;}
  body.home .category-grid-images .image-card span{position:absolute!important;left:12px!important;bottom:13px!important;z-index:2!important;font-size:13px!important;line-height:1.2!important;white-space:nowrap!important;color:#fff!important;}
}
@media (max-width: 390px){
  body.home .category-grid-images{column-gap:12px!important;}
}

@media (max-width: 767px){
  /* CART: three columns only — remove, image, information. */
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart{display:block!important;width:100%!important;max-width:100%!important;border:0!important;margin:0!important;table-layout:auto!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart thead{display:none!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody{display:block!important;width:100%!important;max-width:100%!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody tr.cart_item{display:grid!important;grid-template-columns:26px 68px minmax(0,1fr)!important;grid-template-areas:"remove thumb name" "remove thumb price" "remove thumb qty" "remove thumb subtotal"!important;column-gap:10px!important;row-gap:6px!important;align-items:start!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 12px!important;padding:12px 10px!important;box-sizing:border-box!important;border:1px solid #e7e4de!important;border-radius:8px!important;background:#fff!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody tr.cart_item>td{display:block!important;float:none!important;position:static!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;box-sizing:border-box!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-remove{grid-area:remove!important;width:26px!important;min-width:26px!important;text-align:center!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove{display:flex!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important;margin:0!important;padding:0!important;font-size:19px!important;line-height:26px!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail{grid-area:thumb!important;width:68px!important;min-width:68px!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail a{display:block!important;width:68px!important;margin:0!important;padding:0!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img{display:block!important;width:68px!important;height:86px!important;max-width:68px!important;max-height:86px!important;margin:0!important;padding:2px!important;box-sizing:border-box!important;object-fit:contain!important;background:#f7f7f7!important;border:1px solid #e7e4de!important;border-radius:4px!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-name{grid-area:name!important;width:auto!important;min-width:0!important;max-width:none!important;text-align:left!important;font-size:13px!important;line-height:1.35!important;font-weight:700!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;hyphens:none!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-name a,body.woocommerce-cart .woocommerce-cart-form td.product-name *{max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;hyphens:none!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation{display:block!important;margin:4px 0 0!important;font-size:11px!important;line-height:1.35!important;font-weight:400!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dt,body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dd{display:inline!important;float:none!important;margin:0!important;padding:0!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dd{margin-right:5px!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-price{grid-area:price!important;display:block!important;width:auto!important;min-width:0!important;max-width:none!important;text-align:left!important;font-size:12px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-price:before{content:'Harga: '!important;color:#707070!important;font-weight:400!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-price .amount{white-space:nowrap!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-quantity{grid-area:qty!important;display:block!important;width:auto!important;min-width:0!important;text-align:left!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-quantity .quantity{display:inline-flex!important;align-items:center!important;width:auto!important;max-width:100%!important;margin:0!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-quantity input.qty{width:48px!important;min-width:48px!important;height:38px!important;margin:0!important;padding:4px!important;box-sizing:border-box!important;text-align:center!important;font-size:13px!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal{grid-area:subtotal!important;width:auto!important;min-width:0!important;max-width:none!important;margin:3px 0 0!important;padding:7px 0 0!important;border-top:1px solid #eee!important;text-align:right!important;font-size:13px!important;line-height:1.35!important;font-weight:700!important;white-space:nowrap!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal:before{content:'Subtotal: '!important;color:#707070!important;font-weight:400!important;}
  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .amount{white-space:nowrap!important;}
  body.woocommerce-cart .woocommerce-cart-form .actions{width:100%!important;max-width:100%!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:8px!important;box-sizing:border-box!important;}
  body.woocommerce-cart .woocommerce-cart-form .actions .coupon{width:100%!important;min-width:0!important;display:flex!important;gap:7px!important;}
  body.woocommerce-cart .woocommerce-cart-form .actions .coupon input{flex:1 1 auto!important;width:auto!important;min-width:0!important;}
  body.woocommerce-cart .woocommerce-cart-form .actions .coupon button{flex:0 0 108px!important;width:108px!important;min-width:108px!important;}
  body.woocommerce-cart .cart-collaterals,body.woocommerce-cart .cart-collaterals .cart_totals{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;box-sizing:border-box!important;}
  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:54px!important;margin:0!important;}

  /* CHECKOUT: product names get flexible space; totals never wrap. */
  body.woocommerce-checkout #order_review,body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{table-layout:fixed!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tr.cart_item{display:grid!important;grid-template-columns:58px minmax(0,1fr) auto!important;align-items:start!important;column-gap:8px!important;width:100%!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tr.cart_item>td{min-width:0!important;box-sizing:border-box!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name,body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name *{min-width:0!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;}
  body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-total,body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-total .amount{white-space:nowrap!important;}
}


/* =========================================================
 * ALJOSA 1.6.10.35 — MOBILE-FIRST BUYING FLOW
 * One deterministic rule set. Native WooCommerce form/validation.
 * ========================================================= */
body.single-product .woocommerce div.product form.cart .aljosa-buy-now-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:50px!important;
  min-width:0!important;
  padding:12px 18px!important;
  margin:0!important;
  background:#17263b!important;
  color:#fff!important;
  border:1px solid #17263b!important;
  border-radius:4px!important;
  font-weight:800!important;
  font-size:13px!important;
  line-height:1.2!important;
  cursor:pointer!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
body.single-product .woocommerce div.product form.cart .aljosa-buy-now-button:hover{background:#111!important;border-color:#111!important;}
body.single-product .woocommerce div.product form.cart .aljosa-buy-now-button:disabled,
body.single-product .woocommerce div.product form.cart .aljosa-buy-now-button[aria-disabled="true"]{
  background:#b7b7b7!important;
  border-color:#b7b7b7!important;
  color:#fff!important;
  cursor:not-allowed!important;
  opacity:1!important;
}

/* Mobile: one action per row. This applies to all phone widths up to 767px. */
@media(max-width:767px){
  body.single-product .woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart{
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.single-product .woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart .quantity{
    flex:0 0 auto!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
  body.single-product .woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart .quantity .qty{
    width:64px!important;
    min-width:64px!important;
    min-height:48px!important;
    text-align:center!important;
    box-sizing:border-box!important;
  }
  body.single-product .woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button,
  body.single-product .woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart .aljosa-buy-now-button{
    flex:0 0 auto!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    min-height:52px!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  body.single-product .woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart .aljosa-buy-now-button{
    margin-top:0!important;
  }
}

/* Home mobile: keep the approved photo-first structure across all phones. */
@media(max-width:767px){
  body.home .home-hero{display:flex!important;flex-direction:column!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;margin:12px 0 26px!important;overflow:hidden!important;background:#fff!important;}
  body.home .home-hero-picture{order:1!important;position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;}
  body.home .home-hero-picture img{position:static!important;display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;}
  body.home .home-hero-overlay{display:none!important;}
  body.home .home-hero-copy{order:2!important;position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;padding:22px 18px 24px!important;background:#fff!important;color:#111!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important;box-sizing:border-box!important;}
  body.home .home-hero-copy h1{color:#111!important;font-family:Arial,sans-serif!important;font-weight:800!important;font-size:clamp(30px,8.5vw,40px)!important;line-height:1.04!important;letter-spacing:-.5px!important;max-width:100%!important;margin:0 0 12px!important;}
  body.home .home-hero-copy p{color:#555!important;font-size:11px!important;line-height:1.4!important;letter-spacing:1.2px!important;margin:0 0 14px!important;}
  body.home .home-hero-copy .hero-button{display:inline-flex!important;width:auto!important;min-height:48px!important;padding:13px 20px!important;align-items:center!important;justify-content:center!important;background:#111!important;color:#fff!important;}
  body.home .category-grid-images{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:16px!important;row-gap:16px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important;}
  body.home .category-grid-images .image-card{display:block!important;width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;aspect-ratio:1/1!important;margin:0!important;padding:0!important;position:relative!important;overflow:hidden!important;border-radius:6px!important;}
  body.home .category-grid-images .image-card img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center center!important;}
  body.home .category-grid-images .image-card span{position:absolute!important;left:12px!important;bottom:13px!important;z-index:2!important;font-size:13px!important;line-height:1.2!important;white-space:nowrap!important;color:#fff!important;}
}
@media(max-width:390px){
  body.home .category-grid-images{column-gap:12px!important;}
}

/* =========================================================
 * ALJOSA 1.6.10.39 — LIGHTWEIGHT BEST SELLER + REVIEW + SUCCESS UI
 * Existing ALJOSA layout remains unchanged outside these additions.
 * ========================================================= */
.best-seller-home .aljosa-product-carousel{width:100%;min-width:0;}
.aljosa-carousel-controls{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 10px;}
.aljosa-carousel-arrow{width:40px;height:40px;border:1px solid #ddd;background:#fff;color:#111;border-radius:50%;font-size:24px;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;}
.aljosa-carousel-arrow:focus-visible,.aljosa-carousel-dot:focus-visible,.aljosa-best-button:focus-visible,.aljosa-best-image:focus-visible,.aljosa-best-title:focus-visible,.aljosa-order-success-track:focus-visible{outline:2px solid #17263b;outline-offset:2px;}
.aljosa-carousel-viewport,.aljosa-review-viewport{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-x:contain;}
.aljosa-carousel-viewport::-webkit-scrollbar,.aljosa-review-viewport::-webkit-scrollbar{display:none;}
.aljosa-carousel-track{display:flex;gap:16px;width:100%;min-width:100%;padding:0 1px 4px;}
.aljosa-carousel-track .aljosa-best-card{flex:0 0 calc((100% - 48px) / 4);min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;position:relative;margin:0;padding:0;}
.aljosa-best-card .aljosa-sale-badge{display:inline-block;align-self:flex-start;position:static;margin:0 0 7px;padding:4px 9px;background:#8f2f2f;color:#fff;font-size:10px;font-weight:700;line-height:1;border-radius:2px;}
.aljosa-best-image{display:block;width:100%;margin:0;padding:0;text-decoration:none;}
.aljosa-best-image img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;object-position:center;background:#f7f7f7;margin:0;padding:5px;box-sizing:border-box;}
.aljosa-best-title{display:block;margin:9px 0 0;padding:0;text-decoration:none;color:#111;font-size:13px;line-height:1.35;min-height:36px;}
.aljosa-best-price{display:block;margin:7px 0 10px;padding:0;min-height:20px;font-size:13px;line-height:1.25;}
.aljosa-best-price del{color:#999;}
.aljosa-best-price ins{color:#17263b;font-weight:700;text-decoration:none;}
.aljosa-best-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;box-sizing:border-box;margin:0;padding:10px 8px;background:#111;color:#fff;text-decoration:none;font-size:12px;font-weight:700;line-height:1.2;text-align:center;}
.aljosa-carousel-dots{display:flex;align-items:center;justify-content:center;gap:5px;min-width:30px;min-height:24px;}
.aljosa-carousel-dot{width:7px;height:7px;border:0;border-radius:50%;padding:0;background:#c9c9c9;cursor:pointer;}
.aljosa-carousel-dot.is-active{background:#111;transform:scale(1.15);}
.aljosa-carousel-hint{margin:9px 0 0;text-align:center;color:#777;font-size:11px;line-height:1.4;}

.aljosa-home-reviews{margin-top:8px;}
.aljosa-review-intro{margin:-2px 0 14px;color:#666;font-size:12px;line-height:1.5;}
.aljosa-review-track{display:flex;gap:12px;width:max-content;min-width:100%;padding:1px 1px 5px;}
.aljosa-review-card{flex:0 0 340px;scroll-snap-align:start;box-sizing:border-box;border:1px solid #e6e6e6;background:#fff;padding:18px;border-radius:6px;overflow:hidden;}
.aljosa-review-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;min-width:0;}
.aljosa-review-user{display:flex;align-items:center;gap:8px;min-width:0;}
.aljosa-review-user strong{font-size:13px;line-height:1.3;overflow-wrap:anywhere;}
.aljosa-review-avatar{display:inline-flex!important;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#eef1f3;color:#71808b;font-size:10px;line-height:1;}
.aljosa-review-stars{letter-spacing:2px;font-size:13px;line-height:1;color:#111;white-space:nowrap;flex:0 0 auto;}
.aljosa-review-variant{margin:0 0 10px;color:#666;font-size:12px;line-height:1.45;overflow-wrap:anywhere;}
.aljosa-review-text{margin:0 0 11px!important;color:#222!important;font-size:13px!important;line-height:1.55!important;overflow-wrap:anywhere;}
.aljosa-review-labels{display:grid;gap:4px;margin:0 0 11px;}
.aljosa-review-label{display:block!important;margin:0!important;color:#666!important;font-size:11px!important;line-height:1.4!important;overflow-wrap:anywhere;}
.aljosa-review-label b{color:#777;font-weight:600;}
.aljosa-review-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px;}
.aljosa-review-media img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:5px;margin:0;background:#f4f4f4;}
.aljosa-review-note{margin:10px 0 0;color:#888;font-size:10px;line-height:1.45;text-align:center;}
.aljosa-order-success{max-width:760px;margin:28px auto 40px;padding:30px 22px;border:1px solid #e5e5e5;background:#fff;text-align:center;box-sizing:border-box;}
.aljosa-order-success-mark{width:48px;height:48px;margin:0 auto 14px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#111;color:#fff;font-size:27px;font-weight:700;line-height:1;}
.aljosa-order-success h2{margin:0 0 9px;color:#111;font-size:25px;line-height:1.2;letter-spacing:.2px;}
.aljosa-order-success-thanks{margin:0 0 20px;color:#444;font-size:14px;line-height:1.5;}
.aljosa-order-success-number{display:inline-flex;flex-direction:column;gap:5px;margin:0 auto 18px;padding:12px 18px;background:#f7f7f7;min-width:190px;box-sizing:border-box;}
.aljosa-order-success-number span{font-size:11px;color:#777;}
.aljosa-order-success-number strong{font-size:17px;color:#111;letter-spacing:.3px;}
.aljosa-order-success-email{margin:0 auto 22px;max-width:560px;padding:13px 15px;background:#fafafa;color:#333;font-size:12px;line-height:1.5;}
.aljosa-order-success-steps{text-align:left;max-width:620px;margin:0 auto 22px;border-top:1px solid #eee;}
.aljosa-order-success-steps h3{margin:18px 0 12px;font-size:16px;line-height:1.3;color:#111;}
.aljosa-order-success-steps ol{margin:0;padding-left:23px;}
.aljosa-order-success-steps li{padding:0 0 13px 5px;color:#111;font-size:13px;line-height:1.45;}
.aljosa-order-success-steps li strong{display:block;margin-bottom:3px;}
.aljosa-order-success-steps li span{display:block;color:#666;font-size:12px;line-height:1.45;}
.aljosa-order-success-track{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 20px;background:#111;color:#fff;text-decoration:none;font-size:13px;font-weight:700;box-sizing:border-box;}

@media(max-width:767px){
  .best-seller-home .section-head{margin-bottom:10px;}
  .aljosa-carousel-controls{display:none;}
  .aljosa-carousel-track{gap:12px;width:100%;min-width:100%;}
  .aljosa-carousel-track .aljosa-best-card{flex:0 0 calc((100vw - 56px) / 1.55);max-width:270px;}
  .aljosa-best-title{font-size:12px;min-height:34px;}
  .aljosa-best-price,.aljosa-best-price .price{font-size:13px;}
  .aljosa-best-button{min-height:46px;font-size:12px;}
  .aljosa-carousel-hint{font-size:10px;margin-top:8px;}
  .aljosa-home-reviews{margin-top:4px;}
  .aljosa-review-intro{font-size:11px;margin-bottom:11px;}
  .aljosa-review-card{flex-basis:calc(100vw - 48px);max-width:360px;padding:16px;}
  .aljosa-review-card p{font-size:12px;line-height:1.5;}
  .aljosa-order-success{margin:18px 12px 28px;padding:24px 16px;}
  .aljosa-order-success h2{font-size:22px;}
  .aljosa-order-success-thanks{font-size:13px;}
  .aljosa-order-success-number{min-width:180px;}
  .aljosa-order-success-email{font-size:11px;text-align:left;}
  .aljosa-order-success-steps h3{font-size:15px;}
  .aljosa-order-success-steps li{font-size:12px;}
  .aljosa-order-success-steps li span{font-size:11px;}
  .aljosa-order-success-track{width:100%;min-height:50px;}
}

@media(min-width:768px){
  .aljosa-carousel-hint{display:none;}
}

@media(prefers-reduced-motion:reduce){.aljosa-carousel-viewport,.aljosa-review-viewport{scroll-behavior:auto!important;scroll-snap-type:none;}.aljosa-carousel-dot.is-active{transform:none;}}


/* =========================================================
 * ALJOSA 1.6.10.42 — FINAL MOBILE CLARITY REFINEMENT
 * Keeps existing design intact; only stabilizes carousel and order-success spacing.
 * ========================================================= */
.best-seller-home .aljosa-carousel-viewport{width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-padding-left:0;}
.best-seller-home .aljosa-carousel-track{width:100%;min-width:100%;padding:0 0 4px;margin:0;align-items:stretch;}
.best-seller-home .aljosa-carousel-track .aljosa-best-card{box-sizing:border-box;}
@media(min-width:768px){
  .best-seller-home .aljosa-carousel-track{gap:16px;}
  .best-seller-home .aljosa-carousel-viewport{scroll-snap-type:x mandatory;}
  .best-seller-home .aljosa-carousel-track .aljosa-best-card{flex:0 0 calc((100% - 48px)/4);max-width:none;}
}
/* Never let the floating WhatsApp helper cover the final checkout/order actions. */
body.woocommerce-checkout .site-main,
body.woocommerce-order-received .site-main{padding-bottom:92px;}
body.woocommerce-checkout .aljosa-wa,
body.woocommerce-order-received .aljosa-wa{right:12px;bottom:14px;padding:9px 12px;font-size:11px;}
@media(max-width:767px){
  body.woocommerce-checkout .site-main,
  body.woocommerce-order-received .site-main{padding-bottom:88px;}
  body.woocommerce-checkout .aljosa-wa,
  body.woocommerce-order-received .aljosa-wa{right:10px;bottom:12px;padding:9px 11px;font-size:11px;}
  .aljosa-order-success{margin:16px 10px 24px;padding:22px 15px;border-radius:8px;}
  .aljosa-order-success-mark{width:46px;height:46px;margin-bottom:12px;font-size:25px;}
  .aljosa-order-success h2{font-size:21px;}
  .aljosa-order-success-thanks{margin-bottom:17px;}
  .aljosa-order-success-email{margin-bottom:20px;padding:12px 13px;}
  .aljosa-order-success-steps{margin-bottom:19px;}
  .aljosa-order-success-steps li{padding-bottom:12px;}
  .aljosa-order-success-track{min-height:48px;border-radius:6px;}
}

/* =========================================================
 * ALJOSA 1.6.10.43 — PRODUCT GALLERY / DETAIL VISIBILITY
 * Keep product images isolated to the current product and make
 * description images reliably visible after opening Detail.
 * ========================================================= */
.single-product .woocommerce-product-gallery{width:100%!important;float:none!important;}
.single-product .woocommerce-product-gallery__image{display:block!important;}
.single-product .woocommerce-product-gallery__image img{display:block!important;width:100%!important;height:auto!important;object-fit:contain!important;}
.single-product .woocommerce-product-gallery__image:not(:first-child){display:none!important;}
.single-product .woocommerce-product-gallery__image.flex-active-slide{display:block!important;}
.single-product .woocommerce-product-gallery__wrapper{margin:0!important;}
.single-product .woocommerce-product-gallery__trigger{display:none!important;}
.single-product .woocommerce-tabs{clear:both!important;background:#fff!important;}
.single-product .woocommerce-tabs .panel{background:#fff!important;color:#111!important;visibility:visible!important;}
.single-product .woocommerce-tabs .panel img{display:block!important;max-width:100%!important;height:auto!important;opacity:1!important;visibility:visible!important;}
.single-product .woocommerce-tabs .panel p:empty{display:none!important;}
@media(max-width:767px){
  .single-product .woocommerce-tabs .panel{font-size:14px!important;line-height:1.65!important;}
}

/* ALJOSA 1.6.10.47 — simple privacy + Midtrans-only compact payment reassurance */
.footer-privacy{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:18px;font-size:11px}.footer-privacy strong{width:100%;font-size:12px;letter-spacing:.2px}.footer-privacy a{color:#fff!important;opacity:.82;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.22);padding-bottom:1px}.footer-privacy a:hover{opacity:1}.footer-payment{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:16px}.footer-payment-title{font-size:10px;opacity:.72;margin-right:2px}.footer-payment-brand{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:3px 7px;border:1px solid rgba(255,255,255,.18);border-radius:4px;background:rgba(255,255,255,.06);font-size:9px;line-height:1;font-weight:700;letter-spacing:.15px;opacity:.88}.footer-payment-brand:first-of-type{font-size:9px}
@media(max-width:767px){.footer-privacy{gap:7px 12px;margin-top:16px}.footer-privacy strong{font-size:11px}.footer-payment{gap:5px;margin-top:14px}.footer-payment-title{width:100%;margin-bottom:1px}.footer-payment-brand{min-height:21px;padding:3px 6px;font-size:8.5px}}


/* ALJOSA 1.6.10.45 — deterministic product gallery and contact clarity */
.single-product .aljosa-product-gallery-custom{width:100%;margin:0 0 18px;}
.aljosa-product-gallery-main{display:block;width:100%;background:#f7f7f7;overflow:hidden;}
.aljosa-product-gallery-main img{display:block;width:100%;height:auto;max-height:760px;object-fit:contain;margin:0 auto;}
.aljosa-product-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:8px 0 2px;scrollbar-width:thin;}
.aljosa-product-gallery-thumb{flex:0 0 72px;width:72px;height:72px;padding:0;border:1px solid #ddd;background:#fff;border-radius:3px;overflow:hidden;cursor:pointer;pointer-events:auto;position:relative;z-index:2;}
.aljosa-product-gallery-thumb.is-active{border:2px solid #17263b;}
.aljosa-product-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;}
.aljosa-contact-page{max-width:680px;margin:0 auto;font-size:15px;line-height:1.65;}
.aljosa-contact-card{display:flex;flex-direction:column;gap:5px;margin:14px 0;padding:16px;border:1px solid var(--line);border-radius:8px;background:#fafafa;}
.aljosa-contact-card strong{font-size:15px;color:#111;}
.aljosa-contact-card span{color:#666;font-size:13px;}
.aljosa-contact-card a{display:inline-block;font-weight:700;text-decoration:underline;}
@media(max-width:767px){.aljosa-product-gallery-thumb{flex-basis:64px;width:64px;height:64px}.aljosa-product-gallery-thumbs{gap:7px}.aljosa-contact-page{font-size:14px}.aljosa-contact-card{padding:14px}.footer-payment-brand{font-size:8px!important;min-height:20px!important;padding:3px 6px!important;}}

/* ALJOSA 1.6.10.49 — compact payment logos in footer */
.footer-payment{margin-top:18px}
.footer-payment-title{display:block;font-size:12px;font-weight:700;letter-spacing:.02em;margin-bottom:8px}
.footer-payment-logos{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:100%}
.footer-payment-logo{display:flex;align-items:center;justify-content:center;width:52px;height:28px;padding:4px 6px;background:#fff;border:1px solid #e6e6e6;border-radius:5px;box-sizing:border-box}
.footer-payment-logo img{display:block;max-width:100%;max-height:18px;width:auto;height:auto;object-fit:contain}
.footer-payment-provider{display:block;margin-top:7px;font-size:10px;line-height:1.4;color:#777}
@media (max-width:767px){
  .footer-payment{margin-top:16px}
  .footer-payment-logos{gap:5px}
  .footer-payment-logo{width:48px;height:26px;padding:3px 5px}
  .footer-payment-logo img{max-height:16px}
  .footer-payment-provider{font-size:9px}
}

/* =========================================================
 * ALJOSA 1.6.10.51 — MOBILE ORDER RECEIVED / BCA PAYMENT UX
 * ========================================================= */
.woocommerce-order-received .aljosa-order-received-payment{
  margin:22px 0;
  padding:20px;
  border:1px solid #e4e1da;
  border-radius:12px;
  background:#fff;
}
.woocommerce-order-received .aljosa-order-received-payment h2{
  margin:0 0 9px;
  font-size:20px;
  line-height:1.3;
}
.woocommerce-order-received .aljosa-order-received-payment p{
  margin:0 0 12px;
  line-height:1.65;
}
.woocommerce-order-received .aljosa-bca-account{
  margin:14px 0;
  padding:14px;
  border-radius:10px;
  background:#f7f5f1;
}
.woocommerce-order-received .aljosa-bca-account div{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:7px 0;
  border-bottom:1px solid #e5e2dc;
}
.woocommerce-order-received .aljosa-bca-account div:last-child{border-bottom:0}
.woocommerce-order-received .aljosa-bca-account span{color:#666}
.woocommerce-order-received .aljosa-bca-account strong{text-align:right;word-break:break-word}
.woocommerce-order-received .aljosa-bca-next{
  margin-top:15px;
  padding:14px;
  border:1px solid #e5e2dc;
  border-radius:10px;
}
.woocommerce-order-received .aljosa-bca-next ol{margin:9px 0 0;padding-left:20px}
.woocommerce-order-received .aljosa-bca-next li{margin:6px 0;line-height:1.5}
.woocommerce-order-received .aljosa-bca-note{
  margin-top:14px!important;
  padding:12px 13px;
  border-radius:9px;
  background:#fff8e8;
  border:1px solid #ead9ad;
  font-size:13px;
}
.woocommerce-order-received .aljosa-order-pay-button{
  display:block;
  margin:17px 0 0;
  padding:14px 18px;
  border-radius:9px;
  background:#182f54;
  color:#fff!important;
  text-align:center;
  text-decoration:none!important;
  font-weight:700;
}
/* WooCommerce's generic BACS bank block is replaced by the ALJOSA block above. */
.woocommerce-order-received .woocommerce-bacs-bank-details{display:none!important}
@media (max-width:600px){
  .woocommerce-order-received .aljosa-order-received-payment{padding:16px;margin:18px 0}
  .woocommerce-order-received .aljosa-order-received-payment h2{font-size:18px}
  .woocommerce-order-received .aljosa-bca-account div{display:block}
  .woocommerce-order-received .aljosa-bca-account strong{display:block;text-align:left;margin-top:2px}
}

/* ALJOSA 1.6.10.53 — Order Received: shipping address only + branded payment cards. */
.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--billing-address{display:none!important;}
.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--shipping-address-only{width:100%!important;float:none!important;}

.footer-payment-logos{gap:7px;align-items:center;}
.footer-payment-logo{
  width:auto;
  min-width:58px;
  height:34px;
  padding:5px 8px;
  background:#fff;
  border:1px solid var(--footer-payment-border,#e6e6e6);
  border-top:3px solid var(--footer-payment-accent,#999);
  border-radius:6px;
  box-sizing:border-box;
  box-shadow:0 1px 0 rgba(0,0,0,.03);
}
.footer-payment-logo img{max-width:100%;max-height:20px;width:auto;height:auto;object-fit:contain;}
.footer-payment-logo--bca{--footer-payment-accent:#005baa;--footer-payment-border:#b9d4ef;min-width:58px;}
.footer-payment-logo--cimb-niaga{--footer-payment-accent:#e31b23;--footer-payment-border:#f2b8bb;min-width:78px;}
.footer-payment-logo--bni{--footer-payment-accent:#f58220;--footer-payment-border:#f5cfad;min-width:58px;}
.footer-payment-logo--bri{--footer-payment-accent:#005baa;--footer-payment-border:#b9d4ef;min-width:58px;}
.footer-payment-logo--gopay{--footer-payment-accent:#00a86b;--footer-payment-border:#b7dfd0;min-width:66px;}
.footer-payment-logo--mandiri{--footer-payment-accent:#003b7a;--footer-payment-border:#b8c8d9;min-width:78px;}
.footer-payment-logo--permata{--footer-payment-accent:#008c95;--footer-payment-border:#b5d9db;min-width:78px;}
.footer-payment-logo--qris{min-width:58px;}
@media(max-width:767px){
  .footer-payment-logos{gap:5px;}
  .footer-payment-logo{height:31px;min-width:52px;padding:4px 6px;border-radius:5px;}
  .footer-payment-logo img{max-height:18px;}
  .footer-payment-logo--cimb-niaga{min-width:70px;}
  .footer-payment-logo--gopay{min-width:60px;}
  .footer-payment-logo--mandiri,.footer-payment-logo--permata{min-width:70px;}
  .footer-payment-logo--qris{min-width:55px;}
}

/* ALJOSA 1.6.10.54 — manual BCA transfer confirmation button. */
.aljosa-transfer-wa-wrap{margin:16px 0 18px;text-align:center}
.aljosa-transfer-wa-button{
  display:flex;align-items:center;justify-content:center;gap:9px;width:100%;box-sizing:border-box;
  min-height:48px;padding:12px 14px;border-radius:7px;background:#25D366;color:#fff!important;
  font-size:13px;font-weight:800;line-height:1.25;text-align:center;text-decoration:none!important;
  box-shadow:none;border:1px solid #20b95a;
}
.aljosa-transfer-wa-button:hover,.aljosa-transfer-wa-button:focus{background:#20b95a;color:#fff!important;text-decoration:none!important}
.aljosa-transfer-wa-icon{display:inline-flex;align-items:center;justify-content:center;font-size:18px;line-height:1;font-weight:900}
@media(max-width:767px){
  .aljosa-transfer-wa-button{min-height:50px;padding:13px 12px;font-size:12px}
}
/* ALJOSA 1.6.10.54 — polished payment cards with brand-color accents. */
.footer-payment-logos{display:flex;flex-wrap:wrap;align-items:center;gap:7px;max-width:100%}
.footer-payment-logo{
  display:flex;align-items:center;justify-content:center;box-sizing:border-box;
  height:34px;min-width:58px;padding:4px 7px;background:#fff;border:1px solid var(--footer-payment-border,#e6e6e6);
  border-top:3px solid var(--footer-payment-accent,#999);border-radius:6px;
}
.footer-payment-logo img{display:block;max-width:100%;max-height:21px;width:auto;height:auto;object-fit:contain}
.footer-payment-logo--bca{--footer-payment-accent:#005baa;--footer-payment-border:#b9d4ef;min-width:60px}
.footer-payment-logo--cimb-niaga{--footer-payment-accent:#e31b23;--footer-payment-border:#f2b8bb;min-width:78px}
.footer-payment-logo--bni{--footer-payment-accent:#f58220;--footer-payment-border:#f5cfad;min-width:60px}
.footer-payment-logo--bri{--footer-payment-accent:#005baa;--footer-payment-border:#b9d4ef;min-width:60px}
.footer-payment-logo--gopay{--footer-payment-accent:#00a86b;--footer-payment-border:#b7dfd0;min-width:68px}
.footer-payment-logo--mandiri{--footer-payment-accent:#003b7a;--footer-payment-border:#b8c8d9;min-width:78px}
.footer-payment-logo--permata{--footer-payment-accent:#008c95;--footer-payment-border:#b5d9db;min-width:78px}
@media(max-width:767px){
  .footer-payment-logos{gap:5px}
  .footer-payment-logo{height:31px;min-width:54px;padding:4px 6px}
  .footer-payment-logo img{max-height:18px}
  .footer-payment-logo--cimb-niaga{min-width:70px}
  .footer-payment-logo--gopay{min-width:60px}
  .footer-payment-logo--mandiri,.footer-payment-logo--permata{min-width:70px}
}


/* ALJOSA 1.6.10.55 — mobile search clarity + search-results flow safety.
   Search trigger gets a real 44px touch target and CSS-drawn magnifier.
   Search results are forced into a normal full-width document flow so the
   footer cannot sit beside the results at narrow/mobile widths. */
.aljosa-search-toggle{
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;margin:0!important;border:0!important;background:transparent!important;
  color:var(--text)!important;cursor:pointer!important;box-sizing:border-box!important;
  position:relative!important;
}
.aljosa-search-icon{
  display:block!important;width:18px!important;height:18px!important;border:2px solid currentColor!important;
  border-radius:50%!important;box-sizing:border-box!important;position:relative!important;
}
.aljosa-search-icon::after{
  content:"";position:absolute!important;width:8px!important;height:2px!important;background:currentColor!important;
  border-radius:2px!important;right:-6px!important;bottom:-3px!important;transform:rotate(45deg)!important;
  transform-origin:center!important;
}
.aljosa-search-toggle:focus-visible{outline:2px solid var(--navy)!important;outline-offset:2px!important;border-radius:6px!important;}

body.search .site-main{
  display:block!important;float:none!important;clear:both!important;position:relative!important;
  width:100%!important;max-width:1200px!important;min-width:0!important;margin:0 auto!important;
  box-sizing:border-box!important;
}
body.search .aljosa-search-page{
  display:block!important;float:none!important;clear:both!important;position:relative!important;
  width:100%!important;max-width:1200px!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important;
  box-sizing:border-box!important;
}
body.search .search-results{
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
}
body.search .search-item{min-width:0!important;float:none!important;position:relative!important;box-sizing:border-box!important;}
body.search .aljosa-footer{
  display:block!important;float:none!important;clear:both!important;position:relative!important;
  width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;
}
body.search .aljosa-footer::before{content:"";display:block;clear:both!important;}
@media(max-width:767px){
  .aljosa-actions{gap:4px!important;}
  .aljosa-search-toggle{width:44px!important;height:44px!important;}
  .aljosa-search-icon{width:19px!important;height:19px!important;}
  body.search .site-main{padding-left:14px!important;padding-right:14px!important;}
  body.search .aljosa-search-page{padding-left:0!important;padding-right:0!important;}
  body.search .search-results{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 10px!important;}
}

/* ALJOSA 1.6.10.56 — hard reset search-page shell to one vertical flow.
   The live screenshot showed the entire page (announcement/header/content/footer)
   splitting into two columns, so the fix must neutralize any external/theme
   grid/flex rule applied to the body or direct page children. */
body.search{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow-x:hidden!important;
}
body.search > .aljosa-announcement,
body.search > .aljosa-header,
body.search > .aljosa-drawer,
body.search > .site-main,
body.search > .aljosa-footer{
  grid-column:auto!important;
  grid-row:auto!important;
  float:none!important;
  clear:both!important;
  position:relative;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.search > .aljosa-drawer{position:fixed!important;}
/* Search-page shell must never stretch the floating WhatsApp pill. */
body.search > .aljosa-wa{
  position:fixed!important;
  width:auto!important;
  max-width:calc(100vw - 28px)!important;
  min-width:0!important;
  display:inline-flex!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
body.search > .aljosa-header{display:block!important;}
body.search > .aljosa-announcement{display:block!important;}
body.search > .site-main{display:block!important;}
body.search > .aljosa-footer{display:block!important;}
body.search .aljosa-search-page{display:block!important;float:none!important;}

/* ALJOSA 1.6.10.58 — ensure the latest stylesheet is cache-busted with the theme version. */


/* =========================================================
   ALJOSA 1.6.10.62 — CART → CHECKOUT SHIPPING UX
   Mobile-first presentation only.
   Cart remains the place where the customer chooses the courier.
   Checkout shows the already-selected method first. The complete
   shipping list is hidden until the customer chooses "Ubah pilihan
   pengiriman". WooCommerce shipping calculation/session/rates remain
   untouched.
   ========================================================= */
@media (max-width:767px){
  body.woocommerce-checkout .aljosa-checkout-shipping-summary{
    margin:0 0 10px!important;
    padding:12px 13px!important;
    border:1px solid #e7e4de!important;
    border-radius:8px!important;
    background:#f7f4ee!important;
    box-sizing:border-box!important;
  }
  body.woocommerce-checkout .aljosa-checkout-shipping-summary__label{
    display:block!important;
    margin:0 0 3px!important;
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:700!important;
    color:#707070!important;
  }
  body.woocommerce-checkout .aljosa-checkout-shipping-summary__value{
    display:block!important;
    margin:0!important;
    font-size:14px!important;
    line-height:1.45!important;
    font-weight:700!important;
    color:#111!important;
    overflow-wrap:anywhere!important;
  }
  body.woocommerce-checkout .aljosa-checkout-shipping-summary__edit{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:38px!important;
    margin-top:9px!important;
    padding:8px 11px!important;
    border:1px solid #17263b!important;
    border-radius:5px!important;
    background:#fff!important;
    color:#17263b!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:700!important;
    cursor:pointer!important;
  }
  body.woocommerce-checkout .aljosa-checkout-shipping-summary__edit:active{
    background:#17263b!important;
    color:#fff!important;
  }
  body.woocommerce-checkout .aljosa-checkout-shipping-summary.is-editing{
    display:none!important;
  }
  body.woocommerce-checkout .aljosa-checkout-shipping-editing-note{
    display:block!important;
    margin:0 0 9px!important;
    padding:9px 11px!important;
    border-left:3px solid #17263b!important;
    background:#f7f4ee!important;
    color:#555!important;
    font-size:11px!important;
    line-height:1.45!important;
  }
  /* JS marks each actual radio option, including nested shipping-plugin
     structures. This avoids relying on a particular plugin DOM depth. */
  body.woocommerce-checkout .woocommerce-shipping-methods.aljosa-shipping-collapsed .aljosa-hidden-shipping-method{
    display:none!important;
  }
  body.woocommerce-checkout .woocommerce-shipping-methods.aljosa-shipping-collapsed .aljosa-selected-shipping-method{
    display:flex!important;
  }
}

/* Desktop keeps the normal WooCommerce shipping chooser unchanged. */

/* The compact summary itself is generated only on checkout by the JS. */


/* =========================================================
   ALJOSA 1.6.10.67 — HOME CATEGORY NAVIGATION + MOBILE CLARITY
   The two main category cards remain unchanged. A second, compact layer
   exposes the actual product types so first-time buyers can go straight to
   the right collection. Images are supplied ALJOSA photos; only presentation
   (crop/object-position) is applied.
   ========================================================= */
.home-subcategory-section{padding-top:8px;}
.home-subcategory-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px;}
.home-subcategory-head .section-title{margin-bottom:0;}
.home-subcategory-all{font-size:12px;font-weight:700;color:var(--navy);white-space:nowrap;}
.home-subcategory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.home-subcategory-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff;transition:box-shadow .18s ease,transform .18s ease;}
.home-subcategory-card:hover{box-shadow:0 5px 18px rgba(0,0,0,.08);transform:translateY(-1px);}
.home-subcategory-card__image{display:block;aspect-ratio:1/1;overflow:hidden;background:var(--cream);}
.home-subcategory-card__image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;}
.home-subcategory-card__title{display:flex;align-items:center;justify-content:center;min-height:52px;padding:9px 8px;text-align:center;color:var(--navy);font-size:13px;line-height:1.25;font-weight:700;}
.home-subcategory-section + .home-subcategory-section{margin-top:8px;}
.home-subcategory-divider{height:1px;background:var(--line);margin:6px 0 0;}
@media(max-width:767px){
  .home-subcategory-section{padding-top:4px;}
  .home-subcategory-head{align-items:flex-start;margin-bottom:11px;gap:10px;}
  .home-subcategory-head .section-title{font-size:20px;line-height:1.2;}
  .home-subcategory-all{font-size:11px;line-height:1.35;padding-top:2px;}
  .home-subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .home-subcategory-card{border-radius:8px;}
  .home-subcategory-card__title{min-height:48px;padding:8px 7px;font-size:12px;}
  .home-subcategory-section + .home-subcategory-section{margin-top:2px;}
}
@media(max-width:390px){
  .home-subcategory-grid{gap:9px;}
  .home-subcategory-card__title{font-size:11.5px;}
}

/* Supplied-image framing: no facial retouching/editing; CSS only changes the
   visible crop inside the card. */
.home-subcategory-card--shanghai .home-subcategory-card__image img{object-position:center 34%;}
.home-subcategory-card--kids-flanel .home-subcategory-card__image img{object-position:72% 35%;}
.home-subcategory-card--kids-polos .home-subcategory-card__image img{object-position:center 38%;}

/* 1.6.10.67 — hidden editing note must stay hidden when the compact chooser
   is collapsed; !important is needed because the general note rule is also
   important. */
@media(max-width:767px){
  body.woocommerce-checkout .aljosa-checkout-shipping-editing-note[hidden]{display:none!important;}
  body.woocommerce-checkout .aljosa-checkout-shipping-summary__value{overflow-wrap:anywhere!important;}
}


/* =========================================================
   ALJOSA 1.6.10.67 — FOOTER PAYMENT LOGOS
   Only payment brands actually used/displayed by ALJOSA are shown.
   The logo area uses a clean white panel so the real brand marks stay
   readable against the ALJOSA navy footer. No courier/payment brands are
   invented or added here.
   ========================================================= */
.footer-payment{display:block;margin:26px 0 0;padding:0;background:#fff;color:#17263b;border-radius:10px;overflow:hidden;border:1px solid #e6e8ec;box-shadow:none;}
.footer-payment-inner{padding:16px 16px 14px;}
.footer-payment-title{display:block;color:#17263b;font-size:13px;font-weight:800;letter-spacing:.02em;margin:0 0 12px;}
.footer-payment-logos{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;}
.footer-payment-logo{display:flex;align-items:center;justify-content:center;width:94px;height:38px;min-width:0!important;padding:4px 7px;background:#fff;border:1px solid #e1e4e8;border-radius:6px;box-sizing:border-box;}
.footer-payment-logo img{display:block;max-width:100%;max-height:24px;width:auto;height:auto;object-fit:contain;}
.footer-payment-provider{display:block;margin-top:10px;font-size:10px;line-height:1.45;color:#6d737b;}
@media(max-width:767px){
  .footer-payment{margin-top:20px;border-radius:9px;}
  .footer-payment-inner{padding:13px 12px 12px;}
  .footer-payment-title{font-size:12px;margin-bottom:10px;}
  .footer-payment-logos{gap:6px;}
  .footer-payment-logo{width:calc((100% - 18px)/4);height:34px;padding:4px 5px;}
  .footer-payment-logo img{max-height:20px;}
  .footer-payment-provider{font-size:9px;margin-top:8px;}
}
@media(max-width:390px){
  .footer-payment-logo{width:calc((100% - 12px)/3);height:34px;}
}

/* ALJOSA 1.6.10.67 — category image framing polish
   Original supplied photo pixels are retained; only card framing/crop is adjusted. */
.home-subcategory-card__image{background:var(--cream)!important;padding:7px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.home-subcategory-card__image img{background:var(--cream)!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;border-radius:4px!important;transform-origin:center center!important;}
.home-subcategory-card:nth-child(1) .home-subcategory-card__image img{transform:scale(1.01);}
.home-subcategory-card:nth-child(2) .home-subcategory-card__image img{transform:scale(1.03);}
.home-subcategory-card:nth-child(3) .home-subcategory-card__image img{transform:scale(1.08) translateY(1%);}
.home-subcategory-card--shanghai .home-subcategory-card__image img{transform:scale(1.08) translateY(1%);object-position:center 40%;}
.home-subcategory-card--kids-polos .home-subcategory-card__image img{transform:scale(1.06);object-position:center 42%;}
.home-subcategory-card--kids-flanel .home-subcategory-card__image img{transform:scale(1.05);object-position:center 42%;}
.category-grid-images .category-card.image-card{background:var(--cream)!important;}
.category-grid-images .category-card.image-card img{background:var(--cream)!important;}
@media(max-width:767px){
  .home-subcategory-card__image{padding:6px!important;}
  .home-subcategory-card:nth-child(3) .home-subcategory-card__image img{transform:scale(1.06) translateY(1%);}
  .home-subcategory-card--shanghai .home-subcategory-card__image img{transform:scale(1.07) translateY(1%);}
}

/* ALJOSA 1.6.10.68 — final category photography: original foreground preserved; only background areas standardized to ALJOSA cream. */

/* Final category alignment: one consistent image frame for all six shortcuts. */
.home-subcategory-card__image{background:var(--cream)!important;padding:0!important;aspect-ratio:1/1!important;display:block!important;overflow:hidden!important;}
.home-subcategory-card__image img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;border-radius:0!important;transform:none!important;}
.home-subcategory-card--shanghai .home-subcategory-card__image img,.home-subcategory-card--kids-polos .home-subcategory-card__image img,.home-subcategory-card--kids-flanel .home-subcategory-card__image img{object-position:center center!important;}
/* ALJOSA 1.6.10.68 final visual alignment: consistent card frames, theme cream/white surfaces, navy typography. */
.home-subcategory-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch;}
.home-subcategory-card{height:100%;}
.home-subcategory-card__image{aspect-ratio:1/1!important;padding:0!important;background:var(--cream)!important;overflow:hidden!important;display:block!important;}
.home-subcategory-card__image img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;transform:none!important;border-radius:0!important;background:var(--cream)!important;}
.home-subcategory-card--shanghai .home-subcategory-card__image img,.home-subcategory-card--kids-polos .home-subcategory-card__image img,.home-subcategory-card--kids-flanel .home-subcategory-card__image img{object-position:center center!important;}
@media(max-width:767px){.home-subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.home-subcategory-card__title{min-height:50px;}}


/* ALJOSA 1.6.10.70 — NAVY FOOTER PAYMENT METHODS
   Payment logos sit directly on the navy footer: no individual white cards/boxes. */
.footer-payment{display:block;margin:26px 0 0;padding:0;background:transparent!important;color:#fff;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;}
.footer-payment-inner{padding:0!important;}
.footer-payment-title{display:block;color:#fff!important;font-size:13px;font-weight:800;letter-spacing:.02em;margin:0 0 12px;}
.footer-payment-logos{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;max-width:100%;}
.footer-payment-logo{display:flex;align-items:center;justify-content:flex-start;width:auto!important;min-width:0!important;height:30px;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-sizing:border-box;}
.footer-payment-logo img{display:block;max-width:100px;max-height:24px;width:auto;height:auto;object-fit:contain;}
.footer-payment-logo--cimb-niaga img{max-width:108px;}
.footer-payment-logo--gopay img{max-width:92px;}
.footer-payment-logo--mandiri img,.footer-payment-logo--permata img{max-width:104px;}
.footer-payment-logo--qris img{max-width:112px;}
.footer-payment-provider{display:block;margin-top:11px;font-size:10px;line-height:1.45;color:rgba(255,255,255,.68);}
@media(max-width:767px){
  .footer-payment{margin-top:20px;}
  .footer-payment-title{font-size:12px;margin-bottom:11px;}
  .footer-payment-logos{gap:11px 14px;}
  .footer-payment-logo{height:27px;}
  .footer-payment-logo img{max-width:82px;max-height:21px;}
  .footer-payment-logo--cimb-niaga img{max-width:91px;}
  .footer-payment-logo--gopay img{max-width:78px;}
  .footer-payment-logo--mandiri img,.footer-payment-logo--permata img{max-width:88px;}
  .footer-payment-logo--qris img{max-width:94px;}
  .footer-payment-provider{font-size:9px;margin-top:9px;}
}


/* =========================================================
   ALJOSA 1.6.10.72 — FINAL HOMEPAGE CLARITY + PHOTO FRAMING
   Headings use simple collection language instead of repeating “PILIH”.
   Category photos are supplied originals; only their square card framing is
   controlled here. No model/face/clothing editing is performed.
   ========================================================= */
.home-subcategory-card__image img{object-fit:cover!important;object-position:center center!important;transform:none!important;}
.home-subcategory-card--shanghai .home-subcategory-card__image img{object-position:center center!important;}
.home-subcategory-card--kids-polos .home-subcategory-card__image img{object-position:center center!important;}
.home-subcategory-card--kids-flanel .home-subcategory-card__image img{object-position:center center!important;}

/* Keep the payment area integrated with the navy footer: no individual
   white cards, borders, or white container behind the logos. */
.footer-payment{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;}
.footer-payment-inner{background:transparent!important;border:0!important;box-shadow:none!important;}
.footer-payment-logo{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;}
.footer-payment-logo img{background:transparent!important;}
.footer-payment-title{color:#fff!important;}
.footer-payment-provider{color:rgba(255,255,255,.68)!important;}
@media(max-width:767px){
  .home-subcategory-head{gap:8px;}
  .home-subcategory-all{font-size:11px;min-height:40px;display:inline-flex;align-items:center;}
  .footer-payment-logos{gap:11px 14px;}
}

/* =========================================================
   ALJOSA 1.6.10.73 — MOBILE SHIPPING COURIER PICKER
   A clearer two-step mental model for first-time buyers:
   1) choose the courier, 2) choose the service.
   WooCommerce/plugin shipping controls remain the source of truth.
   ========================================================= */
@media(max-width:767px){
  body.woocommerce-checkout .aljosa-mobile-courier-heading{
    display:flex!important;
    flex-direction:column!important;
    gap:3px!important;
    margin:2px 0 10px!important;
    padding:0!important;
  }
  body.woocommerce-checkout .aljosa-mobile-courier-heading strong{
    display:block!important;
    color:#17263b!important;
    font-size:17px!important;
    line-height:1.3!important;
    font-weight:800!important;
  }
  body.woocommerce-checkout .aljosa-mobile-courier-heading span{
    display:block!important;
    color:#707070!important;
    font-size:11px!important;
    line-height:1.45!important;
    font-weight:500!important;
  }
  body.woocommerce-checkout .aljosa-plugin-shipping-heading-hidden{
    display:none!important;
  }
  body.woocommerce-checkout #order_review .aljosa-courier-card-fix{
    margin:0 0 8px!important;
    padding:0!important;
    border:1px solid #e1e6eb!important;
    border-radius:8px!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  body.woocommerce-checkout #order_review .aljosa-courier-card-fix[aria-expanded="true"]{
    border-color:#2b6f92!important;
    background:#f8fbfc!important;
  }
  body.woocommerce-checkout #order_review .aljosa-courier-card-fix[aria-expanded="false"]{
    background:#fff!important;
  }
  body.woocommerce-checkout #order_review .aljosa-courier-card-fix:hover{
    box-shadow:none!important;
    transform:none!important;
  }
}
@media(max-width:767px){
  body.woocommerce-checkout .aljosa-shipping-cell-collapsed .aljosa-mobile-courier-heading{display:none!important;}
}


/* ALJOSA 1.6.10.75 — FINAL NAVY PAYMENT AREA
 * Payment logos sit directly on the navy footer; no individual white cards.
 */
.footer-payment{display:block!important;margin:24px 0 0!important;padding:0!important;background:transparent!important;color:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;}
.footer-payment-inner{padding:0!important;}
.footer-payment-title{display:block!important;color:#fff!important;font-size:13px!important;font-weight:800!important;letter-spacing:.02em!important;margin:0 0 10px!important;}
.footer-payment-logos{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px 14px!important;max-width:100%!important;padding:0!important;background:transparent!important;border:0!important;}
.footer-payment-logo{display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:30px!important;min-width:64px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-sizing:border-box!important;}
.footer-payment-logo img{display:block!important;max-width:100%!important;max-height:24px!important;width:auto!important;height:auto!important;object-fit:contain!important;}
.footer-payment-provider{display:block!important;margin-top:9px!important;font-size:10px!important;line-height:1.45!important;color:rgba(255,255,255,.68)!important;}
@media(max-width:767px){
  .footer-payment{margin-top:18px!important;}
  .footer-payment-title{font-size:12px!important;margin-bottom:9px!important;}
  .footer-payment-logos{gap:8px 11px!important;}
  .footer-payment-logo{min-width:58px!important;height:26px!important;}
  .footer-payment-logo img{max-height:20px!important;}
  .footer-payment-provider{font-size:9px!important;margin-top:8px!important;}
}
@media(max-width:390px){
  .footer-payment-logos{gap:7px 8px!important;}
  .footer-payment-logo{min-width:52px!important;}
}


/* ALJOSA 1.6.10.76 — PAYMENT LOGOS MOBILE/FOOTER STABILITY
 * Use a deterministic grid so brand marks never compress/overlap.
 * Logos remain directly on navy: no individual white cards.
 */
.footer-payment-logos{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:center!important;
  justify-items:center!important;
  column-gap:18px!important;
  row-gap:12px!important;
  width:100%!important;
  max-width:720px!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
}
.footer-payment-logo{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  height:32px!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.footer-payment-logo img{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  max-height:24px!important;
  object-fit:contain!important;
}
.footer-payment-logo--cimb-niaga img{max-width:112px!important;}
.footer-payment-logo--gopay img{max-width:96px!important;}
.footer-payment-logo--mandiri img,.footer-payment-logo--permata img{max-width:108px!important;}
.footer-payment-logo--qris img{max-width:116px!important;}
@media(max-width:767px){
  .footer-payment-logos{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:18px!important;
    row-gap:10px!important;
    max-width:100%!important;
  }
  .footer-payment-logo{height:29px!important;}
  .footer-payment-logo img{max-height:21px!important;}
  .footer-payment-logo--cimb-niaga img{max-width:100px!important;}
  .footer-payment-logo--gopay img{max-width:86px!important;}
  .footer-payment-logo--mandiri img,.footer-payment-logo--permata img{max-width:96px!important;}
  .footer-payment-logo--qris img{max-width:104px!important;}
}
@media(max-width:390px){
  .footer-payment-logos{column-gap:12px!important;row-gap:9px!important;}
  .footer-payment-logo{height:27px!important;}
  .footer-payment-logo img{max-height:20px!important;}
}

/* =========================================================
   ALJOSA 1.6.10.78 — FINAL QA OVERRIDES
   One authoritative layer for category framing and payment-logo layout.
   ========================================================= */
.home-subcategory-card__image{aspect-ratio:1/1!important;overflow:hidden!important;background:var(--cream)!important;padding:0!important;display:block!important;}
.home-subcategory-card__image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;transform:none!important;border:0!important;border-radius:0!important;}
.home-subcategory-card--shanghai .home-subcategory-card__image img{object-position:center center!important;}

/* Payment logos: direct on navy, no individual white cards. */
.footer-payment{display:block!important;width:100%!important;margin:22px 0 0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;overflow:visible!important;}
.footer-payment-inner{display:block!important;width:100%!important;max-width:720px!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.footer-payment-title{display:block!important;margin:0 0 12px!important;padding:0!important;color:#fff!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important;letter-spacing:.02em!important;}
.footer-payment-logos{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:center!important;justify-items:center!important;width:100%!important;max-width:720px!important;margin:0!important;padding:0!important;gap:12px 20px!important;background:transparent!important;border:0!important;}
.footer-payment-logo{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;height:32px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;}
.footer-payment-logo img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:24px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;object-fit:contain!important;}
.footer-payment-logo--cimb-niaga img{max-width:112px!important;}
.footer-payment-logo--gopay img{max-width:96px!important;}
.footer-payment-logo--mandiri img,.footer-payment-logo--permata img{max-width:108px!important;}
.footer-payment-logo--qris img{max-width:116px!important;}
.footer-payment-provider{display:block!important;margin:9px 0 0!important;padding:0!important;color:rgba(255,255,255,.68)!important;font-size:10px!important;line-height:1.45!important;}
@media(max-width:767px){
  .footer-payment{margin-top:18px!important;}
  .footer-payment-title{font-size:12px!important;margin-bottom:10px!important;}
  .footer-payment-logos{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 18px!important;max-width:100%!important;}
  .footer-payment-logo{height:29px!important;}
  .footer-payment-logo img{max-height:21px!important;}
  .footer-payment-logo--cimb-niaga img{max-width:100px!important;}
  .footer-payment-logo--gopay img{max-width:86px!important;}
  .footer-payment-logo--mandiri img,.footer-payment-logo--permata img{max-width:96px!important;}
  .footer-payment-logo--qris img{max-width:104px!important;}
  .footer-payment-provider{font-size:9px!important;margin-top:8px!important;}
}
@media(max-width:390px){
  .footer-payment-logos{column-gap:12px!important;row-gap:9px!important;}
  .footer-payment-logo{height:27px!important;}
  .footer-payment-logo img{max-height:20px!important;}
}


/* =========================================================
   ALJOSA 1.6.10.79 — ONE SHIPPING CHOICE
   Mobile checkout is confirmation only. The customer chooses the shipping
   service in Cart; Checkout displays the selected service without a second
   courier/service picker. WooCommerce rates, session, totals and order data
   remain untouched.
   ========================================================= */
@media(max-width:767px){
  body.woocommerce-checkout .aljosa-checkout-shipping-summary{
    display:block!important;
    margin:0 0 10px!important;
    padding:12px 13px!important;
    border:1px solid #e7e4de!important;
    border-radius:8px!important;
    background:#f7f4ee!important;
    box-sizing:border-box!important;
  }
  body.woocommerce-checkout .aljosa-checkout-shipping-summary__label{
    display:block!important;
    margin:0 0 3px!important;
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:700!important;
    color:#707070!important;
  }
  body.woocommerce-checkout .aljosa-checkout-shipping-summary__value{
    display:block!important;
    margin:0!important;
    font-size:14px!important;
    line-height:1.45!important;
    font-weight:700!important;
    color:#111!important;
    overflow-wrap:anywhere!important;
  }
  body.woocommerce-checkout .aljosa-checkout-shipping-summary__hint{
    display:block!important;
    margin-top:5px!important;
    font-size:10px!important;
    line-height:1.4!important;
    color:#707070!important;
  }
  body.woocommerce-checkout .aljosa-checkout-shipping-summary__edit{display:none!important;}
  body.woocommerce-checkout .aljosa-checkout-shipping-summary.is-editing{display:block!important;}
  body.woocommerce-checkout .aljosa-shipping-cell-collapsed .woocommerce-shipping-methods{display:none!important;}
  body.woocommerce-checkout .aljosa-shipping-cell-collapsed .aljosa-mobile-courier-heading{display:none!important;}
  body.woocommerce-checkout .aljosa-shipping-cell-collapsed .aljosa-checkout-shipping-editing-note{display:none!important;}
  body.woocommerce-checkout .aljosa-shipping-cell-collapsed .aljosa-courier-card-fix{display:none!important;}
}

/* =========================================================
   ALJOSA 1.6.10.84 — PAYMENT LOGOS ONE HORIZONTAL LINE
   Keep all eight payment brands on a single row. On very narrow
   screens the row may scroll horizontally instead of wrapping;
   logo artwork remains readable and is never placed in white cards.
   ========================================================= */
.footer-payment-logos{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0 0 2px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
  background:transparent!important;
  border:0!important;
}
.footer-payment-logos::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}
.footer-payment-logo{
  flex:0 0 72px!important;
  width:72px!important;
  min-width:72px!important;
  height:28px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.footer-payment-logo img{
  display:block!important;
  width:auto!important;
  max-width:72px!important;
  height:auto!important;
  max-height:22px!important;
  margin:0 auto!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  object-fit:contain!important;
}
.footer-payment-logo--cimb-niaga img{max-width:72px!important;}
.footer-payment-logo--gopay img{max-width:70px!important;}
.footer-payment-logo--mandiri img,.footer-payment-logo--permata img{max-width:72px!important;}
.footer-payment-logo--qris img{max-width:72px!important;}
@media(max-width:767px){
  .footer-payment-logos{justify-content:flex-start!important;gap:6px!important;}
  .footer-payment-logo{flex-basis:72px!important;width:72px!important;min-width:72px!important;height:27px!important;}
  .footer-payment-logo img{max-width:72px!important;max-height:21px!important;}
  .footer-payment-provider{margin-top:8px!important;}
}

/* =========================================================
   ALJOSA 1.6.10.84 — CATEGORY IMAGE VISUAL BALANCE
   All six shortcut cards keep the exact same 1:1 frame. The
   per-card scale only changes the crop shown inside that frame;
   original image pixels are not edited or AI-modified.
   ========================================================= */
.home-subcategory-card__image img{
  transform:none!important;
  transform-origin:center center!important;
  object-fit:cover!important;
}
/* Men: normalize the apparent model size across the four cards. */
.home-subcategory-card--men-flanel .home-subcategory-card__image img{transform:scale(1.08)!important;object-position:center 48%!important;}
.home-subcategory-card--men-polos-panjang .home-subcategory-card__image img{transform:scale(1.00)!important;object-position:center 50%!important;}
.home-subcategory-card--men-polos-pendek .home-subcategory-card__image img{transform:scale(1.14)!important;object-position:center 48%!important;}
.home-subcategory-card--shanghai .home-subcategory-card__image img{transform:scale(1.12)!important;object-position:center 46%!important;}
/* Kids: normalize the apparent child size within the two-card row. */
.home-subcategory-card--kids-polos .home-subcategory-card__image img{transform:scale(1.06)!important;object-position:center 46%!important;}
.home-subcategory-card--kids-flanel .home-subcategory-card__image img{transform:scale(1.12)!important;object-position:center 47%!important;}
@media(max-width:767px){
  .home-subcategory-card--men-flanel .home-subcategory-card__image img{transform:scale(1.08)!important;}
  .home-subcategory-card--men-polos-panjang .home-subcategory-card__image img{transform:scale(1.00)!important;}
  .home-subcategory-card--men-polos-pendek .home-subcategory-card__image img{transform:scale(1.14)!important;}
  .home-subcategory-card--shanghai .home-subcategory-card__image img{transform:scale(1.12)!important;}
  .home-subcategory-card--kids-polos .home-subcategory-card__image img{transform:scale(1.06)!important;}
  .home-subcategory-card--kids-flanel .home-subcategory-card__image img{transform:scale(1.12)!important;}
}

/* =========================================================
   ALJOSA 1.6.10.84 — SHIPPING CONFIRMATION + SAFE RETURN
   Checkout remains a confirmation step. Customers can return to Cart to
   change shipping without exposing a second courier picker on Checkout.
   ========================================================= */
@media(max-width:767px){
  body.woocommerce-checkout .aljosa-checkout-shipping-summary__edit{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:38px!important;
    margin-top:9px!important;
    padding:8px 11px!important;
    border:1px solid #17263b!important;
    border-radius:6px!important;
    background:#fff!important;
    color:#17263b!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:700!important;
    text-decoration:none!important;
  }
  body.woocommerce-checkout .aljosa-checkout-shipping-summary__edit:active,
  body.woocommerce-checkout .aljosa-checkout-shipping-summary__edit:focus-visible{
    background:#17263b!important;
    color:#fff!important;
  }
  body.woocommerce-checkout .aljosa-checkout-shipping-summary.is-editing .aljosa-checkout-shipping-summary__edit{
    display:inline-flex!important;
  }
}
@media(max-width:767px){
  body.woocommerce-checkout .aljosa-checkout-shipping-summary.is-editing{display:block!important;}
}

/* ALJOSA 1.6.10.115 — prevent visible blank image boxes while a customer-facing
 * product/color image is being prepared; the old image remains visible until
 * the replacement has loaded. */
.single-product .aljosa-product-gallery-main{background:#f7f7f7;min-height:240px;}
.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img,
.woocommerce-checkout #order_review .product-thumbnail img{display:block;width:58px;height:58px;object-fit:cover;}
