﻿/* BODY */
body {
    padding-top: 80px;
}

    body.modal-open {
        overflow: hidden;
    }

/* ACCORDION - Avir Aroma Theme */
.accordion-item {
    border: none;
    margin: 0 10px 10px;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
}

.accordion-button {
    background: linear-gradient(90deg, #fff7e3, #ffffff);
    color: #3b235f;
    font-weight: 800;
    font-size: 14px;
    padding: 13px 14px;
    border: 1px solid rgba(184,134,11,.25);
    box-shadow: 0 6px 18px rgba(59,35,95,.08);
}

    .accordion-button:not(.collapsed) {
        color: #ffd86b;
        background: linear-gradient(90deg, #3b235f, #6b3fa0);
        box-shadow: 0 8px 22px rgba(59,35,95,.22);
    }

    .accordion-button:focus {
        box-shadow: 0 0 0 3px rgba(255,216,107,.45);
    }

    .accordion-button::after {
        filter: sepia(1) saturate(4) hue-rotate(350deg);
    }

.accordion-collapse {
    background: #fffaf2;
}

/* MOBILE FIRST PRODUCT GRID */
.perfume-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 8px;
    background: linear-gradient(180deg, #fffaf2, #ffffff);
}

/* PRODUCT CARD */
.perfume-card {
    background: #ffffff;
    color: #3b235f;
    border-radius: 18px;
    padding: 8px;
    border: 1px solid rgba(184,134,11,.24);
    box-shadow: 0 8px 22px rgba(59,35,95,.10);
    overflow: hidden;
}

/* IMAGE */
.image-box {
    position: relative;
    background: linear-gradient(180deg, #fffaf2, #ffffff);
    border: 1px solid rgba(184,134,11,.22);
    border-radius: 16px;
    padding: 8px;
    margin-bottom: 9px;
    min-height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .image-box img {
        width: 100%;
        height: 130px;
        object-fit: contain;
        transition: transform .25s ease;
    }

    .image-box:active img {
        transform: scale(1.05);
    }

/* BADGES */
.badge-bestseller {
    position: absolute;
    top: 7px;
    left: 7px;
    background: linear-gradient(90deg, #b8860b, #ffd86b);
    color: #2b1748;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    padding: 4px 6px;
}

.badge-gender {
    position: absolute;
    bottom: 7px;
    left: 7px;
    background: #3b235f;
    color: #ffd86b;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    padding: 4px 6px;
}

.badge-top {
    position: absolute;
    top: 7px;
    right: 7px;
}

.rating {
    background: #fff;
    color: #3b235f;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    padding: 4px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

/* CARD CONTENT */
.perfume-title {
    color: #3b235f;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 4px;
    min-height: 34px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.desc {
    color: #6b5a42;
    font-size: 10px;
    line-height: 1.35;
    margin-bottom: 7px;
    min-height: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* PRICE */
.price-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 7px;
}

.mrp {
    color: #9a8d7a;
    text-decoration: line-through;
    font-size: 10px;
}

.price {
    color: #3b235f;
    font-size: 15px;
    font-weight: 900;
}

.discount {
    background: #fff3c4;
    color: #8a6500;
    padding: 3px 5px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
}

/* CHOOSE BUTTON */
.choose-btn {
    width: 100%;
    min-height: 38px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    border: none;
    background: linear-gradient(90deg, #b8860b, #ffd86b, #b8860b);
    color: #2b1748;
    box-shadow: 0 8px 18px rgba(184,134,11,.24);
    letter-spacing: .5px;
}

    .choose-btn:disabled {
        opacity: .55;
    }

/* COMING SOON */
.coming-soon-card {
    width: 100%;
    text-align: center;
    background: #f2ecdf;
    color: #7a6a50;
    border-radius: 999px;
    padding: 9px;
    font-size: 11px;
    font-weight: 900;
    margin: 7px 0;
}

/* FULL SCREEN PRODUCT MODAL */
.aa-product-modal {
    position: fixed;
    inset: 0;
    background: rgba(20, 10, 35, .60);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
}

    .aa-product-modal.show {
        opacity: 1;
        visibility: visible;
    }

/* MODAL SHEET */
.aa-modal-sheet {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #fffaf2, #ffffff);
    transform: translateY(100%);
    transition: transform .28s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.aa-product-modal.show .aa-modal-sheet {
    transform: translateY(0);
}

/* MODAL TOP BAR */
.aa-modal-topbar {
    flex: 0 0 58px;
    height: 58px;
    background: linear-gradient(90deg, #3b235f, #6b3fa0);
    color: #ffd86b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    box-shadow: 0 8px 22px rgba(59,35,95,.18);
    z-index: 5;
}

    .aa-modal-topbar h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 900;
        letter-spacing: .4px;
    }

.aa-modal-back,
.aa-modal-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,216,107,.35);
    background: rgba(255,255,255,.10);
    color: #ffd86b;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aa-modal-close {
    font-size: 28px;
}

/* MODAL SCROLL AREA */
.aa-modal-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px;
    padding-bottom: 120px;
}

/* MODAL PRODUCT */
.aa-modal-product {
    width: 100%;
}

.aa-modal-img-box {
    width: 100%;
    height: 280px;
    background: #ffffff;
    border: 1px solid rgba(184,134,11,.28);
    border-radius: 28px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 32px rgba(59,35,95,.10);
}

    .aa-modal-img-box img {
        width: 100%;
        height: 240px;
        object-fit: contain;
    }

.aa-modal-info {
    padding: 16px 2px 0;
}

    .aa-modal-info h3 {
        color: #3b235f;
        font-size: 22px;
        font-weight: 950;
        margin: 0 0 8px;
        line-height: 1.25;
    }

.aa-modal-desc {
    color: #6b5a42;
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 12px;
}

.aa-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

    .aa-modal-tags span {
        background: #ffffff;
        color: #3b235f;
        border: 1px solid rgba(184,134,11,.25);
        border-radius: 999px;
        padding: 7px 10px;
        font-size: 11px;
        font-weight: 900;
    }

/* MODAL PRICE */
.aa-modal-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
    background: #ffffff;
    border: 1px solid rgba(184,134,11,.20);
    border-radius: 20px;
    padding: 12px;
}

.modal-mrp {
    color: #9a8d7a;
    text-decoration: line-through;
    font-size: 13px;
}

.modal-selling {
    color: #3b235f;
    font-size: 25px;
    font-weight: 950;
}

.modal-off {
    background: #fff3c4;
    color: #8a6500;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

/* MODAL SIZE */
.modal-size-title {
    color: #3b235f;
    font-size: 15px;
    font-weight: 950;
    margin-bottom: 10px;
}

.modal-size-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.modal-size-btn {
    border: 1px solid rgba(184,134,11,.35);
    background: #ffffff;
    color: #3b235f;
    border-radius: 18px;
    padding: 12px 8px;
    min-height: 68px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(59,35,95,.07);
}

    .modal-size-btn strong {
        font-size: 15px;
        font-weight: 950;
    }

    .modal-size-btn small {
        color: #8b806e;
        font-size: 10px;
        text-decoration: line-through;
    }

    .modal-size-btn.active {
        background: linear-gradient(135deg, #3b235f, #6b3fa0);
        color: #ffd86b;
        border-color: #ffd86b;
        box-shadow: 0 10px 22px rgba(59,35,95,.25);
    }

        .modal-size-btn.active small {
            color: rgba(255,216,107,.8);
        }

    .modal-size-btn.in-cart {
        background: #e8f7dd;
        color: #227000;
    }

/* MODAL BOTTOM BUTTON */
.aa-modal-bottom {
    flex: 0 0 auto;
    background: #ffffff;
    border-top: 1px solid rgba(184,134,11,.22);
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 26px rgba(59,35,95,.14);
    z-index: 10;
}

.modal-add-btn,
.modal-remove-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    border: none;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: .4px;
}

.modal-add-btn {
    background: linear-gradient(90deg, #b8860b, #ffd86b, #b8860b);
    color: #2b1748;
    box-shadow: 0 10px 24px rgba(184,134,11,.32);
}

.modal-remove-btn {
    background: #3b235f;
    color: #ffd86b;
}

/* SMALL MOBILE */
@media (max-width: 360px) {
    .aa-modal-img-box {
        height: 240px;
    }

        .aa-modal-img-box img {
            height: 205px;
        }

    .aa-modal-info h3 {
        font-size: 19px;
    }

    .modal-size-btn {
        min-height: 62px;
    }
}

/* TABLET */
@media (min-width: 600px) {
    .perfume-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        padding: 14px;
    }

    .image-box img {
        height: 160px;
    }
}

/* DESKTOP */
@media (min-width: 768px) {
    .aa-product-modal {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 25px;
    }

    .aa-modal-sheet {
        max-width: 520px;
        height: 88vh;
        border-radius: 28px;
    }
}

@media (min-width: 992px) {
    .perfume-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .perfume-card {
        padding: 12px;
    }

    .perfume-title {
        font-size: 16px;
    }

    .desc {
        font-size: 13px;
    }

    .image-box img {
        height: 180px;
    }

    .choose-btn {
        min-height: 44px;
        font-size: 13px;
    }
}





/* CARD ACTION BUTTONS */
.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 8px;
}

.view-details-btn,
.choose-btn {
    width: 100%;
    min-height: 38px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .3px;
    border: none;
    white-space: nowrap;
}

.view-details-btn {
    background: #fffaf2;
    color: #3b235f;
    border: 1px solid rgba(184,134,11,.40);
}

.choose-btn {
    background: linear-gradient(90deg, #b8860b, #ffd86b, #b8860b);
    color: #2b1748;
    box-shadow: 0 8px 18px rgba(184,134,11,.24);
}

    .choose-btn:disabled {
        opacity: .55;
    }

@media (max-width: 360px) {
    .view-details-btn,
    .choose-btn {
        font-size: 9px;
        min-height: 36px;
    }
}