/* =========================================================
   AL SUHANA ZAIKA
   PRODUCT DETAIL — FINAL PREMIUM FIX
   ========================================================= */


/* =========================================================
   PRODUCT IMAGE WRAPPER
   ========================================================= */

.detail-visual {
    position: relative !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    overflow: visible !important;
}


/* =========================================================
   ACTUAL PRODUCT IMAGE
   ========================================================= */

/*
 * Prevent product images from collapsing into a thin strip.
 * Keep the actual image inside normal document flow.
 */

.detail-product-image {
    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    inset: auto !important;

    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    aspect-ratio: 1 / 1 !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    border: 0 !important;

    border-radius: 24px !important;

    background:
        linear-gradient(
            145deg,
            #f8f5e9,
            #f0ecdc
        ) !important;

    box-shadow:
        0 26px 60px rgba(13, 63, 46, 0.13),
        0 8px 22px rgba(13, 63, 46, 0.07)
        !important;

    transform: none !important;

    box-sizing: border-box !important;

    transition:
        transform .45s ease,
        box-shadow .45s ease
        !important;
}


/* =========================================================
   REAL PRODUCT IMAGE CONTAINER
   ========================================================= */

.detail-visual:has(> .detail-product-image) {
    position: relative !important;

    display: block !important;

    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    border: 0 !important;

    background: transparent !important;

    border-radius: 24px !important;

    isolation: isolate !important;
}


/* =========================================================
   PREMIUM DECORATIVE IMAGE CORNERS
   ========================================================= */

.detail-visual:has(> .detail-product-image)::before {
    content: "" !important;

    position: absolute !important;

    z-index: -1 !important;

    left: -12px !important;
    top: -12px !important;

    width: 96px !important;
    height: 96px !important;

    border-top:
        2px solid rgba(198, 160, 66, 0.76)
        !important;

    border-left:
        2px solid rgba(198, 160, 66, 0.76)
        !important;

    border-radius:
        24px 0 0 0
        !important;

    pointer-events: none !important;
}


.detail-visual:has(> .detail-product-image)::after {
    content: "" !important;

    position: absolute !important;

    z-index: -1 !important;

    right: -12px !important;
    bottom: -12px !important;

    width: 96px !important;
    height: 96px !important;

    border-right:
        2px solid rgba(22, 80, 59, 0.44)
        !important;

    border-bottom:
        2px solid rgba(22, 80, 59, 0.44)
        !important;

    border-radius:
        0 0 24px 0
        !important;

    pointer-events: none !important;
}


/* =========================================================
   PREMIUM IMAGE HOVER
   ========================================================= */

.detail-visual:has(> .detail-product-image):hover
.detail-product-image {
    transform:
        translateY(-3px)
        scale(1.006)
        !important;

    box-shadow:
        0 32px 70px rgba(13, 63, 46, 0.16),
        0 12px 28px rgba(13, 63, 46, 0.09)
        !important;
}


/* =========================================================
   PRODUCT DETAIL GRID
   ========================================================= */

.detail-grid {
    align-items: start !important;

    gap:
        clamp(36px, 4.5vw, 70px)
        !important;
}


.detail-info {
    min-width: 0 !important;
    max-width: 100% !important;
}


/* =========================================================
   PRODUCT TITLE AREA
   ========================================================= */

.detail-info h1 {
    color: #164f3a !important;

    letter-spacing: -0.025em !important;

    text-wrap: balance !important;
}


.detail-info .eyebrow,
.detail-info .kicker {
    color: #b67f2e !important;

    font-weight: 800 !important;

    letter-spacing: .16em !important;

    text-transform: uppercase !important;
}


/* =========================================================
   SPECIFICATION TABLE
   ========================================================= */

.detail-info .specs {
    width: 100% !important;

    overflow: hidden !important;

    border:
        1px solid rgba(22, 79, 58, 0.13)
        !important;

    border-radius: 16px !important;

    border-collapse: separate !important;
    border-spacing: 0 !important;

    background:
        rgba(255, 255, 255, 0.72)
        !important;

    box-shadow:
        0 12px 30px rgba(14, 64, 47, 0.045)
        !important;
}


.detail-info .specs th,
.detail-info .specs td {
    padding:
        15px 17px
        !important;

    border-bottom:
        1px solid rgba(22, 79, 58, 0.09)
        !important;

    vertical-align: middle !important;
}


.detail-info .specs tr:last-child th,
.detail-info .specs tr:last-child td {
    border-bottom: 0 !important;
}


.detail-info .specs th {
    width: 36% !important;

    background:
        rgba(237, 244, 238, 0.72)
        !important;

    color: #35604f !important;

    font-weight: 700 !important;
}


.detail-info .specs td {
    color: #244f40 !important;

    background:
        rgba(255, 255, 255, 0.70)
        !important;
}


/* =========================================================
   DETAIL ACTIONS
   ========================================================= */

.detail-actions {
    display: flex !important;

    flex-wrap: wrap !important;

    gap: 12px !important;

    margin-top: 20px !important;
}


.detail-actions .button {
    min-height: 48px !important;

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    padding:
        0 20px
        !important;

    border-radius: 13px !important;

    font-weight: 800 !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease
        !important;
}


.detail-actions .button:hover {
    transform:
        translateY(-2px)
        !important;
}


.detail-actions .button:not(.light) {
    background:
        linear-gradient(
            135deg,
            #176047,
            #104433
        ) !important;

    color: #ffffff !important;

    box-shadow:
        0 11px 25px rgba(15, 68, 51, 0.18)
        !important;
}


.detail-actions .button.light {
    border:
        1px solid rgba(190, 152, 60, 0.28)
        !important;

    background:
        linear-gradient(
            145deg,
            #fbf8e9,
            #eef2df
        ) !important;

    color: #49663c !important;
}


/* =========================================================
   NOTE BELOW ACTIONS
   ========================================================= */

.detail-actions + .note {
    margin-top: 16px !important;

    color: #6b8176 !important;

    font-size: 12px !important;

    line-height: 1.75 !important;
}


/* =========================================================
   PURCHASE / ENQUIRY BOX
   ========================================================= */

.detail-info .purchase-card,
.detail-info .buy-panel,
.detail-info .product-purchase {
    border:
        1px solid rgba(196, 158, 67, 0.30)
        !important;

    border-top:
        3px solid #c49e43
        !important;

    border-radius: 22px !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 253, 247, 0.98),
            rgba(249, 247, 238, 0.96)
        ) !important;

    box-shadow:
        0 18px 42px rgba(14, 64, 47, 0.07)
        !important;
}


/* =========================================================
   PREMIUM ENQUIRY GUIDE
   "Tell us what a good fit looks like."
   ========================================================= */

.detail-grid + section[style*="padding-bottom:55px"] {
    position: relative !important;

    display: grid !important;

    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(280px, .82fr)
        !important;

    grid-template-areas:
        "eyebrow badge"
        "title badge"
        "description badge"
        !important;

    align-items: center !important;

    column-gap:
        clamp(30px, 4vw, 64px)
        !important;

    row-gap: 14px !important;

    width: 100% !important;

    margin:
        42px 0 54px
        !important;

    padding:
        clamp(34px, 4vw, 54px)
        !important;

    border:
        1px solid rgba(196, 158, 67, 0.27)
        !important;

    border-top:
        4px solid #c5a14a
        !important;

    border-radius: 30px !important;

    background:
        radial-gradient(
            circle at 94% 8%,
            rgba(204, 166, 75, 0.14),
            transparent 28%
        ),
        radial-gradient(
            circle at 3% 100%,
            rgba(19, 79, 58, 0.10),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #fffdf7 0%,
            #f8f5e9 47%,
            #edf4eb 100%
        ) !important;

    box-shadow:
        0 28px 65px rgba(13, 63, 46, 0.09),
        0 8px 20px rgba(13, 63, 46, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, .90)
        !important;

    overflow: hidden !important;

    isolation: isolate !important;
}


/* subtle left background glow */

.detail-grid + section[style*="padding-bottom:55px"]::before {
    content: "" !important;

    position: absolute !important;

    z-index: -1 !important;

    width: 330px !important;
    height: 330px !important;

    left: -150px !important;
    bottom: -180px !important;

    border-radius: 50% !important;

    background:
        radial-gradient(
            circle,
            rgba(19, 79, 58, .13),
            rgba(19, 79, 58, 0) 70%
        ) !important;

    pointer-events: none !important;
}


/* Right premium recommendation card */

.detail-grid + section[style*="padding-bottom:55px"]::after {
    content:
        "FOR A FASTER QUOTATION\A\AInclude quantity, preferred packing, destination and intended use in your enquiry."
        !important;

    white-space: pre-line !important;

    grid-area: badge !important;

    position: relative !important;

    z-index: 2 !important;

    display: flex !important;

    align-items: center !important;

    min-height: 150px !important;

    padding:
        26px 28px
        !important;

    border:
        1px solid rgba(193, 154, 61, 0.28)
        !important;

    border-radius: 22px !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .93),
            rgba(247, 244, 228, .96)
        ) !important;

    color: #315b4b !important;

    font-size: 14px !important;

    font-weight: 600 !important;

    line-height: 1.75 !important;

    box-shadow:
        0 16px 34px rgba(13, 63, 46, .08),
        inset 0 1px 0 rgba(255, 255, 255, .95)
        !important;
}


/* eyebrow */

.detail-grid + section[style*="padding-bottom:55px"] > .eyebrow {
    grid-area: eyebrow !important;

    position: relative !important;

    z-index: 2 !important;

    display: inline-flex !important;

    align-items: center !important;

    gap: 10px !important;

    width: fit-content !important;

    margin: 0 !important;

    padding:
        9px 14px
        !important;

    border:
        1px solid rgba(195, 155, 59, .24)
        !important;

    border-radius: 999px !important;

    background:
        rgba(255, 255, 255, .70)
        !important;

    color: #b06e33 !important;

    font-size: 11px !important;

    font-weight: 800 !important;

    letter-spacing: .18em !important;

    text-transform: uppercase !important;
}


.detail-grid + section[style*="padding-bottom:55px"] > .eyebrow::before {
    content: "" !important;

    width: 8px !important;
    height: 8px !important;

    flex: 0 0 auto !important;

    border-radius: 50% !important;

    background:
        #c6a249
        !important;

    box-shadow:
        0 0 0 5px rgba(198, 162, 73, .13)
        !important;
}


/* premium title */

.detail-grid + section[style*="padding-bottom:55px"] > h2 {
    grid-area: title !important;

    position: relative !important;

    z-index: 2 !important;

    max-width: 660px !important;

    margin: 2px 0 0 !important;

    color: #164f3a !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif
        !important;

    font-size:
        clamp(36px, 4vw, 55px)
        !important;

    line-height: 1.04 !important;

    font-weight: 700 !important;

    letter-spacing: -.035em !important;

    text-wrap: balance !important;
}


/* description */

.detail-grid + section[style*="padding-bottom:55px"] > p {
    grid-area: description !important;

    position: relative !important;

    z-index: 2 !important;

    max-width: 780px !important;

    margin: 6px 0 0 !important;

    color: #527064 !important;

    font-size: 14px !important;

    line-height: 1.9 !important;

    font-weight: 500 !important;
}


/* =========================================================
   WISHLIST / ILLUSTRATIVE IMAGE TEXT AREA CLEANUP
   ========================================================= */

.detail-info + * {
    box-sizing: border-box !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 991px) {

    .detail-grid {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            !important;

        gap: 32px !important;
    }


    .detail-visual {
        width: 100% !important;

        max-width: 680px !important;

        margin:
            0 auto
            !important;
    }


    .detail-product-image {
        width: 100% !important;

        aspect-ratio:
            1 / 1
            !important;

        border-radius:
            22px
            !important;
    }


    .detail-info {
        width: 100% !important;
    }


    .detail-grid + section[style*="padding-bottom:55px"] {
        grid-template-columns:
            minmax(0, 1fr)
            !important;

        grid-template-areas:
            "eyebrow"
            "title"
            "description"
            "badge"
            !important;

        gap: 17px !important;

        margin:
            32px 0 44px
            !important;

        padding:
            36px 28px
            !important;

        border-radius:
            25px
            !important;
    }


    .detail-grid + section[style*="padding-bottom:55px"]::after {
        width: 100% !important;

        min-height: 0 !important;

        padding:
            22px 24px
            !important;
    }


    .detail-grid + section[style*="padding-bottom:55px"] > h2 {
        max-width: 100% !important;

        font-size:
            clamp(32px, 6vw, 46px)
            !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 620px) {

    .detail-grid {
        gap: 26px !important;
    }


    .detail-visual {
        width: 100% !important;

        max-width: 100% !important;

        margin: 0 !important;
    }


    .detail-product-image {
        width: 100% !important;

        height: auto !important;

        aspect-ratio:
            1 / 1
            !important;

        object-fit:
            cover
            !important;

        object-position:
            center
            !important;

        border-radius:
            18px
            !important;

        box-shadow:
            0 18px 42px rgba(13, 63, 46, 0.12)
            !important;
    }


    .detail-visual:has(> .detail-product-image)::before {
        left: -6px !important;
        top: -6px !important;

        width: 66px !important;
        height: 66px !important;

        border-radius:
            18px 0 0 0
            !important;
    }


    .detail-visual:has(> .detail-product-image)::after {
        right: -6px !important;
        bottom: -6px !important;

        width: 66px !important;
        height: 66px !important;

        border-radius:
            0 0 18px 0
            !important;
    }


    .detail-info h1 {
        font-size:
            clamp(30px, 9vw, 40px)
            !important;

        line-height:
            1.08
            !important;
    }


    .detail-info .specs th,
    .detail-info .specs td {
        padding:
            12px
            !important;

        font-size:
            12px
            !important;
    }


    .detail-info .specs th {
        width:
            39%
            !important;
    }


    .detail-actions {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            !important;

        gap: 9px !important;
    }


    .detail-actions .button {
        width: 100% !important;
    }


    /*
     * Premium enquiry card
     */

    .detail-grid + section[style*="padding-bottom:55px"] {
        margin:
            25px 0 36px
            !important;

        padding:
            27px 19px
            !important;

        gap: 13px !important;

        border-top-width:
            3px
            !important;

        border-radius:
            21px
            !important;
    }


    .detail-grid + section[style*="padding-bottom:55px"]::before {
        width: 200px !important;
        height: 200px !important;

        left: -90px !important;
        bottom: -100px !important;
    }


    .detail-grid + section[style*="padding-bottom:55px"]::after {
        margin-top:
            6px
            !important;

        padding:
            18px
            !important;

        border-radius:
            17px
            !important;

        font-size:
            12px
            !important;

        line-height:
            1.65
            !important;
    }


    .detail-grid + section[style*="padding-bottom:55px"] > .eyebrow {
        padding:
            8px 11px
            !important;

        font-size:
            9px
            !important;

        letter-spacing:
            .14em
            !important;
    }


    .detail-grid + section[style*="padding-bottom:55px"] > h2 {
        margin-top:
            3px
            !important;

        font-size:
            clamp(29px, 9vw, 38px)
            !important;

        line-height:
            1.08
            !important;
    }


    .detail-grid + section[style*="padding-bottom:55px"] > p {
        font-size:
            13px
            !important;

        line-height:
            1.8
            !important;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 360px) {

    .detail-product-image {
        border-radius:
            16px
            !important;
    }


    .detail-visual:has(> .detail-product-image)::before,
    .detail-visual:has(> .detail-product-image)::after {
        width: 54px !important;
        height: 54px !important;
    }


    .detail-grid + section[style*="padding-bottom:55px"] {
        padding:
            23px 15px
            !important;

        border-radius:
            18px
            !important;
    }


    .detail-grid + section[style*="padding-bottom:55px"] > h2 {
        font-size:
            28px
            !important;
    }
}

/* =========================================================
   PRODUCT DETAIL — FINAL SPACING POLISH
   ========================================================= */

/* Reduce excessive whitespace before premium enquiry guide */
.detail-grid + section[style*="padding-bottom:55px"] {
    margin-top: 24px !important;
    margin-bottom: 48px !important;
}

/* Remove extra bottom spacing from product-detail area */
.detail-grid {
    margin-bottom: 0 !important;
}

/* Keep wishlist / illustrative note compact */
.detail-info .note,
.detail-info .wishlist-note {
    margin-bottom: 12px !important;
}

/* Slightly more compact premium card */
@media screen and (min-width: 992px) {
    .detail-grid + section[style*="padding-bottom:55px"] {
        padding-top: 38px !important;
        padding-bottom: 38px !important;
    }

    .detail-grid + section[style*="padding-bottom:55px"] > h2 {
        font-size: clamp(38px, 3.5vw, 52px) !important;
    }
}

/* Mobile spacing */
@media screen and (max-width: 620px) {
    .detail-grid + section[style*="padding-bottom:55px"] {
        margin-top: 18px !important;
        margin-bottom: 30px !important;
    }
}