/* Source: style.css */
:root{--ink:#172c20;--green:#287545;--soft:#eff5ec;--line:#dce7db;--muted:#66796a;--orange:#f47b20}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fafbf8;font:16px/1.5 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.top{height:82px;padding:0 5%;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:5}.brand{display:flex;gap:8px;align-items:center}.brand img{height:58px;width:70px;object-fit:contain}.brand strong{display:block;font-size:19px;line-height:1.1}.brand small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.top nav{display:flex;align-items:center;gap:26px;font-weight:bold;font-size:14px}.top nav form{margin:0}.cart-link,.button{background:var(--green);color:white;border:0;border-radius:11px;padding:13px 19px;display:inline-block;font-weight:bold}.cart-link span{background:#bfeaa0;color:#22583a;border-radius:99px;padding:3px 8px;margin-left:5px}.plain{border:0;background:transparent;color:var(--green);font-weight:bold}.hero{max-width:1400px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center;padding:74px 5%}.eyebrow{color:#589c42;letter-spacing:.16em;font-size:12px;font-weight:800;margin:0 0 16px}.hero h1{font:clamp(48px,6vw,86px)/1.04 Georgia,serif;letter-spacing:-.055em;margin:0}.hero p:not(.eyebrow){color:var(--muted);font-size:18px;line-height:1.6;margin:24px 0 32px;max-width:490px}.hero-art{height:365px;background:#e8f0df;border-radius:25px;display:flex;align-items:end;justify-content:center;gap:10px;padding:42px;overflow:hidden;box-shadow:inset 0 -45px 60px #d3e2c7}.hero-art span{width:27%;height:72%;background:#80bf42;color:white;border-left:7px solid #4e8b2f;box-shadow:9px 13px 18px #1634263f;transform:rotate(-8deg);padding:20px 12px;font:clamp(18px,2.4vw,32px)/1.1 Georgia,serif}.hero-art span:nth-child(2){height:90%;background:var(--orange);border-color:#c65d12;transform:rotate(4deg)}.hero-art span:nth-child(3){height:66%;background:#2d704f;border-color:#184b35;transform:rotate(12deg)}.catalog{background:white;padding:72px 5% 90px}.section-heading,.grid{max-width:1240px;margin:auto}.section-heading{margin-bottom:30px}.section-heading h2,.cart-section h2{font:40px Georgia,serif;letter-spacing:-.04em;margin:0}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:white}.card-image{height:265px;background:var(--soft);padding:32px;display:grid;place-items:center}.card-image img{max-width:100%;max-height:100%;object-fit:contain}.book{width:70%;height:100%;background:#fffef7;border-left:7px solid #b8cab5;box-shadow:11px 14px 16px #18352630;transform:rotate(-5deg);padding:15px;display:flex;flex-direction:column;justify-content:space-between;font-family:Georgia,serif}.book small{font:9px Arial,sans-serif;color:#67866d;letter-spacing:.1em}.book strong{font-size:24px;line-height:1.1;overflow-wrap:anywhere}.card-body{padding:19px}.card-body>p:first-child{font-size:13px;color:#728276;margin:0 0 8px}.card h3{font-size:18px;line-height:1.3;margin:0;min-height:48px}.desc{color:var(--muted);font-size:13px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:19px}.card-bottom strong{white-space:nowrap}.card-bottom button{background:#f3f9f1;color:var(--green);border:1px solid #bed2bf;border-radius:8px;font-size:13px;font-weight:bold;padding:9px}.empty{text-align:center;padding:65px 20px;background:var(--soft);border-radius:18px;max-width:1240px;margin:auto}.empty h3{font:28px Georgia,serif;margin:0}.empty p{color:var(--muted)}.cart-section{max-width:1240px;margin:70px auto;display:grid;grid-template-columns:1.4fr 1fr;gap:40px;padding:0 5%}.cart-section>aside{background:#e6f0e2;border-radius:19px;padding:32px}.cart-section>aside h3{font:27px Georgia,serif;margin:0 0 12px}.cart-section>aside p{color:#526d56}.cart-section>aside .button{width:100%;margin-top:16px}.cart-items{margin-top:20px}.cart-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:15px 0;gap:12px}.cart-row small{display:block;color:var(--muted)}.cart-controls{display:flex;align-items:center;gap:10px}.cart-controls button{background:white;border:1px solid var(--line);width:32px;height:32px;border-radius:8px}.subtotal{display:flex;justify-content:space-between;font-size:20px;margin-top:22px}footer{border-top:1px solid var(--line);padding:30px 5%;display:flex;justify-content:space-between;color:var(--muted);font-size:13px}footer a{color:var(--green);font-weight:bold}.admin,.setup{max-width:1050px;margin:55px auto 90px;padding:0 24px}.admin h1,.setup h1{font:48px Georgia,serif;letter-spacing:-.04em;margin:0 0 12px}.admin-heading>p:last-child,.setup>p{color:var(--muted)}.admin-box,.edit-card,.login,.setup,.payment-note{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;margin:28px 0}.admin-box h2,.admin #produk h2,.payment-note h2{font:30px Georgia,serif;margin:0 0 22px}.editor label,.setup label,.login label{display:block;font-size:14px;font-weight:bold;margin:0 0 16px}.editor input:not([type=checkbox]),.editor textarea,.setup input,.login input{display:block;width:100%;border:1px solid #bdcdbc;border-radius:9px;padding:11px;margin-top:7px;background:#fff}.editor textarea{min-height:85px;resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.check{display:flex!important;align-items:center;gap:8px}.check input{width:auto;margin:0}.edit-card{display:grid;grid-template-columns:120px 1fr;gap:25px}.edit-thumb{height:150px;background:var(--soft);display:grid;place-items:center;color:var(--muted)}.edit-thumb img{width:100%;height:100%;object-fit:contain}.alert,.success{padding:13px 16px;border-radius:9px;background:#fff0e6;color:#9a3813}.success{background:#e7f4e5;color:#27623a}.login{max-width:480px;margin:45px auto}.login h1{font-size:39px}.setup{max-width:560px}.setup>img{display:block;width:150px;height:125px;object-fit:contain;margin:auto}.setup h1{text-align:center}.payment-note{background:var(--soft)}.payment-note p{color:var(--muted)}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.hero-art{height:310px}}@media(max-width:640px){.top{height:70px}.brand img{width:55px;height:48px}.brand strong{font-size:15px}.brand small{font-size:11px}.top nav{gap:8px}.top nav>a:first-child{display:none}.cart-link{padding:9px 10px}.hero{grid-template-columns:1fr;gap:30px;padding:45px 5%}.hero-art{order:-1;height:230px}.hero-art span{padding:13px}.hero h1{font-size:49px}.hero p:not(.eyebrow){font-size:16px}.grid{gap:12px}.card-image{height:190px;padding:20px}.book{padding:9px}.book strong{font-size:17px}.card-body{padding:12px}.card h3{font-size:16px;min-height:42px}.card-bottom{display:block}.card-bottom button{width:100%;margin-top:10px}.cart-section{display:block;margin:40px auto}.cart-section aside{margin-top:30px}.form-grid{display:block}.edit-card{grid-template-columns:1fr}.edit-thumb{width:110px;height:125px}footer{display:block}footer span,footer a{display:block;margin:5px 0}.admin h1,.setup h1{font-size:37px}}

/* Generic mobile safety for public status/tracking pages only */
@media(max-width:767px){
  html,body{max-width:100%;overflow-x:hidden}
  img,video,iframe{max-width:100%;height:auto}
  input,select,textarea,button{max-width:100%}
  .lookup-section{margin-left:10px!important;margin-right:10px!important;padding:18px 14px!important;border-radius:18px!important}
  .lookup-input{grid-template-columns:1fr!important;gap:8px!important}
  .lookup-input input,.lookup-input button{width:100%!important;min-width:0!important}
}

/* Premium cart drawer: panel keranjang slide dari kanan */
body.cart-drawer-open{overflow:hidden}

.cart-drawer-backdrop{
  position:fixed;
  inset:0;
  z-index:9990;
  border:0;
  padding:0;
  background:rgba(11,25,19,.48);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease,visibility .25s ease;
}
body.cart-drawer-open .cart-drawer-backdrop{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.cart-section.cart-drawer-ready{
  position:fixed!important;
  z-index:9991!important;
  top:0!important;
  right:0!important;
  left:auto!important;
  bottom:0!important;
  width:min(520px,100vw)!important;
  max-width:520px!important;
  height:100dvh!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  background:#f7f4ee!important;
  border-left:1px solid rgba(35,75,51,.10)!important;
  box-shadow:-24px 0 70px rgba(12,31,22,.22)!important;
  transform:translateX(102%)!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:none;
  transition:transform .32s cubic-bezier(.22,.75,.25,1);
}
.cart-section.cart-drawer-ready.is-open{
  transform:translateX(0)!important;
  pointer-events:auto;
}

.cart-section.cart-drawer-ready>div{
  padding:76px 30px 30px!important;
  background:linear-gradient(180deg,#fffdf9 0%,#f8f4ed 100%)!important;
  min-height:auto!important;
}
.cart-section.cart-drawer-ready>div::before{
  content:"KERANJANG BELANJA";
  display:block;
  margin-bottom:14px;
  color:#5d8768;
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
}
.cart-section.cart-drawer-ready h2{
  font-size:36px!important;
  line-height:1.05!important;
  margin:0 0 20px!important;
}
.cart-section.cart-drawer-ready .cart-items{
  margin-top:12px!important;
}
.cart-section.cart-drawer-ready .cart-row{
  padding:16px 0!important;
  border-bottom:1px solid #e3ddd2!important;
}
.cart-section.cart-drawer-ready .cart-row strong{
  font-size:14px;
  line-height:1.35;
}
.cart-section.cart-drawer-ready .cart-row small{
  margin-top:4px;
  color:#788276;
}
.cart-section.cart-drawer-ready .cart-controls{
  flex:0 0 auto;
  gap:8px!important;
}
.cart-section.cart-drawer-ready .cart-controls button{
  width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  border:1px solid #d1ddce!important;
  background:#fff!important;
  color:#1f6540!important;
  font-weight:800!important;
}
.cart-section.cart-drawer-ready .subtotal{
  margin-top:22px!important;
  padding-top:16px!important;
  border-top:1px dashed #cfd9cc!important;
  font-size:17px!important;
}
.cart-section.cart-drawer-ready .subtotal strong{
  font-size:21px!important;
}

.cart-section.cart-drawer-ready>.checkout-panel,
.cart-section.cart-drawer-ready>aside{
  margin:0 22px 28px!important;
  padding:24px!important;
  border-radius:22px!important;
  background:linear-gradient(155deg,#21394a,#172c3b)!important;
  color:#fff!important;
  box-shadow:0 18px 45px rgba(25,44,58,.22)!important;
}
.cart-section.cart-drawer-ready>.checkout-panel h3,
.cart-section.cart-drawer-ready>aside h3{
  color:#fff!important;
  font-size:25px!important;
  margin:0 0 10px!important;
}
.cart-section.cart-drawer-ready>.checkout-panel p,
.cart-section.cart-drawer-ready>aside p{
  color:#dce8df!important;
  font-size:13px!important;
  line-height:1.7!important;
}
.cart-section.cart-drawer-ready>.checkout-panel .button,
.cart-section.cart-drawer-ready>aside .button{
  display:block!important;
  width:100%!important;
  margin-top:17px!important;
  padding:14px 18px!important;
  border-radius:999px!important;
  background:#2c8a54!important;
  color:#fff!important;
  text-align:center!important;
  box-shadow:0 10px 24px rgba(20,126,72,.25)!important;
}
.cart-section.cart-drawer-ready>.checkout-panel ul,
.cart-section.cart-drawer-ready>aside ul{
  margin:18px 0 0!important;
  padding:0!important;
  list-style:none!important;
}
.cart-section.cart-drawer-ready>.checkout-panel li,
.cart-section.cart-drawer-ready>aside li{
  margin-top:9px!important;
  padding:11px 13px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.94)!important;
  color:#243645!important;
  font-size:12px!important;
}

.cart-drawer-close{
  position:fixed;
  z-index:9993;
  top:20px;
  right:20px;
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(31,101,64,.12);
  border-radius:999px;
  background:#fff;
  color:#183927;
  box-shadow:0 7px 24px rgba(18,43,30,.13);
  font-size:28px;
  line-height:1;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateX(12px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
body.cart-drawer-open .cart-drawer-close{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(0);
}
.cart-drawer-close:hover{background:#edf6ee}

@media(max-width:600px){
  .cart-section.cart-drawer-ready{
    width:100vw!important;
    max-width:none!important;
  }
  .cart-section.cart-drawer-ready>div{padding:70px 20px 24px!important}
  .cart-section.cart-drawer-ready>.checkout-panel,
  .cart-section.cart-drawer-ready>aside{margin:0 14px 20px!important;padding:20px!important}
  .cart-drawer-close{top:14px;right:14px}
}

/* Cart item thumbnails: prefer selected variant image, with product-cover fallback. */
.cart-row-main{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.cart-row-copy{min-width:0;overflow-wrap:anywhere}.cart-row-thumb{display:block;width:58px;height:70px;flex:0 0 58px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:9px;padding:3px}.cart-row-placeholder{display:grid;place-items:center;color:var(--green);font-size:22px;background:var(--soft)}.cart-row-copy>strong{display:block;line-height:1.3}
@media(max-width:640px){.cart-row-main{gap:9px}.cart-row-thumb{width:48px;height:60px;flex-basis:48px}.cart-controls{gap:6px}}


/* THB CART REDESIGN — concise premium layout */
.cart-section.cart-drawer-ready>div::before{content:none!important;display:none!important}
.cart-section.cart-drawer-ready>div{padding:28px 24px 22px!important;background:#fff!important;min-height:0!important}
.cart-section.cart-drawer-ready .cart-drawer-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;font:700 clamp(25px,3vw,32px)/1.1 Georgia,serif!important;letter-spacing:-.035em!important;color:#173e2c!important;margin:0 54px 20px 0!important}
.cart-section.cart-drawer-ready .cart-items-count{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;background:#eaf6e8;color:#22633e;font:700 12px/1.2 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;white-space:nowrap}
.cart-section.cart-drawer-ready .cart-items{margin-top:0!important}
.cart-section.cart-drawer-ready .cart-row{display:flex!important;align-items:center!important;gap:12px!important;padding:13px 0!important;border-bottom:1px solid #e8eee7!important}
.cart-section.cart-drawer-ready .cart-row-main{gap:11px!important;min-width:0!important}
.cart-section.cart-drawer-ready .cart-row-thumb{width:64px!important;height:78px!important;flex-basis:64px!important;object-fit:contain!important;border:1px solid #e6ece5!important;border-radius:10px!important;background:#fff!important;padding:4px!important}
.cart-section.cart-drawer-ready .cart-row-copy>strong{font:700 13px/1.4 Arial,Helvetica,sans-serif!important;color:#202d25!important;display:block!important}
.cart-section.cart-drawer-ready .cart-row-copy small{font-size:11px!important;line-height:1.45!important;color:#748177!important}
.cart-section.cart-drawer-ready .cart-controls{gap:7px!important}
.cart-section.cart-drawer-ready .cart-controls>strong{min-width:15px;text-align:center;font-size:13px!important}
.cart-section.cart-drawer-ready .cart-controls form{margin:0!important}
.cart-section.cart-drawer-ready .cart-controls button{width:31px!important;height:31px!important;border-radius:50%!important;border:1px solid #dce7dc!important;background:#fff!important;color:#1d6942!important;font-size:17px!important;line-height:1!important;box-shadow:none!important}
.cart-section.cart-drawer-ready .subtotal{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-top:17px!important;padding:16px!important;border:0!important;border-radius:14px!important;background:#eaf6e8!important;font-size:14px!important;color:#345542!important}
.cart-section.cart-drawer-ready .subtotal strong{font-size:clamp(19px,2.5vw,24px)!important;line-height:1.15!important;color:#145638!important;white-space:nowrap}
.cart-section.cart-drawer-ready>.checkout-panel,.cart-section.cart-drawer-ready>aside{margin:0 14px 18px!important;padding:22px!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:20px!important;background:linear-gradient(145deg,#173e32 0%,#0e3028 100%)!important;color:#fff!important;box-shadow:0 14px 34px rgba(19,54,40,.16)!important}
.cart-section.cart-drawer-ready>.checkout-panel .aside-kicker,.cart-section.cart-drawer-ready>aside .aside-kicker{display:none!important}
.cart-section.cart-drawer-ready>.checkout-panel h3,.cart-section.cart-drawer-ready>aside h3{font:700 23px/1.18 Georgia,serif!important;letter-spacing:-.025em!important;margin:0 0 8px!important;color:#fff!important}
.cart-section.cart-drawer-ready>.checkout-panel p,.cart-section.cart-drawer-ready>aside p{font-size:12px!important;line-height:1.55!important;margin:0!important;color:#d8e8dd!important}
.cart-section.cart-drawer-ready>.checkout-panel .button,.cart-section.cart-drawer-ready>aside .button,.cart-section.cart-drawer-ready>.checkout-panel .primary-cta,.cart-section.cart-drawer-ready>aside .primary-cta{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:48px!important;margin-top:16px!important;padding:13px 16px!important;border:0!important;border-radius:999px!important;background:#25804d!important;color:#fff!important;font-weight:800!important;font-size:14px!important;text-align:center!important;box-shadow:none!important}
.cart-section.cart-drawer-ready>.checkout-panel ul,.cart-section.cart-drawer-ready>aside ul{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:16px 0 0!important;padding:0!important;list-style:none!important}
.cart-section.cart-drawer-ready>.checkout-panel li,.cart-section.cart-drawer-ready>aside li{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;min-height:54px!important;margin:0!important;padding:9px 7px!important;border:1px solid rgba(255,255,255,.75)!important;border-radius:11px!important;background:#fff!important;color:#33443a!important;font-size:10px!important;line-height:1.35!important}
.cart-section.cart-drawer-ready>div>p:not(.eyebrow){font-size:13px!important;color:#758177!important}
.cart-drawer-close{width:38px!important;height:38px!important;top:17px!important;right:17px!important;font-size:24px!important;border-color:#e5ece4!important;box-shadow:0 4px 14px rgba(18,43,30,.09)!important}
@media(max-width:600px){
 .cart-section.cart-drawer-ready>div{padding:24px 16px 18px!important}
 .cart-section.cart-drawer-ready .cart-drawer-heading{font-size:27px!important;margin:0 44px 14px 0!important;gap:8px!important}
 .cart-section.cart-drawer-ready .cart-items-count{font-size:11px!important;padding:6px 9px!important}
 .cart-section.cart-drawer-ready .cart-row{gap:8px!important;padding:12px 0!important}
 .cart-section.cart-drawer-ready .cart-row-main{gap:8px!important}
 .cart-section.cart-drawer-ready .cart-row-thumb{width:52px!important;height:66px!important;flex-basis:52px!important}
 .cart-section.cart-drawer-ready .cart-row-copy>strong{font-size:12px!important}
 .cart-section.cart-drawer-ready .cart-row-copy small{font-size:10px!important}
 .cart-section.cart-drawer-ready .cart-controls{gap:5px!important}
 .cart-section.cart-drawer-ready .cart-controls button{width:28px!important;height:28px!important}
 .cart-section.cart-drawer-ready>.checkout-panel,.cart-section.cart-drawer-ready>aside{margin:0 10px 14px!important;padding:18px!important;border-radius:18px!important}
 .cart-section.cart-drawer-ready>.checkout-panel h3,.cart-section.cart-drawer-ready>aside h3{font-size:22px!important}
 .cart-section.cart-drawer-ready>.checkout-panel ul,.cart-section.cart-drawer-ready>aside ul{gap:6px!important}
 .cart-section.cart-drawer-ready>.checkout-panel li,.cart-section.cart-drawer-ready>aside li{font-size:9px!important;padding:8px 4px!important;min-height:48px!important}
 .cart-drawer-close{top:13px!important;right:13px!important}
}

/* Source: wishlist-ui-fix.css */
/* Wishlist member: layout correction + product heart buttons */
.page-title{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(220px,.65fr)!important;align-items:end!important;gap:12px 28px!important;margin:12px 0 24px!important}
.page-title .eyebrow{grid-column:1/-1!important;margin:0!important}
.page-title h1{grid-column:1!important;max-width:620px!important;font-family:Figtree,system-ui,sans-serif!important;font-size:clamp(28px,3vw,38px)!important;line-height:1.08!important;letter-spacing:-.035em!important;margin:0!important;color:#173f2b!important}
.page-title p{grid-column:2!important;grid-row:2!important;align-self:end!important;max-width:340px!important;margin:0 0 3px!important;font-size:14px!important;line-height:1.6!important}
.wishlist-add{margin:0 0 18px!important;padding:20px!important;border-radius:20px!important}
.wishlist-add form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:12px!important}
.wishlist-add label{min-width:0!important}.wishlist-add button{white-space:nowrap!important;min-height:42px!important;border-radius:999px!important}
.wishlist-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
.wish-card{min-width:0!important;display:flex!important;flex-direction:column!important;background:#fff!important;border:1px solid #dce8de!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 5px 18px rgba(23,63,43,.04)!important}
.wish-image{position:relative!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;min-height:0!important;max-height:none!important;padding:12px!important;box-sizing:border-box!important;background:#f6f8f5!important;display:grid!important;place-items:center!important;overflow:hidden!important}
.wish-image img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;position:static!important;margin:0!important}
.wish-copy{display:flex!important;flex:1!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;padding:14px!important;min-width:0!important;box-sizing:border-box!important;background:#fff!important}
.wish-copy small{color:#78887d!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.06em!important;line-height:1.4!important}
.wish-copy h3{font-family:Figtree,system-ui,sans-serif!important;font-size:15px!important;font-weight:750!important;line-height:1.4!important;color:#203b2c!important;margin:0!important;min-height:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;overflow-wrap:anywhere!important}
.wish-copy>b{display:block!important;color:#176d3f!important;font-size:17px!important;line-height:1.3!important;margin:2px 0 0!important}
.wish-copy .stock{display:block!important;font-size:11px!important;color:#738179!important;margin:0!important}
.wish-copy .inline-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin-top:auto!important;padding-top:8px!important}
.wish-copy .inline-actions form{margin:0!important}
.wish-copy .inline-actions a,.wish-copy .inline-actions button{min-height:34px!important;padding:8px 12px!important;border-radius:999px!important;font-size:11px!important;line-height:1.2!important}
.wish-copy .inline-actions .soft{background:#edf5ee!important;color:#176d3f!important;border:1px solid #d9e8dc!important}
.wish-copy .inline-actions .danger{background:#fff5f3!important;color:#a83d35!important;border:1px solid #f2d8d4!important}
.thb-wishlist-heart-form{margin:0!important}
.thb-wishlist-heart,.thb-wishlist-login{position:absolute!important;top:10px!important;right:10px!important;z-index:5!important;width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border:1px solid #e2e9e2!important;border-radius:50%!important;background:rgba(255,255,255,.96)!important;color:#173f2b!important;box-shadow:0 4px 14px rgba(23,63,43,.12)!important;padding:0!important;cursor:pointer!important;text-decoration:none!important}
.thb-wishlist-heart svg{display:block!important;width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.thb-wishlist-heart:hover,.thb-wishlist-heart:focus-visible{background:#eaf5ed!important;color:#d94b5b!important;outline:2px solid #b9dec3!important;outline-offset:2px!important}
.thb-wishlist-heart-form{position:absolute!important;top:0!important;right:0!important;z-index:6!important}
.n-card,.card.catalog-card{position:relative!important}
@media(max-width:980px){.wishlist-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){
 .page-title{grid-template-columns:minmax(0,1fr)!important;gap:8px!important;margin:6px 0 18px!important}
 .page-title .eyebrow,.page-title h1,.page-title p{grid-column:1!important;grid-row:auto!important}
 .page-title h1{font-size:28px!important;max-width:none!important}.page-title p{max-width:none!important;font-size:13px!important}
 .wishlist-add{padding:14px!important;border-radius:16px!important}.wishlist-add form{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}.wishlist-add button{width:100%!important}
 .wishlist-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .wish-image{padding:7px!important}.wish-copy{padding:10px!important;gap:6px!important}
 .wish-copy h3{font-size:13px!important}.wish-copy>b{font-size:15px!important}
 .wish-copy .inline-actions{gap:6px!important}.wish-copy .inline-actions a,.wish-copy .inline-actions button{padding:7px 9px!important;font-size:10px!important}
 .thb-wishlist-heart,.thb-wishlist-login{width:34px!important;height:34px!important;top:7px!important;right:7px!important}
}

/* Source: home-gallery.css */
:root{--forest:#283748;--deep:#202b38;--gold:#b87951}.top{background:#fffdfa}.hero{background:#eae5dd}.hero h1 em,.section-heading h2 em,.cart-section h2 em{color:#b16c46}.hero-art{background:radial-gradient(ellipse at center,#bba58c,#8e7761);border:20px solid #eae5dd}.hero-art:before{border-color:#fff8}.hero-art:after{width:290px;height:360px;border-radius:145px 145px 0 0;border-color:#fff4}.hero-art-caption,.hero-art-bottom{color:#fff}.hero-art .hero-visual{transform:rotate(5deg)}.editorial-strip{background:#283748;color:#eee8dd}.catalog{background:#fffdfa}.card{border:0;background:transparent}.card-image{width:100%;border:0;border-radius:110px 110px 5px 5px;cursor:pointer;background:#ebe7df;display:grid;place-items:center}.card:nth-child(even) .card-image{background:#e3e8e5}.card-body{padding:21px 4px}.product-title{border:0;background:none;color:inherit;padding:0;text-align:left;font:inherit;cursor:pointer}.product-title:hover{text-decoration:underline}.card-bottom button{background:#283748;color:#fff;border-color:#283748}.cart-section{background:#eee9e0}.cart-section>aside{background:#283748}footer{background:#202b38}.hero-placeholder{background:#f6efe2}.card:hover{box-shadow:none}.product-open:focus-visible{outline:3px solid #b87951;outline-offset:4px}#product-dialog{width:min(1020px,94vw);max-height:90vh;padding:42px;border:0;border-radius:16px;background:#fffdfa;color:#263545;overflow:auto}#product-dialog::backdrop{background:#14212bd9;backdrop-filter:blur(5px)}#close-product{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:32px;color:#263545;cursor:pointer}.detail-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:38px}#media-stage{height:410px;display:grid;place-items:center;background:#eeeae3;border-radius:8px;overflow:hidden;padding:15px}#media-stage img,#media-stage video{max-width:100%;max-height:380px;object-fit:contain}#media-thumbs{display:flex;gap:8px;overflow:auto;padding:14px 2px}#media-thumbs button{flex:none;width:66px;height:72px;border:1px solid #c8cec9;background:#fff;border-radius:5px;cursor:pointer;font-size:11px}#media-thumbs button[aria-pressed=true]{border:2px solid #b87951}#media-thumbs img{width:100%;height:100%;object-fit:contain}.detail-copy{padding-top:18px}.detail-copy h2{font:38px/1.12 Georgia,serif;letter-spacing:-.035em;margin:15px 0 22px}.detail-copy>strong{font-size:23px;color:#a36540}#detail-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:14px;color:#647077;margin:25px 0 32px}@media(max-width:700px){.detail-layout{grid-template-columns:1fr;gap:12px}#product-dialog{padding:35px 20px 24px}#media-stage{height:290px}#media-stage img,#media-stage video{max-height:260px}.detail-copy h2{font-size:29px}.hero-art{border-width:12px}.card-image{border-radius:75px 75px 3px 3px}}
/* Respect each product's saved display size and show the whole photo. */
.card-image.product-open{height:300px;border-radius:6px;padding:16px;display:flex;align-items:center;justify-content:center}.card-image.product-open>img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.card-image.product-open .book{max-width:100%;overflow:hidden}@media(max-width:600px){.card-image.product-open{height:220px;padding:10px}}

.card{display:flex;flex-direction:column}.card-body{flex:1;display:flex;flex-direction:column}.card-bottom{margin-top:auto}.card h3{margin-bottom:12px}.card .desc{margin-bottom:18px}.card-image.product-open{flex:none}.hero-art .hero-visual{transform:none;overflow:hidden}.hero-slide-button{background:transparent;border:0;cursor:pointer;width:100%;height:100%;display:grid;place-items:center;padding:10px}.hero-slide-button img{width:100%;height:100%;min-height:0;object-fit:contain}.hero-slide-enter{animation:hero-swipe .5s ease both}.hero-controls{position:absolute;bottom:15px;left:35px;right:35px;z-index:3;display:flex;justify-content:center;align-items:center;gap:14px}.hero-controls button{background:#fff2;border:1px solid #fffa;color:#fff;border-radius:5px;padding:3px 10px;cursor:pointer}.hero-controls output{font-size:11px;color:#fff}.hero-art-bottom{bottom:60px}.hero-art-bottom strong{max-width:65%;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes hero-swipe{from{opacity:0;transform:translateX(35px)}to{opacity:1;transform:translateX(0)}}@media(prefers-reduced-motion:reduce){.hero-slide-enter{animation:none}}

.hero-controls[hidden]{display:none}.hero-placeholder strong{overflow-wrap:anywhere}
#popup-buy label{display:block;font-size:13px;font-weight:700;margin-bottom:8px}#popup-quantity{width:95px;padding:10px;border:1px solid #b8c5c0;border-radius:5px;font:inherit}#popup-stock,#popup-feedback{font-size:13px}.popup-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.popup-actions .button{cursor:pointer;gap:8px}#popup-buy small{display:block;color:#68756e;line-height:1.6}#detail-back{background:none;border:0;cursor:pointer;margin-top:10px}.card-image img,.hero-visual img,#media-stage img,#media-thumbs img{-webkit-user-drag:none;-webkit-touch-callout:none;user-select:none}
.lookup-section{padding:36px 5%;background:#f0eee6;display:grid;grid-template-columns:1fr 1.2fr;gap:40px;align-items:center;scroll-margin-top:20px}.lookup-section .eyebrow{margin-bottom:8px}.lookup-section h2{font:normal 30px Georgia,serif;margin:0}.lookup-section p:not(.eyebrow){font-size:13px;color:#728074;margin-bottom:0}.lookup-section label{display:block;font-size:12px;font-weight:bold;margin-bottom:8px}.lookup-input{display:flex;gap:8px}.lookup-input input{min-width:0;flex:1;border:1px solid #cdd4c6;border-radius:5px;padding:12px;font:inherit;font-size:13px;background:#fff}.lookup-input .button{white-space:nowrap;cursor:pointer;gap:10px}.lookup-section small{display:block;font-size:11px;color:#798676;margin-top:8px}@media(max-width:800px){.lookup-section{grid-template-columns:1fr;gap:20px}.top{height:auto;min-height:72px;flex-wrap:wrap;gap:12px;padding-top:12px;padding-bottom:12px}.top nav{flex-wrap:wrap}.lookup-input{flex-wrap:wrap}.lookup-input input{flex-basis:200px}}
#detail-meta{font-size:13px;color:#7a6a5d;margin:-10px 0 18px}#popup-options{display:grid;gap:12px;margin:18px 0}#popup-options label{margin:0}#popup-options select{display:block;width:100%;margin-top:7px;padding:11px 12px;border:1px solid #b8c5c0;border-radius:5px;background:#fff;font:inherit;color:#263545}.card-bottom>button.product-open{cursor:pointer}

/* Source: index-aesthetic.css */
:root{
  --bg:#f7f3ee;
  --paper:#fffdf9;
  --ink:#1f2a22;
  --muted:#6f7a71;
  --line:#ded7cd;
  --accent:#1f6a43;
  --accent-soft:#e5f0e9;
  --accent-dark:#154b30;
  --shadow:0 24px 60px rgba(32,40,32,.08);
  --radius-xl:32px;
  --radius-lg:24px;
  --radius-md:18px;
}
html{scroll-behavior:smooth}
body{background:
 radial-gradient(circle at top left, rgba(35,115,74,.08), transparent 25%),
 linear-gradient(180deg,#fbf8f3 0%,#f6f2ec 100%);
 color:var(--ink)}
.promo-bar{background:#183b2a;color:#f5f7f2;font-size:.92rem}
.promo-inner{max-width:1240px;margin:0 auto;padding:10px 24px;display:flex;gap:26px;justify-content:center;flex-wrap:wrap}
.site-header{position:sticky;top:0;z-index:40;padding:16px 18px;background:rgba(247,243,238,.82);backdrop-filter:blur(14px);border-bottom:1px solid rgba(90,105,93,.08)}
.header-shell,.page-shell,.site-footer{max-width:1240px;margin:0 auto}
.header-shell{display:flex;gap:20px;justify-content:space-between;align-items:center}
.brand-block{display:flex;gap:14px;align-items:center;text-decoration:none;color:inherit}
.brand-block img{width:58px;height:58px;border-radius:18px;object-fit:contain;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.08);padding:6px}
.brand-block strong{display:block;font-size:1.08rem}
.brand-block small{display:block;color:var(--muted)}
.main-nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.main-nav a{color:var(--ink);text-decoration:none;padding:10px 15px;border-radius:999px;font-weight:600}
.main-nav a:hover{background:rgba(31,106,67,.08)}
.main-nav .nav-cart{background:var(--accent);color:#fff;display:inline-flex;gap:10px;align-items:center}
.main-nav .nav-cart span{display:inline-grid;place-items:center;min-width:30px;height:30px;background:rgba(255,255,255,.16);border-radius:999px;padding:0 8px}
.page-shell{padding:28px 20px 60px}
.hero-split{display:grid;grid-template-columns:1.15fr .95fr;gap:26px;align-items:stretch}
.hero-copy-panel,.main-showcase,.benefit-strip article,.lookup-panel,.checkout-panel,.featured-item,.feature-card{background:rgba(255,252,246,.86);border:1px solid rgba(116,122,113,.14);box-shadow:var(--shadow)}
.hero-copy-panel{padding:42px;border-radius:var(--radius-xl);position:relative;overflow:hidden}
.hero-copy-panel::after{content:"";position:absolute;width:220px;height:220px;background:radial-gradient(circle,rgba(31,106,67,.16),transparent 68%);right:-60px;top:-60px}
.micro-label,.eyebrow{letter-spacing:.18em;text-transform:uppercase;color:#6d856e;font-weight:700;font-size:.78rem}
.hero-copy-panel h1{font-size:clamp(2.4rem,5vw,4.4rem);line-height:1.03;margin:16px 0 18px;font-family:Georgia,"Times New Roman",serif;font-weight:700;max-width:11ch}
.hero-copy-panel h1 span{color:var(--accent)}
.hero-lead{font-size:1.03rem;line-height:1.8;max-width:62ch;color:#4e5b52}
.hero-cta-row{display:flex;gap:14px;flex-wrap:wrap;margin:26px 0 30px}
.primary-cta,.secondary-cta,.mini-open,.lookup-input.modern button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:none;cursor:pointer;border-radius:999px;padding:15px 24px;font-weight:700;transition:.2s ease}
.primary-cta{background:var(--accent);color:#fff;box-shadow:0 14px 26px rgba(31,106,67,.24)}
.primary-cta:hover{transform:translateY(-1px);background:var(--accent-dark)}
.primary-cta.full{width:100%}
.secondary-cta{background:#fff;color:var(--ink);border:1px solid var(--line)}
.secondary-cta:hover{background:#f1eee8}
.hero-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hero-stats article{background:#fff;border:1px solid rgba(111,122,113,.14);border-radius:22px;padding:18px 16px}
.hero-stats strong{display:block;font-size:1.65rem;font-family:Georgia,"Times New Roman",serif;color:var(--accent)}
.hero-stats span{display:block;margin-top:4px;color:var(--muted);font-size:.92rem}
.hero-showcase{display:grid;grid-template-rows:auto auto;gap:18px}
.main-showcase{padding:18px;border-radius:var(--radius-xl)}
.showcase-topline,.showcase-bottomline{display:flex;justify-content:space-between;gap:10px;align-items:center}
.showcase-topline span,.showcase-bottomline small{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.75rem}
.showcase-visual{margin:14px 0;border-radius:26px;overflow:hidden;background:linear-gradient(180deg,#e5ece4,#f4efe7);min-height:430px;display:grid;place-items:center}
.showcase-visual img{width:100%;height:430px;object-fit:cover}
.showcase-bottomline strong{display:block;font-size:1.18rem;font-family:Georgia,"Times New Roman",serif}
.showcase-bottomline b{font-size:1.05rem;color:var(--accent)}
.feature-stack{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.feature-card{padding:22px;border-radius:24px}
.feature-card span{display:inline-grid;place-items:center;width:42px;height:42px;background:var(--accent-soft);color:var(--accent);border-radius:50%;font-weight:700;margin-bottom:10px}
.feature-card h3{margin:0 0 8px;font-size:1.08rem}
.feature-card p{margin:0;color:var(--muted);line-height:1.7}
.benefit-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0 36px}
.benefit-strip article{padding:24px;border-radius:24px}
.benefit-strip strong{display:block;margin-bottom:7px;font-size:1.08rem}
.benefit-strip span{display:block;color:var(--muted);line-height:1.75}
.section-head,.section-head.compact{display:flex;justify-content:space-between;gap:22px;align-items:end;margin-bottom:22px}
.section-head h2,.lookup-copy h2,.cart-section h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,4vw,3rem);margin:8px 0 8px}
.section-head h2 em,.lookup-copy h2 em,.cart-section h2 em{color:var(--accent);font-style:italic}
.section-head p{color:var(--muted);max-width:56ch}
.text-jump{color:var(--accent-dark);text-decoration:none;font-weight:700}
.featured-row{margin:10px 0 36px}
.featured-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.featured-item{border-radius:28px;padding:14px}
.featured-thumb{width:100%;height:230px;border:none;background:#eef2ed;border-radius:22px;overflow:hidden;cursor:pointer}
.featured-thumb img{width:100%;height:100%;object-fit:cover}
.featured-fallback{height:100%;display:grid;place-items:center;padding:20px;text-align:center}
.featured-fallback span{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.featured-fallback strong{font-size:1.22rem;font-family:Georgia,"Times New Roman",serif}
.featured-body{padding:16px 8px 8px}
.featured-body small{display:block;color:var(--muted);margin-bottom:6px;text-transform:uppercase;letter-spacing:.06em}
.featured-body h3{margin:0 0 8px;font-size:1.28rem;font-family:Georgia,"Times New Roman",serif}
.featured-body p{margin:0;color:#57655b;line-height:1.7;min-height:72px}
.featured-foot{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:16px}
.featured-foot strong{font-size:1.12rem;color:var(--accent)}
.mini-open{background:#fff;border:1px solid var(--line);color:var(--ink);padding:11px 16px}
.lookup-panel{display:grid;grid-template-columns:.95fr 1.05fr;gap:26px;padding:34px;border-radius:var(--radius-xl);margin:0 0 36px}
.lookup-copy p{color:var(--muted);line-height:1.85;max-width:52ch}
.lookup-card{background:#fff;border:1px solid rgba(116,122,113,.14);border-radius:28px;padding:24px}
.lookup-card label{display:block;margin-bottom:10px;font-weight:700}
.lookup-input.modern{display:grid;grid-template-columns:1fr auto;gap:12px}
.lookup-input.modern input{border:1px solid var(--line);border-radius:18px;padding:16px 18px;background:#faf8f4}
.catalog-modern{margin-bottom:34px}
.collection-count{display:inline-flex;align-items:center;padding:11px 16px;background:#fff;border-radius:999px;border:1px solid var(--line);font-weight:700;color:var(--accent-dark)}
.modern-empty{background:#fff;border-radius:28px;padding:34px;text-align:center;border:1px dashed #c8c1b8}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.card{background:#fffdf9;border:1px solid rgba(116,122,113,.14);border-radius:26px;overflow:hidden;box-shadow:0 14px 36px rgba(40,44,38,.05);transition:transform .2s ease, box-shadow .2s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 22px 42px rgba(40,44,38,.09)}
.card-image{aspect-ratio:4/4.8;background:linear-gradient(180deg,#ecf1ea,#f6f0e6)}
.card-image img{width:100%;height:100%;object-fit:cover}
.card-body{padding:18px}
.card-body p:first-child{font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.card-body h3{margin:8px 0 10px;font-size:1.2rem;font-family:Georgia,"Times New Roman",serif}
.card-body .desc{color:#59655c;line-height:1.7;min-height:48px}
.card-bottom{margin-top:16px}
.modern-cart{display:grid;grid-template-columns:1.08fr .92fr;gap:24px;align-items:start;padding:0}
.modern-cart > div,.checkout-panel{padding:32px;border-radius:var(--radius-xl);background:rgba(255,252,246,.86);border:1px solid rgba(116,122,113,.14);box-shadow:var(--shadow)}
.checkout-panel p{color:var(--muted);line-height:1.8}
.checkout-points{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:12px}
.checkout-points li{background:#fff;border:1px solid rgba(111,122,113,.14);border-radius:16px;padding:12px 14px;color:#45544a}
.site-footer{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding:22px 20px 40px;color:#546258}
.site-footer strong,.site-footer span{display:block;color:#223126;margin-bottom:6px}
.site-footer a{color:var(--accent-dark);font-weight:700;text-decoration:none}
.aesthetic-placeholder{min-height:430px;padding:26px}
#product-dialog{border:none;border-radius:28px;padding:0;max-width:1080px;width:min(1080px,calc(100% - 32px));background:#fffdf9}
#product-dialog::backdrop{background:rgba(28,31,28,.58);backdrop-filter:blur(4px)}
#close-product{background:#fff;border:1px solid var(--line)}
@media (max-width:1100px){
  .hero-split,.lookup-panel,.modern-cart{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(3,1fr)}
  .featured-grid,.benefit-strip{grid-template-columns:1fr 1fr}
  .hero-stats{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .page-shell{padding:20px 14px 50px}
  .header-shell{flex-direction:column;align-items:flex-start}
  .main-nav{width:100%;overflow:auto;flex-wrap:nowrap;padding-bottom:2px}
  .hero-copy-panel,.lookup-panel,.main-showcase,.modern-cart > div,.checkout-panel{padding:24px}
  .hero-copy-panel h1{max-width:none}
  .grid,.featured-grid,.benefit-strip,.feature-stack,.site-footer{grid-template-columns:1fr}
  .lookup-input.modern{grid-template-columns:1fr}
  .section-head,.section-head.compact{flex-direction:column;align-items:flex-start}
  .showcase-visual,.showcase-visual img,.aesthetic-placeholder{min-height:320px;height:320px}
}

/* Premium polish v2 + WhatsApp hardening */
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.14),transparent 42%)}
.site-header{box-shadow:0 8px 26px rgba(34,45,36,.035)}
.hero-copy-panel{background:linear-gradient(150deg,rgba(255,253,249,.96),rgba(246,241,232,.9))}
.main-showcase{background:linear-gradient(145deg,#fffdf9,#f0ebe2)}
.feature-card:nth-child(1){background:linear-gradient(145deg,#f1f7f1,#fffdf9)}
.feature-card:nth-child(2){background:linear-gradient(145deg,#fffaf2,#fffdf9)}
.benefit-strip article{position:relative;overflow:hidden}
.benefit-strip article::after{content:"↗";position:absolute;right:18px;top:14px;color:rgba(31,106,67,.18);font:34px Georgia,serif}
.card{position:relative}
.card::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}
.card-bottom button,.mini-open{transition:background .18s ease,color .18s ease,transform .18s ease}
.card-bottom button:hover,.mini-open:hover{transform:translateY(-1px)}

.cs-wa{position:fixed!important;right:22px!important;bottom:22px!important;z-index:1000!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:auto!important;max-width:calc(100vw - 28px)!important;min-height:52px!important;padding:13px 17px!important;margin:0!important;background:#1f6a43!important;color:#fff!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:999px!important;box-shadow:0 18px 36px rgba(24,78,49,.28)!important;font-size:13px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important;overflow:hidden!important;transform:none!important}
.cs-wa:hover,.cs-wa:focus-visible{background:#174f33!important;color:#fff!important;transform:translateY(-2px)!important}
.cs-wa svg{display:block!important;width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important;min-height:24px!important;max-height:24px!important;fill:currentColor!important;flex:0 0 24px!important;margin:0!important;padding:0!important}
.cs-wa span{display:inline-block!important;color:inherit!important;font:inherit!important;margin:0!important;padding:0!important}

.modern-cart .cart-controls{display:flex!important;align-items:center!important;gap:10px!important}
.modern-cart .cart-controls form{margin:0!important;display:block!important}
.modern-cart .cart-controls button{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border:1px solid #cbd5cc!important;border-radius:12px!important;background:#fff!important;color:#1e5136!important;font-size:20px!important;line-height:1!important}
.modern-cart .cart-controls button:hover:not(:disabled){background:#e8f1ea!important;border-color:#9fbaa6!important}
.modern-cart .cart-controls strong{min-width:28px;text-align:center}

@media(max-width:560px){
  .cs-wa{right:14px!important;bottom:14px!important;width:52px!important;height:52px!important;min-height:52px!important;padding:0!important;border-radius:50%!important}
  .cs-wa span{display:none!important}
  .cs-wa svg{width:25px!important;height:25px!important;min-width:25px!important;max-width:25px!important;flex-basis:25px!important}
  .cart-message{bottom:78px!important}
}
.catalog-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.catalog-all-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:11px 16px;border-radius:999px;background:var(--accent);color:#fff;font-weight:700;box-shadow:0 10px 24px rgba(31,106,67,.18)}
.card{position:relative}
.bestseller-badge{position:absolute;z-index:3;top:12px;left:12px;background:rgba(24,59,42,.92);color:#fff;padding:7px 11px;border-radius:999px;font-size:.76rem;font-weight:800;letter-spacing:.02em;box-shadow:0 8px 18px rgba(24,59,42,.18);pointer-events:none}
@media(max-width:760px){.catalog-head-actions{justify-content:flex-start}}

/* =========================================================
   MOBILE HARDENING — HP ONLY. Desktop remains unchanged.
   ========================================================= */
@media (max-width:767px){
  html,body{max-width:100%;overflow-x:hidden}
  .promo-inner{padding:8px 12px;gap:10px;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .promo-inner::-webkit-scrollbar{display:none}
  .promo-inner span{flex:0 0 auto;font-size:.78rem;white-space:nowrap}

  .site-header{padding:10px 10px;position:sticky;top:0}
  .header-shell{gap:10px;width:100%;align-items:stretch}
  .brand-block{gap:10px;padding:0 2px}
  .brand-block img{width:44px;height:44px;border-radius:13px;padding:5px}
  .brand-block strong{font-size:.98rem}
  .brand-block small{font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}
  .main-nav{display:flex;width:100%;gap:7px;overflow-x:auto;overscroll-behavior-inline:contain;padding:1px 0 4px;scroll-snap-type:x proximity;scrollbar-width:none}
  .main-nav::-webkit-scrollbar{display:none}
  .main-nav a{flex:0 0 auto;scroll-snap-align:start;padding:9px 12px;font-size:.82rem;border:1px solid rgba(111,122,113,.10);background:rgba(255,255,255,.72)}
  .main-nav .nav-cart{padding:8px 11px;border:0}
  .main-nav .nav-cart span{min-width:25px;height:25px;padding:0 6px}

  .page-shell{padding:14px 11px 38px}
  .hero-split{gap:14px}
  .hero-copy-panel{padding:22px 18px;border-radius:22px}
  .micro-label,.eyebrow{font-size:.68rem;letter-spacing:.13em}
  .hero-copy-panel h1{font-size:clamp(2rem,11vw,3rem);line-height:1.02;margin:12px 0 14px}
  .hero-lead{font-size:.92rem;line-height:1.65}
  .hero-cta-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0 22px}
  .primary-cta,.secondary-cta{width:100%;padding:13px 12px;font-size:.88rem;text-align:center}
  .hero-stats{grid-template-columns:1fr 1fr;gap:8px}
  .hero-stats article{padding:13px 12px;border-radius:16px}
  .hero-stats strong{font-size:1.35rem}
  .hero-stats span{font-size:.78rem}

  .main-showcase{padding:12px;border-radius:22px}
  .showcase-topline{gap:6px}
  .showcase-topline span{font-size:.64rem}
  .showcase-visual{min-height:0!important;height:auto!important;aspect-ratio:1/1.08;margin:10px 0;border-radius:18px}
  .showcase-visual img{height:100%!important;min-height:0!important;object-fit:cover}
  .aesthetic-placeholder{height:100%!important;min-height:0!important}
  .showcase-bottomline{align-items:flex-end}
  .showcase-bottomline strong{font-size:1rem;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .showcase-bottomline b{font-size:.92rem;white-space:nowrap}
  .feature-stack{gap:9px}
  .feature-card{padding:16px;border-radius:18px}
  .feature-card span{width:34px;height:34px;margin-bottom:7px}
  .feature-card h3{font-size:.96rem}
  .feature-card p{font-size:.83rem;line-height:1.55}

  .benefit-strip{gap:9px;margin:14px 0 26px}
  .benefit-strip article{padding:17px;border-radius:18px}
  .benefit-strip span{font-size:.86rem;line-height:1.6}

  .section-head,.section-head.compact{gap:10px;margin-bottom:15px}
  .section-head h2,.lookup-copy h2,.cart-section h2{font-size:clamp(1.8rem,8.5vw,2.45rem);line-height:1.08}
  .section-head p{font-size:.9rem;line-height:1.6}
  .catalog-head-actions{width:100%;gap:7px}
  .collection-count,.catalog-all-link{font-size:.78rem;padding:9px 12px}

  .featured-grid{gap:12px}
  .featured-item{padding:10px;border-radius:20px}
  .featured-thumb{height:auto;aspect-ratio:1.22/1;border-radius:16px}
  .featured-body{padding:12px 4px 4px}
  .featured-body p{min-height:0;font-size:.86rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .featured-foot{margin-top:12px;gap:8px}
  .mini-open{padding:9px 11px;font-size:.8rem}

  .lookup-panel{padding:20px 16px;border-radius:22px;gap:16px}
  .lookup-copy p{font-size:.88rem;line-height:1.65}
  .lookup-card{padding:16px;border-radius:18px}
  .lookup-input.modern{gap:8px}
  .lookup-input.modern input{min-width:0;width:100%;padding:13px 14px;border-radius:13px}

  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .card{border-radius:18px}
  .card-image{aspect-ratio:1/1.18}
  .card-body{padding:12px}
  .card-body p:first-child{font-size:.66rem;letter-spacing:.055em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .card-body h3{font-size:1rem;line-height:1.22;margin:6px 0 7px}
  .product-title{line-height:1.22}
  .card-body .desc{font-size:.78rem;line-height:1.45;min-height:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .card-bottom{display:grid!important;grid-template-columns:1fr;gap:8px!important;align-items:stretch!important;margin-top:11px}
  .card-bottom strong{font-size:.96rem}
  .card-bottom form,.card-bottom button{width:100%!important}
  .card-bottom button{min-height:39px;padding:9px 8px!important;font-size:.78rem!important;border-radius:11px!important}
  .bestseller-badge{top:8px;left:8px;padding:5px 8px;font-size:.64rem}

  .modern-cart{gap:12px}
  .modern-cart > div,.checkout-panel{padding:20px 16px;border-radius:22px}
  .cart-row{gap:10px;align-items:center}
  .cart-row>div:first-child{min-width:0}
  .cart-row strong{overflow-wrap:anywhere}
  .cart-row small{font-size:.77rem}
  .modern-cart .cart-controls{gap:7px!important;flex:0 0 auto}
  .modern-cart .cart-controls button{width:34px!important;height:34px!important;min-width:34px!important;border-radius:10px!important}
  .checkout-panel p{font-size:.88rem;line-height:1.65}
  .checkout-points{gap:8px}
  .checkout-points li{font-size:.83rem;padding:10px 11px}

  .cs-wa{right:12px!important;bottom:12px!important;width:50px!important;height:50px!important;min-height:50px!important}
  .cart-message{left:12px!important;right:12px!important;bottom:72px!important;width:auto!important;max-width:none!important}
}
@media (max-width:430px){
  .hero-cta-row{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .card-image{aspect-ratio:1.18/1}
  .feature-stack{grid-template-columns:1fr!important}
}

/* =========================================================
   FEATURED PRODUCTS — COMPACT DESKTOP LAYOUT
   Rapikan bagian "Produk yang paling diminati"
   ========================================================= */
@media (min-width:768px){
  .featured-row{
    width:min(100%,1060px);
    margin:10px auto 36px;
  }
  .featured-row .section-head.compact{
    width:100%;
  }
  .featured-grid{
    grid-template-columns:repeat(3,minmax(0,320px));
    justify-content:center;
    gap:18px;
  }
  .featured-item{
    min-width:0;
    height:100%;
    display:flex;
    flex-direction:column;
    padding:12px;
    border-radius:24px;
  }
  .featured-thumb{
    height:195px;
    border-radius:18px;
  }
  .featured-body{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:13px 6px 6px;
    min-width:0;
  }
  .featured-body h3{
    font-size:1.14rem;
    line-height:1.28;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .featured-body p{
    min-height:0;
    font-size:.9rem;
    line-height:1.58;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .featured-foot{
    margin-top:auto;
    padding-top:14px;
    gap:10px;
  }
  .featured-foot .mini-open{
    padding:10px 14px;
    white-space:nowrap;
  }
}

/* Source: product-dialog-responsive.css */
/* Product detail popup — narrower desktop columns + stable mobile swipe gallery */
#product-dialog{
  width:min(920px,calc(100vw - 36px))!important;
  max-width:920px!important;
  max-height:min(860px,calc(100dvh - 24px))!important;
  padding:28px!important;
  border-radius:26px!important;
  overflow:auto!important;
  overscroll-behavior:contain;
}
#product-dialog .detail-layout{
  display:grid!important;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;
  gap:28px!important;
  align-items:start;
}
#product-dialog .detail-layout>div,
#product-dialog .detail-copy,
#popup-buy,
#popup-options{min-width:0}
#product-dialog .detail-copy{padding-top:8px!important}
#product-dialog .detail-copy h2{font-size:34px!important;margin:12px 0 16px!important;overflow-wrap:anywhere}
#detail-description{margin:18px 0 22px!important}
#popup-options label{display:block;max-width:390px;margin-bottom:14px!important}
#popup-options select{
  display:block;
  width:100%;
  max-width:390px;
  min-width:0;
  box-sizing:border-box;
  padding:12px 14px;
  border:1px solid #bbc8c0;
  border-radius:10px;
  background:#fff;
  font:inherit;
}
#popup-quantity{width:86px!important;box-sizing:border-box}
#close-product{
  position:sticky!important;
  float:right;
  top:0!important;
  right:0!important;
  z-index:30;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid #ddd5ca!important;
  border-radius:50%!important;
  background:#fffdf9!important;
  box-shadow:0 8px 22px rgba(0,0,0,.08);
  font-size:25px!important;
  line-height:1;
}

/* Main media stage */
#media-stage{
  position:relative;
  width:100%;
  height:auto!important;
  aspect-ratio:4/4.35;
  min-height:0!important;
  padding:12px!important;
  display:grid!important;
  place-items:center;
  overflow:hidden!important;
  touch-action:pan-y;
  background:#eeeae3!important;
  border-radius:18px!important;
  user-select:none;
}
#media-stage .gallery-media{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  border-radius:10px;
  animation:galleryFade .18s ease both;
}
#media-stage video.gallery-media{background:#111}
@keyframes galleryFade{from{opacity:.45;transform:scale(.992)}to{opacity:1;transform:scale(1)}}

.gallery-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:10;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  color:#20352a;
  box-shadow:0 8px 22px rgba(0,0,0,.15);
  font-size:24px;
  line-height:1;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.gallery-nav.prev{left:12px}.gallery-nav.next{right:12px}
.gallery-nav:disabled{opacity:.32;cursor:default}
.gallery-counter{
  position:absolute;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  z-index:11;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(26,37,30,.78);
  color:#fff;
  font-size:12px;
  font-weight:700;
  backdrop-filter:blur(8px);
}
.gallery-swipe-hint{
  display:none;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin:8px 0 2px;
  color:#69756d;
  font-size:12px;
}
.gallery-swipe-hint::before{content:'↔';font-size:16px;color:#2b7b4c}

/* Thumbnails become a clear horizontal strip */
#media-thumbs{
  display:flex!important;
  gap:9px!important;
  width:100%;
  max-width:100%;
  overflow-x:auto!important;
  overflow-y:hidden;
  padding:10px 2px 4px!important;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}
#media-thumbs button{
  flex:0 0 66px!important;
  width:66px!important;
  height:66px!important;
  padding:3px!important;
  border:1px solid #cbd1cb!important;
  border-radius:10px!important;
  background:#fff!important;
  overflow:hidden;
  scroll-snap-align:start;
  color:#24342b;
}
#media-thumbs button[aria-pressed=true]{border:2px solid #b87951!important;box-shadow:0 0 0 2px rgba(184,121,81,.12)}
#media-thumbs img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:6px}
#media-thumbs .video-thumb{display:grid;place-items:center;font-size:11px;font-weight:700;background:#f6f1ea!important}

@media(max-width:760px){
  #product-dialog{
    width:calc(100vw - 16px)!important;
    max-width:none!important;
    max-height:calc(100dvh - 12px)!important;
    padding:14px 14px 22px!important;
    border-radius:20px!important;
    margin:auto!important;
  }
  #product-dialog .detail-layout{grid-template-columns:1fr!important;gap:14px!important}
  #product-dialog .detail-copy{padding-top:2px!important}
  #product-dialog .detail-copy h2{font-size:28px!important;margin:8px 0 12px!important}
  #media-stage{
    width:100%!important;
    aspect-ratio:1/1!important;
    max-height:62dvh;
    padding:8px!important;
    border-radius:14px!important;
  }
  #media-stage .gallery-media{border-radius:8px}
  .gallery-nav{width:38px;height:38px;font-size:22px;background:rgba(255,255,255,.95)}
  .gallery-nav.prev{left:8px}.gallery-nav.next{right:8px}
  .gallery-counter{bottom:8px;font-size:11px;padding:6px 9px}
  .gallery-swipe-hint{display:flex}
  #media-thumbs{gap:8px!important;padding-top:8px!important}
  #media-thumbs button{flex-basis:58px!important;width:58px!important;height:58px!important}
  #popup-options label,#popup-options select{max-width:none;width:100%}
  #popup-quantity{width:82px!important}
  .popup-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .popup-actions .button{width:100%;justify-content:center;padding:12px 10px!important}
  #detail-back{width:100%;text-align:left}
  #close-product{width:38px;height:38px;font-size:23px!important;margin-bottom:-38px}
}
@media(max-width:420px){
  #media-stage{aspect-ratio:1/1.06!important;max-height:56dvh}
  .popup-actions{grid-template-columns:1fr!important}
  #product-dialog .detail-copy h2{font-size:25px!important}
}

/* Extra narrow-phone hardening — HP only */
@media(max-width:767px){
  #product-dialog{width:calc(100vw - 10px)!important;max-height:calc(100dvh - 8px)!important;padding:11px 11px 18px!important;border-radius:17px!important}
  #product-dialog .detail-layout{gap:10px!important}
  #media-stage{aspect-ratio:1/1!important;max-height:46dvh!important;padding:6px!important}
  #media-thumbs{gap:6px!important;padding:7px 0 3px!important}
  #media-thumbs button{flex-basis:52px!important;width:52px!important;height:52px!important}
  .gallery-nav{width:34px;height:34px;font-size:20px}
  .gallery-counter{font-size:10px;padding:5px 8px}
  .gallery-swipe-hint{font-size:11px;margin:6px 0 0}
  #product-dialog .detail-copy h2{font-size:24px!important;line-height:1.08!important;margin:5px 0 9px!important}
  #detail-price{font-size:1.25rem!important}
  #detail-meta,#detail-description{font-size:.84rem!important;line-height:1.55!important}
  #detail-description{margin:10px 0 14px!important}
  #popup-options label{margin-bottom:10px!important;font-size:.84rem}
  #popup-options select{padding:11px 12px;font-size:.9rem;border-radius:9px}
  #popup-quantity{height:42px!important;padding:8px 10px!important}
  #popup-stock{font-size:.82rem;margin:8px 0!important}
  .popup-actions{gap:7px!important}
  .popup-actions .button{min-height:43px;padding:11px 8px!important;font-size:.83rem!important;white-space:normal!important;line-height:1.2!important}
  #close-product{width:35px;height:35px;font-size:21px!important;margin-bottom:-35px}
}
@media(max-width:380px){
  #media-stage{max-height:41dvh!important}
  .popup-actions{grid-template-columns:1fr!important}
}

/* Deskripsi produk 3 bagian: perhatian tetap + detail + deskripsi */
#detail-description{
  white-space:pre-line;
  line-height:1.75;
  color:#405248;
  background:#f8fbf7;
  border:1px solid #dfe8df;
  border-radius:14px;
  padding:16px 18px;
  max-height:420px;
  overflow:auto;
  scrollbar-width:thin;
}
#detail-description::first-line{font-weight:800;color:#173f2a}
@media(max-width:767px){#detail-description{padding:13px 14px;max-height:330px}}


/* Deskripsi produk: preview singkat + detail terstruktur */
.product-desc-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.55;max-height:3.1em;color:#5f6f65!important;margin-top:6px!important}
.product-description{position:relative;display:grid;gap:14px;margin:18px 0 12px;white-space:normal;line-height:1.72;color:#34483c;transition:max-height .28s ease;overflow:hidden}
.product-description.is-collapsed{max-height:300px}
.product-description.is-collapsed:after{content:"";position:absolute;left:0;right:0;bottom:0;height:72px;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 82%);pointer-events:none}
.product-description-section{border:1px solid #e1ebe3;border-radius:15px;background:#fbfdfb;padding:15px 16px}
.product-description-section.attention{background:#f4f8f2;border-color:#d9e7d8}
.product-description-section h3{margin:0 0 8px;font-size:.88rem;letter-spacing:.05em;text-transform:uppercase;color:#1f6a43}
.product-description-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.94rem;color:#405448}
.description-toggle{border:1px solid #bfd6c5;background:#eef7ef;color:#1f6a43;border-radius:999px;padding:9px 15px;font-weight:800;cursor:pointer;margin:0 0 16px}
.description-toggle:hover{background:#e2f1e5}
@media(max-width:640px){.product-description.is-collapsed{max-height:250px}.product-description-section{padding:13px 14px}.product-description-text{font-size:.91rem}}


/* V3 — modal deskripsi rapi: satu scroll pada modal, bukan scroll di dalam kartu */
#detail-description.product-description{
  margin:16px 0 10px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  white-space:normal!important;
  overflow:hidden!important;
  max-height:none!important;
  display:grid!important;
  gap:12px!important;
}
#detail-description.product-description.is-collapsed{
  max-height:310px!important;
  overflow:hidden!important;
}
#detail-description.product-description:not(.is-collapsed){
  max-height:none!important;
  overflow:visible!important;
}
#detail-description.product-description.is-collapsed:after{
  height:82px!important;
  background:linear-gradient(to bottom,rgba(255,253,249,0),#fffdf9 86%)!important;
}
.product-description-section{
  margin:0!important;
  padding:15px 17px!important;
  border:1px solid #dde7df!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 3px 12px rgba(24,61,40,.035);
}
.product-description-section.attention{
  background:#f4f8f2!important;
  border-color:#d8e6d8!important;
}
.product-description-section h3{
  margin:0 0 9px!important;
  font-size:.78rem!important;
  line-height:1.25!important;
  letter-spacing:.10em!important;
  color:#17663d!important;
}
.product-description-text{
  margin:0!important;
  white-space:pre-line!important;
  line-height:1.72!important;
  color:#30473a!important;
  font-size:.93rem!important;
}
.description-toggle{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  margin:0 0 18px!important;
}
@media (min-width:761px){
  #product-dialog{width:min(1040px,calc(100vw - 40px))!important;max-width:1040px!important}
  #product-dialog .detail-layout{grid-template-columns:minmax(300px,.9fr) minmax(440px,1.1fr)!important;gap:34px!important}
}
@media(max-width:760px){
  #detail-description.product-description.is-collapsed{max-height:270px!important}
  .product-description-section{padding:13px 14px!important}
  .product-description-text{font-size:.90rem!important;line-height:1.66!important}
}


/* V4 — PERHATIAN di bawah foto, aksi pembelian di atas detail */
#product-dialog .detail-media-column{min-width:0;align-self:start}
#detail-attention.product-attention-box{
  margin-top:14px;
  padding:16px 17px;
  border:1px solid #d6e5d8;
  border-radius:15px;
  background:#f4f8f2;
  color:#30473a;
  box-shadow:0 3px 12px rgba(24,61,40,.035);
}
#detail-attention h3{margin:0 0 9px;font-size:.78rem;letter-spacing:.10em;color:#17663d}
#detail-attention-text{white-space:pre-line;line-height:1.68;font-size:.90rem;overflow-wrap:anywhere}
.product-buy-panel{
  margin:14px 0 18px;
  padding:16px 17px;
  border:1px solid #dce7df;
  border-radius:15px;
  background:#fbfdfb;
  box-shadow:0 4px 16px rgba(24,61,40,.045);
}
.product-buy-panel .buy-row{display:grid;grid-template-columns:minmax(130px,.72fr) minmax(180px,1.28fr);gap:14px;align-items:end}
.product-buy-panel label{display:block;margin:0 0 7px;font-weight:800;color:#203c2d}
.order-total-box{min-height:66px;padding:11px 14px;border-radius:12px;background:#eef7ef;border:1px solid #d5e6d8;display:flex;flex-direction:column;justify-content:center;align-items:flex-end}
.order-total-box span{font-size:.78rem;color:#617267;margin-bottom:2px}
.order-total-box strong{font-size:1.22rem;color:#17663d}
.product-buy-panel #popup-stock{margin:9px 0 11px;font-size:.84rem;color:#65756b}
.product-buy-panel .popup-actions{margin-top:8px}
#detail-description.product-description{margin-top:8px!important}
@media(min-width:761px){
  #product-dialog .detail-layout{align-items:start!important}
  #product-dialog .detail-media-column{position:sticky;top:0}
}
@media(max-width:760px){
  #product-dialog .detail-media-column{position:static}
  #detail-attention.product-attention-box{margin-top:10px;padding:13px 14px}
  #detail-attention-text{font-size:.87rem;line-height:1.62}
  .product-buy-panel{padding:13px 14px;margin:12px 0 16px}
  .product-buy-panel .buy-row{grid-template-columns:1fr 1fr;gap:10px}
  .order-total-box{min-height:58px;padding:9px 11px}
  .order-total-box strong{font-size:1.08rem}
}
@media(max-width:460px){
  .product-buy-panel .buy-row{grid-template-columns:1fr}
  .order-total-box{align-items:flex-start}
}

/* V5 — kiri khusus media + PERHATIAN; kanan khusus pembelian + detail produk */
#product-dialog .detail-layout{
  grid-template-columns:minmax(330px,.88fr) minmax(470px,1.12fr)!important;
  gap:34px!important;
}
#product-dialog .detail-media-column{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
}
#detail-attention.product-attention-box{
  order:4!important;
  margin:14px 0 0!important;
  width:100%!important;
  box-sizing:border-box!important;
  background:#f5f8f2!important;
  border:1px solid #d8e6d7!important;
  border-radius:16px!important;
  padding:16px 18px!important;
}
#detail-attention h3{
  margin:0 0 10px!important;
  padding-bottom:8px!important;
  border-bottom:1px solid #dfe9df!important;
  font-size:.78rem!important;
  letter-spacing:.13em!important;
  color:#17663d!important;
}
#detail-attention-text{
  font-size:.88rem!important;
  line-height:1.65!important;
  color:#344b3d!important;
  white-space:pre-line!important;
}
#product-dialog .detail-copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
}
#product-dialog .detail-copy .eyebrow{margin-bottom:8px!important}
#product-dialog .detail-copy h2{margin:4px 0 12px!important;line-height:1.05!important}
#detail-price{display:block;margin:0 0 8px!important;font-size:1.55rem!important;color:#a86336!important}
.product-meta-bar{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  margin:0 0 14px!important;
  min-height:34px;
}
.product-meta-badge{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  background:#eef5ef;
  border:1px solid #d8e5da;
  color:#28513a;
  font-size:.78rem;
  font-weight:800;
}
.product-publisher{
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  min-height:30px;
  padding:5px 0;
  color:#405448;
}
.product-publisher small{font-size:.75rem;color:#7a887f}
.product-publisher strong{font-size:.86rem;color:#30473a;font-weight:800}
.product-buy-panel{
  order:5;
  margin:2px 0 18px!important;
  padding:16px 17px!important;
  border:1px solid #dce7df!important;
  border-radius:16px!important;
  background:#fbfdfb!important;
}
#popup-options[hidden]{display:none!important}
#popup-options{display:grid;gap:13px;margin:0 0 15px}
.variation-group{margin:0;padding:0;border:0;min-width:0}
.variation-group legend{
  margin:0 0 8px;
  padding:0;
  color:#203c2d;
  font-size:.84rem;
  font-weight:900;
}
.variation-choices{display:flex;flex-wrap:wrap;gap:8px}
.variation-choices input{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}
.variation-chip{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  margin:0!important;
  padding:8px 12px!important;
  border:1px solid #cedbd1!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#30473a!important;
  font-size:.84rem!important;
  font-weight:700!important;
  cursor:pointer!important;
  transition:.18s ease!important;
}
.variation-chip:hover{border-color:#8fb59a!important;background:#f6faf6!important}
.variation-choices input:checked + .variation-chip{
  background:#e3f2e6!important;
  border-color:#2c7a4d!important;
  color:#145c36!important;
  box-shadow:0 0 0 2px rgba(44,122,77,.10)!important;
}
.variation-choices input:focus-visible + .variation-chip{outline:2px solid #2c7a4d;outline-offset:2px}
.product-buy-panel .buy-row{
  display:grid!important;
  grid-template-columns:minmax(110px,.55fr) minmax(190px,1.45fr)!important;
  gap:12px!important;
  align-items:end!important;
}
.product-buy-panel .buy-row > div:first-child{min-width:0}
#popup-quantity{width:100%!important;max-width:110px!important}
.order-total-box{align-items:flex-end!important}
.popup-actions{display:grid!important;grid-template-columns:1.2fr .8fr!important;gap:10px!important}
.popup-actions .button{width:100%!important;justify-content:center!important;min-height:46px!important}
#detail-description.product-description{order:6;margin-top:0!important}
#detail-description-toggle{order:7;align-self:flex-start}
#detail-back{order:8}

@media(min-width:761px){
  #product-dialog{width:min(1100px,calc(100vw - 36px))!important;max-width:1100px!important}
  #product-dialog .detail-media-column{position:sticky!important;top:0!important}
}
@media(max-width:760px){
  #product-dialog .detail-layout{grid-template-columns:1fr!important;gap:15px!important}
  #product-dialog .detail-media-column{position:static!important}
  #detail-attention.product-attention-box{margin-top:10px!important;padding:13px 14px!important}
  #detail-attention-text{font-size:.85rem!important;line-height:1.6!important}
  .product-meta-bar{margin-bottom:10px!important}
  .product-buy-panel{padding:13px 14px!important}
  .variation-chip{min-height:36px!important;padding:7px 10px!important;font-size:.81rem!important}
  .product-buy-panel .buy-row{grid-template-columns:1fr 1fr!important}
  #popup-quantity{max-width:none!important}
  .popup-actions{grid-template-columns:1fr 1fr!important}
}
@media(max-width:460px){
  .product-buy-panel .buy-row{grid-template-columns:1fr!important}
  .order-total-box{align-items:flex-start!important}
  .popup-actions{grid-template-columns:1fr!important}
}

/* V6 - variasi per atribut, ringkas dan tidak melebar */
#popup-options{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;width:100%!important;max-width:520px!important;margin:0!important}
.variation-group{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;padding:12px 14px!important;border:1px solid #dce7de!important;border-radius:14px!important;background:#fbfdfb!important}
.variation-group legend{float:none!important;width:auto!important;margin:7px 0 0!important;font-size:.82rem!important;line-height:1.25!important;text-transform:uppercase!important;letter-spacing:.055em!important;color:#355846!important}
.variation-choices{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(72px,max-content))!important;justify-content:start!important;gap:8px!important;min-width:0!important}
.variation-chip{min-width:72px!important;max-width:150px!important;white-space:normal!important;text-align:center!important;overflow-wrap:anywhere!important}
@media(max-width:560px){.variation-group{grid-template-columns:1fr!important;gap:7px!important}.variation-group legend{margin:0!important}.variation-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important}.variation-chip{width:100%!important;max-width:none!important}}


/* V8 — variasi horizontal + zoom foto desktop/mobile */
#popup-options{width:100%!important;max-width:none!important;gap:10px!important}
.variation-group{grid-template-columns:86px minmax(0,1fr)!important;gap:10px!important;padding:11px 12px!important}
.variation-group legend{margin:8px 0 0!important}
.variation-choices{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:1px 2px 5px!important;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.variation-chip{flex:0 0 auto!important;min-width:82px!important;max-width:190px!important;padding:8px 13px!important;white-space:nowrap!important}
@media(max-width:560px){.variation-group{grid-template-columns:1fr!important;gap:7px!important}.variation-group legend{margin:0!important}.variation-choices{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:7px!important}.variation-chip{width:auto!important;min-width:88px!important;max-width:180px!important}}
.product-hover-zoom{position:fixed;z-index:99999;width:min(460px,38vw);aspect-ratio:1/1;display:none;place-items:center;padding:12px;border:1px solid rgba(38,77,53,.18);border-radius:18px;background:#fffefb;box-shadow:0 22px 60px rgba(0,0,0,.25);pointer-events:none;overflow:hidden}
.product-hover-zoom.is-visible{display:grid}.product-hover-zoom img{width:100%;height:100%;object-fit:contain;border-radius:10px}
.gallery-zoom-btn{position:absolute;right:10px;bottom:10px;z-index:14;display:none;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 12px;border:0;border-radius:999px;background:rgba(255,255,255,.95);color:#173e2a;box-shadow:0 8px 22px rgba(0,0,0,.18);font-weight:800;font-size:.78rem;cursor:pointer}
.mobile-photo-zoom{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:14px;background:rgba(8,15,11,.94);backdrop-filter:blur(5px)}
.mobile-photo-zoom.is-open{display:flex}.mobile-photo-zoom img{max-width:96vw;max-height:88dvh;width:auto;height:auto;object-fit:contain;touch-action:pinch-zoom;user-select:none;-webkit-user-drag:none}
.mobile-photo-zoom-close{position:absolute;top:max(14px,env(safe-area-inset-top));right:14px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#173e2a;font-size:26px;line-height:1;display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.mobile-photo-zoom-hint{position:absolute;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:.76rem;white-space:nowrap}
@media(max-width:760px){.gallery-zoom-btn{display:inline-flex}.gallery-counter{left:10px!important;transform:none!important}}
@media(min-width:761px){#media-stage .gallery-media[data-zoomable="1"]{cursor:zoom-in}}


/* V9 — zoom berada di top-layer dialog + foto HP diperbesar */
#product-dialog .product-hover-zoom{
  z-index:2147483646!important;
  width:min(620px,46vw)!important;
  max-width:calc(100vw - 28px)!important;
  aspect-ratio:1/1!important;
  border-radius:20px!important;
  box-shadow:0 28px 80px rgba(0,0,0,.34)!important;
}
#product-dialog .mobile-photo-zoom{
  z-index:2147483647!important;
}
@media(max-width:760px){
  #product-dialog{width:calc(100vw - 12px)!important;max-width:none!important;padding:8px!important}
  #product-dialog .dialog-card{padding:0!important}
  #media-stage{
    width:100%!important;
    height:min(82vw,62dvh)!important;
    min-height:min(82vw,62dvh)!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    padding:4px!important;
    border-radius:14px!important;
  }
  #media-stage .gallery-media{
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:contain!important;
  }
  #media-thumbs{margin-top:8px!important}
  .gallery-zoom-btn{right:8px!important;bottom:8px!important;min-height:42px!important;padding:9px 13px!important;font-size:.8rem!important}
  .mobile-photo-zoom img{max-width:98vw!important;max-height:91dvh!important}
}

/* V35 — jangan crop foto produk pada layar HP */
@media(max-width:760px){
  #media-stage{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1/1.12!important;
    padding:8px!important;
    overflow:hidden!important;
  }
  #media-stage .gallery-media,
  #media-stage img.gallery-media,
  #media-stage video.gallery-media{
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    min-height:0!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
    margin:auto!important;
    display:block!important;
  }
  #media-stage img.gallery-media{
    aspect-ratio:auto!important;
  }
  .gallery-zoom-btn{
    right:10px!important;
    bottom:10px!important;
  }
}
@media(max-width:420px){
  #media-stage{aspect-ratio:1/1.18!important}
}


/* V10 — variation scroller lebih lega & mudah dipakai */
#popup-options{
  width:100%!important;
  max-width:none!important;
}
.variation-group{
  grid-template-columns:96px minmax(0,1fr)!important;
  gap:14px!important;
  padding:14px 15px!important;
  min-height:88px!important;
  align-items:center!important;
}
.variation-group legend{
  margin:0!important;
  align-self:center!important;
  font-size:.86rem!important;
}
.variation-choices{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:4px 4px 12px!important;
  scroll-padding-inline:4px!important;
  scrollbar-width:auto!important;
  scrollbar-color:#8eaa97 #edf3ee!important;
}
.variation-choices::-webkit-scrollbar{height:10px!important}
.variation-choices::-webkit-scrollbar-track{background:#edf3ee!important;border-radius:999px!important}
.variation-choices::-webkit-scrollbar-thumb{background:#8eaa97!important;border-radius:999px!important;border:2px solid #edf3ee!important}
.variation-choices::-webkit-scrollbar-thumb:hover{background:#61836d!important}
.variation-chip{
  flex:0 0 auto!important;
  min-width:118px!important;
  max-width:240px!important;
  min-height:44px!important;
  padding:10px 16px!important;
  border-radius:11px!important;
  font-size:.9rem!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  text-align:center!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
@media(max-width:760px){
  .variation-group{
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:12px!important;
    min-height:0!important;
  }
  .variation-group legend{font-size:.82rem!important}
  .variation-choices{padding-bottom:11px!important;gap:8px!important}
  .variation-chip{min-width:104px!important;max-width:200px!important;min-height:42px!important;padding:9px 13px!important;font-size:.84rem!important}
}

/* V39 variation layout */
#popup-options{display:block!important;width:100%!important;max-width:none!important;overflow:visible!important}.variation-group{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;width:100%!important;min-width:0!important;min-height:78px!important;padding:14px 16px!important;margin:0 0 10px!important;border:1px solid #dce7de!important;border-radius:14px!important;background:#fbfdfb!important;box-sizing:border-box!important}.variation-label{font-size:.84rem!important;line-height:1.2!important;text-transform:uppercase!important;letter-spacing:.055em!important;color:#355846!important;font-weight:800!important}.variation-choices{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;padding:4px 4px 15px!important;scroll-behavior:smooth!important;scrollbar-width:auto!important;scrollbar-color:#6f967b #e8f0e9!important;-webkit-overflow-scrolling:touch!important}.variation-choices::-webkit-scrollbar{height:14px!important}.variation-choices::-webkit-scrollbar-track{background:#e8f0e9!important;border-radius:999px!important}.variation-choices::-webkit-scrollbar-thumb{background:#6f967b!important;border-radius:999px!important;border:3px solid #e8f0e9!important}.variation-choices input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}.variation-chip{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:132px!important;max-width:280px!important;min-height:46px!important;padding:10px 16px!important;border:1px solid #cbd9ce!important;border-radius:11px!important;background:#fff!important;color:#243d30!important;font-size:.9rem!important;line-height:1.25!important;font-weight:700!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;box-sizing:border-box!important}@media(max-width:760px){.variation-group{grid-template-columns:1fr!important;gap:8px!important;padding:12px!important}.variation-choices{padding-bottom:14px!important}.variation-chip{min-width:116px!important;max-width:230px!important;min-height:44px!important;font-size:.84rem!important}}

/* THB Shopee variant photos: image thumbs inside each variant choice */
#popup-options .variation-chip.has-variant-image{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  min-width:154px!important;
  max-width:270px!important;
  min-height:68px!important;
  height:auto!important;
  padding:7px 10px!important;
  text-align:left!important;
  white-space:normal!important;
  overflow:hidden!important;
}
#popup-options .variation-chip-image{
  display:block!important;
  width:46px!important;
  height:54px!important;
  min-width:46px!important;
  object-fit:contain!important;
  flex:0 0 46px!important;
  border:1px solid #e2e9e3!important;
  border-radius:7px!important;
  background:#fff!important;
}
#popup-options .variation-chip-text{
  display:block!important;
  min-width:0!important;
  max-width:178px!important;
  overflow-wrap:anywhere!important;
  white-space:normal!important;
  text-align:left!important;
  line-height:1.28!important;
}
@media(max-width:760px){
  #popup-options .variation-chip.has-variant-image{
    min-width:150px!important;
    max-width:230px!important;
    min-height:64px!important;
    gap:7px!important;
    padding:6px 8px!important;
  }
  #popup-options .variation-chip-image{
    width:42px!important;height:50px!important;min-width:42px!important;flex-basis:42px!important;
  }
  #popup-options .variation-chip-text{max-width:155px!important;font-size:.8rem!important;}
}


/* V9 — pada HP, PERHATIAN tepat di bawah harga dan sebelum deskripsi */
@media(max-width:760px){
  #product-dialog .detail-copy > #detail-attention.product-attention-box{
    display:block!important;
    width:100%!important;
    align-self:stretch!important;
    margin:0 0 14px!important;
    padding:13px 14px!important;
    box-sizing:border-box!important;
  }
}

/* Source: catalog-page.css */
.catalog-active{background:rgba(31,106,67,.09)!important;color:var(--accent-dark)!important}
.catalog-hero{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:end;padding:38px 40px;border-radius:32px;background:linear-gradient(135deg,rgba(255,253,249,.95),rgba(230,240,233,.92));border:1px solid rgba(116,122,113,.14);box-shadow:var(--shadow);margin-bottom:24px}
.catalog-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.5rem,5vw,4.4rem);line-height:1.04;margin:10px 0 14px;max-width:11ch}
.catalog-hero h1 em{color:var(--accent)}
.catalog-hero p{max-width:65ch;color:var(--muted);line-height:1.8}
.catalog-summary{min-width:190px;padding:20px 22px;border-radius:24px;background:#fff;border:1px solid rgba(116,122,113,.14)}
.catalog-summary strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:2.25rem;color:var(--accent)}
.catalog-summary span{display:block;color:var(--muted);margin-bottom:14px}
.catalog-summary a{color:var(--accent-dark);text-decoration:none;font-weight:700}
.catalog-tools{display:grid;grid-template-columns:1.5fr .8fr auto;gap:14px;align-items:end;margin:0 0 28px;padding:18px;border-radius:24px;background:rgba(255,253,249,.9);border:1px solid rgba(116,122,113,.14)}
.catalog-tools label span,.catalog-tool-count span{display:block;font-size:.78rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);font-weight:700;margin-bottom:7px}
.catalog-tools input,.catalog-tools select{width:100%;padding:14px 15px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink);font:inherit}
.catalog-tool-count{padding:0 8px 8px;min-width:100px}
.catalog-tool-count strong{color:var(--accent-dark)}
.catalog-card[hidden]{display:none!important}
@media(max-width:760px){.catalog-hero{grid-template-columns:1fr;padding:26px}.catalog-summary{min-width:0}.catalog-tools{grid-template-columns:1fr}.catalog-tool-count{padding:0 4px}}

.catalog-pagination{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;margin:28px 0 0;padding:18px;border:1px solid rgba(116,122,113,.14);border-radius:24px;background:rgba(255,253,249,.94);box-shadow:0 12px 30px rgba(40,44,38,.04)}
.catalog-pagination[hidden]{display:none!important}
.catalog-page-btn{min-height:48px;padding:12px 18px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--accent-dark);font:inherit;font-weight:700;cursor:pointer;transition:.2s ease}
.catalog-page-btn:last-child{justify-self:end;background:var(--accent);border-color:var(--accent);color:#fff}
.catalog-page-btn:first-child{justify-self:start}
.catalog-page-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px rgba(31,106,67,.12)}
.catalog-page-btn:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.catalog-page-status{text-align:center;min-width:190px}
.catalog-page-status strong{display:block;color:var(--ink);margin-bottom:4px}
.catalog-page-status span{display:block;color:var(--muted);font-size:.9rem}
@media(max-width:760px){
  .catalog-pagination{grid-template-columns:1fr 1fr;padding:14px;gap:10px}
  .catalog-page-status{grid-column:1/-1;grid-row:1;text-align:center;min-width:0}
  .catalog-page-btn{width:100%;padding:12px 10px;font-size:.9rem}
  .catalog-page-btn:first-child,.catalog-page-btn:last-child{justify-self:stretch}
}

/* Mobile-only catalog refinements */
@media(max-width:767px){
  .catalog-hero{padding:20px 16px;border-radius:22px;gap:15px;margin-bottom:14px}
  .catalog-hero h1{font-size:clamp(2rem,10vw,3rem);max-width:none;margin:7px 0 10px}
  .catalog-hero p{font-size:.88rem;line-height:1.6;margin-bottom:0}
  .catalog-summary{padding:15px 16px;border-radius:18px}
  .catalog-summary strong{font-size:1.7rem}
  .catalog-tools{padding:12px;border-radius:18px;gap:10px;margin-bottom:16px}
  .catalog-tools input,.catalog-tools select{padding:12px 13px;border-radius:12px;font-size:.9rem}
  .catalog-pagination{grid-template-columns:1fr 1fr;padding:12px 10px;border-radius:18px;margin-top:18px;gap:8px}
  .catalog-page-status{font-size:.86rem}
  .catalog-page-btn{min-height:42px;border-radius:13px;padding:10px 8px;font-size:.78rem;white-space:normal;line-height:1.25}
}

.catalog-page-btn.is-disabled{opacity:.45;pointer-events:none}.catalog-pagination a.catalog-page-btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}

/* THB katalog pagination polish v3: desktop one-row, tablet/mobile orderly */
.catalog-pagination {
  display: grid;
  grid-template-columns: minmax(270px, 1.25fr) minmax(180px, .9fr) minmax(200px, .9fr) minmax(230px, 1.1fr);
  grid-template-areas: "size previous status next";
  gap: 14px;
  align-items: center;
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(116, 122, 113, .16);
  border-radius: 22px;
  background: rgba(255, 253, 249, .96);
  box-shadow: 0 10px 26px rgba(40, 44, 38, .045);
}
.catalog-pagination[hidden] { display: none !important; }
.catalog-pagination > .catalog-page-size {
  grid-area: size;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #dce8de;
  border-radius: 14px;
  background: #fff;
}
.catalog-pagination > .catalog-page-size label {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1.35;
}
.catalog-pagination > .catalog-page-size select {
  min-width: 125px;
  max-width: 100%;
  width: auto;
  padding: 9px 12px;
  border: 1px solid #d5e2d7;
  border-radius: 999px;
  background: #f8faf8;
  color: #173f2b;
  font: 600 12px/1.35 system-ui, sans-serif;
}
.catalog-pagination > .catalog-page-btn:nth-child(2) {
  grid-area: previous;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #dce8de;
  border-radius: 13px;
  background: #fff;
  color: #235d3e;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}
.catalog-pagination > .catalog-page-status {
  grid-area: status;
  min-width: 0;
  padding: 4px 6px;
  text-align: center;
}
.catalog-pagination > .catalog-page-status strong {
  display: block;
  margin-bottom: 5px;
  color: #173f2b;
  font-size: 14px;
}
.catalog-pagination > .catalog-page-status span {
  display: block;
  color: #718078;
  font-size: 12px;
  line-height: 1.4;
}
.catalog-pagination > .catalog-page-btn:last-child {
  grid-area: next;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #20784e;
  border-radius: 13px;
  background: #20784e;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}
.catalog-pagination .catalog-page-btn:hover:not(.is-disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(31, 106, 67, .12);
}
.catalog-pagination .catalog-page-btn.is-disabled {
  opacity: .45;
  pointer-events: none;
  background: #f7faf7;
  color: #587366;
  border-color: #dce8de;
  box-shadow: none;
}
@media (max-width: 1100px) {
  .catalog-pagination {
    grid-template-columns: minmax(230px, 1.2fr) minmax(200px, .9fr);
    grid-template-areas: "size status" "previous next";
    gap: 12px;
    padding: 16px;
  }
  .catalog-pagination > .catalog-page-status { text-align: right; }
}
@media (max-width: 760px) {
  .catalog-pagination {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "status status" "size size" "previous next";
    gap: 10px;
    margin-top: 18px;
    padding: 14px 12px;
    border-radius: 18px;
  }
  .catalog-pagination > .catalog-page-status { text-align: center; }
  .catalog-pagination > .catalog-page-size {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 7px;
    padding: 12px;
  }
  .catalog-pagination > .catalog-page-size select { width: 100%; min-width: 0; }
  .catalog-pagination > .catalog-page-btn:nth-child(2),
  .catalog-pagination > .catalog-page-btn:last-child {
    min-height: 44px;
    padding: 10px 7px;
    border-radius: 12px;
    font-size: 12px;
    white-space: normal;
  }
  .catalog-pagination > .catalog-page-status strong { font-size: 13px; }
  .catalog-pagination > .catalog-page-status span { font-size: 11px; }
}


/* Catalog notification dropdown: keep it clickable and above product content. */
.site-header.thb-premium-header .live-notification-wrap{position:relative!important;z-index:9500!important}
.site-header.thb-premium-header .live-notification-bell{position:relative!important;z-index:9502!important;cursor:pointer!important;pointer-events:auto!important}
.site-header.thb-premium-header .live-notification-panel{position:absolute!important;top:calc(100% + 10px)!important;right:0!important;left:auto!important;width:min(360px,calc(100vw - 28px))!important;max-height:min(520px,70vh)!important;overflow:auto!important;background:#fff!important;color:#203728!important;border:1px solid #dce6dd!important;border-radius:16px!important;box-shadow:0 18px 44px rgba(20,50,32,.18)!important;z-index:9600!important}
.site-header.thb-premium-header .live-notification-panel[hidden]{display:none!important}
.site-header.thb-premium-header .live-notification-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid #e9eee9}
.site-header.thb-premium-header .live-notification-head button{cursor:pointer;background:#eef5ef;border:0;border-radius:8px;padding:7px 9px;font:600 11px system-ui,sans-serif;color:#205c3b}
.site-header.thb-premium-header .live-notification-item{display:block;padding:12px 15px;text-decoration:none;color:#203728;border-bottom:1px solid #eef1ee;font-size:12px}
.site-header.thb-premium-header .live-notification-item:hover,.site-header.thb-premium-header .live-notification-item.unread{background:#f1f7f2}
.site-header.thb-premium-header .live-notification-title,.site-header.thb-premium-header .live-notification-message,.site-header.thb-premium-header .live-notification-time{display:block;line-height:1.45}
.site-header.thb-premium-header .live-notification-title{font-weight:800;margin-bottom:4px}.site-header.thb-premium-header .live-notification-message{color:#53665a}.site-header.thb-premium-header .live-notification-time{margin-top:5px;font-size:10px;color:#7b8d81}
.site-header.thb-premium-header .live-notification-empty{padding:22px 15px;color:#708176;font-size:12px;text-align:center}.site-header.thb-premium-header .live-notification-footer{display:block;padding:12px 15px;text-align:center;text-decoration:none;font-size:12px;font-weight:800;color:#205c3b;background:#f8fbf8}
@media(max-width:760px){.site-header.thb-premium-header .live-notification-panel{position:fixed!important;top:132px!important;right:12px!important;left:12px!important;width:auto!important;max-width:none!important}}


/* THB CART DRAWER LAYOUT FIX v5 — thumbnail, copy and quantity stay in separate columns */
html body .cart-section.cart-drawer-ready .cart-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
}
html body .cart-section.cart-drawer-ready .cart-row-main {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
html body .cart-section.cart-drawer-ready .cart-row-main > img.cart-row-thumb,
html body .cart-section.cart-drawer-ready .cart-row-main > .cart-row-thumb {
  display: block !important;
  box-sizing: border-box !important;
  width: 68px !important;
  height: 84px !important;
  min-width: 68px !important;
  min-height: 84px !important;
  max-width: 68px !important;
  max-height: 84px !important;
  flex: 0 0 68px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 3px !important;
  border: 1px solid #e0e7dd !important;
  border-radius: 9px !important;
  background: #fff !important;
}
html body .cart-section.cart-drawer-ready .cart-row-copy {
  display: block !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
html body .cart-section.cart-drawer-ready .cart-row-copy > strong {
  display: block !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
html body .cart-section.cart-drawer-ready .cart-row-copy > small {
  display: block !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
html body .cart-section.cart-drawer-ready .cart-controls {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  min-width: max-content !important;
  white-space: nowrap !important;
}
html body .cart-section.cart-drawer-ready .cart-controls form {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}
html body .cart-section.cart-drawer-ready .cart-controls button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  flex: 0 0 30px !important;
  line-height: 1 !important;
}
html body .cart-section.cart-drawer-ready .cart-row-copy,
html body .cart-section.cart-drawer-ready .cart-row-copy * {
  max-width: 100% !important;
}
@media (max-width: 600px) {
  html body .cart-section.cart-drawer-ready .cart-row {
    gap: 8px !important;
  }
  html body .cart-section.cart-drawer-ready .cart-row-main {
    gap: 8px !important;
  }
  html body .cart-section.cart-drawer-ready .cart-row-main > img.cart-row-thumb,
  html body .cart-section.cart-drawer-ready .cart-row-main > .cart-row-thumb {
    width: 56px !important;
    height: 70px !important;
    min-width: 56px !important;
    min-height: 70px !important;
    max-width: 56px !important;
    max-height: 70px !important;
    flex-basis: 56px !important;
  }
  html body .cart-section.cart-drawer-ready .cart-controls {
    gap: 4px !important;
  }
  html body .cart-section.cart-drawer-ready .cart-controls button {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    min-height: 27px !important;
    flex-basis: 27px !important;
  }
  html body .cart-section.cart-drawer-ready .cart-row-copy > strong {
    font-size: 13px !important;
  }
  html body .cart-section.cart-drawer-ready .cart-row-copy > small {
    font-size: 11px !important;
  }
}
