/* GEEBAFUN PRODUCT DETAIL — V3, 2026-11-14
   Scoped to theme-geebafun. Requires V1 Detail.cshtml to load this file.
   No changes to shared Razor, catalog, controllers or checkout logic. */
body.theme-geebafun .pd-detail-surface {
    --gf-blue: #0868e9;
    --gf-ink: #162b4c;
    --gf-edge: #e0e9f6;
    --gf-muted: #687b97;
    background: #f7faff !important;
    color: var(--gf-ink) !important;
    padding-bottom: 72px !important
}

    body.theme-geebafun .pd-detail-surface .pd-page {
        background: transparent !important;
        padding: 35px 0 42px !important
    }

    body.theme-geebafun .pd-detail-surface .pd {
        max-width: 1320px !important;
        margin: auto !important;
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns: minmax(0,1.07fr) minmax(0,.93fr) !important;
        gap: 34px !important;
        align-items: start !important;
        padding: 0 28px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-gal {
        position: sticky !important;
        top: 92px !important;
        min-width: 0 !important
    }

    body.theme-geebafun .pd-detail-surface .pd-main {
        position: relative !important;
        overflow: hidden !important;
        border-radius: 23px !important;
        background: #fff !important;
        border: 1px solid var(--gf-edge) !important;
        box-shadow: 0 20px 44px rgba(19,57,107,.055) !important
    }

    body.theme-geebafun .pd-detail-surface .pd-main-media {
        width: 100% !important;
        aspect-ratio: 1/1 !important;
        background: linear-gradient(155deg,#f7faff,#eaf3ff) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important
    }

        body.theme-geebafun .pd-detail-surface .pd-main-media img, body.theme-geebafun .pd-detail-surface .pd-main-media video {
            width: 100% !important;
            height: 100% !important;
            object-fit: contain !important;
            max-width: 100% !important
        }

    body.theme-geebafun .pd-detail-surface .pd-thumbs {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        margin-top: 15px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-thumb {
        width: 76px !important;
        height: 76px !important;
        min-width: 76px !important;
        border-radius: 13px !important;
        border: 1px solid #dbe5f4 !important;
        padding: 4px !important;
        background: white !important;
        box-shadow: 0 5px 12px rgba(15,65,118,.04) !important;
        transform: none !important;
        transition: border-color .2s,box-shadow .2s !important
    }

        body.theme-geebafun .pd-detail-surface .pd-thumb.active, body.theme-geebafun .pd-detail-surface .pd-thumb:focus-visible {
            border: 2px solid var(--gf-blue) !important;
            outline: none !important;
            box-shadow: 0 0 0 3px rgba(8,104,233,.12) !important
        }

        body.theme-geebafun .pd-detail-surface .pd-thumb .media, body.theme-geebafun .pd-detail-surface .pd-thumb img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            border-radius: 8px !important
        }

    body.theme-geebafun .pd-detail-surface .pd-info-card {
        box-sizing: border-box !important;
        min-width: 0 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 34px !important;
        background: #fff !important;
        border: 1px solid var(--gf-edge) !important;
        border-radius: 23px !important;
        box-shadow: 0 20px 44px rgba(19,57,107,.055) !important
    }

    body.theme-geebafun .pd-detail-surface .pd-brand-card {
        background: #f7faff !important;
        border: 1px solid var(--gf-edge) !important;
        border-radius: 12px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-title {
        font-size: clamp(29px,2.75vw,42px) !important;
        font-weight: 850 !important;
        letter-spacing: -.035em !important;
        line-height: 1.13 !important;
        color: #152943 !important;
        margin: 0 0 16px !important;
        overflow-wrap: anywhere !important
    }

    body.theme-geebafun .pd-detail-surface .pd-price-status {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 14px !important;
        margin: 0 0 24px !important;
        padding: 0 0 22px !important;
        border-bottom: 1px solid #e8eef7 !important
    }

    body.theme-geebafun .pd-detail-surface .pd-price-block {
        display: flex !important;
        gap: 5px !important;
        flex-direction: column !important
    }

    body.theme-geebafun .pd-detail-surface .pd-price-label {
        font-size: 12px !important;
        line-height: 1.3 !important;
        color: var(--gf-muted) !important;
        letter-spacing: .09em !important
    }

    body.theme-geebafun .pd-detail-surface .pd-price {
        font-size: clamp(32px,3vw,44px) !important;
        line-height: 1.1 !important;
        color: #0860ca !important;
        font-weight: 850 !important;
        letter-spacing: -.035em !important
    }

    body.theme-geebafun .pd-detail-surface .pd-pill {
        border-radius: 999px !important;
        min-height: 34px !important;
        padding: 7px 14px !important;
        font-size: 13px !important;
        font-weight: 750 !important;
        background: #e8f7ed !important;
        color: #16753b !important
    }

    body.theme-geebafun .pd-detail-surface .pd-pill-out {
        background: #fff1ee !important;
        color: #b52d1b !important
    }

    body.theme-geebafun .pd-detail-surface .pd-meta-grid {
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 12px !important;
        margin: 0 0 18px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-meta-card {
        min-width: 0 !important;
        min-height: 83px !important;
        padding: 15px 16px !important;
        border: 1px solid var(--gf-edge) !important;
        background: #f8fbff !important;
        border-radius: 14px !important;
        box-shadow: none !important;
        overflow: hidden !important
    }

    body.theme-geebafun .pd-detail-surface .pd-meta-card__label {
        font-size: 12px !important;
        color: var(--gf-muted) !important;
        opacity: 1 !important;
        margin-bottom: 7px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-meta-card__value {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        color: #193758 !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        white-space: normal !important
    }

    body.theme-geebafun .pd-detail-surface .product-options-panel {
        background: #f8fbff !important;
        border: 1px solid var(--gf-edge) !important;
        border-radius: 16px !important;
        padding: 20px !important;
        margin: 0 0 18px !important;
        min-width: 0 !important
    }

    body.theme-geebafun .pd-detail-surface .product-options-title {
        font-weight: 800 !important;
        color: #193555 !important;
        font-size: 18px !important
    }

    body.theme-geebafun .pd-detail-surface .product-option-list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 9px !important
    }

    body.theme-geebafun .pd-detail-surface .product-option-button {
        border-radius: 10px !important;
        min-height: 40px !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important
    }

        body.theme-geebafun .pd-detail-surface .product-option-button.selected, body.theme-geebafun .pd-detail-surface .product-option-button.is-selected {
            border-color: var(--gf-blue) !important
        }

    body.theme-geebafun .pd-detail-surface .product-variant-meta {
        background: #fff !important;
        color: #526680 !important;
        border: 1px solid #e0e9f6 !important;
        border-radius: 10px !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        white-space: normal !important;
        line-height: 1.5 !important
    }

    body.theme-geebafun .pd-detail-surface .pd-meta-tags {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 0 !important
    }

    body.theme-geebafun .pd-detail-surface .pd-meta-tag {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        background: #f8fbff !important;
        border: 1px solid var(--gf-edge) !important;
        border-radius: 12px !important;
        padding: 13px 15px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-meta-tag__label {
        font-size: 13px !important;
        color: var(--gf-muted) !important;
        font-weight: 600 !important
    }

    body.theme-geebafun .pd-detail-surface .pd-meta-tag__value {
        font-weight: 750 !important;
        color: #183758 !important;
        font-size: 13px !important;
        text-align: right !important
    }

    body.theme-geebafun .pd-detail-surface .pd-actions {
        margin-top: 20px !important;
        padding-top: 22px !important;
        border-top: 1px solid #e8eef7 !important
    }

    body.theme-geebafun .pd-detail-surface .pd-form {
        min-width: 0 !important
    }

    body.theme-geebafun .pd-detail-surface .pd-qty {
        width: fit-content !important;
        display: flex !important;
        align-items: center !important;
        background: #fff !important;
        border: 1px solid #d7e2ef !important;
        height: 48px !important;
        border-radius: 13px !important;
        overflow: hidden !important
    }

    body.theme-geebafun .pd-detail-surface .mc-qty-btn {
        height: 46px !important;
        width: 46px !important;
        color: #193758 !important;
        font-size: 21px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-qty-input {
        height: 46px !important;
        min-width: 66px !important;
        width: 66px !important;
        color: #1d3555 !important;
        font-weight: 800 !important;
        font-size: 16px !important;
        background: #f5f8fc !important
    }

    body.theme-geebafun .pd-detail-surface .pd-btns {
        display: grid !important;
        grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) !important;
        gap: 12px !important;
        margin-top: 16px !important;
        min-width: 0 !important
    }

        body.theme-geebafun .pd-detail-surface .pd-btns .btn, body.theme-geebafun .pd-detail-surface .pd-form > .btn {
            min-width: 0 !important;
            width: 100% !important;
            min-height: 50px !important;
            height: auto !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 13px 16px !important;
            box-sizing: border-box !important;
            border-radius: 12px !important;
            font-weight: 750 !important;
            font-size: 15px !important;
            text-align: center !important;
            text-decoration: none !important
        }

        body.theme-geebafun .pd-detail-surface .pd-btns .btn-primary, body.theme-geebafun .pd-detail-surface .pd-form > .btn-primary {
            background: var(--gf-blue) !important;
            color: white !important;
            box-shadow: 0 9px 17px rgba(8,104,233,.16) !important
        }

            body.theme-geebafun .pd-detail-surface .pd-btns .btn-primary:hover {
                background: #0058c7 !important
            }

        body.theme-geebafun .pd-detail-surface .pd-btns .btn-secondary {
            background: #f0f4f9 !important;
            color: #243b5a !important
        }

    body.theme-geebafun .pd-detail-surface .pd-description-section, body.theme-geebafun .pd-detail-surface .pd-related, body.theme-geebafun .pd-detail-surface .p-reviews {
        box-sizing: border-box !important;
        max-width: 1264px !important;
        margin-left: auto !important;
        margin-right: auto !important
    }

    body.theme-geebafun .pd-detail-surface .pd-description-inner, body.theme-geebafun .pd-detail-surface .pd-related, body.theme-geebafun .pd-detail-surface .p-reviews {
        border: 1px solid var(--gf-edge) !important;
        background: white !important;
        border-radius: 21px !important;
        box-shadow: 0 9px 25px rgba(19,57,107,.035) !important
    }

    body.theme-geebafun .pd-detail-surface .pd-description-content {
        overflow-wrap: anywhere !important
    }

        body.theme-geebafun .pd-detail-surface .pd-description-content img {
            max-width: 100% !important;
            height: auto !important
        }

@media(max-width:980px) {
    body.theme-geebafun .pd-detail-surface .pd {
        grid-template-columns: minmax(0,1fr) !important;
        gap: 22px !important;
        padding: 0 20px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-gal {
        position: static !important
    }

    body.theme-geebafun .pd-detail-surface .pd-main-media {
        aspect-ratio: 4/3 !important
    }
}

@media(max-width:560px) {
    body.theme-geebafun .pd-detail-surface .pd-page {
        padding-top: 16px !important
    }

    body.theme-geebafun .pd-detail-surface .pd {
        padding: 0 12px !important;
        gap: 16px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-info-card {
        padding: 21px 17px !important;
        border-radius: 17px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-title {
        font-size: 29px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-main {
        border-radius: 17px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-main-media {
        aspect-ratio: 1/1 !important
    }

    body.theme-geebafun .pd-detail-surface .pd-thumb {
        width: 59px !important;
        height: 59px !important;
        min-width: 59px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-meta-grid {
        gap: 8px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-meta-card {
        padding: 11px !important
    }

    body.theme-geebafun .pd-detail-surface .pd-btns {
        grid-template-columns: 1fr !important
    }

    body.theme-geebafun .pd-detail-surface .pd-description-section, body.theme-geebafun .pd-detail-surface .pd-related, body.theme-geebafun .pd-detail-surface .p-reviews {
        margin-left: 12px !important;
        margin-right: 12px !important
    }
}
