@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@500;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
    --paper: #FFFFFF;
    --paper-2: #F5F5F2;
    --ink: #232323;
    --ink-soft: #5B5750;
    --crimson: #B4223A;
    --crimson-dark: #8B1A2D;
    --navy: #1E2A44;
    --gold: #D9A441;
    --line: #E4DCC9;
}

.section-padding {
    padding: 56px 0 80px;
    background: var(--paper);
    position: relative;
    font-family: 'Inter',sans-serif;
    color: var(--ink);
}

/* faint ruled-paper texture, scoped to this section only */
.product-detail {
    position: relative;
}

    .product-detail::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: repeating-linear-gradient(to bottom, transparent 0 39px, var(--line) 39px 40px);
        opacity: .3;
        pointer-events: none;
        z-index: 0;
    }

    .product-detail .container {
        position: relative;
        z-index: 1;
    }

/* ---- image side ---- */
.product-thumb {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 800px;
}

.product-image {
    max-height: 800px;
    border-radius: 4px;
    box-shadow: 18px 22px 26px rgba(30,20,10,.16);
}

/* ---- info side ---- */
.product-eyebrow {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 12px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #F7B136;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-title {
    font-family: 'Bitter',serif;
    font-weight: 700;
    font-size: clamp(22px,2.6vw,30px);
    line-height: 1.25;
    color: var(--ink);
}

.product-meta-table {
    width: 100%;
    max-width: 420px;
    border-collapse: collapse;
    margin: 14px 0 6px;
    font-size: 14px;
}

    .product-meta-table tr {
        border-bottom: 1px dashed var(--line);
    }

        .product-meta-table tr:last-child {
            border-bottom: none;
        }

    .product-meta-table td {
        padding: 8px 0;
    }

.meta-label {
    color: var(--ink-soft);
    width: 140px;
    font-weight: 500;
}

.meta-val {
    color: var(--ink);
    font-weight: 500;
}

.meta-mono {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 13px;
    letter-spacing: .02em;
}

.product-p {
    font-size: 14px;
    color: var(--ink-soft);
}

.product-price {
    font-family: 'Bitter',serif;
    font-weight: 800;
    font-size: 40px;
    color: #F7B136;
    opacity: 1 !important;
}

.product-description p.lead {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
    font-weight: 400;
}

/* ---- cart row ---- */
.product-cart-thumb {
    margin-top: 10px;
}

.cart-form-select {
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-family: 'IBM Plex Mono',monospace;
    font-weight: 600;
    color: var(--ink);
    height: 48px;
    min-width: 80px;
}

    .cart-form-select:focus {
        border-color: var(--crimson);
        box-shadow: 0 0 0 3px rgba(180,34,58,.15);
    }

.custom-btn.cart-btn {
    background: #F7B136;
    color: #fff;
    border: none;
    border-radius: 8px;
    height: 48px;
    padding: 0 28px;
    font-weight: 700;
    font-size: 15px;
    font-family: 'Inter',sans-serif;
    transition: transform .15s ease,box-shadow .15s ease,background .15s ease;
}

    .custom-btn.cart-btn:hover {
        background: #F7B136;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(180,34,58,.28);
    }

    .custom-btn.cart-btn:focus-visible {
        outline: 3px solid var(--gold);
        outline-offset: 2px;
    }

@media (max-width:991px) {
    .product-thumb {
        margin-bottom: 32px;
    }
}
