/* v1.3.22 — exact product top + checkout/cart editorial layout, scoped only. */
/* PDP: all changes stop above the existing WooCommerce tabs. */
body.gr-site.single-product .gr-pdp-grid {display:grid!important;grid-template-columns:minmax(0,.91fr) minmax(0,1.30fr)!important;gap:clamp(24px,3vw,42px)!important;align-items:start!important;}
body.gr-site.single-product .gr-pdp-grid :is(.gr-pdp-media,.summary.entry-summary) {min-width:0!important;}
body.gr-site.single-product .gr-pdp-media {width:100%!important;max-width:100%!important;margin:0!important;border:0!important;background:transparent!important;}
body.gr-site.single-product .gr-pdp-media .woocommerce-product-gallery {max-width:100%!important;margin:0!important;float:none!important;width:100%!important;}
body.gr-site.single-product .gr-pdp-media .woocommerce-product-gallery__wrapper {margin:0!important;}
body.gr-site.single-product .gr-pdp-media .woocommerce-product-gallery__image {aspect-ratio:1;background:#111!important;overflow:hidden;}
body.gr-site.single-product .gr-pdp-media .woocommerce-product-gallery__image img {display:block!important;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:1!important;object-fit:cover!important;}
body.gr-site.single-product .gr-pdp-media ol.flex-control-thumbs {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px!important;margin:12px 0 0!important;padding:0!important;list-style:none;background:transparent!important;}
body.gr-site.single-product .gr-pdp-media ol.flex-control-thumbs li {width:100%!important;max-width:none!important;aspect-ratio:1;float:none!important;border:1px solid #ded8ca;overflow:hidden;}
body.gr-site.single-product .gr-pdp-media ol.flex-control-thumbs img {width:100%!important;height:100%!important;object-fit:cover!important;opacity:1;}
body.gr-site.single-product .gr-pdp-grid div.summary.entry-summary {width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;float:none!important;}
body.gr-site.single-product .gr-pdp-grid .summary.entry-summary > h1.product_title {font:700 clamp(30px,2.7vw,37px)/1.13 'Cormorant Garamond',Georgia,serif!important;letter-spacing:0!important;color:#102117;margin:0 0 18px!important;}
body.gr-site.single-product .gr-purchase-panel {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px 12px!important;align-items:center!important;border:1px solid #b89655!important;padding:clamp(16px,2vw,26px)!important;background:#fff!important;box-shadow:none!important;margin:0!important;}
body.gr-site.single-product .gr-purchase-panel > .price {grid-row:1!important;grid-column:1!important;align-self:center!important;margin:0!important;color:#102117!important;font:700 clamp(26px,2.55vw,35px)/1.1 'Inter',sans-serif!important;display:flex!important;flex-wrap:wrap;align-items:baseline;gap:8px;}
body.gr-site.single-product .gr-purchase-panel > .price :is(del,ins){display:inline!important;margin:0!important;padding:0!important;background:none!important;text-decoration:none!important;}
body.gr-site.single-product .gr-purchase-panel > .price del {color:#8e8c86!important;font-size:.64em!important;text-decoration:line-through!important;opacity:1!important;}
body.gr-site.single-product .gr-purchase-panel > .price del :is(span,bdi) {font-size:inherit!important;}
body.gr-site.single-product .gr-purchase-panel > .price ins {color:#102117!important;font-weight:700!important;}
body.gr-site.single-product .gr-purchase-panel > .gr-stock-label {grid-row:1!important;grid-column:2!important;justify-self:end!important;max-width:100%;text-align:right!important;border:1px solid #c6dac9!important;background:#ecf4ed!important;color:#102117!important;border-radius:0!important;padding:5px 8px!important;margin:0!important;font:600 11px/1.35 'Inter',sans-serif!important;}
body.gr-site.single-product .gr-purchase-panel > form.cart {grid-row:auto!important;grid-column:1/-1!important;width:100%!important;margin:0!important;}
body.gr-site.single-product .gr-purchase-panel .gr-purchase-actions {display:flex!important;gap:9px!important;align-items:stretch!important;justify-content:flex-start!important;width:100%!important;}
body.gr-site.single-product .gr-purchase-panel .gr-purchase-actions > :is(.single_add_to_cart_button,.gr-buy-direct) {flex:1 1 0!important;min-width:0!important;min-height:45px!important;padding:9px 8px!important;font:600 clamp(11px,1vw,13px)/1.25 'Inter',sans-serif!important;text-transform:uppercase!important;letter-spacing:.055em!important;}
body.gr-site.single-product .gr-purchase-panel .gr-purchase-actions > .single_add_to_cart_button {background:#102117!important;border:1px solid #102117!important;color:#dfbd78!important;}
body.gr-site.single-product .gr-purchase-panel .gr-purchase-actions > .single_add_to_cart_button:hover {background:#b89655!important;border-color:#b89655!important;color:#102117!important;}
body.gr-site.single-product .gr-purchase-panel .gr-purchase-actions > .gr-buy-direct {background:#b89655!important;border:1px solid #b89655!important;color:#102117!important;}
body.gr-site.single-product .gr-purchase-panel .gr-purchase-actions > .gr-buy-direct:hover {background:#102117!important;border-color:#102117!important;color:#dfbd78!important;}
body.gr-site.single-product .gr-purchase-panel .gr-purchase-actions > .gr-favorite {flex:0 0 40px!important;width:40px!important;height:45px!important;border-radius:0!important;align-self:stretch!important;}
body.gr-site.single-product .gr-purchase-panel .gr-favorite {display:grid!important;place-items:center!important;}
body.gr-site.single-product .gr-purchase-panel > .gr-purchase-notes {grid-row:auto!important;grid-column:1/-1!important;display:flex!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:8px 16px!important;align-items:center!important;border-top:1px solid #eee8dc!important;margin:1px 0 0!important;padding:12px 0 0!important;}
body.gr-site.single-product .gr-purchase-panel > .gr-purchase-notes span {font:400 11px/1.5 'Inter',sans-serif!important;color:#3e403b!important;}
body.gr-site.single-product .gr-pdp-grid .gr-passport {margin:20px 0 0!important;background:#fff!important;border:1px solid #ded8ca!important;}
body.gr-site.single-product .gr-pdp-grid .gr-passport h2 {margin:0!important;padding:12px 17px!important;background:#102117!important;color:#dfbd78!important;text-transform:uppercase!important;letter-spacing:.065em!important;font:600 12px/1.45 'Inter',sans-serif!important;}
body.gr-site.single-product .gr-pdp-grid .gr-passport table.shop_attributes {width:100%!important;margin:0!important;border-collapse:collapse!important;table-layout:fixed!important;}
body.gr-site.single-product .gr-pdp-grid .gr-passport table.shop_attributes :is(td,th){padding:9px 15px!important;font:400 12.5px/1.35 'Inter',sans-serif!important;text-align:left!important;vertical-align:middle!important;border:0!important;border-bottom:1px solid #e9e5dc!important;background:transparent!important;}
body.gr-site.single-product .gr-pdp-grid .gr-passport table.shop_attributes th {width:45%!important;font-weight:600!important;}
body.gr-site.single-product .gr-pdp-grid .gr-passport tr:nth-child(even){background:#f8f6f0!important;}
body.gr-site.single-product .gr-pdp-grid .gr-passport td :is(p,a){margin:0!important;font-size:inherit!important;}
/* Sold product: keep existing account/auth + Ajax preorder flow. Change copy & presentation only. */
body.gr-site.single-product.gr-product-awaiting-order .gr-purchase-panel {display:block!important;border-left:4px solid #102117!important;padding:clamp(17px,2.2vw,28px)!important;}
body.gr-site.single-product.gr-product-awaiting-order .gr-purchase-panel > :is(.price,.stock,.gr-stock-label,.gr-buy-now){display:none!important;}
body.gr-site.single-product .vinyl-order-box {background:transparent!important;border:0!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:13px!important;}
body.gr-site.single-product .vinyl-order-box .gr-preorder-badge {display:inline-block;align-self:flex-start;padding:5px 12px;background:#102117;color:#dfbd78;font:600 10px/1.4 'Inter',sans-serif;letter-spacing:.07em;text-transform:uppercase;}
body.gr-site.single-product .vinyl-order-box .gr-preorder-heading {margin:0!important;padding:0!important;font:600 clamp(23px,2.2vw,30px)/1.2 'Cormorant Garamond',Georgia,serif!important;color:#102117!important;text-transform:none!important;background:transparent!important;letter-spacing:0!important;}
body.gr-site.single-product .vinyl-order-box .vinyl-order-info {margin:0!important;padding:13px 15px!important;background:#f6f3eb!important;border:1px solid #e5dcca!important;font:400 12.5px/1.6 'Inter',sans-serif!important;color:#24271f!important;}
body.gr-site.single-product .vinyl-order-box .vinyl-order-info strong {font-weight:600;}
body.gr-site.single-product .vinyl-order-box :is(button.vinyl-order-button,a.vinyl-order-button) {width:100%!important;box-sizing:border-box!important;display:flex!important;justify-content:center!important;align-items:center!important;min-height:46px!important;margin:0!important;padding:11px 14px!important;text-decoration:none!important;text-align:center!important;border:1px solid #102117!important;border-radius:0!important;background:#102117!important;color:#dfbd78!important;font:600 11px/1.3 'Inter',sans-serif!important;letter-spacing:.055em!important;text-transform:uppercase!important;}
body.gr-site.single-product .vinyl-order-box :is(button.vinyl-order-button,a.vinyl-order-button):hover:not(:disabled) {background:#b89655!important;border-color:#b89655!important;color:#102117!important;}
body.gr-site.single-product.gr-product-awaiting-order .gr-purchase-panel > .gr-favorite {margin-top:10px!important;min-width:36px;min-height:36px;}
body.gr-site.single-product .vinyl-order-message:empty {display:none!important;}
/* Checkout: reduce prior heavy card typography and align two editable Woo shortcodes. */
body.gr-site.woocommerce-checkout main.gr-page {max-width:1250px;}
body.gr-site.woocommerce-checkout .gr-page-heading h1 {font:700 clamp(33px,3.1vw,41px)/1.16 'Cormorant Garamond',Georgia,serif!important;color:#102117!important;margin-bottom:18px!important;}
body.gr-site.woocommerce-checkout .woocommerce form.checkout {display:grid!important;grid-template-columns:minmax(0,1.03fr) minmax(0,1fr)!important;grid-template-rows:auto auto 1fr!important;gap:0 25px!important;align-items:start!important;}
body.gr-site.woocommerce-checkout form.checkout > #customer_details {grid-column:1!important;grid-row:1/4!important;margin:0!important;border:1px solid #e0d9ce!important;border-top:1px solid #e0d9ce!important;padding:clamp(18px,2vw,27px)!important;background:#fff!important;box-shadow:none!important;}
body.gr-site.woocommerce-checkout form.checkout #customer_details h3 {font:600 clamp(21px,2vw,27px)/1.2 'Cormorant Garamond',Georgia,serif!important;border-bottom:1px solid #e9e5dc!important;padding:0 0 13px!important;margin:0 0 15px!important;}
body.gr-site.woocommerce-checkout form.checkout #customer_details :is(input.input-text,select,textarea) {min-height:40px!important;padding:9px 10px!important;background:#faf8f4!important;border:1px solid #dfd9ce!important;border-radius:0!important;font-size:12.5px!important;}
body.gr-site.woocommerce-checkout form.checkout #customer_details label {font:500 11.5px/1.4 'Inter',sans-serif!important;}
body.gr-site.woocommerce-checkout form.checkout #customer_details .form-row {margin-bottom:9px!important;}
body.gr-site.woocommerce-checkout form.checkout > #order_review_heading {grid-column:2!important;grid-row:1!important;background:#fff!important;padding:22px 24px 12px!important;border:1px solid #e0d9ce!important;border-bottom:0!important;border-top:1px solid #e0d9ce!important;margin:0!important;font:600 clamp(21px,2vw,27px)/1.22 'Cormorant Garamond',Georgia,serif!important;}
body.gr-site.woocommerce-checkout form.checkout > .gr-checkout-shipping-progress {grid-column:2!important;grid-row:2!important;margin:0!important;padding:11px 24px 14px!important;background:#fff!important;border:1px solid #e0d9ce;border-top:0;border-bottom:0;color:#102117;min-width:0;}
body.gr-site.woocommerce-checkout .gr-checkout-shipping-progress strong {display:block;font:600 11.5px/1.5 'Inter',sans-serif!important;}
body.gr-site.woocommerce-checkout .gr-checkout-shipping-progress > span:not(.gr-checkout-shipping-meter) {font:400 11px/1.5 'Inter',sans-serif!important;}
body.gr-site.woocommerce-checkout .gr-checkout-shipping-meter {display:block;height:5px;margin-top:7px;background:#d6e2d8;overflow:hidden;}
body.gr-site.woocommerce-checkout .gr-checkout-shipping-meter > span {display:block;height:100%;background:#729a79;}
body.gr-site.woocommerce-checkout form.checkout > #order_review {grid-column:2!important;grid-row:3!important;margin:0!important;padding:0 24px!important;border:1px solid #e0d9ce!important;border-top:0!important;background:#fff!important;box-shadow:none!important;}
body.gr-site.woocommerce-checkout #order_review table.shop_table :is(td,th){padding:9px 4px!important;font-size:12px!important;line-height:1.45!important;border-color:#ece8df!important;}
body.gr-site.woocommerce-checkout #order_review table.shop_table thead {background:transparent!important;}
body.gr-site.woocommerce-checkout #order_review .shop_table tr.shipping {padding:7px 0 14px!important;}
body.gr-site.woocommerce-checkout #order_review .woocommerce-shipping-methods {gap:7px!important;margin:4px 0!important;}
body.gr-site.woocommerce-checkout #order_review .woocommerce-shipping-methods li {background:#fbfaf7!important;padding:11px 12px!important;border:1px solid #e4ddd2!important;}
body.gr-site.woocommerce-checkout #order_review .woocommerce-shipping-methods li:has(input:checked){background:#faf5e9!important;border-color:#b89655!important;}
body.gr-site.woocommerce-checkout #order_review .woocommerce-shipping-methods label {font-size:11.5px!important;line-height:1.45!important;}
body.gr-site.woocommerce-checkout #order_review .shop_table tfoot tr.order-total {background:transparent!important;}
body.gr-site.woocommerce-checkout #order_review .shop_table tfoot tr.order-total :is(td,th){font-size:17px!important;color:#102117!important;}
body.gr-site.woocommerce-checkout #order_review #payment {margin:16px -24px 0!important;background:#fff!important;border-top:1px solid #e7e0d4!important;padding:0 24px 18px!important;}
body.gr-site.woocommerce-checkout #payment ul.payment_methods {padding:14px 0!important;}
body.gr-site.woocommerce-checkout #payment div.form-row.place-order {padding:10px 0 0!important;background:transparent!important;border:0!important;}
body.gr-site.woocommerce-checkout #payment .place-order button#place_order {width:100%!important;min-height:46px!important;padding:10px!important;background:#102117!important;color:#dfbd78!important;border:1px solid #102117!important;font:600 11px/1.3 'Inter',sans-serif!important;letter-spacing:.06em!important;}
body.gr-site.woocommerce-checkout #payment .place-order button#place_order:hover {background:#b89655!important;color:#102117!important;}
/* The reference checkout contains no large three-card advertising section. The
   hook remains intact and can be restored separately if required. */
body.gr-site.woocommerce-checkout .gr-checkout-assurances {display:none!important;}
body.gr-site.woocommerce-checkout .woocommerce .form-row :is(input[type=checkbox],input[type=radio]) {accent-color:#102117;}
/* Cart: use the same restrained ivory/white panels as the checkout reference. */
body.gr-site.woocommerce-cart main.gr-page {max-width:1250px;}
body.gr-site.woocommerce-cart .gr-page-heading h1 {font:700 clamp(34px,3vw,42px)/1.13 'Cormorant Garamond',Georgia,serif!important;color:#102117!important;}
body.gr-site.woocommerce-cart .woocommerce-cart-form {border:1px solid #dfd9cb!important;background:#fff!important;padding:clamp(10px,1.6vw,20px)!important;box-shadow:none!important;}
body.gr-site.woocommerce-cart .woocommerce-cart-form table.shop_table {border:0!important;margin:0!important;border-collapse:collapse!important;}
body.gr-site.woocommerce-cart .woocommerce-cart-form table.shop_table :is(th,td) {padding:12px 9px!important;border-color:#eae5dc!important;font:400 12.5px/1.55 'Inter',sans-serif!important;vertical-align:middle!important;}
body.gr-site.woocommerce-cart .woocommerce-cart-form table.shop_table thead {background:#f5f2ea!important;}
body.gr-site.woocommerce-cart .woocommerce-cart-form table.shop_table thead th {font-weight:600!important;color:#102117!important;}
body.gr-site.woocommerce-cart .woocommerce-cart-form .product-name a {color:#102117!important;text-decoration:none!important;font-weight:600!important;}
body.gr-site.woocommerce-cart .woocommerce-cart-form .product-name a:hover {color:#987433!important;}
body.gr-site.woocommerce-cart .woocommerce-cart-form table.shop_table img {width:68px!important;height:68px!important;object-fit:cover!important;}
body.gr-site.woocommerce-cart .woocommerce-cart-form :is(input.input-text,.qty) {background:#faf8f4!important;border:1px solid #ded8ca!important;border-radius:0!important;min-height:38px!important;}
body.gr-site.woocommerce-cart .cart-collaterals {display:flex!important;justify-content:flex-end!important;margin:19px 0 42px!important;}
body.gr-site.woocommerce-cart .cart-collaterals .cart_totals {float:none!important;width:min(100%,520px)!important;padding:22px 24px!important;background:#fff!important;border:1px solid #ded8ca!important;}
body.gr-site.woocommerce-cart .cart-collaterals .cart_totals h2 {font:600 clamp(24px,2.2vw,30px)/1.2 'Cormorant Garamond',Georgia,serif!important;color:#102117!important;}
body.gr-site.woocommerce-cart .cart-collaterals .cart_totals table.shop_table :is(th,td){padding:11px 8px!important;font-size:12px!important;border-color:#eee7dd!important;}
body.gr-site.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {display:block;width:100%!important;background:#102117!important;color:#dfbd78!important;border-radius:0!important;padding:14px 10px!important;font:600 12px/1.3 'Inter',sans-serif!important;letter-spacing:.05em!important;}
body.gr-site.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {background:#b89655!important;color:#102117!important;}
@media(max-width:960px){
 body.gr-site.single-product .gr-pdp-grid {grid-template-columns:minmax(0,1fr) minmax(0,1.08fr)!important;gap:18px!important;}
 body.gr-site.woocommerce-checkout .woocommerce form.checkout {grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;gap:16px!important;}
 body.gr-site.woocommerce-checkout form.checkout > :is(#customer_details,#order_review_heading,.gr-checkout-shipping-progress,#order_review){grid-column:1!important;grid-row:auto!important;}
 body.gr-site.woocommerce-checkout form.checkout > #order_review_heading{margin-bottom:-16px!important;}
 body.gr-site.woocommerce-checkout form.checkout > .gr-checkout-shipping-progress{margin-bottom:-16px!important;}
}
@media(max-width:700px){
 body.gr-site.single-product .gr-pdp-grid {grid-template-columns:minmax(0,1fr)!important;gap:18px!important;}
 body.gr-site.single-product .gr-pdp-media {max-width:100%!important;}
 body.gr-site.single-product .gr-pdp-grid .summary.entry-summary > h1.product_title{font-size:clamp(29px,7vw,35px)!important;}
 body.gr-site.single-product .gr-purchase-panel > .gr-stock-label {max-width:170px!important;}
 body.gr-site.woocommerce-cart .woocommerce-cart-form{padding:10px!important;}
 body.gr-site.woocommerce-cart .cart-collaterals .cart_totals{padding:18px 14px!important;}
}
@media(max-width:470px){
 body.gr-site.single-product .gr-purchase-panel {grid-template-columns:minmax(0,1fr)!important;}
 body.gr-site.single-product .gr-purchase-panel > .price {grid-row:1!important;grid-column:1!important;}
 body.gr-site.single-product .gr-purchase-panel > .gr-stock-label {grid-row:2!important;grid-column:1!important;justify-self:start!important;text-align:left!important;}
 body.gr-site.single-product .gr-purchase-panel .gr-purchase-actions{flex-wrap:wrap!important;}
 body.gr-site.single-product .gr-purchase-panel .gr-purchase-actions > :is(.single_add_to_cart_button,.gr-buy-direct){flex:1 1 calc(50% - 6px)!important;}
 body.gr-site.single-product .gr-purchase-panel .gr-purchase-actions > .gr-favorite{flex:0 0 38px!important;}
 body.gr-site.woocommerce-checkout form.checkout > #order_review,body.gr-site.woocommerce-checkout form.checkout > #order_review_heading,body.gr-site.woocommerce-checkout form.checkout > .gr-checkout-shipping-progress{padding-left:15px!important;padding-right:15px!important;}
 body.gr-site.woocommerce-checkout #order_review #payment {margin-left:-15px!important;margin-right:-15px!important;padding-inline:15px!important;}
 body.gr-site.woocommerce-checkout #order_review .woocommerce-shipping-methods li{padding:9px!important;}
}
