/* category.php */

        .category-hero { margin-bottom: 1.25rem; }
        .category-hero--compact { padding-top: 1rem; padding-bottom: 1rem; }
        .category-hero h1 {
            font-family: 'Roboto', sans-serif;
            color: #fff;
            font-size: 1.5rem;
            display: block;
            gap: 0.55rem;
            flex-wrap: wrap;
            text-align: center;
}

        .category-hero h1 .cat-ico { color: #fff; font-size: 1.35rem; }
        .category-hero h1::before,
        .category-hero h1::after {
            content: '';
            flex:0 1 10.5rem;
            width:10.5rem;
            height:3.2rem;
            background-position:center;
            background-repeat:no-repeat;
            background-size:contain;
            filter:drop-shadow(0 0 7px rgba(96,165,250,.3));
        }
        .category-hero h1::before { background-image:url('images/title-ornament-left.webp'); }
        .category-hero h1::after { background-image:url('images/title-ornament-right.webp'); }
        @media(max-width:768px){
            .category-hero h1{gap:.55rem;font-size:clamp(1.15rem,5vw,1.35rem)}
            .category-hero h1::before,.category-hero h1::after{flex-basis:2rem;width:4.5rem;max-width:4.5rem;height:2rem}
        }
        .category-description {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(139,92,246,0.25);
            color: var(--text-cream);
            font-size: 0.95rem;
            line-height: 1.75;
        }
        .category-description h2, .category-description h3 {
            font-family: 'Roboto', sans-serif;
            color: var(--accent-copper-light);
            margin: 0.85rem 0 0.45rem;
            font-size: 1.1rem;
        }
        .category-description p { margin: 0.5rem 0; }
        .category-description ul, .category-description ol { margin: 0.5rem 0 0.5rem 1.25rem; }
        .category-description li { margin: 0.25rem 0; }
        .category-description strong { color: var(--accent-gold); }
    
/* product.php */

        .product-details-box {
            background: #0a121d;
            border: 1px solid rgba(139, 92, 246, 0.22);
            border-radius: 12px;
            padding: 1.25rem 1.5rem 1.35rem;
            margin: 0.85rem 0 1rem;
            box-sizing: border-box;
        }
        .product-details-box-title {
            font-family: 'Roboto', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: #b07d58;
            margin: 0 0 0.65rem;
        }
        .product-details-box-sep {
            border: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
            margin: 0 0 1rem;
            padding: 0;
        }
        .product-details-box .product-description {
            color: #e8eef5;
            font-size: 0.95rem;
            line-height: 1.75;
            margin: 0;
        }
        .product-details-box .product-description h2,
        .product-details-box .product-description h3 {
            font-family: 'Roboto', sans-serif;
            color: #c9a07a;
            margin: 0.85rem 0 0.45rem;
            font-size: 1.05rem;
        }
        .product-details-box .product-description h2:first-child,
        .product-details-box .product-description h3:first-child,
        .product-details-box .product-description > p:first-child {
            margin-top: 0;
        }
        .product-details-box .product-description p { margin: 0.5rem 0; }
        .product-details-box .product-description ul,
        .product-details-box .product-description ol { margin: 0.5rem 0 0.5rem 1.25rem; }
        .product-details-box .product-description li { margin: 0.25rem 0; }
        .product-details-box .product-description strong { color: #dbeafe; }
        .product-gallery { width: 100%; }
        .product-gallery-main-wrap {
            display: block;
            width: 100%;
            padding: 0;
            margin: 0;
            border: none;
            background: transparent;
            cursor: zoom-in;
            border-radius: 8px;
            overflow: hidden;
            line-height: 0;
        }
        .product-gallery-main-wrap:focus-visible {
            outline: 2px solid var(--accent-copper);
            outline-offset: 2px;
        }
        .product-gallery-main-img {
            width: 100%;
            max-height: 360px;
            object-fit: cover;
            display: block;
        }
        .product-gallery-thumbs {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.65rem;
        }
        .product-gallery-thumb {
            flex: 0 0 auto;
            width: 76px;
            height: 76px;
            padding: 0;
            margin: 0;
            border: 2px solid transparent;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            background: rgba(0,0,0,0.25);
            box-sizing: border-box;
            line-height: 0;
        }
        .product-gallery-thumb:focus-visible {
            outline: 2px solid var(--accent-copper);
            outline-offset: 2px;
        }
        .product-gallery-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .product-gallery-modal {
            position: fixed;
            inset: 0;
            z-index: 10050;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            box-sizing: border-box;
        }
        .product-gallery-modal[hidden] { display: none !important; }
        .product-gallery-modal-bg {
            position: absolute;
            inset: 0;
            background: rgba(4, 8, 14, 0.88);
            cursor: pointer;
        }
        .product-gallery-modal-inner {
            position: relative;
            z-index: 1;
            max-width: 96vw;
            max-height: 92vh;
            margin: 0;
        }
        .product-gallery-modal-inner img {
            max-width: 96vw;
            max-height: 92vh;
            width: auto;
            height: auto;
            object-fit: contain;
            display: block;
            border-radius: 6px;
            box-shadow: 0 12px 48px rgba(0,0,0,0.55);
        }
        .product-gallery-modal-close {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            z-index: 2;
            width: 2.5rem;
            height: 2.5rem;
            padding: 0;
            border: 1px solid rgba(139,92,246,0.5);
            border-radius: 8px;
            background: rgba(10,18,30,0.92);
            color: var(--accent-copper-light);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.15rem;
            line-height: 1;
        }
        .product-gallery-modal-close:hover {
            background: rgba(139,92,246,0.2);
            color: #fff;
        }
        .product-page-media-col {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            min-width: 0;
        }
        .pdp-split {
            display: grid;
            grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
            gap: 1rem;
            align-items: stretch;
            width: 100%;
            box-sizing: border-box;
        }
        .pdp-page,
        .pdp-order-wrap {
            min-width: 0;
            margin: 0;
            max-width: none;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .pdp-grid-top {
            display: grid;
            grid-template-columns: minmax(260px, 5fr) minmax(0, 8fr);
            gap: 1.25rem;
            align-items: stretch;
            flex: 1;
            min-height: 0;
        }
        .pdp-grid-top--single {
            grid-template-columns: 1fr;
        }
        .pdp-hero-main {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            line-height: 0;
        }
        .pdp-hero-main .product-gallery-main-wrap {
            border-radius: 0;
            width: 100%;
        }
        .pdp-hero-caption {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 1.15rem 1rem 1rem;
            background: rgba(10, 18, 29, 0.78);
            border-top: 1px solid rgba(139, 92, 246, 0.22);
            line-height: 1.35;
            text-align: left;
            pointer-events: none;
        }
        .pdp-hero-caption .pdp-category-nav {
            pointer-events: auto;
            margin: 0;
            color: #fff;
        }
        .pdp-hero-caption .pdp-category-nav a {
            color: #fff;
            text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
        }
        .pdp-hero-caption .pdp-category-nav .pdp-cat-sep {
            color: rgba(255, 255, 255, 0.4);
        }
        .pdp-hero-caption .product-title {
            margin: 0 0 0.4rem;
            text-align: left;
            color: #fff;
            text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
        }
        .pdp-hero-fallback {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            min-width: 0;
        }
        .pdp-hero-caption--static {
            position: static;
            background: none;
            padding: 0;
            pointer-events: auto;
        }
        .pdp-hero-caption--static .product-title {
            color: #fff;
            text-shadow: none;
        }
        .pdp-hero-caption--static .pdp-category-nav {
            color: #fff;
        }
        .pdp-hero-caption--static .pdp-category-nav a {
            color: #fff;
            text-shadow: none;
        }
        .pdp-no-image {
            background: rgba(0, 0, 0, 0.25);
            border-radius: 8px;
            min-height: 200px;
            width: 100%;
            max-height: 520px;
            object-fit: cover;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-gray);
        }
        .pdp-info-card,
        .pdp-order-card {
            margin: 0;
        }
        .pdp-order-wrap .pdp-order-card {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
        .product-price-block--pdp-order {
            margin: 0 0 1rem;
        }
        @media (max-width: 1000px) {
            .pdp-split {
                grid-template-columns: 1fr;
            }
            .pdp-grid-top {
                grid-template-columns: 1fr;
            }
        }
        .pdp-qty-group {
            display: flex;
            align-items: stretch;
            width: 100%;
            margin-bottom: 0.35rem;
        }
        .pdp-qty-group .pdp-qty-input {
            flex: 1;
            min-width: 0;
            padding: 0.5rem 0.65rem;
            border-radius: 6px 0 0 6px;
            border: 1px solid rgba(139, 92, 246, 0.4);
            border-right: none;
            background: #07082f;
            color: #fff;
            font-size: 1rem;
            box-sizing: border-box;
        }
        .pdp-qty-group .pdp-qty-input:focus {
            outline: none;
            border-color: rgba(139, 92, 246, 0.75);
            box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35);
        }
        .pdp-qty-group .pdp-qty-suffix {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            padding: 0 0.9rem;
            border-radius: 0 6px 6px 0;
            border: 1px solid rgba(139, 92, 246, 0.4);
            background: rgba(139, 92, 246, 0.12);
            color: var(--text-cream, #e8e4dc);
            font-size: 0.9rem;
            white-space: nowrap;
        }
        .pdp-price-display {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            gap: 0.35rem 0.65rem;
            min-height: 2.6rem;
            margin-bottom: 0.85rem;
            color: var(--text-cream, #e8e4dc);
            font-size: 0.95rem;
            line-height: 1.45;
        }
        .pdp-price-display .pdp-price-total {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--accent-copper-light, #60a5fa);
        }
        .pdp-price-display .pdp-price-unit {
            font-size: 0.88rem;
            color: var(--text-gray, #9aa7b5);
        }
        .pdp-price-display.is-muted .pdp-price-total {
            font-weight: 500;
            font-size: 1rem;
            color: var(--text-gray, #9aa7b5);
        }
        .pdp-category-nav {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.35rem 0.5rem;
            font-size: 0.9rem;
            margin: 0.35rem 0 0.85rem;
            color: var(--text-gray, #9aa7b5);
        }
        .pdp-category-nav a {
            color: var(--accent-copper-light, #60a5fa);
            text-decoration: none;
        }
        .pdp-category-nav a:hover {
            text-decoration: underline;
        }
        .pdp-category-nav .pdp-cat-sep {
            color: rgba(255, 255, 255, 0.32);
            user-select: none;
        }
    
/* cart.php */

        .cart-page {
            max-width: 960px;
            margin: 0 auto;
            width: 100%;
            box-sizing: border-box;
        }
        .cart-page-title {
            font-family: 'Roboto', sans-serif;
            font-size: 1.65rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--accent-copper);
            margin: 0 0 1.25rem;
            text-align: center;
        }
        .cart-alert {
            background: rgba(196, 30, 58, 0.12);
            border: 1px solid rgba(196, 30, 58, 0.45);
            color: #f0a8b0;
            padding: 0.75rem 1rem;
            border-radius: 8px;
            margin-bottom: 1.25rem;
            font-size: 0.92rem;
        }
        .cart-empty {
            text-align: center;
            padding: clamp(1rem, 3vw, 2rem) 0 0;
        }
        .cart-empty-link {
            display: block;
            width: min(100%, 760px);
            margin: 0 auto;
            line-height: 0;
        }
        .cart-empty-image {
            display: block;
            width: 100%;
            height: auto;
            object-fit: contain;
        }
        .cart-form { margin: 0; }
        .cart-lines {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .cart-line {
            display: grid;
            grid-template-columns: 96px minmax(0, 1fr) auto auto;
            grid-template-areas:
                "img info qty remove"
                "img meta total remove";
            gap: 0.65rem 1rem;
            align-items: center;
            padding: 1rem 1.1rem;
            background: linear-gradient(145deg, rgba(14, 26, 42, 0.92) 0%, rgba(8, 16, 28, 0.96) 100%);
            border: 1px solid rgba(139, 92, 246, 0.28);
            border-radius: 12px;
            box-sizing: border-box;
        }
        .cart-line-img-link {
            grid-area: img;
            display: block;
            width: 96px;
            height: 96px;
            border-radius: 10px;
            overflow: hidden;
            background: rgba(0, 0, 0, 0.35);
            flex-shrink: 0;
            line-height: 0;
            align-self: start;
        }
        .cart-line-img-link:focus-visible {
            outline: 2px solid var(--accent-copper);
            outline-offset: 2px;
        }
        .cart-line-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .cart-line-img--placeholder {
            object-fit: contain;
            padding: 0.35rem;
            box-sizing: border-box;
        }
        .cart-line-info {
            grid-area: info;
            min-width: 0;
            align-self: end;
        }
        .cart-line-title {
            font-family: 'Roboto', sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--accent-copper-light);
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            line-height: 1.3;
            display: inline-block;
        }
        .cart-line-title:hover {
            color: var(--accent-gold);
            text-decoration: underline;
        }
        .cart-line-var {
            display: block;
            margin-top: 0.35rem;
            font-size: 0.88rem;
            color: var(--text-gray);
        }
        .cart-line-unit {
            grid-area: meta;
            align-self: start;
            font-size: 0.82rem;
            color: var(--text-gray);
            margin-top: 0;
        }
        .cart-line-unit strong {
            color: var(--text-cream);
            font-weight: 500;
        }
        .cart-line-qty {
            grid-area: qty;
            justify-self: end;
            align-self: center;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0.35rem;
        }
        .cart-line-qty label {
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: #fff;
        }
        .cart-auto-status {
            min-height: 0.85rem;
            color: var(--text-gray);
            font-size: 0.65rem;
            line-height: 1;
        }
        .cart-line-qty.is-saving .cart-qty-group { opacity: 0.72; }
        .cart-line-remove-form {
            grid-area: remove;
            align-self: start;
            margin: 1.05rem 0 0;
        }
        .cart-qty-group {
            display: inline-flex;
            align-items: stretch;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid rgba(139, 92, 246, 0.45);
            background: rgba(0, 0, 0, 0.25);
        }
        .cart-qty-btn {
            width: 2.25rem;
            padding: 0;
            border: none;
            background: rgba(139, 92, 246, 0.15);
            color: #fff;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            line-height: 1;
            transition: background 0.15s, color 0.15s;
        }
        .cart-qty-btn:hover {
            background: rgba(139, 92, 246, 0.3);
            color: #fff;
        }
        .cart-qty-btn:focus-visible {
            outline: 2px solid var(--accent-copper);
            outline-offset: -2px;
        }
        .cart-qty-input {
            width: 3.5rem;
            padding: 0.4rem 0.25rem;
            border: none;
            border-left: 1px solid rgba(139, 92, 246, 0.35);
            border-right: 1px solid rgba(139, 92, 246, 0.35);
            background: #07082f;
            color: #fff;
            font-size: 0.95rem;
            text-align: center;
            box-sizing: border-box;
            appearance: textfield;
            -moz-appearance: textfield;
        }
        .cart-qty-input::-webkit-inner-spin-button,
        .cart-qty-input::-webkit-outer-spin-button {
            margin: 0;
            -webkit-appearance: none;
            appearance: none;
        }
        .cart-qty-input:focus {
            outline: none;
            background: #0f2133;
        }
        .cart-line-total-wrap {
            grid-area: total;
            justify-self: end;
            text-align: right;
            align-self: end;
        }
        .cart-line-total-label {
            display: block;
            font-size: 0.65rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #fff;
            margin-bottom: 0.2rem;
        }
        .cart-line-total-price {
            font-size: 1.1rem;
            font-weight: 700;
            color: #fff;
        }
        .cart-line-remove {
            grid-area: remove;
            justify-self: end;
            align-self: start;
            width: 2.35rem;
            height: 2.35rem;
            padding: 0;
            border-radius: 8px;
            border: 1px solid rgba(217, 70, 239, 0.58);
            background: rgba(12, 8, 66, 0.72);
            color: #f0abfc;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            line-height: 1;
            transition: background 0.15s, color 0.15s;
        }
        .cart-line-remove:hover {
            background: linear-gradient(135deg, #6d28d9, #c026d3);
            color: #fff;
        }
        .cart-summary {
            margin-top: 1.5rem;
            padding: 1.25rem 1.35rem;
            background: rgba(10, 18, 29, 0.75);
            border: 1px solid rgba(139, 92, 246, 0.32);
            border-radius: 12px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }
        .cart-subtotal {
            text-align: right;
        }
        .cart-subtotal span {
            display: block;
            font-size: 0.72rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: #fff;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }
        .cart-subtotal strong {
            font-size: 1.45rem;
            font-weight: 700;
            color: #fff;
        }
        .cart-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.65rem;
            align-items: center;
        }
        .cart-actions .btn-outline {
            margin: 0;
        }
        .cart-actions .btn-primary {
            min-width: 11rem;
            justify-content: center;
        }
        @media (max-width: 720px) {
            .cart-line {
                grid-template-columns: 80px minmax(0, 1fr) 2.5rem;
                grid-template-areas:
                    "img info info"
                    "img meta meta"
                    "qty qty remove"
                    "total total total";
                padding: 0.9rem;
                gap: 0.75rem;
            }
            .cart-line-img-link {
                width: 80px;
                height: 80px;
            }
            .cart-line-qty {
                justify-self: stretch;
                align-items: stretch;
            }
            .cart-line-qty label { text-align: left; }
            .cart-qty-group {
                width: 100%;
                max-width: none;
            }
            .cart-qty-input {
                flex: 1;
                width: auto;
                max-width: none;
            }
            .cart-line-total-wrap {
                justify-self: stretch;
                display: flex;
                align-items: baseline;
                justify-content: space-between;
                gap: 1rem;
                text-align: right;
                padding-top: 0.65rem;
                border-top: 1px solid rgba(255, 255, 255, 0.06);
            }
            .cart-line-total-label { margin: 0; }
            .cart-line-remove-form {
                align-self: start;
                justify-self: stretch;
                margin: 1.05rem 0 0;
            }
            .cart-line-remove {
                justify-self: stretch;
                width: 100%;
                height: 2.55rem;
            }
            .cart-summary {
                flex-direction: column;
                align-items: stretch;
            }
            .cart-subtotal { text-align: center; }
            .cart-actions {
                flex-direction: column;
            }
            .cart-actions .btn-primary,
            .cart-actions .btn-outline {
                width: 100%;
                box-sizing: border-box;
            }
        }
    
/* checkout.php */

        .checkout-page { width: 100%; max-width: 1100px; margin: 0 auto; box-sizing: border-box; }
        .checkout-page > .checkout-heading {
            font-family: 'Roboto', sans-serif;
            font-size: 1.65rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--accent-copper);
            text-align: center;
            margin: 0 0 0.5rem;
        }
        .checkout-page > .checkout-lead {
            color: var(--text-gray);
            font-size: 0.9rem;
            text-align: center;
            margin: 0 0 1.25rem;
            line-height: 1.5;
        }
        .checkout-split {
            display: grid;
            grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
            gap: 1rem;
            align-items: stretch;
        }
        .checkout-summary,
        .checkout-form-card {
            min-width: 0;
            margin: 0;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .checkout-summary > .product-details-box {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
        .checkout-form-card > form#coform {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
        .checkout-form-card > form#coform > button[type="submit"] {
            margin-top: auto;
        }
        .checkout-summary .product-details-box-title,
        .checkout-form-card .product-details-box-title {
            margin-top: 0;
        }
        .checkout-summary .product-details-box-sep,
        .checkout-form-card .product-details-box-sep {
            border: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
            margin: 0 0 1rem;
            padding: 0;
        }
        .co-summary-lines {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
        }
        .co-summary-line {
            display: grid;
            grid-template-columns: 64px minmax(0, 1fr);
            gap: 0.75rem;
            align-items: start;
            padding-bottom: 0.85rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        }
        .co-summary-line:last-child { border-bottom: none; padding-bottom: 0; }
        .co-summary-spacer {
            flex: 1 1 auto;
            min-height: 0.75rem;
        }
        .co-summary-line-img {
            width: 64px;
            height: 64px;
            border-radius: 8px;
            object-fit: cover;
            display: block;
            background: rgba(0, 0, 0, 0.35);
        }
        .co-summary-line-img--ph { object-fit: contain; padding: 0.25rem; box-sizing: border-box; }
        .co-summary-line-body { min-width: 0; }
        .co-summary-line-title {
            font-family: 'Roboto', sans-serif;
            font-size: 0.88rem;
            font-weight: 700;
            color: var(--accent-copper-light);
            text-transform: uppercase;
            letter-spacing: 0.04em;
            line-height: 1.3;
            text-decoration: none;
            display: inline-block;
        }
        .co-summary-line-title:hover { color: var(--accent-gold); text-decoration: underline; }
        .co-summary-line-meta {
            font-size: 0.78rem;
            color: var(--text-gray);
            margin-top: 0.25rem;
        }
        .co-summary-line-qty {
            font-size: 0.8rem;
            color: var(--text-cream);
            margin-top: 0.35rem;
        }
        .co-summary-line-price {
            font-size: 0.85rem;
            font-weight: 800;
            color: #fff;
            margin-top: 0.35rem;
        }
        .co-summary-totals {
            flex-shrink: 0;
            padding-top: 1rem;
            border-top: 1px solid rgba(139, 92, 246, 0.25);
            font-size: 0.92rem;
        }
        .co-summary-totals-row {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            gap: 0.75rem;
            margin-bottom: 0.45rem;
            color: var(--text-gray);
        }
        .co-summary-totals-row strong { color: var(--text-cream); font-weight: 500; }
        .co-summary-totals-row--grand {
            margin-top: 0.65rem;
            padding-top: 0.65rem;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 1.05rem;
        }
        .co-summary-totals-row--grand strong {
            font-size: 1.2rem;
            color: #fff;
            font-weight: 800;
        }
        .checkout-form-card .co-field {
            display: block;
            margin-bottom: 0.35rem;
            color: var(--text-cream);
            font-size: 0.88rem;
        }
        .checkout-form-card input[type="text"],
        .checkout-form-card select,
        .checkout-form-card textarea {
            width: 100%;
            padding: 0.5rem 0.65rem;
            margin-bottom: 0.75rem;
            background: #07082f;
            border: 1px solid rgba(139, 92, 246, 0.35);
            color: #fff;
            border-radius: 8px;
            box-sizing: border-box;
            font-family: 'Roboto', sans-serif;
        }
        .checkout-form-card textarea { font-size: 0.88rem; }
        .checkout-alert {
            background: rgba(196, 30, 58, 0.12);
            border: 1px solid rgba(196, 30, 58, 0.45);
            color: #f0a8b0;
            padding: 0.75rem 1rem;
            border-radius: 8px;
            margin-bottom: 1rem;
            font-size: 0.92rem;
        }
        #ship_wrap label { color: var(--text-cream); }
        .checkout-pgp-hint {
            font-size: 0.78rem;
            color: var(--text-gray);
            margin: 0 0 0.75rem;
            line-height: 1.45;
        }
        /* PGP-Verschlüsseln: Bronze/Kupfer wie Haupt-CTA, volle Breite */
        #btn_enc.btn-primary {
            width: 100%;
            justify-content: center;
            background: linear-gradient(165deg, var(--accent-gold) 0%, var(--accent-copper-light) 38%, var(--accent-copper) 72%, #3b1b78 100%);
            border: 2px solid rgba(217, 70, 239, 0.5);
            box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
        }
        #btn_enc.btn-primary:hover {
            filter: brightness(1.06);
        }
        @media (max-width: 900px) {
            .checkout-split { grid-template-columns: 1fr; }
        }
    
/* pay.php */

        .pay-card {
            max-width: 640px;
            margin: 0 auto;
            padding: 0;
            overflow: hidden;
        }
        .pay-card__header {
            padding: 0.85rem 1.25rem 0.95rem;
            text-align: center;
            border-bottom: 1px solid rgba(0, 0, 0, 0.2);
            border-left: 5px solid rgba(255, 255, 255, 0.15);
        }
        .pay-card__header .pay-status-eyebrow {
            display: block;
            font-size: 0.68rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            opacity: 0.85;
            margin-bottom: 0.25rem;
        }
        .pay-card__header .pay-status-title {
            font-family: 'Roboto', sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            margin: 0;
        }
        .pay-status--new .pay-card__header {
            background: linear-gradient(135deg, #1a3a6e 0%, #0d1f3d 55%, #0a1628 100%);
            border-left-color: #4d9fff;
            color: #9ecbff;
        }
        .pay-status--processing .pay-card__header {
            background: linear-gradient(135deg, #6b4a1a 0%, #3d2808 50%, #1a1206 100%);
            border-left-color: #e8a317;
            color: #ffd78a;
        }
        .pay-status--pending .pay-card__header {
            background: linear-gradient(135deg, #3d2f5c 0%, #221a38 55%, #120e1f 100%);
            border-left-color: #b388ff;
            color: #dcc9ff;
        }
        .pay-status--settled .pay-card__header {
            background: linear-gradient(135deg, #1b4d2e 0%, #0e2818 55%, #08140c 100%);
            border-left-color: #4caf7a;
            color: #b9f0d0;
        }
        .pay-status--expired .pay-card__header {
            background: linear-gradient(135deg, #5c1f28 0%, #2a0d12 55%, #140608 100%);
            border-left-color: #ff6b6b;
            color: #ffc9c9;
        }
        .pay-status--invalid .pay-card__header {
            background: linear-gradient(135deg, #4a1818 0%, #240c0c 55%, #120606 100%);
            border-left-color: #e57373;
            color: #ffdede;
        }
        .pay-status--cancelled .pay-card__header {
            background: linear-gradient(135deg, #37474f 0%, #1c2429 55%, #0f1316 100%);
            border-left-color: #90a4ae;
            color: #eceff1;
        }
        .pay-status--unknown .pay-card__header {
            background: linear-gradient(135deg, #455a64 0%, #263238 55%, #141a1e 100%);
            border-left-color: #78909c;
            color: #cfd8dc;
        }
        .pay-card__body { padding: 1.2rem 1.4rem; }
        .pay-card__footer {
            border-top: 1px solid rgba(139, 92, 246, 0.35);
        }
        .pay-card__back {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            box-sizing: border-box;
            padding: 0.95rem 1.25rem;
            margin: 0;
            text-decoration: none;
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--accent-copper-light);
            background: rgba(139, 92, 246, 0.12);
            border: none;
            border-radius: 0;
            cursor: pointer;
            transition: background 0.15s, color 0.15s;
        }
        .pay-card__back:hover {
            background: rgba(139, 92, 246, 0.24);
            color: var(--text-cream);
        }
        .pay-split {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);
            gap: 1.25rem;
            align-items: start;
            margin: 1.25rem 0;
            text-align: left;
        }
        .pay-qr {
            width: 180px;
            height: 180px;
            object-fit: contain;
            border-radius: 10px;
            background: rgba(0,0,0,0.25);
            padding: 0.35rem;
            box-sizing: border-box;
        }
        .pay-qr--placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.78rem;
            color: var(--text-gray);
            text-align: center;
            padding: 0.5rem;
        }
        .pay-field-label {
            display: block;
            font-size: 0.8rem;
            color: var(--text-gray);
            margin-bottom: 0.35rem;
        }
        .pay-row {
            display: flex;
            gap: 0.5rem;
            align-items: stretch;
            margin-bottom: 1rem;
        }
        .pay-row input[type="text"] {
            flex: 1;
            min-width: 0;
            padding: 0.5rem 0.65rem;
            background: #07082f;
            border: 1px solid rgba(139, 92, 246, 0.35);
            color: #fff;
            border-radius: 8px;
            font-size: 0.82rem;
            font-family: ui-monospace, monospace;
        }
        .pay-card .btn-copy {
            flex-shrink: 0;
            white-space: nowrap;
            align-self: stretch;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.35rem;
            padding: 0.55rem 0.85rem;
            border: 1px solid rgba(139, 92, 246, 0.55);
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            text-transform: none;
            color: var(--accent-copper-light);
            background: linear-gradient(165deg, rgba(139, 92, 246, 0.22) 0%, rgba(13, 28, 42, 0.85) 100%);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
            transition: filter 0.15s, border-color 0.15s, background 0.15s;
        }
        .pay-card .btn-copy:hover {
            filter: brightness(1.08);
            border-color: rgba(217, 70, 239, 0.65);
            background: linear-gradient(165deg, rgba(139, 92, 246, 0.32) 0%, rgba(13, 28, 42, 0.9) 100%);
        }
        .pay-infobox {
            font-size: 0.82rem;
            color: var(--text-cream);
            background: rgba(139, 92, 246, 0.1);
            border: 1px solid rgba(139, 92, 246, 0.45);
            border-radius: 8px;
            padding: 0.75rem 1rem;
            margin: 0 0 1rem;
            line-height: 1.45;
            text-align: left;
        }
        .pay-infobox strong {
            color: #fff;
            font-weight: 700;
        }
        .pay-order-number-box .pay-field-label {
            color: #fff;
            font-weight: 700;
        }
        .pay-order-number-row {
            margin-bottom: 0.45rem;
        }
        .pay-order-number-row input[type="text"] {
            background: transparent;
            border-color: #000;
            font-weight: 700;
        }
        .pay-order-number-box p {
            margin: 0;
            color: var(--text-gray);
        }
        .pay-zf-details { margin-top: 0.85rem; }
        .pay-zf-form { display: flex; flex-direction: column; gap: 0.65rem; margin-top: 0.35rem; }
        .pay-zf-form .pay-zf-ccy-wrap { width: 100%; }
        .pay-zf-ccy-search {
            width: 100%;
            padding: 0.5rem 0.65rem 0.5rem 2.15rem;
            background: #07082f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%238fa4b8' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h.001c.03.04 1.125 1.125 1.125 1.125l3.853.85-1-1-3.85-3.85zm-5.242.656a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") no-repeat 0.65rem 50%;
            border: 1px solid rgba(139, 92, 246, 0.35);
            color: #fff;
            border-radius: 8px;
            font-size: 0.85rem;
        }
        .pay-zf-ccy-search::placeholder { color: #6b7d8f; }
        .pay-zf-ccy-search:focus {
            outline: none;
            border-color: rgba(217, 70, 239, 0.55);
            box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.15);
        }
        .pay-zf-ccy-scroll {
            max-height: min(55vh, 320px);
            overflow-y: auto;
            overflow-x: hidden;
            border: 1px solid rgba(139, 92, 246, 0.35);
            border-radius: 10px;
            background: rgba(6, 14, 26, 0.45);
            padding: 0.55rem;
            scrollbar-gutter: stable;
        }
        .pay-zf-ccy-scroll::-webkit-scrollbar { width: 8px; }
        .pay-zf-ccy-scroll::-webkit-scrollbar-thumb {
            background: rgba(139, 92, 246, 0.35);
            border-radius: 4px;
        }
        .pay-zf-ccy-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(5.35rem, 1fr));
            gap: 0.5rem;
        }
        .pay-zf-ccy-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.35rem;
            min-height: 4.5rem;
            padding: 0.5rem 0.35rem;
            margin: 0;
            border: 1px solid rgba(139, 92, 246, 0.28);
            border-radius: 10px;
            background: linear-gradient(165deg, rgba(19, 39, 56, 0.9) 0%, rgba(13, 28, 42, 0.95) 100%);
            color: var(--text-cream);
            cursor: pointer;
            font: inherit;
            text-align: center;
            transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
        }
        .pay-zf-ccy-card:hover {
            border-color: rgba(217, 70, 239, 0.5);
            background: rgba(139, 92, 246, 0.12);
        }
        .pay-zf-ccy-card:focus-visible {
            outline: 2px solid var(--accent-copper-light);
            outline-offset: 2px;
        }
        .pay-zf-ccy-card--selected {
            border-color: rgba(217, 70, 239, 0.75);
            background: rgba(139, 92, 246, 0.22);
            box-shadow: inset 0 0 0 1px rgba(217, 70, 239, 0.25);
        }
        .pay-zf-ccy-card[hidden] { display: none !important; }
        .pay-zf-ccy-card-ico {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 1.5rem;
        }
        .pay-zf-ccy-card-ico .pay-zf-ccy-card-img {
            width: 1.65rem;
            height: 1.65rem;
            object-fit: contain;
            display: block;
        }
        .pay-zf-ccy-card-ico .cf {
            font-size: 1.35rem;
            line-height: 1;
            opacity: 0.95;
        }
        .pay-zf-ccy-card-ico .fa-coins {
            font-size: 1.1rem;
            color: var(--accent-copper-light);
        }
        .pay-zf-ccy-card-title {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            line-height: 1.2;
            word-break: break-all;
            color: var(--accent-copper-light);
        }
        .pay-zf-ccy-empty {
            margin: 0;
            padding: 1rem 0.5rem;
            text-align: center;
            font-size: 0.82rem;
            color: var(--text-gray);
        }
        .pay-zf-ccy-empty[hidden] { display: none !important; }
        .pay-zf-accordion-footer {
            margin: 0;
            padding: 0;
            border-top: 1px solid rgba(139, 92, 246, 0.35);
        }
        .pay-zf-accordion-footer .pay-zf-submit {
            display: block;
            width: 100%;
            box-sizing: border-box;
            margin: 0;
            border-radius: 0;
            border: none;
            padding: 0.95rem 1.15rem;
            text-align: center;
            letter-spacing: 0.06em;
        }
        .pay-btc-fold { margin-top: 0.75rem; }
        .pay-zf-primary { margin-top: 0.75rem; }
        .pay-zf-primary--first { margin-top: 0.65rem; }
        .pay-zf-btc-fold-wrap { margin-top: 1.1rem; }
        .pay-zf-btc-fold-wrap--after-alt { margin-top: 0.85rem; }
        .pay-countdown {
            font-size: 0.88rem;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.04em;
            color: var(--accent-copper-light);
            background: rgba(139, 92, 246, 0.12);
            border: 1px solid rgba(139, 92, 246, 0.4);
            border-radius: 8px;
            padding: 0.55rem 0.75rem;
            margin: 0.35rem 0 0;
            text-align: center;
        }
        .pay-countdown--done {
            color: #e8a598;
            border-color: rgba(232, 165, 152, 0.45);
            background: rgba(90, 40, 40, 0.25);
        }
        .pay-infobox--amount {
            margin: 0 0 0.5rem;
            font-size: 0.8rem;
            padding: 0.6rem 0.85rem;
        }
        .pay-order-summary {
            margin: 0 0 1rem;
            border: 1px solid rgba(139, 92, 246, 0.45);
            border-radius: 8px;
            background: rgba(6, 14, 26, 0.55);
            overflow: hidden;
        }
        .pay-order-summary > summary {
            list-style: none;
            cursor: pointer;
            padding: 0.75rem 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 0.75rem;
            font-weight: 700;
            font-size: 0.85rem;
            color: #fff;
            user-select: none;
        }
        .pay-order-summary__summary-end {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            margin-left: auto;
        }
        .pay-order-summary > summary::-webkit-details-marker { display: none; }
        .pay-order-summary .pay-order-summary__chev {
            flex-shrink: 0;
            font-size: 1rem;
            color: #fff;
            opacity: 0.85;
            transition: transform 0.2s;
        }
        .pay-order-summary[open] > summary .pay-order-summary__chev {
            transform: rotate(90deg);
        }
        .pay-order-summary__total {
            font-variant-numeric: tabular-nums;
            color: var(--text-cream);
            font-weight: 700;
        }
        .pay-order-summary__body {
            padding: 0 1rem 1rem;
            border-top: 1px solid rgba(139, 92, 246, 0.25);
        }
        .pay-order-line {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 1rem;
            padding: 0.65rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            font-size: 0.82rem;
            color: var(--text-cream);
        }
        .pay-order-line:last-child { border-bottom: none; }
        .pay-order-line__name { font-weight: 600; color: #fff; margin-bottom: 0.2rem; }
        .pay-order-line__details {
            display: grid;
            gap: 0.16rem;
            min-width: 0;
        }
        .pay-order-line__meta { font-size: 0.78rem; color: var(--text-gray); }
        .pay-order-line__price {
            grid-column: 2;
            grid-row: 1;
            align-self: center;
            margin-top: 0;
            text-align: right;
            font-weight: 600;
            font-variant-numeric: tabular-nums;
            color: #fff;
        }
        .pay-order-shipping {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding: 0.75rem 0 0.25rem;
            color: var(--text-cream);
            font-size: 0.82rem;
        }
        .pay-order-shipping > div {
            display: grid;
            gap: 0.16rem;
            min-width: 0;
        }
        .pay-order-shipping__label {
            color: #fff;
            font-weight: 700;
        }
        .pay-order-shipping__method {
            color: var(--text-gray);
            font-size: 0.76rem;
            overflow-wrap: anywhere;
        }
        .pay-order-shipping strong {
            flex-shrink: 0;
            color: #fff;
            font-variant-numeric: tabular-nums;
        }
        .pay-order-summary__footer {
            margin-top: 0.5rem;
            padding-top: 0.75rem;
            border-top: 1px solid rgba(139, 92, 246, 0.35);
            text-align: right;
            font-weight: 700;
            font-size: 0.88rem;
            color: var(--text-cream);
        }
        @media (max-width: 560px) {
            .pay-split { grid-template-columns: 1fr; justify-items: center; text-align: left; }
            .pay-qr { width: 200px; height: 200px; }
            .pay-fields { width: 100%; }
        }
    
/* order_info.php */

        .oi-card { max-width: 640px; margin: 0 auto; }
        .oi-order-no {
            text-align: center;
            font-size: 0.95rem;
            color: var(--text-cream);
            margin: 0 0 0.75rem;
        }
        .oi-order-no strong { color: var(--accent-copper-light); }
        .oi-status {
            text-align: center;
            font-family: 'Roboto', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            padding: 0.65rem 1rem;
            border-radius: 8px;
            margin: 0 0 1.1rem;
            border: 2px solid transparent;
        }
        .oi-status--prep {
            background: linear-gradient(135deg, #f4d03f 0%, #e8b923 42%, #c9a010 100%);
            color: #2a2206;
            border-color: rgba(212, 175, 55, 0.95);
            box-shadow: 0 4px 14px rgba(232, 185, 35, 0.35), inset 0 1px 0 rgba(255,255,255,0.35);
        }
        .oi-status--shipped {
            background: linear-gradient(135deg, #43a047 0%, #2e7d32 45%, #1b5e20 100%);
            color: #e8f5e9;
            border-color: rgba(129, 199, 132, 0.9);
            box-shadow: 0 4px 14px rgba(46, 125, 50, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
        }
        .oi-meta { font-size: 0.88rem; color: var(--text-cream); line-height: 1.55; margin: 0 0 1rem; }
        .oi-meta strong { color: var(--accent-copper-light); }
        .oi-tracking-block { margin: 0 0 1rem; }
        .oi-tracking-block h2 { margin-bottom: 0.45rem; }
        .oi-tracking-row {
            display: flex;
            align-items: stretch;
            gap: 0.55rem;
            flex-wrap: wrap;
        }
        .oi-tracking-code-wrap {
            flex: 1 1 140px;
            min-width: 0;
        }
        .oi-tracking-code {
            display: block;
            width: 100%;
            box-sizing: border-box;
            margin: 0;
            padding: 0.45rem 0.55rem;
            border-radius: 6px;
            background: rgba(0,0,0,0.35);
            border: 1px solid rgba(139,92,246,0.35);
            font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
            font-size: 0.86rem;
            font-weight: 600;
            color: var(--accent-copper-light);
            word-break: break-all;
            user-select: all;
        }
        .oi-copy-btn {
            flex: 0 0 auto;
            align-self: center;
            padding: 0.45rem 1rem;
            border: 2px solid rgba(139, 92, 246, 0.9);
            border-radius: 8px;
            background: linear-gradient(165deg, #8b5cf6 0%, #6d28d9 55%, #3b1b78 100%);
            color: var(--primary-dark);
            font-family: 'Roboto', sans-serif;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
        }
        .oi-copy-btn:hover { filter: brightness(1.06); }
        .oi-copy-btn:focus-visible { outline: 2px solid var(--accent-copper-light); outline-offset: 2px; }
        .oi-copy-btn.is-done { background: linear-gradient(165deg, #7cb87f 0%, #5a9e5e 100%); border-color: rgba(129, 199, 132, 0.85); color: #0d1f0e; }
        .oi-pgp {
            white-space: pre-wrap;
            font-size: 0.8rem;
            background: rgba(0,0,0,0.35);
            border: 1px solid rgba(139,92,246,0.35);
            border-radius: 8px;
            padding: 0.85rem;
            margin: 0 0 1rem;
            color: var(--text-cream);
        }
        .oi-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin: 0.5rem 0 0; }
        .oi-table th, .oi-table td { padding: 0.5rem 0.35rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08); }
        .oi-table th { color: var(--text-gray); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
        .oi-totals {
            margin: 0.85rem 0 0;
            padding-top: 0.85rem;
            border-top: 1px solid rgba(255,255,255,0.12);
            font-size: 0.9rem;
            color: var(--text-cream);
            line-height: 1.65;
        }
        .oi-totals strong { color: var(--accent-copper-light); }
        .oi-totals-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
        .oi-totals-row + .oi-totals-row { margin-top: 0.35rem; }
        .oi-totals-grand {
            margin-top: 0.5rem;
            padding-top: 0.55rem;
            border-top: 1px dashed rgba(139,92,246,0.35);
            font-size: 1rem;
            font-weight: 700;
        }
        .oi-totals-grand span:last-child { color: var(--accent-copper-light); font-family: 'Roboto', sans-serif; }
        .oi-review {
            margin: 1.15rem 0 0;
            padding-top: 1rem;
            border-top: 1px solid rgba(255,255,255,0.12);
        }
        .oi-review h2 { font-family: 'Roboto', sans-serif; font-size: 1rem; color: var(--accent-copper-light); margin: 0 0 0.65rem; }
        .oi-review-flash { font-size: 0.86rem; padding: 0.55rem 0.65rem; border-radius: 8px; margin: 0 0 0.75rem; line-height: 1.45; }
        .oi-review-flash--ok { background: rgba(76, 175, 80, 0.15); border: 1px solid rgba(129, 199, 132, 0.4); color: #c8e6c9; }
        .oi-review-flash--err { background: rgba(244, 67, 54, 0.12); border: 1px solid rgba(239, 154, 154, 0.4); color: #ffcdd2; }
        .oi-review-stars--interactive {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.15rem 0.35rem;
            margin: 0 0 0.65rem;
        }
        .oi-review-star-label {
            cursor: pointer;
            margin: 0;
            padding: 0.2rem;
            line-height: 1;
            border-radius: 6px;
        }
        .oi-review-star-label:focus-within { outline: 2px solid var(--accent-copper-light); outline-offset: 2px; }
        .oi-review-stars--interactive input {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
            pointer-events: none;
        }
        .oi-review-star {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: rgba(246, 196, 83, 0.35);
            font-size: 1.55rem;
            line-height: 1;
            transition: color 0.15s ease, transform 0.12s ease, filter 0.15s ease;
        }
        .oi-review-star i { display: block; }
        .oi-review-star.is-lit {
            color: #f6c453;
            filter: drop-shadow(0 0 5px rgba(246, 196, 83, 0.45));
        }
        .oi-review-star-label:active .oi-review-star { transform: scale(0.92); }
        .oi-review-charrow {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.78rem;
            color: var(--text-gray);
            margin: 0.35rem 0 0.6rem;
            line-height: 1.35;
        }
        .oi-review-charrow #review_body_count { font-variant-numeric: tabular-nums; color: var(--accent-copper-light); font-weight: 600; }
        .oi-review textarea {
            width: 100%;
            box-sizing: border-box;
            min-height: 88px;
            margin: 0 0 0;
            display: block;
            padding: 0.55rem;
            border-radius: 8px;
            border: 1px solid rgba(139,92,246,0.45);
            background: rgba(0,0,0,0.3);
            color: var(--text-cream);
            font-size: 0.86rem;
            line-height: 1.5;
            resize: vertical;
        }
        .oi-review-submit {
            padding: 0.55rem 1.15rem;
            border: none;
            border-radius: 8px;
            background: linear-gradient(45deg, var(--accent-copper), var(--accent-copper-light));
            color: var(--primary-dark);
            font-weight: 700;
            font-size: 0.82rem;
            cursor: pointer;
            font-family: 'Roboto', sans-serif;
        }
        .oi-review-submit:hover { filter: brightness(1.06); }
        .oi-review-done .oi-review-stars-display { font-size: 1.15rem; letter-spacing: 0.12em; color: #f6c453; filter: drop-shadow(0 0 5px rgba(246, 196, 83, 0.4)); margin: 0 0 0.5rem; }
        .oi-review-done .oi-review-status { font-size: 0.82rem; color: var(--text-gray); margin: 0 0 0.5rem; }
        .oi-review-done .oi-review-text { font-size: 0.88rem; color: var(--text-cream); line-height: 1.55; white-space: pre-wrap; }
        .oi-support-strip {
            margin: -1.2rem -1.4rem 1.1rem;
            border-bottom: 2px solid rgba(139,92,246,0.45);
            border-radius: 6px 6px 0 0;
            overflow: hidden;
        }
        .oi-support-open {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            width: 100%;
            margin: 0;
            padding: 0.95rem 1.25rem;
            border: none;
            border-radius: 0;
            background: linear-gradient(165deg, rgba(212, 175, 116, 0.22) 0%, rgba(139, 92, 246, 0.28) 45%, rgba(15, 12, 62, 0.65) 100%);
            color: var(--accent-copper-light);
            font-family: 'Roboto', sans-serif;
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            cursor: pointer;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
        }
        .oi-support-open:hover { filter: brightness(1.08); background: linear-gradient(165deg, rgba(212, 175, 116, 0.32) 0%, rgba(139, 92, 246, 0.38) 40%, rgba(15, 12, 62, 0.75) 100%); }
        .oi-support-open:focus-visible { outline: 2px solid var(--accent-copper); outline-offset: -2px; }
        .oi-support-open i { font-size: 1.05rem; opacity: 0.95; }
        .oi-sup-modal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 300;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            background: rgba(0, 0, 0, 0.72);
            backdrop-filter: blur(4px);
        }
        .oi-sup-modal.is-open { display: flex; }
        .oi-sup-panel {
            width: 100%;
            max-width: 440px;
            max-height:90vh;
            display: flex;
            flex-direction: column;
            background: linear-gradient(145deg, #100c4a 0%, #08072f 50%, #100c4a 100%);
            border: 2px solid var(--card-border);
            border-radius: 12px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.55);
            overflow: hidden;
        }
        .oi-sup-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 1rem;
            border-bottom: 1px solid rgba(139,92,246,0.35);
            font-family: 'Roboto', sans-serif;
            font-size: 0.95rem;
            color: var(--accent-copper);
        }
        .oi-sup-close {
            border: none;
            background: rgba(0,0,0,0.35);
            color: var(--text-cream);
            width: 2rem;
            height: 2rem;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.25rem;
            line-height: 1;
        }
        .oi-sup-msgs {
            flex: 1 1 auto;
            min-height: 200px;
            max-height: 45vh;
            overflow-y: auto;
            padding: 0.75rem;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .oi-sup-bubble {
            max-width: 88%;
            padding: 0.5rem 0.65rem;
            border-radius: 10px;
            font-size: 0.82rem;
            line-height: 1.45;
            white-space: pre-wrap;
        }
        .oi-sup-bubble--me { align-self: flex-end; background: rgba(30,71,133,0.45); border: 1px solid rgba(129,177,255,0.35); }
        .oi-sup-bubble--them { align-self: flex-start; background: rgba(139,92,246,0.2); border: 1px solid rgba(139,92,246,0.45); }
        .oi-sup-meta { font-size: 0.68rem; color: var(--text-gray); margin-bottom: 0.2rem; }
        .oi-sup-foot { padding: 0.75rem; border-top: 1px solid rgba(139,92,246,0.35); }
        .oi-sup-foot textarea {
            width: 100%;
            min-height: 72px;
            margin-bottom: 0.5rem;
            padding: 0.5rem;
            border-radius: 8px;
            border: 1px solid rgba(139,92,246,0.45);
            background: #07082f;
            color: #fff;
            font-size: 0.85rem;
            resize: vertical;
            box-sizing: border-box;
        }
        .oi-sup-err { font-size: 0.78rem; color: #f0a8a0; min-height: 1.2rem; margin-bottom: 0.35rem; }
        .oi-sup-send {
            width: 100%;
            padding: 0.55rem;
            border: none;
            border-radius: 8px;
            background: linear-gradient(45deg, var(--accent-copper), var(--accent-copper-light));
            color: var(--primary-dark);
            font-weight: 700;
            cursor: pointer;
            font-size: 0.82rem;
        }
        .oi-sup-send:disabled { opacity: 0.55; cursor: not-allowed; }
        .oi-sup-readonly-note {
            margin: 0 0 0.35rem;
            padding: 0.55rem 0.65rem;
            border-radius: 8px;
            border: 1px solid rgba(139,92,246,0.35);
            background: rgba(255,193,7,0.08);
            color: var(--text-cream);
            font-size: 0.8rem;
            line-height: 1.45;
        }
/* Laravel markup adapters for the original DutchBoys public components. */
.shop-empty-products{color:var(--text-gray);text-align:center;grid-column:1/-1}
.shop-empty-products--visual{width:min(100%,750px);margin:1.5rem auto 0;line-height:0}
.shop-empty-products--visual img{display:block;width:100%;height:auto;border-radius:12px;filter:drop-shadow(0 12px 28px rgba(0,0,24,.38))}
@media(max-width:768px){.shop-empty-products--visual{margin-top:1rem}.shop-empty-products--visual img{border-radius:9px}}
.notice{max-width:1100px;margin:0 auto 1rem;padding:.8rem 1rem;border-radius:9px;border:1px solid rgba(139,92,246,.35);background:rgba(5,6,41,.92);color:var(--text-cream)}
.notice.success{border-color:rgba(85,190,130,.45)}.notice.error{border-color:rgba(229,115,115,.45);color:#ffc9c9}.notice ul{margin:.4rem 0 0 1.25rem}
.cart-update-btn{display:block;margin:.35rem auto 0;border:0;background:transparent;color:var(--accent-copper-light);font-size:.7rem;cursor:pointer}
.checkout-summary .product-details-box,.checkout-form-card>.product-details-box{margin:0;border:0;padding:0;background:transparent}
.checkout-form-card #encrypt-button{margin-bottom:.75rem}
.pay-title,.oi-title{font-family:'Roboto',sans-serif;color:var(--accent-copper);margin:0 0 .75rem;text-align:center;font-size:1.35rem}
.pay-title{color:#fff}
.oi-title{color:#fff;text-shadow:none}
.oi-order-number-box .pay-row{display:flex;gap:.5rem;align-items:stretch;margin-bottom:.45rem}
.oi-order-number-box .pay-row input{flex:1;min-width:0;padding:.72rem .9rem;border:1px solid #000;border-radius:9px;background:transparent;color:#fff;font-family:ui-monospace,'JetBrains Mono',monospace;font-weight:700;line-height:1.25}
.oi-order-number-box .btn-copy{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;padding:.55rem .85rem;border:1px solid rgba(139,92,246,.55);border-radius:8px;background:rgba(171,46,255,.3);color:#fff;font-weight:700;cursor:pointer;box-shadow:none}
.pay-card .pay-status-eyebrow{display:none}
.oi-subtitle{font-family:'Roboto',sans-serif;font-size:1rem;color:var(--accent-copper-light);margin:0 0 .5rem}.oi-muted{color:var(--text-gray)}.oi-review-help{font-size:.86rem;color:var(--text-gray);margin:0 0 .5rem;line-height:1.45}
.oi-review-label{display:block;font-size:.8rem;color:var(--text-gray);margin-bottom:.35rem}.oi-sup-empty{color:var(--text-gray);font-size:.82rem;text-align:center;padding:1rem}.oi-sup-modal[open]{display:flex}.oi-sup-modal::backdrop{background:rgba(0,0,0,.72)}.oi-sup-foot form{display:grid;gap:.65rem}
.product-gallery-main-wrap{cursor:default}

/* Contact methods from the original storefront, adapted to the DutchBoys palette. */
.shop-contact-methods{
    margin:2rem auto 0;
    max-width:900px;
    padding:1.6rem 1rem 1.25rem;
    border:1px solid transparent;
    border-radius:16px;
    background:
        linear-gradient(145deg,rgba(3,3,24,.76),rgba(8,5,43,.72) 58%,rgba(15,5,48,.74)) padding-box,
        linear-gradient(120deg,rgba(59,130,246,.62),rgba(139,92,246,.62) 50%,rgba(217,70,239,.62)) border-box;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 14px 36px rgba(0,0,24,.3);
    backdrop-filter:blur(9px) saturate(115%);
    -webkit-backdrop-filter:blur(9px) saturate(115%);
}
.shop-contact-methods__title{font-family:'Roboto',sans-serif;font-size:clamp(1rem,2.2vw,1.2rem);font-weight:700;letter-spacing:.14em;text-transform:uppercase;text-align:center;color:#fff;margin:0 0 .4rem}
.shop-contact-methods__sub{text-align:center;font-size:.88rem;color:var(--text-gray);margin:0 0 1.15rem;line-height:1.45}
.shop-contact-methods__box{border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}
.shop-contact-methods__grid{display:flex;flex-wrap:wrap;gap:.65rem}
.shop-contact-methods__tile{display:flex;align-items:flex-start;gap:.7rem;padding:.7rem .85rem;border-radius:10px;background:rgba(0,0,0,.28);border:1px solid rgba(139,92,246,.18);color:var(--text-cream);text-decoration:none;transition:border-color .18s,background .18s,transform .18s,box-shadow .18s;flex:1 1 220px;min-width:0;max-width:100%}
a.shop-contact-methods__tile{cursor:pointer}
a.shop-contact-methods__tile:hover{border-color:rgba(217,70,239,.62);background:rgba(139,92,246,.1);transform:translateY(-1px);box-shadow:0 6px 18px rgba(139,92,246,.18)}
.shop-contact-methods__icon{width:2.1rem;height:2.1rem;flex-shrink:0;border-radius:8px;display:flex;align-items:center;justify-content:center;background:rgba(139,92,246,.14);color:var(--accent-copper-light);font-size:1rem}
.shop-contact-methods__meta{display:flex;flex-direction:column;min-width:0;gap:.1rem;flex:1 1 auto}
.shop-contact-methods__name{font-family:'Roboto',sans-serif;font-size:.7rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent-copper-light)}
.shop-contact-methods__value{font-family:ui-monospace,'JetBrains Mono',monospace;font-size:.86rem;color:var(--text-cream);line-height:1.35;display:block;width:100%;min-width:0;word-break:break-all;overflow-wrap:anywhere;white-space:normal}

@media (max-width:768px){
    .shop-contact-methods{margin-top:1.5rem;padding:1.35rem .9rem 1rem;border-radius:14px;backdrop-filter:blur(8px) saturate(112%);-webkit-backdrop-filter:blur(8px) saturate(112%)}
    .shop-contact-methods__sub{margin-bottom:.95rem}
}

/* Page-level cosmic glass surfaces: product, cart, checkout, payment and order. */
.product-details-box,
.cart-summary,
.cart-line,
.checkout-summary,
.checkout-form-card,
.pay-card,
.oi-card,
.oi-support-open,
.oi-sup-panel {
    border: 1px solid transparent;
    background:
        linear-gradient(145deg, rgba(8, 8, 51, .95), rgba(5, 6, 37, .96) 58%, rgba(16, 7, 54, .94)) padding-box,
        linear-gradient(135deg, #4938a0, #993098 50%, #2856aa) border-box;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.cart-page-title,
.checkout-page > .checkout-heading,
.product-details-box-title,
.pay-card__header .pay-status-title,
.oi-subtitle,
.oi-review h2,
.oi-sup-head {
    color: #e6dcff;
    text-shadow: 0 0 10px rgba(139, 92, 246, .3);
}

.cart-line-title,
.co-summary-line-title,
.oi-order-no strong,
.oi-meta strong,
.oi-totals strong,
.oi-totals-grand span:last-child {
    color: #cbbcff;
}

.cart-qty,
.checkout-form-card input[type="text"],
.checkout-form-card input[type="number"],
.checkout-form-card select,
.checkout-form-card textarea,
.pdp-order-card input,
.pdp-order-card select,
.oi-review textarea,
.oi-sup-foot textarea {
    border-color: rgba(103, 82, 196, .48);
    background: rgba(4, 5, 34, .82);
    color: #f7f3ff;
}

.cart-qty:focus,
.checkout-form-card input:focus,
.checkout-form-card select:focus,
.checkout-form-card textarea:focus,
.pdp-order-card input:focus,
.pdp-order-card select:focus,
.oi-review textarea:focus,
.oi-sup-foot textarea:focus {
    border-color: #8b5cf6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, .18), 0 0 12px rgba(96, 165, 250, .15);
}

.checkout-submit,
.pay-card .btn-copy,
.oi-copy-btn,
.oi-review-submit,
.oi-sup-send,
.oi-support-open {
    border: 1px solid transparent;
    background:
        linear-gradient(145deg, #32106b, #4d126c 50%, #21104f) padding-box,
        linear-gradient(135deg, #6548bd, #b836aa 52%, #3e67bb) border-box;
    color: #fff;
    box-shadow: 0 0 8px rgba(151, 43, 185, .28), inset 0 0 10px rgba(116, 54, 190, .18);
}

.oi-status,
.pay-status-pill {
    border-color: rgba(96, 165, 250, .42);
    background: rgba(30, 64, 175, .2);
    color: #bfdbfe;
}

.pay-card .payment-current > .oi-status {
    color: #fff;
}

.oi-status.oi-status--prep {
    background: transparent;
    box-shadow: none;
}

.oi-status.oi-status--pending {
    background: #000;
    box-shadow: none;
}

.pay-card .btn-copy,
.pay-card .btn-copy:hover,
.pay-card .btn-copy:focus,
.pay-card .btn-copy:focus-visible {
    background: rgba(171, 46, 255, .3);
    box-shadow: none;
}

.oi-table th,
.oi-table td,
.cart-line,
.co-summary-line,
.pay-order-line,
.oi-totals-row {
    border-color: rgba(103, 82, 196, .28);
}

.oi-sup-bubble--them {
    background: rgba(76, 29, 149, .26);
    border-color: rgba(139, 92, 246, .42);
}

.notice {
    border-color: rgba(103, 82, 196, .46);
    background: rgba(5, 6, 41, .92);
    box-shadow: inset 0 0 12px rgba(73, 48, 154, .14);
}

.product-details-box .product-kicker,
.product-details-box .product-description h3 {
    color: #c4b5fd;
}

.pay-status--new .pay-card__header,
.pay-status--processing .pay-card__header,
.pay-status--pending .pay-card__header,
.pay-status--settled .pay-card__header,
.pay-status--expired .pay-card__header,
.pay-status--invalid .pay-card__header,
.pay-status--cancelled .pay-card__header,
.pay-status--unknown .pay-card__header {
    color: #ede9fe;
    border-left-color: #8b5cf6;
}

.pay-status--new .pay-card__header {
    background: linear-gradient(135deg, #1e3a8a, #312e81 52%, #3b0764);
}

.pay-status--processing .pay-card__header {
    background: linear-gradient(135deg, #581c87, #6d28d9 52%, #1e40af);
    border-left-color: #d946ef;
}

.pay-status--pending .pay-card__header {
    background: linear-gradient(135deg, #312e81, #4c1d95 52%, #701a75);
}

.pay-status--settled .pay-card__header {
    background: linear-gradient(135deg, #164e63, #3730a3 52%, #581c87);
    border-left-color: #60a5fa;
}

.pay-status--expired .pay-card__header,
.pay-status--invalid .pay-card__header {
    background: linear-gradient(135deg, #701a75, #4c1d95 52%, #312e81);
    border-left-color: #f0abfc;
}

.pay-status--cancelled .pay-card__header,
.pay-status--unknown .pay-card__header {
    background: linear-gradient(135deg, #1e1b4b, #312e81 52%, #3b0764);
    border-left-color: #a78bfa;
}

.oi-status--prep,
.oi-status--shipped {
    color: #f5f3ff;
    border-color: rgba(167, 139, 250, .82);
    box-shadow: 0 4px 16px rgba(76, 29, 149, .36), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.oi-status--prep {
    background: linear-gradient(135deg, #7e22ce, #6d28d9 46%, #1d4ed8);
}

.oi-status--shipped {
    background: linear-gradient(135deg, #1d4ed8, #4338ca 46%, #7e22ce);
}

.oi-copy-btn.is-done,
.oi-review-flash--ok,
.notice.success {
    border-color: rgba(96, 165, 250, .56);
    background: linear-gradient(135deg, rgba(29, 78, 216, .42), rgba(109, 40, 217, .38));
    color: #dbeafe;
}

@media (max-width: 768px) {
    .product-details-box,
    .cart-summary,
    .cart-line,
    .checkout-summary,
    .checkout-form-card,
    .pay-card,
    .oi-card {
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* Desktop cart: product area left, order overview right. */
.cart-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(17rem, .9fr);
    align-items: start;
    gap: 1.25rem;
}

.cart-items-panel,
.cart-checkout-layout > .cart-summary {
    border: 1px solid #000;
    border-radius: 16px;
    background: transparent;
    backdrop-filter: blur(12px) saturate(125%);
    -webkit-backdrop-filter: blur(12px) saturate(125%);
}

.cart-items-panel {
    padding: 1.4rem;
    min-width: 0;
}

.cart-checkout-layout > .cart-summary {
    position: sticky;
    top: 1rem;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1.4rem;
}

.cart-panel-title {
    margin: 0 0 1.2rem;
    color: #fff;
    font: 800 1.05rem/1.2 'Roboto', sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cart-summary-title {
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, .14) !important;
    text-align: center;
}

.cart-items-panel .cart-line {
    grid-template-columns: 120px minmax(8rem, 1fr) minmax(8rem, auto) auto minmax(5.5rem, auto);
    grid-template-areas: "img details qty remove total";
    column-gap: 1.25rem;
    min-height: 150px;
    padding: 1.1rem;
}

.cart-items-panel .cart-line-img-link {
    width: 120px;
    height: 120px;
    align-self: center;
}

.cart-line-details {
    grid-area: details;
    min-width: 0;
}

.cart-items-panel .cart-line-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: .55rem;
    align-self: center;
    text-align: left;
}

.cart-items-panel .cart-line-info {
    width: 100%;
    align-self: flex-start;
    text-align: left;
}

.cart-items-panel .cart-line-unit {
    margin-top: 0;
    text-align: left;
}

.cart-items-panel .cart-line-qty,
.cart-items-panel .cart-line-remove-form,
.cart-items-panel .cart-line-total-wrap {
    align-self: center;
}

.cart-items-panel .cart-line-remove-form {
    display: flex;
    align-items: flex-end;
    height: 3.75rem;
    margin: 0;
    transform: translateY(1.35rem);
}

.cart-items-panel .cart-line-remove-form::before {
    content: none;
}

.cart-items-panel .cart-line-remove {
    align-self: stretch;
    height: 2.4rem;
}

.cart-items-panel .cart-line-total-wrap {
    grid-area: total;
    min-width: 5.5rem;
    white-space: nowrap;
    align-self: center;
}

.cart-items-panel .cart-line-qty,
.cart-items-panel .cart-line-total-wrap {
    display: grid;
    grid-template-rows: 1rem 2.4rem;
    align-items: center;
    gap: .35rem;
}

.cart-items-panel .cart-line-qty label,
.cart-items-panel .cart-line-total-label {
    align-self: end;
    margin: 0;
    line-height: 1;
}

.cart-items-panel .cart-qty-group,
.cart-items-panel .cart-line-total-price {
    align-self: center;
}

.cart-items-panel .cart-auto-status,
.cart-items-panel .cart-line-qty noscript {
    display: none;
}

.cart-continue-wrap {
    margin-top: 1.35rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, .14) !important;
    text-align: center;
}

.cart-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 2.7rem;
    padding: 0 1.25rem;
    border: 1px solid #000;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.cart-checkout-layout .cart-subtotal {
    order: initial;
    padding: .3rem 0 1.2rem;
    text-align: center;
}

.cart-checkout-layout .cart-actions {
    order: initial;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, .14) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .14) !important;
}

.cart-checkout-layout .cart-actions .btn-primary {
    width: 100%;
    min-height: 3.5rem;
    box-sizing: border-box;
}

.cart-checkout-layout .cart-actions .btn-primary,
.cart-checkout-layout .cart-actions .btn-primary:hover,
.cart-checkout-layout .cart-actions .btn-primary:focus,
.cart-checkout-layout .cart-actions .btn-primary:focus-visible,
.cart-checkout-layout .cart-actions .btn-primary:active {
    background: transparent !important;
    box-shadow: none !important;
}

.cart-summary-extras {
    padding-top: 1.2rem;
}

.cart-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    text-align: center;
}

.cart-trust-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    min-width: 0;
}

.cart-trust-grid i {
    margin-bottom: .25rem;
    color: #fff;
    font-size: 1.15rem;
}

.cart-trust-grid strong {
    color: #fff;
    font-size: .68rem;
    line-height: 1.25;
}

.cart-trust-grid span {
    color: #aaa4bd;
    font-size: .62rem;
    line-height: 1.25;
}

.cart-payment-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .4rem;
    margin-top: 1rem;
    padding: .6rem;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 10px;
}

.cart-payment-row span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    min-height: 2rem;
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
}

.cart-security-note {
    margin: 1rem 0 0;
    color: #d6d1e2;
    font-size: .68rem;
    text-align: center;
}

.cart-security-note i {
    margin-right: .3rem;
    color: #fff;
}

@media (min-width: 769px) {
    .cart-page--filled .cart-page-hero {
        display: none;
    }
}

@media (max-width: 1100px) and (min-width: 769px) {
    .cart-checkout-layout {
        grid-template-columns: minmax(0, 2.2fr) minmax(17rem, .9fr);
        gap: 1rem;
    }

    .cart-items-panel,
    .cart-checkout-layout > .cart-summary {
        padding: 1.1rem;
    }

    .cart-items-panel .cart-line {
        grid-template-columns: 96px minmax(6.5rem, 1fr) minmax(7.25rem, auto) 2.4rem minmax(5.25rem, auto);
        grid-template-areas: "img details qty remove total";
        column-gap: .7rem;
        padding: .9rem;
    }

    .cart-items-panel .cart-line-img-link {
        width: 96px;
        height: 96px;
    }

    .cart-items-panel .cart-line-remove-form {
        margin-top: 0;
    }

    .cart-items-panel .cart-line-total-wrap {
        min-width: 5.25rem;
    }

    .cart-checkout-layout .cart-actions .btn-primary {
        min-width: 0;
    }

    .cart-trust-grid {
        gap: .25rem;
    }

    .cart-payment-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .cart-checkout-layout {
        display: block;
    }

    .cart-items-panel,
    .cart-checkout-layout > .cart-summary {
        border-radius: 12px;
    }

    .cart-items-panel {
        padding: 0;
        border: 0 !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .cart-panel-title,
    .cart-continue-wrap,
    .cart-summary-extras {
        display: none;
    }

    .cart-items-panel .cart-line {
        grid-template-columns: 80px minmax(0, 1fr) 2.5rem;
        grid-template-areas:
            "img info info"
            "img meta meta"
            "qty qty remove"
            "total total total";
        min-height: 0;
        padding: .9rem;
    }

    .cart-items-panel .cart-line-img-link {
        width: 80px;
        height: 80px;
        align-self: start;
    }

    .cart-items-panel .cart-line-info {
        grid-area: info;
        align-self: end;
        transform: none;
    }

    .cart-items-panel .cart-line-details {
        display: contents;
    }

    .cart-items-panel .cart-line-unit {
        grid-area: meta;
        align-self: start;
        margin-top: 0;
    }

    .cart-items-panel .cart-line-qty {
        display: flex;
        align-self: center;
    }

    .cart-items-panel .cart-auto-status {
        display: block;
    }

    .cart-items-panel .cart-line-remove-form {
        display: block;
        align-self: start;
        margin: 1.05rem 0 0;
        transform: none;
    }

    .cart-items-panel .cart-line-remove-form::before {
        content: none;
    }

    .cart-items-panel .cart-line-total-wrap {
        display: flex;
        grid-area: total;
    }

    .cart-checkout-layout > .cart-summary {
        position: static;
        margin-top: 1.5rem;
        padding: 1.25rem 1.35rem;
    }
}

/* Cart shell stays open; its heading reuses the real compact category hero. */
.card.cart-page {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
}

.cart-line,
.cart-summary {
    background: transparent !important;
    backdrop-filter: blur(12px) saturate(125%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(125%) !important;
}

.cart-page-hero {
    width: 100%;
    margin: 0 0 1.25rem !important;
    box-sizing: border-box;
}

.cart-page-hero .cart-page-title {
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.product-details-box.pdp-info-card,
.product-details-box.pdp-order-card {
    background: transparent !important;
}

/* Product quantity and live total, matching the storefront's cosmic controls. */
.pdp-buy-form {
    display: grid;
    gap: .85rem;
}

.pdp-qty-row {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
}

.pdp-qty-row > label {
    margin: 0;
    color: #fff;
    font-size: .95rem;
    font-weight: 500;
}

.pdp-qty-row .pdp-qty-group {
    display: grid;
    grid-template-columns: 3.4rem minmax(4rem, 1fr) 3.4rem;
    align-items: stretch;
    min-height: 3.4rem;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(126, 87, 194, .55);
    border-radius: 12px;
    background: rgba(7, 5, 44, .3);
}

.pdp-qty-row .pdp-qty-input {
    width: 100%;
    min-width: 0;
    padding: .65rem .4rem;
    border: 0 !important;
    border-right: 1px solid rgba(126, 87, 194, .2) !important;
    border-left: 1px solid rgba(126, 87, 194, .2) !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.pdp-qty-button {
    border: 0 !important;
    background: transparent;
    color: #c084fc;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
}

.pdp-qty-button:hover {
    color: #fff;
    background: rgba(168, 85, 247, .12);
}

.pdp-qty-row > .pdp-qty-suffix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    padding: 0 1rem;
    border: 1px solid rgba(126, 87, 194, .55);
    border-radius: 12px;
    background: rgba(7, 5, 44, .3);
    color: #fff;
    font-size: .9rem;
    text-transform: lowercase;
}

.pdp-price-display {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: baseline;
    gap: .35rem .5rem;
    min-height: 4rem;
    margin: 0;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(126, 87, 194, .55);
    border-radius: 13px;
    background: transparent;
}

.pdp-price-label {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
}

.pdp-price-display .pdp-price-total {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
}

.pdp-price-display .pdp-price-unit {
    justify-self: end;
    color: #aaa4bd;
    font-size: .92rem;
}

.pdp-price-message {
    grid-column: 1 / -1;
    align-self: center;
    color: #aaa4bd;
    font-weight: 600;
}

.pdp-add-cart,
.pdp-add-cart:hover {
    position: relative;
    display: grid;
    grid-template-columns: 2rem 1fr 2rem;
    align-items: center;
    width: 100%;
    min-height: 4.4rem;
    padding: .9rem 1.25rem !important;
    border: 1px solid #e83dd9 !important;
    border-radius: 13px;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.pdp-add-cart > i:first-child {
    font-size: 1.25rem;
}

.pdp-add-cart__arrow {
    justify-self: end;
    font-size: 1.15rem;
}

@media (max-width: 640px) {
    .pdp-qty-row {
        grid-template-columns: 4.5rem minmax(0, 1fr) auto;
        gap: .55rem;
    }

    .pdp-qty-row .pdp-qty-group {
        grid-template-columns: 2.8rem minmax(3.5rem, 1fr) 2.8rem;
    }

    .pdp-price-display {
        grid-template-columns: auto auto;
        padding: .9rem 1rem;
    }

    .pdp-price-label {
        font-size: 1.1rem;
    }

    .pdp-price-display .pdp-price-total {
        font-size: 1.5rem;
    }

    .pdp-price-display .pdp-price-unit {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* Checkout title and panels follow the public category/card language. */
.checkout-page-hero {
    width: 100%;
    margin: 0 0 1.25rem !important;
    box-sizing: border-box;
}

.checkout-page-hero .checkout-heading {
    margin: 0;
    color: #fff;
    text-shadow: none;
}

.checkout-page-hero .checkout-lead {
    margin: .35rem 0 0;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}

.checkout-summary,
.checkout-form-card {
    border: 1px solid #000 !important;
    border-radius: 14px;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: blur(12px) saturate(125%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(125%) !important;
}

.checkout-summary .product-details-box,
.checkout-form-card .product-details-box {
    background: transparent !important;
}

.checkout-form-card .btn-primary,
.checkout-form-card .btn-primary:hover,
.checkout-form-card .btn-primary:focus,
.checkout-form-card .btn-primary:focus-visible,
.checkout-form-card .btn-primary:active {
    background: transparent !important;
    box-shadow: none !important;
}

.checkout-form-card #encrypt-button {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.cart-line-remove,
.cart-line-remove:hover,
.cart-line-remove:focus,
.cart-line-remove:focus-visible,
.cart-line-remove:active,
.cart-qty-input,
.cart-qty-input:hover,
.cart-qty-input:focus,
.cart-qty-input:active {
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .checkout-page-hero {
        background: transparent !important;
    }

    .checkout-summary,
    .checkout-form-card {
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .cart-page-hero {
        background: transparent !important;
    }

    .cart-summary .cart-subtotal {
        order: 1;
    }

    .cart-summary .cart-actions {
        order: 2;
    }

    .cart-summary .cart-actions .btn-primary,
    .cart-summary .cart-actions .btn-primary:hover,
    .cart-summary .cart-actions .btn-primary:focus-visible {
        background: transparent !important;
        box-shadow: none !important;
    }
}
/* Payment selection after order creation */
.payment-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.payment-method-card,.payment-current{border:1px solid #000;border-radius:12px;padding:18px;background:rgba(7,4,37,.34)}.payment-method-card form,.payment-current{display:grid;gap:10px}.payment-method-card h2,.payment-current h2{margin:0;color:#fff}.payment-method-card p{margin:0 0 8px;color:#fff;font-weight:600}.payment-method-card input,.payment-method-card textarea{width:100%;box-sizing:border-box}.payment-method-card .btn-primary,.payment-open-provider{width:100%;box-sizing:border-box;text-align:center;background:transparent!important;box-shadow:none!important}@media(max-width:720px){.payment-method-grid{grid-template-columns:1fr}.payment-method-card{padding:14px}}

/* Payment page uses the exact final surface of contact, reviews and payment sections. */
.pay-card.pay-status {
    position: relative;
    overflow: hidden;
    border: 1px solid #000 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: blur(12px) saturate(125%);
    -webkit-backdrop-filter: blur(12px) saturate(125%);
}

.pay-card.pay-status .pay-card__header {
    border-left: 0;
    border-bottom: 1px solid #000;
    background: transparent !important;
}

.pay-card.pay-status .pay-card__footer {
    border-top: 1px solid #000;
}

.pay-card.pay-status .pay-card__back,
.pay-card.pay-status .pay-card__back:hover,
.pay-card.pay-status .payment-method-card,
.pay-card.pay-status .payment-current {
    background: transparent !important;
    box-shadow: none !important;
}

.pay-card.pay-status .pay-card__back,
.pay-card.pay-status .pay-card__back:hover,
.pay-card.pay-status .pay-card__back:focus,
.pay-card.pay-status .pay-card__back:focus-visible {
    color: #fff !important;
}

.payment-current__layout {
    display: grid;
    grid-template-columns: minmax(190px, .72fr) minmax(0, 1.28fr);
    gap: 1.35rem;
    align-items: center;
}

.payment-current__qr {
    display: grid;
    justify-items: center;
    gap: .6rem;
    min-width: 0;
}

.payment-current__qr img {
    display: block;
    width: min(100%, 240px);
    height: auto;
    aspect-ratio: 1;
    padding: .55rem;
    box-sizing: border-box;
    border: 1px solid #000;
    border-radius: 12px;
    background: #fff;
}

.payment-qr-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 240px);
    padding: 3px;
    border: 1px solid #000;
    border-radius: 10px;
    background: rgba(4, 2, 35, .28);
}

.payment-qr-switch button {
    min-width: 0;
    padding: .55rem .4rem;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: .72rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.payment-qr-switch button.is-active {
    background: rgba(171, 46, 255, .3);
    outline: 1px solid rgba(235, 155, 255, .58);
}

.payment-qr-switch button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

.payment-current__qr img[hidden] {
    display: none;
}

.payment-current__details {
    display: grid;
    gap: .65rem;
    min-width: 0;
}

.payment-current__details .pay-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .55rem;
}

.payment-current__details .pay-row input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: .72rem .9rem;
    border: 1px solid #000;
    border-radius: 9px;
    background: transparent !important;
    color: #fff;
    font-family: ui-monospace, 'JetBrains Mono', monospace;
    line-height: 1.25;
    box-shadow: none !important;
}

.payment-current__details .pay-row input:focus {
    border-color: #000 !important;
    outline: 1px solid rgba(255, 255, 255, .34);
    outline-offset: 1px;
    background: transparent !important;
    box-shadow: none !important;
}

.payment-current__details .checkout-pgp-hint {
    margin: .65rem 0 0;
}

@media (max-width: 720px) {
    .pay-card.pay-status {
        border-radius: 14px;
        background: transparent !important;
        backdrop-filter: blur(9px) saturate(118%);
        -webkit-backdrop-filter: blur(9px) saturate(118%);
    }

    .payment-current__layout {
        grid-template-columns: 1fr;
    }

    .payment-current__qr img {
        width: min(100%, 220px);
    }
}

/* Completed order page: exact transparent contact-section surface. */
.oi-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #000 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: blur(12px) saturate(125%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(125%) !important;
}

.oi-card .oi-pgp {
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .oi-card {
        border-radius: 14px;
        background: transparent !important;
        backdrop-filter: blur(9px) saturate(118%) !important;
        -webkit-backdrop-filter: blur(9px) saturate(118%) !important;
    }
}

/* Standalone waiting banner for every crypto currency. */
.pay-waiting-banner {
    width: 100%;
    max-width: 640px;
    margin: 0 auto 1rem;
    pointer-events: none;
}

.pay-waiting-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* Standalone galaxy CTA below the payment card. */
.pay-return {
    width: 100%;
    max-width: 640px;
    margin: 1.5rem auto 0;
    border-top: 0;
    background: transparent;
}

.pay-return .pay-card__back,
.pay-return .pay-card__back:hover,
.pay-return .pay-card__back:focus,
.pay-return .pay-card__back:focus-visible {
    position: relative;
    isolation: isolate;
    min-height: 72px;
    gap: clamp(1rem, 4vw, 2.25rem);
    padding: .75rem 1.5rem;
    overflow: hidden;
    border: 2px solid rgba(255, 151, 255, .95);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 58%, rgba(255, 26, 176, .72), transparent 34%),
        radial-gradient(circle at 85% 44%, rgba(0, 91, 255, .72), transparent 38%),
        linear-gradient(105deg, rgba(81, 0, 91, .34), rgba(16, 5, 85, .24)),
        var(--shop-background-image) center 52% / cover no-repeat !important;
    color: #fff !important;
    font: 700 clamp(1.05rem, 3.1vw, 1.65rem)/1.1 'Roboto', sans-serif;
    letter-spacing: .015em;
    text-transform: uppercase;
    text-shadow: 0 0 9px rgba(255, 255, 255, .65), 0 0 20px rgba(99, 102, 241, .78);
    box-shadow:
        0 0 5px rgba(255, 255, 255, .8),
        0 0 14px rgba(236, 72, 255, .9),
        0 0 28px rgba(85, 55, 255, .62),
        inset 0 0 17px rgba(255, 105, 255, .3),
        inset 0 1px 0 rgba(255, 255, 255, .72) !important;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.pay-return .pay-card__back:hover {
    transform: translateY(-1px);
    filter: brightness(1.14) saturate(1.1);
    box-shadow:
        0 0 7px rgba(255, 255, 255, .9),
        0 0 19px rgba(236, 72, 255, 1),
        0 0 34px rgba(85, 55, 255, .78),
        inset 0 0 20px rgba(255, 105, 255, .38),
        inset 0 1px 0 rgba(255, 255, 255, .82) !important;
}

.pay-return .pay-card__back:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.payment-method-instructions {
    margin: 0 0 10px;
    color: #fff;
    line-height: 1.6;
}

.payment-method-instructions > *:first-child { margin-top: 0; }
.payment-method-instructions > *:last-child { margin-bottom: 0; }
.payment-method-instructions ul,
.payment-method-instructions ol { margin: .45rem 0 .65rem; padding-left: 1.35rem; }
.payment-method-instructions a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.payment-method-select {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-decoration: none;
}

.manual-payment-step {
    display: grid;
    gap: 18px;
    margin-top: 18px;
    padding: clamp(18px, 3vw, 28px);
    color: #fff;
    background: rgba(7, 4, 37, .34);
    border: 1px solid #000;
    border-radius: 14px;
}

.manual-payment-step__head {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.manual-payment-step__icon {
    width: 50px;
    height: 50px;
    display: grid;
    flex: 0 0 50px;
    place-items: center;
    color: #fff;
    background: rgba(171, 46, 255, .22);
    border: 1px solid rgba(210, 114, 255, .5);
    border-radius: 12px;
    font-size: 1.35rem;
}

.manual-payment-step__head span { color: #c7badf; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.manual-payment-step__head h2 { margin: 3px 0 0; color: #fff; font-size: clamp(1.25rem, 3vw, 1.65rem); }
.manual-payment-form { display: grid; gap: 16px; }
.manual-payment-field { display: grid; gap: 7px; min-width: 0; }
.manual-payment-field label { color: #fff; font-size: .84rem; font-weight: 700; }
.manual-payment-field label span { color: #ff83df; }
.manual-payment-field small { color: #baaed0; font-size: .72rem; }

.pay-card.pay-status .manual-payment-control {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    margin: 0;
    padding: 11px 14px;
    color: #fff !important;
    background: rgba(3, 2, 32, .58) !important;
    border: 1px solid rgba(177, 95, 255, .58) !important;
    border-radius: 10px;
    outline: 0;
    box-shadow: none !important;
    font: inherit;
    transition: border-color .16s ease, background-color .16s ease;
}

.pay-card.pay-status textarea.manual-payment-control { min-height: 130px; resize: vertical; }
.pay-card.pay-status .manual-payment-control::placeholder { color: #968aaa; opacity: 1; }
.pay-card.pay-status .manual-payment-control:hover { border-color: rgba(214, 126, 255, .78) !important; }
.pay-card.pay-status .manual-payment-control:focus { background: rgba(6, 3, 45, .78) !important; border-color: #df83ff !important; box-shadow: 0 0 0 3px rgba(187, 62, 255, .16) !important; }
.pay-card.pay-status .manual-payment-control.is-invalid { border-color: #ff6377 !important; }
.pay-card.pay-status .manual-payment-control--file { padding: 7px 8px; cursor: pointer; }
.pay-card.pay-status .manual-payment-control--file::file-selector-button { margin-right: 12px; padding: 8px 12px; color: #fff; background: rgba(171, 46, 255, .3); border: 1px solid rgba(210, 114, 255, .48); border-radius: 7px; cursor: pointer; }
.manual-payment-error { color: #ff9aaa; font-size: .76rem; font-weight: 700; }
.manual-payment-submit { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; box-sizing: border-box; margin-top: 2px; color: #fff; background: rgba(171, 46, 255, .18) !important; border: 1px solid rgba(210, 114, 255, .58); box-shadow: none !important; }
.manual-payment-submit:hover { background: rgba(171, 46, 255, .28) !important; border-color: rgba(225, 148, 255, .82); }
.manual-payment-back { display: inline-flex; align-items: center; justify-content: center; gap: 8px; justify-self: center; color: #fff; font-size: .78rem; font-weight: 700; text-decoration: none; }
.manual-payment-back:hover { color: #f0c3ff; }

@media (max-width: 520px) {
    .pay-return {
        margin-top: 1rem;
    }

    .pay-return .pay-card__back,
    .pay-return .pay-card__back:hover,
    .pay-return .pay-card__back:focus,
    .pay-return .pay-card__back:focus-visible {
        min-height: 60px;
        gap: .85rem;
        padding: .65rem .9rem;
        border-radius: 15px;
        font-size: clamp(.88rem, 4.8vw, 1.15rem);
    }
}
