﻿
/* ==========================================
   JAKI-9218 PRODUCT DETAILS
   Responsive ASP.NET MVC Razor Component
========================================== */

.jaki-page {
    --jaki-green: #245b35;
    --jaki-green-dark: #173e27;
    --jaki-green-light: #eaf3e8;
    --jaki-gold: #d5a441;
    --jaki-text: #25342a;
    --jaki-muted: #6c786e;
    --jaki-border: #e1e9df;
    --jaki-cream: #f7f8f1;
    width: 100%;
    padding: 36px 0 54px;
    color: var(--jaki-text);
    background: #f8faf6;
    font-family: "Noto Sans Devanagari", "Mukta", "Nirmala UI", sans-serif;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

    .jaki-page *,
    .jaki-page *::before,
    .jaki-page *::after {
        box-sizing: border-box;
    }

    .jaki-page .jaki-container {
        width: min(1160px, calc(100% - 40px));
        margin: 0 auto;
    }

    /* PRODUCT CARD */

    .jaki-page .jaki-product-card {
        display: grid;
        grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
        align-items: stretch;
        background: #fff;
        border: 1px solid var(--jaki-border);
        border-radius: 22px;
        overflow: hidden;
        box-shadow: 0 14px 42px rgba(31, 66, 38, 0.08);
    }

    /* IMAGE SIDE */

    .jaki-page .jaki-product-visual {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-width: 0;
        padding: 34px;
        background: radial-gradient( circle at 50% 42%, #ffffff 0, #f7f6e9 45%, #e9f0df 100% );
        border-right: 1px solid #edf0e7;
    }

    .jaki-page .jaki-image-badge {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 2;
        padding: 7px 14px;
        color: #fff;
        background: var(--jaki-green);
        border-radius: 30px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.2px;
    }

    .jaki-page .jaki-product-image-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 390px;
        min-height: 320px;
        margin-top: 18px;
    }

    .jaki-page .jaki-product-image {
        display: block;
        width: 100%;
        height: 360px;
        object-fit: contain;
        object-position: center;
        filter: drop-shadow(0 14px 13px rgba(42, 55, 29, 0.13));
        transition: transform 0.3s ease;
    }

@media (hover: hover) {
    .jaki-page .jaki-product-image-wrap:hover .jaki-product-image {
        transform: translateY(-4px) scale(1.025);
    }
}

.jaki-page .jaki-image-caption {
    margin-top: 18px;
    color: var(--jaki-green-dark);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.jaki-page .jaki-grain-icon {
    margin-right: 6px;
    color: var(--jaki-gold);
}

/* PRODUCT INFORMATION */

.jaki-page .jaki-product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 36px 34px;
}

.jaki-page .jaki-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--jaki-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.jaki-page .jaki-eyebrow-line {
    display: inline-block;
    width: 30px;
    height: 3px;
    background: var(--jaki-gold);
    border-radius: 10px;
}

.jaki-page .jaki-product-title {
    margin: 12px 0 0;
    color: var(--jaki-green-dark);
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -1px;
}

    .jaki-page .jaki-product-title span {
        color: #b77d20;
    }

.jaki-page .jaki-product-subtitle {
    margin: 9px 0 0;
    color: #697568;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

.jaki-page .jaki-product-description {
    margin: 17px 0 22px;
    color: var(--jaki-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* HIGHLIGHT GRID */

.jaki-page .jaki-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 12px;
}

.jaki-page .jaki-highlight {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 13px 12px;
    background: #f8faf5;
    border: 1px solid #e9eee4;
    border-radius: 12px;
}

.jaki-page .jaki-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    color: var(--jaki-green);
    background: var(--jaki-green-light);
    border-radius: 10px;
    font-size: 19px;
    font-weight: 800;
}

.jaki-page .jaki-highlight > div {
    min-width: 0;
}

.jaki-page .jaki-highlight-label {
    display: block;
    color: #768075;
    font-size: 11px;
    line-height: 1.6;
}

.jaki-page .jaki-highlight strong {
    display: block;
    margin-top: 2px;
    color: var(--jaki-green-dark);
    font-size: 13px;
    line-height: 1.6;
}

.jaki-page .jaki-product-note {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    padding: 13px 14px;
    background: #fff9e9;
    border: 1px solid #f1e3b9;
    border-radius: 11px;
}

.jaki-page .jaki-note-icon {
    flex: 0 0 auto;
    color: #94701c;
    font-weight: 900;
}

.jaki-page .jaki-product-note p {
    margin: 0;
    color: #74643c;
    font-size: 12px;
    line-height: 1.8;
}

.jaki-page .jaki-product-note strong {
    color: #634b13;
}

.jaki-page .jaki-details-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 46px;
    margin-top: 20px;
    padding: 11px 22px;
    color: #fff !important;
    background: var(--jaki-green);
    border: 1px solid var(--jaki-green);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .jaki-page .jaki-details-button:hover {
        color: #fff !important;
        background: var(--jaki-green-dark);
        transform: translateY(-2px);
    }

/* SPECIFICATION SECTION */

.jaki-page .jaki-details-section {
    padding-top: 48px;
    scroll-margin-top: 90px;
}

.jaki-page .jaki-section-heading {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.jaki-page .jaki-section-kicker {
    color: #9a752b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.jaki-page .jaki-section-heading h2 {
    margin: 8px 0 7px;
    color: var(--jaki-green-dark);
    font-size: clamp(23px, 3vw, 32px);
    font-weight: 850;
    line-height: 1.55;
}

.jaki-page .jaki-section-heading p {
    margin: 0;
    color: var(--jaki-muted);
    font-size: 13px;
}

/* TABLE CARDS */

.jaki-page .jaki-table-card {
    margin-bottom: 23px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--jaki-border);
    border-radius: 16px;
    box-shadow: 0 7px 24px rgba(31, 66, 38, 0.045);
}

.jaki-page .jaki-table-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 24px;
    background: linear-gradient(110deg, #eff5e9, #fbfaf2);
    border-bottom: 1px solid var(--jaki-border);
}

.jaki-page .jaki-table-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    color: #fff;
    background: var(--jaki-green);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 900;
}

.jaki-page .jaki-table-heading h3 {
    margin: 0;
    color: var(--jaki-green-dark);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.6;
}

.jaki-page .jaki-table-heading p {
    margin: 2px 0 0;
    color: #7c887b;
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 0.4px;
}

/* RESPONSIVE TABLE */

.jaki-page .jaki-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.jaki-page .jaki-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 13px;
    line-height: 1.9;
}

    .jaki-page .jaki-table th,
    .jaki-page .jaki-table td {
        padding: 15px 22px;
        text-align: left;
        vertical-align: top;
        border-bottom: 1px solid #edf0e9;
    }

    .jaki-page .jaki-table th {
        color: #fff;
        background: var(--jaki-green);
        font-weight: 800;
        white-space: nowrap;
    }

        .jaki-page .jaki-table th:first-child,
        .jaki-page .jaki-table td:first-child {
            width: 31%;
        }

    .jaki-page .jaki-table td:first-child {
        color: #304f36;
        font-weight: 750;
    }

    .jaki-page .jaki-table td:last-child {
        color: #58645a;
    }

    .jaki-page .jaki-table tbody tr:nth-child(even) {
        background: #fafbf8;
    }

    .jaki-page .jaki-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .jaki-page .jaki-table tbody tr {
        transition: background 0.2s ease;
    }

        .jaki-page .jaki-table tbody tr:hover {
            background: #f0f6eb;
        }

.jaki-page .jaki-value {
    color: var(--jaki-green-dark);
    font-weight: 850;
}

.jaki-page .jaki-subvalue {
    display: block;
    margin-top: 3px;
    color: #737e73;
    font-size: 12px;
}

/* DISCLAIMER */

.jaki-page .jaki-disclaimer {
    margin-top: 22px;
    padding: 16px 19px;
    color: #6c613e;
    background: #fff9e9;
    border: 1px solid #efe3bd;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.9;
}

    .jaki-page .jaki-disclaimer strong {
        color: #705316;
    }

/* TABLET */

@media (max-width: 900px) {
    .jaki-page {
        padding-top: 25px;
    }

        .jaki-page .jaki-container {
            width: calc(100% - 30px);
        }

        .jaki-page .jaki-product-card {
            grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
        }

        .jaki-page .jaki-product-visual {
            padding: 25px 18px;
        }

        .jaki-page .jaki-product-image {
            height: 300px;
        }

        .jaki-page .jaki-product-image-wrap {
            min-height: 280px;
        }

        .jaki-page .jaki-product-info {
            padding: 28px 23px;
        }

        .jaki-page .jaki-highlights {
            gap: 9px;
        }

        .jaki-page .jaki-highlight {
            gap: 8px;
            padding: 10px 9px;
        }

        .jaki-page .jaki-highlight-icon {
            flex-basis: 31px;
            width: 31px;
            height: 31px;
        }

        .jaki-page .jaki-highlight strong {
            font-size: 12px;
        }
}

/* MOBILE */

@media (max-width: 640px) {
    .jaki-page {
        padding: 16px 0 32px;
    }

        .jaki-page .jaki-container {
            width: calc(100% - 24px);
        }

        .jaki-page .jaki-product-card {
            grid-template-columns: minmax(0, 1fr);
            border-radius: 16px;
        }

        .jaki-page .jaki-product-visual {
            min-height: 0;
            padding: 34px 18px 17px;
            border-right: 0;
            border-bottom: 1px solid #edf0e7;
        }

        .jaki-page .jaki-image-badge {
            top: 13px;
            left: 13px;
            padding: 5px 11px;
            font-size: 11px;
        }

        .jaki-page .jaki-product-image-wrap {
            width: 100%;
            max-width: 310px;
            min-height: 0;
            margin-top: 14px;
        }

        .jaki-page .jaki-product-image {
            width: 100%;
            height: clamp(230px, 68vw, 330px);
        }

        .jaki-page .jaki-image-caption {
            margin-top: 7px;
            font-size: 12px;
        }

        .jaki-page .jaki-product-info {
            padding: 23px 18px 21px;
        }

        .jaki-page .jaki-product-title {
            margin-top: 7px;
            font-size: clamp(35px, 10vw, 46px);
        }

        .jaki-page .jaki-product-subtitle {
            font-size: 13px;
        }

        .jaki-page .jaki-product-description {
            margin: 12px 0 17px;
            font-size: 13px;
        }

        .jaki-page .jaki-highlights {
            gap: 9px;
        }

        .jaki-page .jaki-highlight {
            align-items: flex-start;
            padding: 11px 9px;
        }

        .jaki-page .jaki-highlight-icon {
            flex-basis: 29px;
            width: 29px;
            height: 29px;
            font-size: 15px;
        }

        .jaki-page .jaki-highlight-label {
            font-size: 10px;
        }

        .jaki-page .jaki-highlight strong {
            font-size: 11px;
            line-height: 1.7;
        }

        .jaki-page .jaki-product-note {
            margin-top: 15px;
            padding: 11px;
        }

        .jaki-page .jaki-details-button {
            width: 100%;
            margin-top: 16px;
        }

        .jaki-page .jaki-details-section {
            padding-top: 32px;
            scroll-margin-top: 72px;
        }

        .jaki-page .jaki-section-heading {
            margin-bottom: 20px;
        }

            .jaki-page .jaki-section-heading h2 {
                font-size: 22px;
                line-height: 1.7;
            }

            .jaki-page .jaki-section-heading p {
                font-size: 12px;
            }

        .jaki-page .jaki-table-card {
            margin-bottom: 17px;
            border-radius: 12px;
        }

        .jaki-page .jaki-table-heading {
            gap: 11px;
            padding: 15px 13px;
        }

        .jaki-page .jaki-table-number {
            flex-basis: 38px;
            width: 38px;
            height: 38px;
            border-radius: 10px;
            font-size: 12px;
        }

        .jaki-page .jaki-table-heading h3 {
            font-size: 15px;
            line-height: 1.7;
        }

        .jaki-page .jaki-table {
            font-size: 12px;
            line-height: 1.9;
        }

            .jaki-page .jaki-table th,
            .jaki-page .jaki-table td {
                padding: 12px 11px;
            }

                .jaki-page .jaki-table th:first-child,
                .jaki-page .jaki-table td:first-child {
                    width: 38%;
                    min-width: 120px;
                }

                .jaki-page .jaki-table th:last-child,
                .jaki-page .jaki-table td:last-child {
                    min-width: 220px;
                }

        .jaki-page .jaki-disclaimer {
            padding: 12px;
            font-size: 11px;
        }
}

/* EXTRA SMALL DEVICES */

@media (max-width: 360px) {
    .jaki-page .jaki-container {
        width: calc(100% - 16px);
    }

    .jaki-page .jaki-product-info {
        padding: 19px 12px;
    }

    .jaki-page .jaki-highlights {
        gap: 7px;
    }

    .jaki-page .jaki-highlight {
        gap: 6px;
        padding: 9px 7px;
    }

    .jaki-page .jaki-highlight-icon {
        flex-basis: 25px;
        width: 25px;
        height: 25px;
        font-size: 13px;
    }

    .jaki-page .jaki-highlight strong {
        font-size: 10px;
    }

    .jaki-page .jaki-table th,
    .jaki-page .jaki-table td {
        padding: 10px 9px;
    }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .jaki-page *,
    .jaki-page *::before,
    .jaki-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
