/* ==========================================================
       SMART PRODUCT CARD
    ========================================================== */

    .elite-product-card {
        display:flex;
        flex-direction:column;
        height:100%;
        overflow:hidden;
        border:1px solid #dedede;
        border-radius:10px;
        background:#fff;
        box-shadow:0 8px 24px rgba(0,0,0,.04);
        cursor:pointer;
        transition:
            transform .22s ease,
            box-shadow .22s ease,
            border-color .22s ease;
    }

    .elite-product-card:hover {
        transform:translateY(-4px);
        border-color:#d4d4d4;
        box-shadow:0 16px 32px rgba(0,0,0,.10);
    }

    .elite-product-image-link {
        display:block;
        text-decoration:none;
    }

    .elite-product-image {
        position:relative;
        min-height:316px;
        aspect-ratio:1 / 1;
        display:flex;
        align-items:center;
        justify-content:center;
        padding:22px;
        overflow:hidden;
        background:#fff;
    }

    .elite-product-image img {
        width:100%;
        height:100%;
        display:block;
        object-fit:contain;
        transition:transform .28s ease;
    }

    .elite-product-card:hover .elite-product-image img {
        transform:scale(1.03);
    }

    .elite-product-discount {
        position:absolute;
        top:14px;
        left:14px;
        z-index:2;
        padding:7px 10px;
        border-radius:5px;
        background:var(--elite-accent,#ff6a00);
        color:#fff;
        font-size:11px;
        letter-spacing:.3px;
    }

    .elite-product-content {
        display:flex;
        flex:1;
        flex-direction:column;
        padding:18px;
    }

    .elite-product-title {
        margin:0;
    }

    .elite-product-title a {
       color: #464444;
       text-decoration: none;
       font-size: 20px;
    }

    .elite-product-description {
        display:-webkit-box;
        min-height:60px;
        margin:10px 0 0;
        overflow:hidden;
        color:#606060;
        line-height:1.6;
		padding: 1px 2px;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:2;
    }

    .elite-product-pricing {
        display:flex;
        align-items:baseline;
        gap:10px;
        margin-top:16px;
    }

    .elite-product-pricing .product-price {
        color:#111;
        font-size:20px;
    }

    .elite-product-pricing .product-mrp {
        color:#e55608;
		font-size: 11px;
    }

    .elite-product-stock {
        display:inline-flex;
        align-items:center;
        gap:7px;
        width:max-content;
        margin-top:11px;
        padding:5px 8px;
        border-radius:999px;
        font-size:11px;
        font-weight:700;
    }

    .elite-product-stock-dot {
        width:7px;
        height:7px;
        border-radius:50%;
        background:currentColor;
    }

    .elite-stock-in {
        color:#087443;
        background:rgba(8,116,67,.08);
    }

    .elite-stock-low {
        color:#a25b00;
        background:rgba(162,91,0,.10);
    }

    .elite-stock-out {
        color:#b42318;
        background:rgba(180,35,24,.08);
    }

    .elite-product-actions {
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
        margin-top:auto;
        padding-top:18px;
    }

    .elite-product-button {
        min-height:35px;
        display:inline-flex;
        align-items:center;
        justify-content:center;
        padding:0 16px;
        border:1px solid var(--elite-accent,#ff6a00);
        border-radius:7px;
        background:#fff;
        color:var(--elite-accent,#ff6a00);
        font:inherit;
        font-size:11px;
        letter-spacing:.1px;
        cursor:pointer;
        box-shadow:0 4px 12px rgba(255,106,0,.08);
        transition:
            background .18s ease,
            color .18s ease,
            border-color .18s ease,
            transform .18s ease,
            box-shadow .18s ease;
    }

    .elite-product-button:hover:not(:disabled) {
        transform:translateY(-2px);
        background:var(--elite-accent,#ff6a00);
        color:#fff;
        box-shadow:0 8px 18px rgba(255,106,0,.18);
    }

    .elite-product-view-button {
        background:var(--elite-accent,#ff6a00);
        color:#fff;
    }

    .elite-product-view-button:hover:not(:disabled) {
        background:#e85f00;
        border-color:#e85f00;
    }

    .elite-product-cart-button {
        background:#fff;
        color:var(--elite-accent,#ff6a00);
    }

    .elite-product-cart-button:disabled {
        border-color:#d0d0d0;
        background:#efefef;
        color:#888;
        cursor:not-allowed;
        box-shadow:none;
    }

    /* ==========================================================
       PRODUCT MODAL
    ========================================================== */

    .elite-product-modal {
        position:fixed;
        inset:0;
        z-index:9999;
        display:none;
        align-items:center;
        justify-content:center;
        padding:24px;
    }

    .elite-product-modal.is-open {
        display:flex;
    }

    .elite-product-modal-backdrop {
        position:absolute;
        inset:0;
        background:rgba(0,0,0,.62);
        backdrop-filter:blur(4px);
    }

    .elite-product-modal-dialog {
        position:relative;
        z-index:1;
        display:grid;
        grid-template-columns:minmax(300px,42%) minmax(0,58%);
        width:min(100%,1000px);
        max-height:min(88vh,780px);
        overflow:hidden;
        border-radius:12px;
        background:#fff;
        box-shadow:0 24px 70px rgba(0,0,0,.30);
    }

    .elite-product-modal-close {
        position:absolute;
        top:12px;
        right:12px;
        z-index:3;
        width:40px;
        height:40px;
        border:0;
        border-radius:50%;
        background:rgba(17,17,17,.86);
        color:#fff;
        font-size:26px;
        line-height:1;
        cursor:pointer;
    }

    .elite-product-modal-media {
        min-height:520px;
        display:flex;
        align-items:center;
        justify-content:center;
        padding:34px;
        background:#f7f7f7;
    }

    .elite-product-modal-media img {
        width:100%;
        height:100%;
        max-height:560px;
        object-fit:contain;
    }

    .elite-product-modal-body {
        overflow:auto;
        padding:42px;
    }

    .elite-product-modal-body h2 {
        margin:8px 0 12px;
        color:#111;
        font-size:34px;
        line-height:1.1;
    }

    .elite-product-modal-price {
        color:#111;
        font-size:24px;
        font-weight:800;
    }

    .elite-product-modal-stock {
        margin-top:10px;
        font-size:13px;
        font-weight:700;
    }

    .elite-product-modal-summary {
        margin:18px 0 0;
        color:#555;
        line-height:1.7;
    }

    .elite-product-modal-section {
        margin-top:22px;
        padding-top:18px;
        border-top:1px solid #ececec;
    }

    .elite-product-modal-section h3 {
        margin:0 0 8px;
        color:#111;
        font-size:15px;
    }

    .elite-product-modal-section p {
        margin:0;
        color:#5c5c5c;
        line-height:1.7;
        white-space:pre-line;
    }

    .elite-product-modal-actions {
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
        margin-top:28px;
    }

    .elite-product-modal-button {
        min-height:50px;
        display:inline-flex;
        align-items:center;
        justify-content:center;
        padding:0 18px;
        border:1px solid var(--elite-accent,#ff6a00);
        border-radius:7px;
        background:#fff;
        color:var(--elite-accent,#ff6a00);
        text-decoration:none;
        cursor:pointer;
        transition:
            background .18s ease,
            color .18s ease,
            transform .18s ease,
            box-shadow .18s ease;
    }

    .elite-product-modal-button:hover {
        transform:translateY(-1px);
        background:var(--elite-accent,#ff6a00);
        color:#fff;
        box-shadow:0 8px 18px rgba(255,106,0,.18);
    }

    .elite-product-modal-view {
        background:var(--elite-accent,#ff6a00);
        color:#fff;
    }

    .elite-product-modal-cart {
        background:#fff;
        color:var(--elite-accent,#ff6a00);
    }

    .elite-product-cart-note {
        margin:12px 0 0;
        color:#a25b00;
        font-size:12px;
        line-height:1.5;
    }

    @media (max-width: 900px) {
        .elite-product-image {
            min-height:280px;
        }

        .elite-product-modal-dialog {
            grid-template-columns:1fr;
            max-height:90vh;
            overflow:auto;
        }

        .elite-product-modal-media {
            min-height:300px;
            max-height:380px;
        }

        .elite-product-modal-body {
            padding:26px;
        }

        .elite-product-modal-body h2 {
            font-size:28px;
        }
    }

    @media (max-width: 560px) {
        .elite-product-actions,
        .elite-product-modal-actions {
            grid-template-columns:1fr;
        }
    }

/* ==========================================================
   FINAL PRODUCT DETAILS POPUP
   Elite Fitness
========================================================== */

.elite-product-modal-dialog.elite-product-details-modal {
    width: min(1120px, calc(100vw - 40px));
    max-height: 90vh;
    display: grid;
    grid-template-columns: minmax(360px, 44%) minmax(0, 56%);
    overflow: hidden;
    border-radius: 16px;
}

.elite-product-details-modal .elite-product-modal-media {
    position: relative;
    min-height: 0;
    height: 90vh;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: #f7f7f7;
    overflow: hidden;
}

.elite-product-details-modal .elite-product-modal-image-frame {
    position: relative;
    width: min(100%, 460px);
    height: min(100%, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.elite-product-details-modal .elite-product-modal-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.elite-product-details-modal .elite-product-modal-brand {
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 5;
    width: 130px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: rgba(255,255,255,.96);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.elite-product-details-modal .elite-product-modal-brand img {
    display: block;
    width: auto;
    max-width: 108px;
    height: auto;
    max-height: 44px;
    object-fit: contain;
}

.elite-product-details-modal .elite-product-modal-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    max-width: calc(100% - 28px);
}

.elite-product-details-modal .elite-product-modal-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #1b1b1b;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

.elite-product-details-modal .elite-product-modal-title-line {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.elite-product-details-modal .elite-product-modal-title-line h2 {
    min-width: 0;
    margin: 0;
}

.elite-product-details-modal .elite-product-modal-discount {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 0 11px;
    border-radius: 6px;
    background: #ff6a00;
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
}

.elite-product-details-modal .elite-product-modal-meta {
    margin-top: 8px;
    color: #020202;
    font-size: 11px;
    line-height: 1.5;
}

.elite-product-details-modal .elite-product-modal-body {
    min-width: 0;
    min-height: 0;
    max-height: 90vh;
    padding: 28px 34px 26px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #b9b9b9 transparent;
}

.elite-product-details-modal .elite-product-modal-body::-webkit-scrollbar {
    width: 8px;
}

.elite-product-details-modal .elite-product-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.elite-product-details-modal .elite-product-modal-body::-webkit-scrollbar-thumb {
    background: #b9b9b9;
    border-radius: 999px;
}

.elite-product-details-modal .elite-product-modal-body::-webkit-scrollbar-thumb:hover {
    background: #8f8f8f;
}

.elite-product-details-modal .elite-product-modal-eyebrow {
    display: block;
    margin-bottom: 7px;
}

.elite-product-details-modal .elite-product-modal-heading-row {
    gap: 14px;
}

.elite-product-details-modal .elite-product-modal-stock {
    flex: 0 0 auto;
    margin-top: 0;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eaf6ef;
    color: #16834b;
    font-size: 11px;
    white-space: nowrap;
}

.elite-product-details-modal .elite-product-modal-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 13px;
}

.elite-product-details-modal .elite-product-modal-price {
    font-size: 24px;
    line-height: 1.15;
}

.elite-product-details-modal .elite-product-modal-mrp {
    color: #df5002;
    font-size: 12px;
    text-decoration: line-through;
}

.elite-product-details-modal .elite-product-modal-summary {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.65;
}

.elite-product-details-modal .elite-product-modal-section {
    margin-top: 18px;
    padding-top: 15px;
}

.elite-product-details-modal .elite-product-modal-section h3 {
    margin-bottom: 7px;
    font-size: 14px;
}

.elite-product-details-modal .elite-product-modal-section p {
    font-size: 13px;
    line-height: 1.65;
}

.elite-product-details-modal .elite-product-modal-share {
    position: absolute;
    left: 32px;
    bottom: 28px;
    z-index: 5;
    min-width: 136px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 0;
    border-radius: 7px;
    background: #06ab43;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 2px 2px 1px 0px rgb(104 104 104);
    transition: transform .18s ease, background .18s ease;
}

.elite-product-details-modal .elite-product-modal-share:hover {
    transform: translateY(-1px);
    background: #16a34a;
}

.elite-product-details-modal .elite-product-footer-actions {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
    padding-top: 12px;
    padding-bottom: 2px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 18px);
}

.elite-product-details-modal .elite-product-modal-footer-actions {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
    padding-bottom: 4px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 20px);
}

.elite-product-details-modal .elite-product-modal-cancel {
    background: #fff;
    color: var(--elite-accent, #ff6a00);
}

.elite-product-details-modal .elite-product-modal-cart {
    background: var(--elite-accent, #ff6a00);
    color: #fff;
}

.elite-product-details-modal .elite-product-modal-cart:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 900px) {
    .elite-product-modal-dialog.elite-product-details-modal {
        width: min(700px, calc(100vw - 24px));
        max-height: 92vh;
        grid-template-columns: 1fr;
    }

    .elite-product-details-modal .elite-product-modal-media {
        height: 300px;
        max-height: 300px;
        padding: 20px;
    }

    .elite-product-details-modal .elite-product-modal-body {
        max-height: calc(92vh - 300px);
        padding: 22px 22px 20px;
    }

    .elite-product-details-modal .elite-product-modal-brand {
        top: 18px;
        left: 18px;
    }

    .elite-product-details-modal .elite-product-modal-share {
        left: 20px;
        bottom: 18px;
    }
}

@media (max-width: 560px) {
    .elite-product-modal-dialog.elite-product-details-modal {
        width: calc(100vw - 14px);
        max-height: 94vh;
        border-radius: 12px;
    }

    .elite-product-details-modal .elite-product-modal-media {
        height: 225px;
        max-height: 225px;
    }

    .elite-product-details-modal .elite-product-modal-body {
        max-height: calc(94vh - 225px);
        padding: 20px 17px 18px;
    }

    .elite-product-details-modal .elite-product-modal-title-line {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .elite-product-details-modal .elite-product-modal-stock {
        margin-top: 8px;
    }

    .elite-product-details-modal .elite-product-modal-footer-actions {
        grid-template-columns: 1fr;
    }

    .elite-product-details-modal .elite-product-modal-share {
        min-width: 128px;
        min-height: 40px;
        left: 16px;
        bottom: 16px;
    }
}

/* ==========================================================
   PRODUCT TITLE + STOCK
========================================================== */

.elite-product-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 14px;
}

.elite-product-title-row .elite-product-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.elite-product-title-row .elite-product-stock {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}