/* Product layout follows the original Colabox two-column design. */
.cb-product-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; position: relative; align-items: start; }
.cb-product-grid > .onsale { position: absolute; z-index: 3; left: 16px; top: 16px; }
.woocommerce div.product .cb-product-grid > div.summary, .cb-product-grid > .summary { width: auto; float: none; margin: 0; min-width: 0; }
.cb-product-grid .summary { padding-top: 16px; }
.cb-product-grid .summary .product_title { font-size: clamp(32px, 3.3vw, 44px); line-height: 1.15; margin: 14px 0 20px; }
.cb-product-grid .woocommerce-product-details__short-description { font-size: 17px; color: var(--muted); line-height: 1.8; margin-bottom: 25px; }
.cb-product-grid .woocommerce-product-details__short-description > * + * { margin-top: 12px; }
.woocommerce div.product .cb-product-grid p.price, .woocommerce div.product .cb-product-grid span.price { font-size: 28px; color: var(--ink); font-weight: 600; margin-bottom: 24px; }
.cb-product-grid .price del { font-size: .75em; color: var(--muted); }
.cb-product-grid .price ins { text-decoration: none; }
.woocommerce div.product .cb-product-grid form.cart { border-top: 1px solid var(--line); padding-top: 22px; margin-block: 24px 30px; }
.cb-product-grid form.cart .variations { margin-bottom: 20px; border: 0; width: 100%; }
.cb-product-grid .variations th { text-align: left; font-weight: 600; font-size: 14px; padding-right: 16px; vertical-align: middle; }
.cb-product-grid .variations td { padding-bottom: 12px; }
.cb-product-grid select { width: 100%; min-height: 48px; border: 1px solid #a396a9; border-radius: 6px; padding: 10px 14px; background: white; color: var(--ink); }
.cb-product-grid .reset_variations { display: inline-block; font-size: 13px; padding: 8px 0; text-decoration: underline; }
.cb-product-grid .quantity input.qty { width: 70px; min-height: 50px; border: 1px solid #a396a9; border-radius: 6px; padding: 10px 8px; color: var(--ink); background: white; }
.woocommerce div.product .cb-product-grid button.single_add_to_cart_button { min-height: 50px; background: var(--plum); color: white; border-radius: 6px; border: 1px solid var(--plum); padding: 14px 26px; font: 700 14px/1.5 Manrope, sans-serif; float: none; }
.woocommerce div.product .cb-product-grid button.single_add_to_cart_button:hover { background: #35253d; }
.woocommerce div.product .cb-product-grid button.single_add_to_cart_button.disabled, .woocommerce div.product .cb-product-grid button.single_add_to_cart_button:disabled { opacity: .55; cursor: not-allowed; }
.cb-product-grid .woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cb-product-grid .single_add_to_cart_button { flex: 1; }
.cb-product-grid .woocommerce-variation-price { margin-bottom: 12px; }
.cb-product-grid .stock { font-size: 14px; margin-bottom: 16px; }
.cb-product-grid .product_meta { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; font-size: 12px; color: var(--muted); }
.cb-product-grid .product_meta > span { display: block; }
.cb-product-grid .product_meta a { text-decoration: underline; }
.cb-product-features { list-style: none; padding: 0; margin: 30px 0 0; }
.cb-product-features li { display: flex; gap: 14px; margin-top: 20px; }
.cb-product-features .icon { color: #84658e; width: 18px; height: 18px; margin-top: 3px; }
.cb-product-features strong { display: block; font-weight: 600; font-size: 15px; }
.cb-product-features p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.cb-product-policies { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; font-size: 13px; }
.cb-product-policies a { text-decoration: underline; padding-block: 8px; }
.cb-product-care { font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 20px; }
.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 60px; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 28px; margin-bottom: 20px; }
.woocommerce div.product .woocommerce-tabs .panel p { color: var(--muted); margin-bottom: 16px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--lavender); border-color: var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: white; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 32px; margin: 40px 0 24px; }
.cb-gallery { min-width: 0; align-self: start; }
.cb-gallery-stage { position: relative; border-radius: 18px; overflow: hidden; background: #f4f2f3; isolation: isolate; touch-action: pan-y pinch-zoom; }
.cb-gallery-enlarge { display: block; width: 100%; cursor: zoom-in; }
.cb-gallery-enlarge > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.cb-gallery-enlarge:focus-visible { outline-offset: -5px; }
.cb-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; border: 1px solid #b5a8bd; background: #fffffff2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; padding: 0; }
.cb-gallery-arrow:hover { background: var(--lavender); }
.cb-gallery-arrow .icon { width: 20px; height: 20px; }
.cb-prev { left: 16px; } .cb-next { right: 16px; }
.cb-zoom-hint { position: absolute; left: 18px; bottom: 17px; display: flex; align-items: center; gap: 7px; background: #ffffffeb; border-radius: 5px; padding: 7px 10px; font-size: 12px; color: var(--ink); }
.cb-zoom-hint .icon { width: 16px; height: 16px; }
.cb-gallery-counter { position: absolute; right: 18px; bottom: 18px; pointer-events: none; padding: 5px 10px; border-radius: 20px; font-size: 12px; background: #ffffffeb; font-variant-numeric: tabular-nums; }
.cb-gallery-thumbs { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding: 6px 4px 10px; margin: 14px -4px 0; }
.cb-gallery-thumb { padding: 4px; background: white; border: 1px solid #b5a8bd; border-radius: 9px; flex: 0 0 calc((100% - 48px)/5); min-width: 58px; max-width: 110px; overflow: hidden; }
.cb-gallery-thumb img { width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; border-radius: 5px; }
.cb-gallery-thumb[aria-current="true"] { border: 2px solid var(--plum); padding: 3px; background: var(--lavender); }
.cb-gallery-caption { font-size: 12px; color: var(--muted); margin-top: 8px; min-height: 1.7em; }
.cb-gallery-empty { aspect-ratio: 1; display: grid; place-items: center; padding: 30px; background: var(--lavender); color: var(--muted); border-radius: 18px; text-align: center; }
body:has(.cb-lightbox[open]) { overflow: hidden; }
.cb-lightbox { border: 0; border-radius: 14px; padding: 24px; width: min(1100px, calc(100vw - 40px)); height: min(920px, calc(100dvh - 40px)); max-width: none; max-height: calc(100dvh - 40px); color: var(--ink); background: white; margin: auto; box-shadow: 0 10px 60px #30273530; }
.cb-lightbox[open] { display: flex; flex-direction: column; gap: 14px; }
.cb-lightbox::backdrop { background: #211a2ac9; backdrop-filter: blur(3px); }
.cb-lightbox-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-shrink: 0; }
.cb-lightbox-header h2 { font-size: 25px; margin-top: 6px; }
.cb-lightbox-header .eyebrow { font-size: 9px; }
.cb-lightbox-header .icon-button { flex-shrink: 0; }
.cb-lightbox-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; background: #f4f2f3; border-radius: 8px; touch-action: pan-y pinch-zoom; }
.cb-lightbox-stage > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.cb-lightbox-caption { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--muted); flex-shrink: 0; }
.cb-lightbox-caption > span { white-space: nowrap; }
.cb-lightbox .cb-gallery-thumbs { flex-shrink: 0; margin: 0; padding-block: 5px; }
.cb-lightbox .cb-gallery-thumb { flex-basis: 64px; min-width: 50px; max-width: 80px; }
@media(max-width:1100px) { .cb-product-grid { gap: 36px; } }
@media(max-width:800px) { .cb-product-grid { gap: 24px; } .cb-product-grid .summary .product_title { font-size: 34px; } }
@media(max-width:700px) {
 .cb-product-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
 .cb-product-grid .summary { padding-top: 0; }
 .cb-product-grid .summary .product_title { font-size: 36px; }
 .cb-prev { left: 10px; } .cb-next { right: 10px; }
 .cb-zoom-hint { left: 12px; bottom: 12px; font-size: 11px; }
 .cb-gallery-counter { right: 12px; bottom: 12px; }
 .cb-gallery-thumbs { gap: 8px; }
 .cb-gallery-thumb { flex-basis: calc((100% - 32px)/5); }
 .cb-lightbox { width: calc(100vw - 20px); height: calc(100dvh - 20px); max-height: calc(100dvh - 20px); padding: 14px; gap: 10px; }
 .cb-lightbox-header h2 { font-size: 19px; }
 .cb-lightbox-caption { font-size: 12px; }
 .cb-lightbox .cb-gallery-thumb { flex-basis: 52px; }
 .woocommerce div.product .woocommerce-tabs { padding-top: 40px; }
}
@media(max-height:500px) { .cb-lightbox .cb-gallery-thumbs { display: none; } .cb-lightbox-header .eyebrow { display: none; } .cb-lightbox { padding: 12px; } }
