 /* --- MEESHO STYLE HEADER CSS --- */
    
    /* Search Bar Styling */
    .meesho-search-container {
        flex-grow: 1;
        max-width: 600px; /* Limit width on large screens */
        margin: 0 20px;
    }
    
    /* FIX: Make the form the reference point for the absolute icon */
    .meesho-search-container form {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
    }

    .meesho-search-input {
        width: 100%;
        height: 45px;
        border: 1px solid #999;
        border-radius: 4px;
        padding-left: 45px; /* Space for icon */
        padding-right: 15px;
        font-size: 14px;
        color: #333;
        outline: none;
        transition: border-color 0.3s ease;
    }
    .meesho-search-input:focus {
        border-color: #f43397; /* Meesho Pink/Purple brand color */
    }

    /* FIX: Vertical Centering for the Icon */
    .meesho-search-icon {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%); /* Perfectly center vertically */
        color: #999;
        width: 20px;
        height: 20px;
        pointer-events: none; /* Allows clicking through the icon to the input */
        z-index: 10;
    }

    /* Right Side Links */
    .header__right--links {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .header__text-link {
        font-size: 15px;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .header__text-link:hover {
        color: #f43397;
    }
    
    /* --- Button Style for Request Call Back --- */
    .header__text-link.btn-request {
        border: 1px solid #ccc;
        padding: 8px 15px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    .header__text-link.btn-request:hover {
        border-color: #f43397;
        background-color: #fff0f5; /* Light pink background on hover */
        color: #f43397;
    }

    .header__divider {
        height: 20px;
        width: 1px;
        background-color: #ccc;
    }

    /* Profile & Cart Icons (Icon Top, Text Bottom) */
    .header__icon-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #333;
        font-size: 12px;
        line-height: 1.2;
        position: relative;
    }
    .header__icon-item svg {
        width: 20px;
        height: 20px;
        margin-bottom: 4px;
        stroke-width: 2;
    }
    .header__icon-item:hover {
        color: #f43397;
    }
    .header__icon-item:hover svg {
        stroke: #f43397;
    }

    /* Bottom Nav Clean Style WITH ICONS */
    .header__bottom {
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        padding: 0;
    }
    .meesho-nav-list {
        display: flex;
        justify-content: space-between; /* Distribute evenly */
        padding: 0;
        margin: 0;
        list-style: none;
        overflow-x: auto; /* Scroll on mobile */
    }
    .meesho-nav-item {
        margin: 0;
        padding: 12px 15px;
    }
    .meesho-nav-link {
        font-size: 14px;
        color: #333;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
        display: flex;      /* Flex for icon alignment */
        align-items: center;
        gap: 8px;           /* Space between icon and text */
    }
    .meesho-nav-link svg {
        width: 18px;
        height: 18px;
        stroke-width: 1.5;
        color: #555;
    }
    .meesho-nav-link:hover {
        color: #f43397;
    }
    .meesho-nav-link:hover svg {
        stroke: #f43397;
        color: #f43397;
    }
    .meesho-nav-item:hover {
         border-bottom: 2px solid #f43397;
         margin-bottom: -2px; /* Prevent jump */
    }

    /* Mobile Adjustments */
    @media (max-width: 991px) {
        .meesho-search-container {
            display: none; /* Hide on mobile header */
        }
        .header__right--links .header__text-link, .header__divider {
            display: none; /* Hide extra links on mobile */
        }
    }/* =========================================
   1. HERO SLIDER (Centered Peek Style)
   ========================================= */
.hero-center-section {
    padding: 30px 0;
    background: #fff;
    overflow: hidden;
}

.hero-center-swiper {
    padding-bottom: 40px !important;
}

.hero-center-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: auto;
    transition: all 0.4s ease;
    opacity: 0.4;
    transform: scale(0.85);
    border-radius: 20px;
    overflow: hidden;
}

.hero-center-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 550px;
    object-fit: cover;
    display: block;
}

/* Text Overlay Styling for Center Slider */
.hero-center-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
    text-align: left;
    max-width: 500px;
    opacity: 0;
    transition: opacity 0.4s 0.2s;
}

.hero-center-swiper .swiper-slide-active .hero-center-content {
    opacity: 1;
}

.hero-title-small {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title-big {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    background: #fff;
    color: #222;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.hero-btn:hover {
    background: #2c105c;
    color: #fff;
}

.swiper-pagination-bullet-active {
    background-color: #2c105c !important;
    width: 20px !important;
    border-radius: 10px !important;
}

/* DESKTOP: Peek Effect */
@media (min-width: 992px) {
    .hero-center-swiper .swiper-slide {
        width: 75% !important;
    }

    .hero-center-section {
        padding: 50px 0;
    }
}

/* MOBILE: Full Width & Full Screen Height */
@media (max-width: 991px) {
    .hero-center-section {
        padding: 0 !important;
    }

    .hero-center-swiper {
        padding-bottom: 0 !important;
    }

    .hero-center-swiper .swiper-slide {
        width: 100% !important;
        transform: none !important;
        opacity: 1 !important;
        border-radius: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
    }

    .hero-slide-img {
        height: 85vh;
        min-height: 500px;
        object-fit: cover;
    }

    .hero-center-content {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        text-align: center;
    }

    .hero-title-big {
        font-size: 32px;
    }

    .swiper-pagination {
        bottom: 20px !important;
    }
}

/* =========================================
   2. CUSTOM CATEGORY GRID SECTION
   ========================================= */
.category-grid-section {
    padding: 30px 15px;
    background: #fff;
}

.cat-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (min-width: 768px) {
    .cat-grid-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.cat-item {
    text-align: center;
    margin-bottom: 15px;
    display: block;
    text-decoration: none;
}

.cat-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #f4f4f4;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cat-item:hover .cat-img-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-title {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

@media (min-width: 768px) {
    .cat-title {
        font-size: 14px;
    }
}

.view-all-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    background: #fff;
    height: 100%;
    width: 100%;
}

.view-all-count {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #8B4513;
    font-weight: 700;
}

.view-all-sub {
    font-size: 10px;
    color: #666;
    max-width: 80%;
    line-height: 1.2;
}

/* =========================================
   3. JEWELRY UI CARD
   ========================================= */
.jewel-card {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 15px;
    position: relative;
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
}

.jewel-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.jewel-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    background: #EBC80C;
    color: #222;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jewel-thumb {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
    background: #fbfbfb;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jewel-thumb img {
    max-width: 100%;
    transition: transform 0.5s ease;
}

.jewel-card:hover .jewel-thumb img {
    transform: scale(1.05);
}

.jewel-nav-arrows {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}

.jewel-card:hover .jewel-nav-arrows {
    opacity: 1;
}

.jewel-arrow-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: #333;
    cursor: pointer;
    transition: 0.2s;
}

.jewel-arrow-btn:hover {
    background: #f0f0f0;
}

.jewel-action-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a020f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.jewel-action-btn:hover {
    background: #a020f0;
    color: #fff;
    border-color: #a020f0;
}

.jewel-content {
    text-align: left;
}

.jewel-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.jewel-new-price {
    font-size: 18px;
    font-weight: 700;
    color: #3b1c68;
}

.jewel-old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.jewel-delivery-text {
    color: #d032c1;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.jewel-title {
    font-size: 14px;
    color: #777;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jewel-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.jewel-title a:hover {
    color: #3b1c68;
}

/* =========================================
   4. TRUST BADGE SECTION (Colored)
   ========================================= */
.trust-badge-section {
    background-color: #f9f9fc;
    padding: 20px 0;
    margin-bottom: 40px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.trust-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon-box {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-blue { background-color: #eef2ff; color: #4338ca; }
.icon-pink { background-color: #fdf2f8; color: #be185d; }
.icon-green { background-color: #f0fdf4; color: #15803d; }
.icon-yellow { background-color: #fefce8; color: #a16207; }

.trust-text {
    font-weight: 600;
    color: #2c105c;
    font-size: 15px;
}

/* =========================================
   5. INITIAL PENDANTS SPLIT SECTION
   ========================================= */
.initial-pendants-section {
    margin-bottom: 50px;
}

.initial-pendants-section .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.split-container {
    display: flex;
    flex-wrap: wrap;
    min-height: 420px;
    width: 100%;
}

.gift-banner {
    flex: 0 0 40%;
    max-width: 40%;
    background: #2b58de;
    position: relative;
    overflow: hidden;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.gift-banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.gift-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 88, 222, 0.3);
    z-index: 1;
}

.gift-text {
    position: relative;
    z-index: 2;
    max-width: 300px;
}

.gift-title {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gift-btn {
    background: #fff;
    color: #2b58de;
    padding: 12px 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gift-btn:hover {
    background: #f0f0f0;
    color: #1a3db0;
}

.floating-pendant {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 180px;
    height: auto;
    z-index: 2;
    transform: rotate(-10deg);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.gift-products {
    flex: 0 0 60%;
    max-width: 60%;
    background: linear-gradient(to right, #e0d4fc, #f3eafd);
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.gift-product-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.gift-product-grid::-webkit-scrollbar {
    display: none;
}

.mini-product-card {
    flex: 0 0 180px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.mini-product-card:hover {
    transform: translateY(-5px);
}

.mini-card-img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 8px;
}

.mini-card-price {
    font-weight: 700;
    color: #2c105c;
    display: block;
}

.mini-card-old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 5px;
}

.mini-card-title {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gift-controls {
    display: flex;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
}

.nav-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #4a1d96;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: none;
    transition: 0.2s;
}

.nav-circle-btn:hover {
    background: #4a1d96;
    color: #fff;
}

.view-collection-btn {
    margin-left: auto;
    background: #4a1d96;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.view-collection-btn:hover {
    background: #361270;
    color: #fff;
}

@media (max-width: 991px) {
    .gift-banner,
    .gift-products {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gift-banner {
        min-height: 250px;
    }
}

/* =========================================
   6. TRUST PROMISE STRIP (Gold Icons)
   ========================================= */
.trust-promise-section {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.trust-promise-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.trust-promise-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #555;
    font-size: 22px;
    position: relative;
    display: inline-block;
    padding: 0 30px;
    background: #fff;
    z-index: 1;
}

.trust-promise-divider {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    z-index: 0;
}

.trust-promise-title::before,
.trust-promise-title::after {
    content: '❖';
    color: #d4af37;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.trust-promise-title::before { left: 0; }
.trust-promise-title::after { right: 0; }

.promise-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: center;
}

.promise-item {
    flex: 1;
    min-width: 200px;
    padding: 10px;
}

.promise-icon {
    height: 60px;
    margin-bottom: 15px;
    fill: #a67c00;
    color: #a67c00;
}

.promise-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #2c105c;
}

/* =========================================
   7. PROMO CARDS SECTION (#GiftOfChoice)
   ========================================= */
.promo-cards-section {
    padding: 0 0 50px 0;
}

.promo-card-wrapper {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

.gift-choice-card {
    background-color: #f4ebeb;
    color: #5d2e2e;
    position: relative;
}

.gift-ribbon-v {
    position: absolute;
    left: 15%;
    top: 0;
    bottom: 0;
    width: 40px;
    background: #782b2b;
    z-index: 1;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.gift-ribbon-h {
    position: absolute;
    top: 70%;
    left: 0;
    right: 0;
    height: 40px;
    background: #782b2b;
    z-index: 1;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.gift-ribbon-knot {
    position: absolute;
    left: 15%;
    top: 70%;
    width: 60px;
    height: 60px;
    background: #963838;
    transform: translate(-16%, -16%) rotate(45deg);
    z-index: 2;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.gift-choice-content {
    position: relative;
    z-index: 3;
    margin-left: 25%;
}

.gift-hashtag {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #5d2e2e;
}

.gift-subtext {
    font-size: 16px;
    margin-bottom: 25px;
}

.gift-subtext strong {
    color: #a35d5d;
    font-weight: 700;
}

.btn-gift-explore {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #5d2e2e;
    border-radius: 30px;
    color: #5d2e2e;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    background: transparent;
}

.btn-gift-explore:hover {
    background: #5d2e2e;
    color: #fff;
}

/* Right Card: Exchange Old Gold */
.exchange-gold-card {
    background-color: #fffcf7;
    border: 1px solid #f5f0e6;
    border-radius: 30px;
    color: #2c105c;
    text-align: left;
    position: relative;
}

.exchange-gold-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed #d4af37;
    border-radius: 20px;
    pointer-events: none;
}

.exchange-logo {
    margin-bottom: 20px;
    width: 60px;
}

.exchange-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 15px;
    color: #2c105c;
}

.exchange-desc {
    font-size: 16px;
    margin-bottom: 30px;
    color: #444;
}

.btn-exchange-know {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #d4af37;
    border-radius: 30px;
    color: #2c105c;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    background: #fff;
}

.btn-exchange-know:hover {
    background: #d4af37;
    color: #fff;
}

/* =========================================
   8. DARK BLOG CARD DESIGN
   ========================================= */
.blog-card-dark {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    min-height: 420px;
}

.blog-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.blog-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-dark:hover .blog-card-img {
    transform: scale(1.08);
}

.blog-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date-separator {
    width: 30px;
    height: 2px;
    background-color: #e0542b;
    margin-bottom: 12px;
}

.blog-date-text {
    color: #e0542b;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.blog-title-dark {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
    margin-bottom: auto;
    margin-top: 0;
}

.blog-title-dark a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title-dark a:hover {
    color: #e0542b;
}

.blog-arrow-link {
    display: inline-block;
    margin-top: 20px;
}

.blog-arrow-icon {
    width: 28px;
    height: 28px;
    color: #ffffff;
    transition: transform 0.3s;
}

.blog-card-dark:hover .blog-arrow-icon {
    transform: translateX(10px);
}

/* =========================================
   9. POPUP MODAL CSS
   ========================================= */
#genModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 99999;
    padding: 20px;
}

#genModal.show {
    opacity: 1;
    pointer-events: auto;
}

#genBox {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    border: 2px solid black;
    border-radius: 16px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    scrollbar-width: thin;
}

#genModal.show #genBox {
    transform: translateY(0);
}

#genClose {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    transition: all 0.2s;
    line-height: 1;
    z-index: 10;
}

#genClose:hover {
    background: #2c105c;
    color: #fff;
    transform: rotate(90deg);
}

.gen-title {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #2c105c;
    font-weight: 700;
    margin-top: 10px;
}

.gen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gen-group {
    display: flex;
    flex-direction: column;
}

.gen-group label {
    font-size: 11px;
    color: #666;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gen-group.full {
    grid-column: span 2;
}

.gen-group input,
.gen-group select,
.gen-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    font-family: 'Jost', sans-serif;
}

.gen-group input:focus,
.gen-group select:focus,
.gen-group textarea:focus {
    outline: none;
    background-color: #fff;
    border-color: #2c105c;
    box-shadow: 0 0 0 4px rgba(44, 16, 92, 0.05);
}

.gen-btn {
    margin-top: 25px;
    width: 100%;
    padding: 14px;
    background: #2c105c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 16, 92, 0.2);
}

.gen-btn:hover {
    background: #3d167f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 16, 92, 0.3);
}

@media (max-width: 576px) {
    #genBox {
        width: 100%;
        padding: 25px;
    }

    .gen-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gen-group.full {
        grid-column: span 1;
    }
}