/* Palette: no black anywhere in the UI. Deep forest green replaces near-black. */
:root{--rs-ink:#234534;--rs-ink-2:#3a5b4a;--rs-muted:#66746b;--rs-shadow:0 24px 70px -48px rgba(35,69,52,.36);--rs-shadow-soft:0 12px 32px -28px rgba(35,69,52,.24)}
html[data-theme="dark"]{--rs-ink:#f1ece0;--rs-ink-2:#dcd6c8;--rs-paper:#1f382c;--rs-paper-2:#274236;--rs-surface:#2b4739;--rs-surface-2:#34523f;--rs-line:#4d6d5e;--rs-line-strong:#648272}
.amazon-footer{background:#234534!important}
html[data-theme="dark"] .amazon-footer{background:#1a3226!important}
.rs-photo-hero{background:#234534!important}
[data-theme="dark"] .rs-cat{background:#2b4739!important;border-color:#4d6d5e!important}
.ag.ag{--text:#234534;--text-muted:#5d6b63;--shadow-sm:0 1px 3px rgba(35,69,52,.08);--shadow-md:0 10px 26px -14px rgba(35,69,52,.18);--shadow-lg:0 22px 48px -18px rgba(35,69,52,.26)}
html[data-theme="dark"] .ag{--bg:#1f382c;--bg-soft:#274236;--surface:#2b4739;--surface-2:#34523f;--text:#f1ece0;--text-muted:#bcc6bd;--border:#4d6d5e;--border-strong:#648272;--accent-soft:#3d3a2c;--wa-soft:#1d4a35;--shadow-sm:0 1px 3px rgba(0,0,0,0);--shadow-md:none;--shadow-lg:none}
html[data-theme="dark"] .ag .ag-btn--primary,html[data-theme="dark"] .ag .ag-filters button.is-active{color:#1f382c}

/* Product grids (search, categories, archive): equal cards, equal image boxes, no editorial 7/2.5 spans. */
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;align-items:stretch}
.product-grid>.product-card,.product-grid>.product-card:nth-child(n){grid-column:auto!important}
.product-grid .product-card:nth-child(n) .product-media{aspect-ratio:1/1!important}
.product-grid .product-card .product-body{display:flex;flex-direction:column;gap:6px}
.product-grid .product-card .product-title{min-height:0}
.product-grid .product-card .market-card-actions{margin-top:auto}
@media (max-width:1020px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:700px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}

/* Hero spotlight slider */
.ag .ag-spotlight-card__media{position:relative;touch-action:pan-y}
.ag .ag-spot-arrow{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);font-size:18px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-sm);z-index:2}
.ag .ag-spot-arrow:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.ag .ag-spot-prev{right:8px}
.ag .ag-spot-next{left:8px}
.ag .ag-spotlight-card__media img{transition:opacity .25s ease}
.ag .ag-spotlight-card__media img.ag-swap{opacity:0}
:root{--ink:#234534}
html[data-theme="dark"]{--ink:#f1ece0;--paper:#1f382c}
.price-val,.btn-text,.market-search a,.product-title a{color:inherit}
.page-numbers.current{background:#234534!important;border-color:#234534!important}
.theme-toggle,#themeToggle{display:none!important}

/* New brand lockup (header). rouh.css sizes .brand img as a 42px square. */
.brand img.brand-lockup { width: auto !important; height: 40px !important; max-width: 100%; border-radius: 0 !important; object-fit: contain; display: block; }
@media (max-width: 600px) { .brand img.brand-lockup { height: 34px !important; } }

/* Quantity stepper + line total on product cards and the product page */
.gst-cq{margin:6px 0 8px}
.gst-cq__row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.gst-cq__label{font-size:12.5px;font-weight:700;color:var(--rs-ink-2,#33413a)}
.gst-cq__ctl{display:inline-flex;align-items:stretch;border:1px solid var(--rs-line-strong,#bdb3a3);border-radius:8px;background:var(--rs-surface,#fffdf8);overflow:hidden}
.gst-cq__btn{width:32px;border:0;background:var(--rs-surface-2,#f8f4ed);color:var(--rs-ink,#17211c);font-size:18px;line-height:1;cursor:pointer;padding:0}
.gst-cq__btn:disabled{opacity:.35;cursor:default}
.gst-cq__input{width:44px;border:0;border-inline:1px solid var(--rs-line,#d8d1c4);text-align:center;font:700 14px var(--rs-body,inherit);color:var(--rs-ink,#17211c);background:#fff;padding:6px 0;-moz-appearance:textfield;appearance:textfield;margin:0;border-radius:0}
.gst-cq__input::-webkit-outer-spin-button,.gst-cq__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.gst-cq__total{margin-top:5px;font-size:12.5px;color:var(--rs-muted,#6d7771)}
.gst-cq__total strong{color:var(--rs-accent-deep,#60311f);font-size:14.5px;font-weight:800}
.gst-cq__total--single{margin-top:8px;font-size:14px}
.gst-quantity-selector #gst-qty-input{background:#fff}
.gst-quantity-selector{flex-wrap:wrap}
.gst-cq__total--single{flex:0 0 100%;width:100%;order:5;margin-top:10px;padding-top:10px;border-top:1px dashed var(--rs-line,#d8d1c4);white-space:nowrap}

/* Order confirmation (checkout) */
.gst-done{max-width:560px;margin:24px auto;padding:22px 20px;background:var(--rs-surface,#fffdf8);border:1px solid var(--rs-line,#d8d1c4);border-radius:14px;text-align:center}
.gst-done__icon{width:52px;height:52px;margin:0 auto 10px;border-radius:50%;background:var(--rs-wa-soft,#dcefe5);color:var(--rs-wa,#157a4c);font-size:28px;line-height:52px;font-weight:800}
.gst-done__title{margin:0 0 4px;font-size:22px;color:var(--rs-ink,#17211c)}
.gst-done__ref{margin:0 0 14px;color:var(--rs-muted,#6d7771);font-size:14px}
.gst-done__list,.gst-done__cust{text-align:start;border-top:1px solid var(--rs-line,#d8d1c4);padding-top:10px;margin-top:10px}
.gst-done__row,.gst-done__crow{display:flex;justify-content:space-between;gap:12px;padding:5px 0;font-size:14px}
.gst-done__name{flex:1;min-width:0}
.gst-done__total{border-top:1px dashed var(--rs-line,#d8d1c4);margin-top:6px;padding-top:9px;font-size:17px;font-weight:800}
.gst-done__total strong{color:var(--rs-accent-deep,#60311f)}
.gst-done__crow span{color:var(--rs-muted,#6d7771)}
.gst-done__crow strong{text-align:end;font-weight:600}
.gst-done__note{margin:14px 0;font-size:13px;line-height:1.8;color:var(--rs-ink-2,#33413a)}
.gst-done__wa{display:block;padding:13px;border-radius:10px;background:var(--rs-wa,#157a4c);color:#fff!important;font-weight:800;text-decoration:none}
.gst-done__more{display:block;margin-top:12px;color:var(--rs-accent,#8f4d35);font-weight:700;text-decoration:none}

/* Numeric stepper stays minus on the left and plus on the right when the page is RTL. */
.gst-qty-controls{direction:ltr}
