/* GoldenRoot Shopping Experience v1 — muted editorial navy + ivory */
.gr-product-card{display:flex;flex-direction:column;transition:transform .36s cubic-bezier(.2,.8,.2,1)}
.gr-product-card .gr-product-image{display:block;overflow:hidden;position:relative;isolation:isolate;background:#ebe8e3}
.gr-product-image img{aspect-ratio:1.14/1;object-fit:cover;object-position:center;width:100%;height:100%;transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .3s}
.gr-product-card:hover .gr-product-image img{transform:scale(1.055)}
.gr-image-tag{position:absolute;top:11px;left:11px;z-index:2;background:rgba(255,254,250,.95);color:#273340;border:1px solid rgba(255,255,255,.72);font:600 9px/1.1 var(--sans);letter-spacing:.075em;text-transform:uppercase;padding:9px 11px;backdrop-filter:blur(6px)}
.gr-product-meta{display:flex;flex-direction:column;flex:1;padding:16px 0 0}
.gr-product-meta .product-row{display:block;margin:5px 0 0}.gr-product-meta .product-row h3{font:400 clamp(19px,1.6vw,25px)/1.2 var(--serif);letter-spacing:-.045em;margin:0}.gr-product-meta .product-row a:hover h3{color:#4f5965}
.gr-price-line{display:flex;align-items:baseline;gap:8px;margin:11px 0 0}.gr-price-line strong{font-size:14px;letter-spacing:-.02em}.gr-price-line small{color:#8f9397;font-size:10px}.gr-price-line .gr-price-quote{font-size:12px;color:#664452;font-weight:600}
.gr-product-meta>p.gr-card-description{margin:11px 0 18px!important;min-height:45px!important;max-height:55px;font-size:12px;color:#737980;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.gr-product-meta>.gr-card-add,.gr-product-meta>.gr-card-action{margin-top:auto}
.gr-card-add{display:block;width:100%}
.gr-card-action{appearance:none;display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:0 0 0 17px!important;border:1px solid #121f2e!important;text-align:left;border-radius:2px!important;background:#101d2d;color:white!important;font:600 12px/1.2 var(--sans);cursor:pointer;transition:background .24s,transform .24s,box-shadow .24s}
.gr-card-action:not(:disabled):hover{background:#283a4d;transform:translateY(-2px);box-shadow:0 12px 22px rgba(9,23,37,.14)}
.gr-card-action:disabled{cursor:wait;opacity:.85}.gr-card-action-icon{display:grid;place-items:center;height:46px;width:48px;font-size:23px;border-left:1px solid rgba(255,255,255,.15);font-weight:300;transition:transform .3s}.gr-card-action:hover .gr-card-action-icon{transform:translateX(2px)}
.gr-quote-action{background:transparent;color:#111c27!important;border:1px solid #b9bec1!important}.gr-quote-action:hover{background:#e8e9e9!important;box-shadow:none!important}
.gr-quote-action .gr-card-action-icon{border-left:1px solid #cdd0d2;font-size:19px}
.gr-card-add.is-added .gr-card-action{background:#263c4a;border-color:#263c4a!important}.gr-card-add.is-added .gr-card-action-icon{font-size:19px}
/* Product detail quantity purchase controls */
.gr-stock-label{color:#324858;font-size:13px}.gr-stock-label span{color:#6d8782;padding-right:5px}.gr-detail-buy-row{display:flex;align-items:end;gap:13px;flex-wrap:wrap}.gr-detail-stepper{display:grid;gap:7px}.gr-detail-stepper>span{font-size:11px;color:#69727a}.gr-step-control{height:49px;border:1px solid #c6cbd0;display:inline-flex;align-items:center;background:#fff;min-width:120px}
.gr-step-control button{border:0;background:transparent;height:100%;width:38px;font-size:20px;color:#162636;transition:background .2s}.gr-step-control button:hover{background:#f0f1f1}.gr-step-control input{width:46px;min-width:0;height:100%;text-align:center;font-size:14px;color:#152334;border:0;background:transparent;padding:0;appearance:textfield;-moz-appearance:textfield}.gr-step-control input::-webkit-inner-spin-button,.gr-step-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.gr-detail-buy-row .gr-detail-cta{flex:1;min-width:180px;min-height:49px}.gr-product-buy{display:block}.gr-product-detail .detail-photo img{object-fit:cover}
/* Bag drawer — independent from regular nav and payment workflows */
.gr-bag-overlay{position:fixed;inset:0;background:rgba(3,12,23,.47);backdrop-filter:blur(3px);z-index:300;opacity:0;transition:opacity .32s ease}
.gr-bag-drawer{position:fixed;top:0;right:0;bottom:0;z-index:301;width:min(100%,480px);display:flex;flex-direction:column;background:#fffefa;color:#111c27;box-shadow:-18px 0 65px rgba(5,12,20,.18);transform:translateX(104%);transition:transform .37s cubic-bezier(.23,.84,.3,1)}
.gr-bag-overlay.is-open{opacity:1}.gr-bag-drawer.is-open{transform:translateX(0)}.bag-is-open{overflow:hidden}
.gr-drawer-header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:27px 27px 21px;border-bottom:1px solid #e0e1df}.gr-drawer-kicker{font-size:9px;letter-spacing:.18em;color:#808791}.gr-drawer-header h2{margin:7px 0 0;font:400 34px/1.05 var(--serif);letter-spacing:-.055em}.gr-drawer-header h2 small{display:inline-grid;place-items:center;font:600 11px var(--sans);width:25px;height:25px;vertical-align:middle;border-radius:50%;background:#eceae5;color:#122234;margin-left:8px}
.gr-drawer-close{width:42px;height:42px;background:transparent;border:1px solid #d4d8d9;color:#142332;font-size:29px;font-weight:300;line-height:1;display:grid;place-items:center;transition:background .2s}.gr-drawer-close:hover{background:#f1efeb}
.gr-drawer-notice{font-size:11px;color:#5d6770;border-bottom:1px solid #ebe9e3;padding:12px 28px;background:#f8f6f2}.gr-drawer-notice span{color:#714e58;margin-right:7px}
.gr-drawer-main{flex:1;min-height:0;overflow:auto;padding:22px 27px}.gr-drawer-loading{padding:32px 6px;color:#77808b;font-size:13px}
.gr-drawer-empty{text-align:center;display:grid;justify-items:center;align-content:center;min-height:280px;padding:25px 5px}.gr-empty-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;border:1px solid #c9ced0;color:#1b2c3d;font-size:27px;margin-bottom:19px}.gr-drawer-empty h3{font:400 30px var(--serif);letter-spacing:-.04em;margin:0 0 7px}.gr-drawer-empty p{font-size:12px;color:#75808a;max-width:235px;margin:0 0 22px}.gr-drawer-empty a{background:#132338;color:#fff;font-size:12px;padding:13px 20px}
.gr-drawer-item{display:grid;grid-template-columns:82px minmax(0,1fr) auto;gap:13px;border-bottom:1px solid #e7e6e1;padding:0 0 20px;margin-bottom:20px}.gr-drawer-item>a:first-child{width:82px;height:91px;background:#e7e5e0}.gr-drawer-item img{height:100%;width:100%;object-fit:cover}.gr-drawer-item-name{font:400 18px/1.13 var(--serif);letter-spacing:-.035em;display:block;padding-top:2px}.gr-drawer-item-price{display:block;font-size:11px;color:#6b7680;margin:7px 0 10px}.gr-drawer-item-total{white-space:nowrap;font-size:12px;font-weight:650;margin-top:4px}.gr-drawer-item-qty{display:flex;align-items:center;gap:11px}.gr-drawer-item-qty button{width:28px;height:28px;background:#f1f1ef;border:1px solid #e1e4e5;display:grid;place-items:center;font-size:17px}.gr-drawer-item-qty button:hover{background:#e5e6e6}.gr-drawer-item-qty button:disabled{opacity:.35}.gr-drawer-item-qty span{font-size:12px;min-width:9px;text-align:center}.gr-drawer-item-delete{border:0;background:none;text-decoration:underline;font-size:10px;color:#77818a;padding:0;text-underline-offset:3px}.gr-drawer-item-delete:hover{color:#711e34}
.gr-drawer-bottom{border-top:1px solid #dee0e0;padding:18px 27px 23px;background:#fffefa}.gr-drawer-subtotal{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:13px}.gr-drawer-subtotal strong{font-size:22px}.gr-drawer-bottom p{font-size:11px;color:#76808b;margin:7px 0 17px;line-height:1.5}.gr-drawer-checkout{display:flex;align-items:center;justify-content:space-between;background:#0b1420;color:#fff;padding:15px 17px;font-size:12px;font-weight:650;transition:background .2s}.gr-drawer-checkout:hover{background:#304252}.gr-drawer-view{display:block;text-align:center;margin:15px auto 0;color:#334353;text-decoration:underline;text-underline-offset:5px;font-size:11px}
/* Full cart refinement */
.gr-cart-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:24px}.gr-cart-heading h1{margin:0}.gr-back-to-shop,.gr-summary-link{font-size:12px;text-decoration:underline;text-underline-offset:4px;color:#354455}
.gr-cart-layout{gap:42px}.gr-cart-line{grid-template-columns:120px 1fr auto;gap:20px;padding:23px 0;border-bottom:1px solid var(--line);align-items:start}.gr-cart-photo{width:120px;height:130px;background:#e6e5e0}.gr-cart-line img{width:100%!important;height:100%!important;object-fit:cover}.gr-cart-info h3{margin:6px 0;font:400 26px/1.16 var(--serif)}.gr-cart-info>p{font-size:12px;color:#727b83;margin:0 0 16px}.gr-cart-label{font-size:9px;letter-spacing:.15em;color:#828992}.gr-cart-quantity-form{display:flex;align-items:center;gap:10px}.gr-step-cart{height:36px;min-width:auto}.gr-step-cart button{width:34px}.gr-step-cart input{width:35px}.gr-qty-apply{border:1px solid #c7ced2;background:#fff;font-size:10px;padding:9px 12px;min-height:36px}.gr-qty-apply:hover{background:#eceff0}.gr-cart-line-right{display:grid;justify-items:end;gap:45px}.gr-cart-line-right>strong{font-size:14px;white-space:nowrap}.gr-cart-remove{border:0;background:transparent;font-size:11px;color:#797b82;text-decoration:underline;text-underline-offset:3px}.gr-cart-summary{box-shadow:0 14px 50px rgba(11,20,32,.06)}.gr-cart-summary .button{width:100%}.gr-summary-link{display:block;margin-top:18px;text-align:center}.gr-empty-cart{padding:85px 25px}
/* Shop sorting + enhanced response */
.gr-shop-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.gr-sort-form select{appearance:none;border:1px solid #d6d9d9;background:#fffdfa;color:#263443;padding:12px 28px 12px 12px;font-size:11px;max-width:175px;cursor:pointer}.gr-sort-form{position:relative}.gr-sort-form:after{content:'⌄';position:absolute;right:12px;top:9px;pointer-events:none;color:#6e7a85}.gr-sort-form label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.gr-shop-controls .catalogue-search{min-width:230px;width:250px;flex:1;max-width:330px}
#gr-bag-drawer[hidden],#gr-bag-overlay[hidden]{display:none!important}
@media(max-width:760px){.gr-shop-controls{width:100%;flex-wrap:wrap}.gr-shop-controls .catalogue-search{max-width:none;width:100%;flex:1 1 100%}.gr-sort-form{flex:0 0 auto}.gr-cart-heading{align-items:start}.gr-cart-line{grid-template-columns:90px 1fr;gap:14px}.gr-cart-photo{width:90px;height:100px}.gr-cart-info h3{font-size:21px}.gr-cart-line-right{grid-column:2;display:flex;justify-content:space-between;justify-items:start;gap:20px;align-items:center}.gr-cart-quantity-form{flex-wrap:wrap}.gr-back-to-shop{display:none}.gr-drawer-header{padding:23px 20px 16px}.gr-drawer-main{padding:20px}.gr-drawer-bottom{padding:18px 20px}.gr-drawer-notice{padding:12px 20px}}
@media(prefers-reduced-motion:reduce){.gr-product-card,.gr-card-action,.gr-product-image img,.gr-bag-overlay,.gr-bag-drawer{animation:none!important;transition:none!important}}
/* Multi-product quotation list is distinct from priced checkout */
.gr-quote-list{padding:15px 0 5px;margin-top:8px;border-top:1px solid #cfd3d5}.gr-quote-list>h3{font:400 25px/1.15 var(--serif);letter-spacing:-.04em;margin:7px 0 8px}.gr-quote-list .gr-quote-explainer{color:#747b84;font-size:11px;margin:0 0 14px;line-height:1.55}.gr-quote-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #ededeb}.gr-quote-line-name{font-size:13px;color:#283748}.gr-quote-line-name:hover{text-decoration:underline;text-underline-offset:3px}.gr-quote-remove{display:grid;place-items:center;min-width:28px;height:28px;border:1px solid #e0e1df;background:#fff;font-size:19px;color:#3e4e5e}.gr-quote-remove:hover{background:#f1efeb}.gr-drawer-quote-bottom{padding:13px 27px;border-top:1px solid #ddd;background:#f7f6f2}.gr-drawer-quote-bottom .gr-drawer-checkout{background:transparent;color:#132536;border:1px solid #aeb8c1}.gr-drawer-quote-bottom .gr-drawer-checkout:hover{background:#e8ebee}.gr-drawer-quote-bottom p{color:#737b84;font-size:10px;margin:7px 0 0}.gr-bag-drawer:has(#gr-drawer-quote-bottom:not([hidden])) .gr-drawer-bottom{padding-top:12px}
@media(max-width:760px){.gr-drawer-quote-bottom{padding:13px 20px}}
