body {
    font-family: "Inter", sans-serif;
}

/* Primary brand color */
:root {
    --brand-purple: #6c2bd9;
    --brand-purple-light: #8b5cf6;
    --brand-gradient: linear-gradient(135deg, #6c2bd9 0%, #8b5cf6 100%);
}

.text-brand {
    color: var(--brand-purple) !important;
}

.bg-brand {
    background: var(--brand-gradient) !important;
}

.btn-brand {
    background: var(--brand-gradient);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-weight: 600;
    padding: 10px 26px;
}

.btn-brand:hover,
.hero-primary-btn:hover {
    opacity: 0.9;
    color: #fff;
}

.btn-outline-brand {
    border: 2px solid var(--brand-purple);
    color: var(--brand-purple);
    border-radius: 30px;
    font-weight: 600;
    background: transparent;
    padding: 9px 26px;
}

.btn-outline-brand:hover {
    background: var(--brand-purple);
    color: #fff;
}

/* Mobile bottom nav */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    z-index: 1050;
    padding: 8px 0 4px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991.98px) {
    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }
}

.mobile-bottom-nav a {
    flex: 1;
    text-align: center;
    font-size: 11px;
    color: #6b7280;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: color 0.2s;
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover {
    color: var(--brand-purple);
}

.mobile-bottom-nav a i {
    font-size: 18px;
}

/* Navbar tweaks */
.navbar-brand-logo {
    height: 32px;
    width: auto;
}

.navbar .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #374151 !important;
}

.navbar .nav-link:hover {
    color: var(--brand-purple) !important;
}

/* Section spacing */
section {
    padding: 60px 0;
}

/* =========================================================
   HERO SECTION
========================================================= */

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 30px 0 45px;
    background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 45%, #f5f3ff 100%);
}

/* Main heading */

.hero-title {
    font-size: clamp(2.35rem, 4.2vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -1.5px;
    font-weight: 700;
    color: #17204f;
    margin-bottom: 22px;
}

.hero-title .highlight {
    color: var(--brand-purple);
}

/* Feature row */

.hero-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    margin-bottom: 17px;
}

.hero-feature {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #30334b;
    font-size: 14px;
    white-space: nowrap;
}

.hero-feature i {
    font-size: 11px;
    color: #4b5563;
}

/* Description */

.hero-description {
    max-width: 420px;
    color: #555b72;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
}

/* Buttons */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-primary-btn {
    min-height: 42px;
    padding: 10px 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, #6c2bd9 0%, #8b5cf6 100%);
    color: #fff;
    border: 0;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(108, 43, 217, 0.18);
    display: flex;
    align-items: center;
}

.hero-primary-btn:hover {
    color: #fff;
    transform: translateY(-1px);
}

.hero-demo-btn {
    min-height: 42px;
    padding: 9px 19px;
    border-radius: 6px;
    border: 1px solid #252538;
    background: transparent;
    color: #202033;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.hero-demo-btn:hover {
    background: #fff;
}

/* =========================================================
   REVIEWS
========================================================= */

.hero-social-proof {
    display: flex;
    gap: 14px;
}

.hero-review-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Stars ABOVE avatars */

.hero-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.hero-rating i {
    color: #ffb800;
    font-size: 14px;
}

.hero-rating-text {
    margin-left: 7px;
    font-size: 14px;
    color: #4b5563;
}

.hero-rating-text strong {
    color: #111827;
}

/* Avatar row */

.hero-avatars {
    display: flex;
    align-items: center;
}

.hero-avatars img {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    margin-left: -7px;
}

.hero-avatars img:first-child {
    margin-left: 0;
}

/* Trusted text */

.hero-trusted {
    border-left: 1px solid #d6d6df;
    padding-left: 14px;
    line-height: 1.35;
}

.hero-trusted strong {
    display: block;
    color: #171725;
    font-size: 14px;
}

.hero-trusted span {
    display: block;
    color: #555b72;
    font-size: 14px;
}

/* =========================================================
   RIGHT HERO MOCKUP - LARGER / REFERENCE MATCH
========================================================= */

.hero-visual {
    position: relative;
    width: calc(100% + 35px);
    max-width: 610px;
    margin-left: auto;
    margin-right: -5px;
    padding-bottom: 62px;
}

/* =========================================================
   MAIN MOCKUP
========================================================= */

.hero-process {
    width: 100%;
    min-height: 385px;

    padding: 16px 20px 28px;

    border: 1px solid rgba(108, 43, 217, 0.1);
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.38);

    box-shadow: 0 10px 35px rgba(40, 30, 90, 0.06);

    box-sizing: border-box;
}

/* =========================================================
   TOP UPLOAD / GENERATE / DOWNLOAD
========================================================= */

.process-tabs {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 8px;
    margin-bottom: 18px;
}

.process-tab {
    width: 120px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border: 0;
    border-radius: 6px;

    background: rgba(255, 255, 255, 0.68);

    color: #272735;

    font-size: 12px;
    font-weight: 600;

    padding: 0;

    white-space: nowrap;

    box-sizing: border-box;
}

/* proper circular numbered icon */

.process-tab-number {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1.2px solid #777984;
    border-radius: 50%;

    color: #3c3d47;

    font-size: 12px;
    font-weight: 600;

    line-height: 1;

    box-sizing: border-box;
}

.process-tab.active {
    background: #6c2bd9;
    color: #fff;

    box-shadow: 0 5px 15px rgba(108, 43, 217, 0.22);
}

.process-tab.active .process-tab-number {
    border-color: rgba(255, 255, 255, 0.95);
    color: #fff;
}

/* =========================================================
   PRODUCT -> AI -> PHONE
========================================================= */

.process-flow {
    width: 100%;

    display: grid;

    grid-template-columns: 135px 32px 175px 32px 120px;

    align-items: center;
    justify-content: center;

    column-gap: 0;
}

/* =========================================================
   PRODUCT CARD
========================================================= */

.product-column {
    text-align: center;
}

.product-card {
    width: 135px;
    height: 270px;

    padding: 0;

    display: block;

    background: #fff;

    border: 1px solid #ededed;
    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);

    box-sizing: border-box;
}

.product-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    border-radius: 0;
}

/* =========================================================
   ARROWS
========================================================= */

.process-arrow {
    width: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #6c2bd9;

    font-size: 21px;
}

/* =========================================================
   AI PHOTO
========================================================= */

.ai-photo-card {
    width: 175px;
    height: 270px;

    overflow: hidden;

    background: #eee;

    border-radius: 9px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
}

.ai-photo-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* =========================================================
   PHONE REEL
========================================================= */

.reel-phone {
    position: relative;

    width: 120px;
    height: 270px;

    overflow: hidden;

    background: #111;

    border: 5px solid #111;
    border-radius: 17px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);

    box-sizing: border-box;
}

.reel-phone video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* =========================================================
   DECORATIVE PLAY ICON
   NOT CLICKABLE
========================================================= */

.reel-play-icon {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    font-size: 15px;

    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);

    pointer-events: none;
}

/* =========================================================
   CLICKABLE PLAY / PAUSE BUTTONS (Reel Phone)
========================================================= */

.reel-phone .reel-play-button,
.reel-phone .reel-pause-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 50%;

    color: #fff;
    font-size: 16px;

    cursor: pointer;
    z-index: 3;
}

/* Default state: video autoplays, so show PAUSE, hide PLAY */
.reel-phone .reel-play-button {
    display: none;
}

.reel-phone .reel-pause-button {
    display: flex;
}

/* When is-playing is removed (video paused), flip it */
.reel-phone:not(.is-playing) .reel-play-button {
    display: flex;
}

.reel-phone:not(.is-playing) .reel-pause-button {
    display: none;
}

/* =========================================================
   REEL LABEL
========================================================= */

.reel-label {
    position: absolute;

    left: 7px;
    bottom: 7px;

    display: flex;
    align-items: center;
    gap: 4px;

    padding: 3px 6px;

    border-radius: 4px;

    background: rgba(0, 0, 0, 0.55);

    color: #fff;

    font-size: 8px;
    font-weight: 600;
}

.reel-label i {
    font-size: 7px;
}

/* =========================================================
   SOCIAL ICONS
========================================================= */

.reel-actions {
    position: absolute;

    right: 6px;
    bottom: 35px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;

    color: #fff;

    font-size: 13px;

    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* =========================================================
   STATS BAR
========================================================= */

.hero-stats {
    position: absolute;

    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    z-index: 10;

    width: calc(100% + 35px);

    min-height: 82px;

    padding: 16px 22px;

    background: #ffffff;

    border-radius: 18px;

    box-shadow: 0 16px 40px rgba(50, 35, 90, 0.15);

    box-sizing: border-box;
}

.hero-stats-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hero-stat {
    position: relative;

    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;
}

.hero-stat:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;
    top: 7px;
    bottom: 7px;

    width: 1px;

    background: #e4e4e9;
}

/* =========================================================
   STATS CONTENT - LARGER
========================================================= */

.hero-stat-icon {
    flex: 0 0 auto;

    color: #6c2bd9;

    font-size: 22px;
}

.hero-stat-content {
    text-align: left;
}

.hero-stat-title {
    margin: 0;

    color: #252531;

    font-size: 14px;
    line-height: 1.2;

    font-weight: 700;
}

.hero-stat-subtitle {
    margin: 3px 0 0;

    color: #777985;

    font-size: 12px;
    line-height: 1.2;

    font-weight: 400;
}

.platform-section {
    width: 100%;
    padding: 28px 0 0;
    background: #faf5ff;
}

.platform-card {
    width: 100%;

    min-height: 125px;

    padding: 22px 32px 24px;

    background: #fff;

    border: 1px solid #eeeef3;
    border-radius: 13px;

    box-shadow: 0 5px 20px rgba(30, 27, 75, 0.06);

    box-sizing: border-box;
}

/* Heading */

.platform-title {
    margin: 0 0 25px;

    text-align: center;

    color: #30303b;

    font-size: 16px;
    line-height: 1.3;

    font-weight: 600;
}

/* Logos */

.platform-logos {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 35px;
}

.platform-logo {
    flex: 1;

    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-logo img {
    display: block;

    max-width: 135px;
    max-height: 34px;

    width: auto;
    height: auto;

    object-fit: contain;
}

.platform-more {
    flex: 0 0 auto;

    color: #555560;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;
}

/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1400px) {
    .hero-visual {
        width: calc(100% + 45px);
        max-width: 625px;
        margin-right: -15px;
    }

    .hero-process {
        padding-left: 22px;
        padding-right: 22px;
    }
}

/* =========================================================
   1200 - 1399
========================================================= */

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .hero-visual {
        width: calc(100% + 25px);
        max-width: 590px;
    }

    .process-flow {
        grid-template-columns: 130px 29px 165px 29px 115px;
    }

    .product-card {
        width: 130px;
        height: 260px;
    }

    .ai-photo-card {
        width: 165px;
        height: 260px;
    }

    .process-arrow {
        width: 29px;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-visual {
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: 0;
    }

    .hero-process {
        padding-left: 10px;
        padding-right: 10px;
    }

    .process-tabs {
        gap: 5px;
    }

    .process-tab {
        width: 105px;
    }

    .process-flow {
        grid-template-columns: 110px 22px 145px 22px 100px;
    }

    .product-card {
        width: 110px;
        height: 235px;
    }

    .ai-photo-card {
        width: 145px;
        height: 235px;
    }

    .reel-phone {
        width: 100px;
        height: 235px;
    }

    .process-arrow {
        width: 22px;
        font-size: 18px;
    }

    .hero-stats {
        width: calc(100% + 20px);
    }

    .platform-section {
        padding: 24px 0 28px;
    }

    .platform-card {
        min-height: 115px;

        padding: 20px 24px;
    }

    .platform-title {
        margin-bottom: 17px;
    }

    .platform-logos {
        gap: 20px;
    }

    .platform-logo {
        height: 35px;
    }

    .platform-logo img {
        max-width: 110px;
        max-height: 29px;
    }

    .vs-section .vs-card {
        padding: 22px 24px;
    }

    .vs-jewelgen-content {
        width: 50%;
    }

    .vs-jewelgen-images {
        width: 50%;
    }

    .vs-main-image {
        right: 55px;
        width: 135px;
        height: 215px;
    }

    .vs-small-image {
        width: 55px;
        height: 55px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991.98px) {
    .hero-visual {
        width: 100%;
        max-width: 620px;
        margin: 20px auto 0;
    }

    .platform-section {
        padding: 10px 0;
    }

    .platform-card {
        padding: 14px 14px 16px;

        border-radius: 12px;
    }

    .platform-title {
        margin-bottom: 12px;
    }

    .platform-logos {
        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 15px 10px;
    }

    .platform-logo {
        height: 28px;
    }

    .platform-logo img {
        max-width: 85px;
        max-height: 24px;
    }

    .platform-more {
        text-align: center;
    }

    .vs-section {
        padding: 35px 0 45px;
    }

    .vs-section .vs-card {
        min-height: 260px;
    }

    .vs-jewelgen {
        min-height: 300px !important;
    }

    .vs-jewelgen-content {
        width: 48%;
    }

    .vs-jewelgen-images {
        width: 52%;
    }

    /* Move VS badge between vertically stacked cards */

    .vs-center-badge {
        top: 50%;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {
    .hero-visual {
        width: 100%;
        max-width: 100%;
        margin: 15px auto 0;

        padding-bottom: 95px;
    }

    .hero-process {
        padding: 12px 6px 20px;
        border-radius: 15px;

        min-height: auto;
    }

    .process-tabs {
        gap: 3px;
        margin-bottom: 14px;
    }

    .process-tab {
        width: auto;
        min-width: 0;
        flex: 1;

        height: 32px;

        gap: 5px;
    }

    .process-tab-number {
        width: 14px;
        height: 14px;
        flex-basis: 14px;

        font-size: 8px;
    }

    .process-flow {
        grid-template-columns: minmax(65px, 1fr) 15px minmax(
                90px,
                1.3fr
            ) 15px minmax(65px, 0.9fr);
    }

    .product-card {
        width: 100%;
        height: 185px;
    }

    .ai-photo-card {
        width: 100%;
        height: 185px;
    }

    .reel-phone {
        width: 100%;
        height: 185px;

        border-width: 3px;
        border-radius: 13px;
    }

    .process-arrow {
        width: 15px;
        font-size: 14px;
    }

    .reel-actions {
        right: 4px;
        bottom: 27px;

        gap: 8px;
        font-size: 9px;
    }

    .reel-label {
        left: 4px;
        bottom: 4px;

        font-size: 6px;
        padding: 2px 4px;
    }

    .reel-play-icon {
        width: 30px;
        height: 30px;

        font-size: 10px;
    }

    /* Stats on mobile */

    .hero-stat {
        min-height: 55px;
        gap: 7px;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stat {
        min-height: 48px;
    }

    .hero-stat:nth-child(1),
    .hero-stat:nth-child(2) {
        border-bottom: 1px solid #e5e5e9;
    }

    .hero-stat:nth-child(2)::after,
    .hero-stat:nth-child(4)::after {
        display: none;
    }

    .hero-stat-icon {
        font-size: 18px;
    }

    .vs-section {
        padding: 30px 0 40px;
    }

    .vs-section .vs-card {
        padding: 20px;
        min-height: 250px;
    }

    .vs-title {
        font-size: 16px;
    }

    .vs-list-item {
        font-size: 12px;
    }

    .vs-jewelgen {
        display: block;
        min-height: 300px !important;
    }

    .vs-jewelgen-content {
        width: 100%;
    }

    .vs-jewelgen-images {
        width: 100%;
        height: 190px;
        margin-top: 15px;
    }

    .vs-main-image {
        right: 65px;
        width: 120px;
        height: 180px;
    }

    .vs-small-image {
        width: 50px;
        height: 50px;
    }

    .vs-small-one {
        right: 5px;
        top: 15px;
    }

    .vs-small-two {
        right: 0;
        bottom: 15px;
    }

    .vs-image-arrow {
        left: 15px;
        font-size: 22px;
    }

    /*
       On mobile VS should sit between
       the two stacked cards.
    */
    .vs-center-badge {
        top: 50%;
    }

    .vs-section .vs-badge {
        width: 52px;
        height: 52px;
        font-size: 16px;
    }
}

/* =========================================================
   FINAL MOBILE HERO FIX
========================================================= */

@media (max-width: 767.98px) {
    /* HERO */
    .hero-section {
        padding: 28px 0 90px;
        overflow-x: hidden;
    }

    .hero-section > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* =====================================================
       LEFT CONTENT
    ===================================================== */

    .hero-title {
        font-size: 2rem;
        line-height: 1.08;
        letter-spacing: -0.8px;
        margin-bottom: 18px;
    }

    .hero-features {
        gap: 7px 15px;
        margin-bottom: 15px;
    }

    .hero-description {
        max-width: 100%;
        margin-bottom: 18px;
    }

    .hero-actions {
        gap: 8px;
        margin-bottom: 18px;
    }

    .hero-primary-btn,
    .hero-demo-btn {
        min-height: 40px;
        padding: 9px 13px;
        line-height: normal;
    }

    /* =====================================================
       REVIEWS
    ===================================================== */

    .hero-social-proof {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .hero-rating i {
        font-size: 12px;
    }

    .hero-avatars img {
        width: 26px;
        height: 26px;
    }

    .hero-trusted {
        padding-left: 0px;
        border: 0;
    }

    /* =====================================================
       RIGHT MOCKUP
    ===================================================== */

    .hero-visual {
        width: 100%;
        max-width: 100%;
        margin: 0px auto 0;
        padding-bottom: 92px;
    }

    .hero-process {
        width: 100%;

        min-height: auto;

        padding: 12px 8px 18px;

        border-radius: 15px;
    }

    /* =====================================================
       TOP TABS
    ===================================================== */

    .process-tabs {
        width: 100%;

        gap: 5px;

        margin-bottom: 14px;
    }

    .process-tab {
        width: auto;
        min-width: 0;

        flex: 1;

        height: 34px;

        gap: 5px;

        border-radius: 6px;
    }

    /* =====================================================
       PRODUCT / PHOTO / PHONE
    ===================================================== */

    .process-flow {
        width: 100%;

        display: grid;

        grid-template-columns: minmax(0, 1fr) 18px minmax(
                0,
                1.25fr
            ) 18px minmax(0, 0.85fr);

        align-items: center;
    }

    .product-label {
        font-size: 9px;
        margin-bottom: 6px;
    }

    .product-card {
        width: 100%;
        height: 190px;

        padding: 0;

        border-radius: 8px;
    }

    .product-card img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;
    }

    .ai-photo-card {
        width: 100%;
        height: 190px;

        border-radius: 8px;
    }

    .reel-phone {
        width: 100%;
        height: 190px;

        border-width: 3px;
        border-radius: 13px;
    }

    .process-arrow {
        width: 18px;
        font-size: 15px;
    }

    /* =====================================================
       REEL
    ===================================================== */

    .reel-play-icon {
        width: 28px;
        height: 28px;

        font-size: 10px;
    }

    .reel-actions {
        right: 4px;
        bottom: 28px;

        gap: 8px;

        font-size: 9px;
    }

    .reel-label {
        left: 4px;
        bottom: 4px;

        font-size: 6px;
    }

    /* =====================================================
       STATS CARD
    ===================================================== */

    .hero-stats {
        left: 50%;
        bottom: -25px;

        width: 100%;

        min-height: 90px;

        padding: 8px 5px;

        border-radius: 13px;
    }

    .hero-stats-grid {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stat {
        min-height: 38px;

        gap: 6px;

        justify-content: center;
        align-items: flex-start;
    }

    .hero-stat-icon {
        font-size: 16px;
    }

    .hero-stat:nth-child(1),
    .hero-stat:nth-child(2) {
        border-bottom: 1px solid #e5e5e9;
        padding-bottom: 10px;
    }

    .hero-stat:nth-child(2)::after,
    .hero-stat:nth-child(4)::after {
        display: none;
    }
}

/* Stats bar */
.stats-bar {
    background: #f9fafb;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-purple);
}

/* Trusted by logos */
.brand-logos img {
    height: 28px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
}

.brand-logos img:hover {
    filter: none;
    opacity: 1;
}

/* =========================================================
   VS COMPARISON
========================================================= */

.vs-section {
    position: relative;
    padding: 23px 0 55px;
    background: #faf5ff;
}
.vs-section .container {
    position: relative;
}

/* =========================================================
   COMMON CARD
========================================================= */

.vs-section .vs-card {
    position: relative;

    min-height: 305px;

    padding: 28px 40px;

    border-radius: 15px;

    border: 1px solid #e5e7eb;

    overflow: hidden;

    box-shadow: 0 5px 20px rgba(40, 30, 90, 0.05);
}

/* =========================================================
   LEFT CARD
========================================================= */

.vs-traditional {
    background: linear-gradient(135deg, #fffafa 0%, #fff6f6 100%);

    border-color: #f2d4d4 !important;
}

/* =========================================================
   RIGHT CARD
========================================================= */

.vs-jewelgen {
    display: flex;
    align-items: flex-start;

    background: linear-gradient(135deg, #fbf8ff 0%, #f5efff 100%);

    border-color: #dfcef7 !important;

    padding: 25px 22px 25px 30px !important;
}

/* =========================================================
   TITLE
========================================================= */

.vs-title {
    margin: 0 0 22px;

    font-size: 20px;
    line-height: 1.3;

    font-weight: 700;
}

.vs-traditional .vs-title {
    color: #c62828;
}

.vs-jewelgen .vs-title {
    color: var(--brand-purple);
}

/* =========================================================
   LIST
========================================================= */

.vs-list {
    display: flex;
    flex-direction: column;

    gap: 11px;
}

.vs-list-item {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #30313d;

    font-size: 15px;
    line-height: 1.4;

    font-weight: 500;
}

.vs-list-item i {
    flex: 0 0 auto;

    font-size: 15px;
}

.vs-traditional .vs-list-item i {
    color: #ef3030;
}

.vs-jewelgen .vs-list-item i {
    color: var(--brand-purple);
}

/* =========================================================
   COST
========================================================= */

.vs-cost {
    margin-top: 22px;

    color: #d62828;

    font-size: 18px;
    font-weight: 800;
}

/* =========================================================
   JEWELGEN TEXT
========================================================= */

.vs-jewelgen-content {
    position: relative;

    width: 52%;

    z-index: 5;
    padding-top: 0;
}

/* =========================================================
   ONE RIGHT IMAGE
========================================================= */

.vs-jewelgen-image {
    width: 48%;
    flex: 0 1 48%;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    padding: 0;
}

.vs-jewelgen-image img {
    display: block;
    width: 100%;
    height: auto;

    object-fit: contain;

    border-radius: 9px;
}

/* =========================================================
   VS BADGE
========================================================= */

.vs-center-badge {
    position: absolute;
    top: 50%;
    left: 33%;
    transform: translate(-50%, -50%);
    z-index: 50;
    pointer-events: none;
}

.vs-section .vs-badge {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;
    color: var(--brand-purple);

    border: 2px solid #e6d8fa;

    box-shadow: 0 5px 20px rgba(108, 43, 217, 0.18);

    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

/* =========================================================
   TABLET
========================================================= */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .vs-section .vs-card {
        padding: 25px 24px;
    }

    .vs-title {
        font-size: 18px;
    }

    .vs-list-item {
        font-size: 14px;
    }

    .vs-jewelgen-content {
        width: 52%;
    }

    .vs-jewelgen-image {
        width: 48%;
    }

    .vs-jewelgen-image img {
        width: 100%;
        max-width: 280px;
        height: auto;
        object-fit: contain;
    }

    /*
       Bootstrap container at this size is 960px.
       col-lg-4 = 320px.
    */
    /* .vs-center-badge {
        left: calc(50% - 320px);
    } */
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991.98px) {
    .vs-section {
        padding: 35px 0 45px;
    }

    .vs-section .vs-card {
        min-height: 285px;
    }

    /*
       Cards become stacked on mobile,
       so VS should be hidden here rather than
       floating in a random position.
    */
    .vs-center-badge {
        display: none;
    }

    .vs-jewelgen {
        display: flex;
    }

    .vs-title {
        font-size: 19px;
    }

    .vs-list-item {
        font-size: 14px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {
    .vs-section {
        padding: 30px 0 40px;
    }

    .vs-section .vs-card {
        padding: 22px 20px !important;

        min-height: 270px;
    }

    .vs-title {
        font-size: 18px;
    }

    .vs-list {
        gap: 10px;
    }

    .vs-list-item {
        font-size: 13px;
    }

    .vs-cost {
        font-size: 17px;
    }

    .vs-jewelgen {
        display: block;
    }

    .vs-jewelgen-content {
        width: 100%;
    }

    .vs-jewelgen-image {
        width: 100%;
        margin-top: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .vs-jewelgen-image img {
        width: 100%;
        max-width: 320px;
        height: auto;
        object-fit: contain;
    }
}

/* =========================================================
   HOW IT WORKS
========================================================= */

.hiw-section {
    background: #ffffff;
    padding: 20px 0 55px;
}

.hiw-heading {
    margin: 0 0 25px;
    text-align: center;
    color: #17172b;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.hiw-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
}

.hiw-card {
    position: relative;

    width: 450px;
    height: 182px;

    padding: 21px 18px 15px;

    background: #ffffff;

    border: 2px solid #e6d8ff;
    border-radius: 11px;

    box-sizing: border-box;
}

.hiw-number {
    position: absolute;

    top: -16px;
    left: 50%;

    transform: translateX(-50%);

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #5d2bd5;

    color: #ffffff;

    border-radius: 50%;

    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;

    line-height: 1;

    box-shadow: 0 1px 4px rgba(93, 43, 213, 0.2);

    z-index: 5;
}

.hiw-step-content {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;

    gap: 18px;
}

.hiw-step-image {
    flex: 0 0 135px;

    width: 175px;
    height: 150px;

    overflow: hidden;

    border-radius: 8px;

    background: #f5f5f5;
}

.hiw-step-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hiw-text {
    flex: 1;

    min-width: 0;
}

.hiw-text h3 {
    margin: 0 0 12px;
    color: #5824d6;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.hiw-text p {
    margin: 0;

    color: #444452;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;

    line-height: normal;
}

.hiw-style-images {
    flex: 0 0 135px;

    width: 135px;
}

/* Main model */

.hiw-main-style-image {
    width: 135px;
    height: 82px;

    overflow: hidden;

    border-radius: 7px;

    background: #eee;
}

.hiw-main-style-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hiw-style-thumbnails {
    display: flex;

    gap: 4px;

    margin-top: 5px;
}

.hiw-style-thumbnails img {
    display: block;

    width: 40px;
    height: 48px;

    object-fit: cover;

    border-radius: 5px;
}

.hiw-phone-image {
    width: 110px;
    height: 156px;

    flex-basis: 110px;

    border-radius: 7px;
}

.hiw-phone-image img {
    object-fit: cover;
}

.hiw-arrow {
    width: 28px;

    flex: 0 0 28px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hiw-arrow i {
    color: #5b25d7;

    font-size: 20px;

    font-weight: 600;
}

@media (min-width: 1200px) {
    .hiw-wrapper {
        gap: 0;
    }

    .hiw-card {
        width: 450px;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (min-width: 768px) and (max-width: 1199.98px) {
    .hiw-card {
        width: 31%;
        height: 175px;

        padding: 20px 12px 14px;
    }

    .hiw-step-content {
        gap: 12px;
    }

    .hiw-step-image {
        flex-basis: 105px;
        width: 105px;
        height: 125px;
    }

    .hiw-style-images {
        flex-basis: 105px;
        width: 105px;
    }

    .hiw-main-style-image {
        width: 105px;
        height: 70px;
    }

    .hiw-style-thumbnails img {
        width: 31px;
        height: 40px;
    }

    .hiw-phone-image {
        flex-basis: 85px;
        width: 85px;
        height: 130px;
    }

    .hiw-arrow {
        width: 22px;
        flex-basis: 22px;
    }

    .hiw-arrow i {
        font-size: 16px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {
    .hiw-section {
        padding: 40px 0 45px;
    }

    .hiw-heading {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .hiw-wrapper {
        display: flex;
        flex-direction: column;

        gap: 28px;
    }

    .hiw-card {
        width: 100%;
        max-width: 390px;

        height: 170px;
    }

    .hiw-arrow {
        width: 100%;
        height: 18px;
        flex-basis: 18px;

        transform: rotate(90deg);
    }

    .hiw-step-image {
        flex-basis: 115px;
        width: 115px;
        height: 130px;
    }

    .hiw-style-images {
        flex-basis: 115px;
        width: 115px;
    }

    .hiw-main-style-image {
        width: 115px;
        height: 72px;
    }

    .hiw-style-thumbnails img {
        width: 34px;
        height: 42px;
    }

    .hiw-phone-image {
        flex-basis: 95px;
        width: 95px;
        height: 130px;
    }

    .hiw-text h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
}

/* =========================================================
   AI MODELS + PHOTO & REEL LIBRARY
========================================================= */

.library-section {
    padding: 24px 0 55px;
    background: #ffffff;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.library-card {
    position: relative;

    padding: 17px 18px 14px;

    background: linear-gradient(135deg, #faf7ff 0%, #f7f1ff 100%);

    border: 1px solid #eee5ff;
    border-radius: 13px;

    overflow: hidden;

    box-sizing: border-box;
}

.library-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 15px;
}

/* Title */

.library-title {
    margin: 0 0 2px;

    color: #17172b;

    font-size: 16px;
    line-height: 1.25;

    font-weight: 700;
}

/* Subtitle */

.library-subtitle {
    margin: 0;

    color: #777785;

    font-size: 14px;
    line-height: 1.4;

    font-weight: 400;
}

/* View all */

.library-view-all {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;

    gap: 5px;

    margin-top: 2px;

    color: var(--brand-purple);

    font-size: 14px;
    line-height: 1;

    font-weight: 700;

    text-decoration: none;
}

.library-view-all:hover {
    color: var(--brand-purple-light);
}

.library-view-all i {
    font-size: 8px;
}

.library-slider-wrapper {
    position: relative;

    width: 100%;
}

.library-slider {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scrollbar-width: none;

    padding: 0 1px;

    box-sizing: border-box;
}

.library-slider::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   EACH ITEM
========================================================= */

.library-item {
    flex: 0 0 calc((100% - 40px) / 6);

    min-width: 0;

    text-align: center;
}

/* =========================================================
   IMAGE
========================================================= */

.library-image {
    position: relative;

    width: 100%;

    aspect-ratio: 3 / 4;

    overflow: hidden;

    border-radius: 8px;

    background: #eeeeee;
}

/* Actual image */

.library-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 8px;
}

/* =========================================================
   PHOTO / REEL IMAGE
========================================================= */

.library-style-image {
    aspect-ratio: 1 / 1;
}

/* =========================================================
   PLAY BUTTON
========================================================= */

.library-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.28);

    color: #ffffff;

    font-size: 10px;

    pointer-events: none;
}

.library-play i {
    margin-left: 2px;
}

/* =========================================================
   ITEM TITLE
========================================================= */

.library-item-title {
    margin-top: 5px;

    color: #30313d;

    font-size: 9px;
    line-height: 1.2;

    font-weight: 500;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================================
   MORE CARD
========================================================= */

.library-more-card {
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #30206e 0%, #171529 100%);
}

/* dark overlay */

.library-more-card::before {
    content: "";

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.28);
}

/* More number */

.library-more-number {
    position: relative;

    z-index: 2;

    color: #ffffff;

    font-size: 18px;

    font-weight: 700;
}

/* =========================================================
   ARROWS
========================================================= */

.library-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #e5e1ed;
    border-radius: 50%;

    background: #ffffff;

    color: #6c2bd9;

    box-shadow: 0 2px 8px rgba(40, 30, 90, 0.14);

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.library-arrow:hover {
    background: var(--brand-purple);

    color: #ffffff;

    transform: translateY(-50%) scale(1.05);
}

.library-arrow i {
    font-size: 9px;
}

/* Left arrow */

.library-models-prev,
.library-styles-prev {
    left: -13px;
}

/* Right arrow */

.library-models-next,
.library-styles-next {
    right: -13px;
}

/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1200px) {
    .library-card {
        min-height: 195px;
    }

    .library-item {
        flex-basis: calc((100% - 40px) / 6);
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (min-width: 768px) and (max-width: 1199.98px) {
    .library-grid {
        gap: 18px;
    }

    .library-card {
        padding: 15px 14px 13px;
    }

    .library-title {
        font-size: 15px;
    }

    .library-item {
        flex-basis: calc((100% - 32px) / 5);
    }

    .library-item-title {
        font-size: 8px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {
    .library-section {
        padding: 35px 0 45px;
    }

    .library-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .library-card {
        padding: 16px 14px 14px;
    }

    .library-title {
        font-size: 15px;
    }

    .library-view-all {
        font-size: 12px;
    }

    .library-item {
        flex-basis: calc((100% - 32px) / 4);
    }

    .library-arrow {
        width: 25px;
        height: 25px;
    }

    .library-models-prev,
    .library-styles-prev {
        left: -10px;
    }

    .library-models-next,
    .library-styles-next {
        right: -10px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {
    .library-item {
        flex-basis: calc((100% - 24px) / 3);
    }

    .library-header {
        margin-bottom: 13px;
    }

    .library-title {
        font-size: 14px;
    }

    .library-item-title {
        font-size: 8px;
    }
}

/* ============================================================
       Photo and Reel Library
       ============================================================ */

.ai-library-section {
    padding: 48px 0;
    background: #faf7ff;
}

.ai-library-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ai-library-panel {
    background: linear-gradient(135deg, #ffffff 0%, #fbf8ff 100%);

    border: 1px solid #eee8fa;
    border-radius: 18px;

    padding: 22px 20px 20px;

    box-shadow: 0 4px 18px rgba(91, 58, 150, 0.05);

    min-width: 0;
}

.library-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 20px;
}

.library-title {
    margin: 0 0 5px;

    color: #1e1b4b;

    font-size: 19px;
    line-height: 1.25;
    font-weight: 700;
}

.library-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.library-view-all {
    flex-shrink: 0;

    color: var(--brand-purple, #6d28d9);

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    padding-top: 3px;
}

.library-view-all i {
    margin-left: 4px;
    font-size: 14px;
}

.library-view-all:hover {
    color: #4c1d95;
}

.library-slider-wrapper {
    position: relative;

    padding: 0 4px;
}

.library-slider {
    display: flex;

    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scrollbar-width: none;

    padding: 2px 0 5px;
}

.library-slider::-webkit-scrollbar {
    display: none;
}

.library-slide {
    flex: 0 0 112px;

    width: 112px;

    text-align: center;
}

.library-card-image {
    position: relative;

    width: 112px;
    height: 142px;

    overflow: hidden;

    border-radius: 11px;

    background: #eee9f8;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.library-card-img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;

    transition: transform 0.3s ease;
}

.library-slide:hover .library-card-img {
    transform: scale(1.04);
}

.library-card-title {
    margin: 8px 0 0;

    color: #374151;

    font-size: 14px;
    line-height: 1.3;

    font-weight: 500;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.more-card {
    display: flex;

    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.more-card-overlay {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #fff;

    background: rgba(25, 10, 65, 0.25);
}

.more-number {
    font-size: 25px;
    line-height: 1;

    font-weight: 700;

    margin-bottom: 5px;
}

.more-text {
    font-size: 12px;
    font-weight: 600;
}

.reel-card {
    position: relative;
}

.reel-card .library-card-img {
    object-position: center;
}

.reel-card .reel-play-button,
.reel-card .reel-pause-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;

    color: #fff;
    font-size: 14px;

    cursor: pointer;
    z-index: 3;
}

/* Default (paused): show Play, hide Pause */
.reel-card .reel-pause-button {
    display: none;
}

/* When playing: show Pause, hide Play */
.reel-slide.is-playing .reel-play-button {
    display: none;
}

.reel-slide.is-playing .reel-pause-button {
    display: flex;
}

.reel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    transition: background 0.25s ease;
}

.reel-slide:hover .reel-overlay {
    background: rgba(0, 0, 0, 0.32);
}

.reel-play-button,
.reel-pause-button {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    background: rgba(255, 255, 255, 0.22);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;

    z-index: 5;
}

.reel-play-button:hover,
.reel-pause-button:hover {
    transform: translate(-50%, -50%) scale(1.08);

    background: rgba(255, 255, 255, 0.35);
}

.reel-play-button i {
    margin-left: 2px;
    font-size: 15px;
}

.reel-pause-button i {
    font-size: 14px;
}

.reel-pause-button {
    display: none;
}

.reel-slide.is-playing .reel-play-button {
    display: none;
}

.reel-slide.is-playing .reel-pause-button {
    display: flex;
}

.library-slider-arrow {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    z-index: 20;

    width: 34px;
    height: 34px;

    padding: 0;

    border: 1px solid #eee;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #5b21b6;

    background: #fff;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.library-slider-arrow:hover {
    background: #faf7ff;

    box-shadow: 0 5px 14px rgba(91, 33, 182, 0.18);
}

.library-slider-arrow:active {
    transform: translateY(-50%) scale(0.94);
}

.library-slider-arrow i {
    font-size: 11px;
}

.library-prev-models,
.library-prev-styles {
    left: -13px;
}

.library-next-models,
.library-next-styles {
    right: -13px;
}

.library-slider-arrow.disabled {
    opacity: 0.35;

    pointer-events: none;
}

@media (max-width: 991px) {
    .ai-library-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ai-library-panel {
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .tryon-badge-variations {
        right: 0 !important;
    }
    .tryon-badge {
        font-size: 12px !important;
    }

    .ai-library-section {
        padding: 35px 0;
    }

    .ai-library-panel {
        padding: 17px 14px;
        border-radius: 15px;
    }

    .library-title {
        font-size: 17px;
    }

    .library-slide {
        flex-basis: 100px;
        width: 100px;
    }

    .library-card-image {
        width: 100px;
        height: 128px;
    }

    .library-slider {
        gap: 10px;
    }

    .library-slider-arrow {
        width: 30px;
        height: 30px;
    }

    .library-prev-models,
    .library-prev-styles {
        left: -9px;
    }

    .library-next-models,
    .library-next-styles {
        right: -9px;
    }
}

.magic-section {
    padding: 0 0 30px;
    background: #faf5ff;
    overflow: hidden;
}

/* ============================================================
       HEADING
       ============================================================ */

.magic-heading {
    text-align: center;
    margin-bottom: 32px;
}

.magic-heading h2 {
    margin: 0 0 6px;

    color: #17172b;

    font-size: 33px;
    line-height: 1.2;

    font-weight: 700;
    letter-spacing: -0.4px;
}

.magic-heading p {
    margin: 0;

    color: #666675;

    font-size: 16px;
    line-height: 1.5;
}

/* ============================================================
       TWO FLOWS
       ============================================================ */

.magic-flows {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 28px;

    width: 100%;
}

/* ============================================================
       EACH FLOW
       ============================================================ */

.magic-flow {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(
            0,
            1fr
        );

    align-items: center;

    gap: 0;

    min-width: 0;
}

/* ============================================================
       STEP
       ============================================================ */

.magic-step {
    min-width: 0;

    text-align: center;
}

/* ============================================================
       LABEL
       ============================================================ */

.magic-label {
    min-height: 18px;

    margin-bottom: 7px;

    font-size: 16px;
    line-height: 1.2;

    font-weight: 600;

    white-space: nowrap;
}

.raw-label {
    color: #30303a;
}

.ai-label {
    color: var(--brand-purple, #6c2bd9);
}

/* ============================================================
       COMMON CARD
       ============================================================ */

.magic-card {
    position: relative;

    width: 100%;
    height: 220px;

    overflow: hidden;

    border-radius: 11px;

    box-sizing: border-box;
}
.magic-card img {
    border-radius: 11px;
}

/* ============================================================
       RAW PRODUCT CARD
       ============================================================ */

.raw-product-card {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: transparent;

    border: none;

    box-shadow: none;
}

.raw-product-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    transition: transform 0.3s ease;
    background-color: #fff;
    padding: 10px;
}

.raw-product-card:hover img {
    transform: scale(1.04);
}

/* ============================================================
       AI PHOTO
       ============================================================ */

.ai-photo-card {
    background: #eeeeee;

    box-shadow: 0 5px 18px rgba(30, 27, 75, 0.12);
}

.ai-photo-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.ai-photo-card:hover img {
    transform: scale(1.04);
}

/* ============================================================
       ARROWS
       ============================================================ */

.magic-arrow {
    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--brand-purple, #6c2bd9);

    font-size: 20px;

    padding-top: 18px;
}

.magic-arrow i {
    transition: transform 0.2s ease;
}

.magic-flow:hover .magic-arrow i {
    transform: translateX(3px);
}

/* ============================================================
       REEL CARD
       ============================================================ */

.ai-reel-card {
    position: relative;

    background: #111;

    border: 1px solid #292929;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.16);
}

.magic-video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    background: #111;
}

/* ============================================================
       VIDEO OVERLAY
       ============================================================ */

.magic-video-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.16);

    pointer-events: none;

    transition: background 0.25s ease;
}

.ai-reel-card:hover .magic-video-overlay {
    background: rgba(0, 0, 0, 0.25);
}

/* ============================================================
       PLAY / PAUSE BUTTON
       ============================================================ */

.magic-video-control {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 2px solid rgba(255, 255, 255, 0.9);

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.32);

    color: #fff;

    cursor: pointer;

    z-index: 5;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.magic-video-control:hover {
    transform: translate(-50%, -50%) scale(1.08);

    background: rgba(108, 43, 217, 0.85);
}

.magic-video-control i {
    font-size: 14px;
}

/* ============================================================
       PAUSE STATE
       ============================================================ */

.ai-reel-card.is-playing .magic-video-control {
    opacity: 0;

    transform: translate(-50%, -50%) scale(0.85);
}

.ai-reel-card.is-playing:hover .magic-video-control {
    opacity: 1;

    transform: translate(-50%, -50%) scale(1);
}

/* ============================================================
       RESPONSIVE - TABLET
       ============================================================ */

@media (max-width: 1199.98px) {
    .magic-flows {
        gap: 20px;
    }

    .magic-flow {
        grid-template-columns: minmax(0, 1fr) 27px minmax(0, 1fr) 27px minmax(
                0,
                1fr
            );
    }

    .magic-card {
        height: 165px;
    }

    .magic-arrow {
        font-size: 17px;
    }
    .price-amount {
        font-size: 28px;
    }
}

/* ============================================================
       RESPONSIVE - MOBILE
       ============================================================ */

@media (max-width: 767.98px) {
    .magic-section {
        padding: 42px 0 48px;
    }

    .magic-heading {
        margin-bottom: 28px;
    }

    .magic-heading h2 {
        font-size: 26px;
    }

    .magic-heading p {
        font-size: 14px;
    }

    /*
         * Stack the two transformation flows.
         */
    .magic-flows {
        grid-template-columns: 1fr;

        gap: 35px;
    }
    .savings-comparison {
        grid-template-columns: 1fr !important;
    }

    /*
         * Keep each individual flow horizontal.
         */
    .magic-flow {
        grid-template-columns: minmax(0, 1fr) 25px minmax(0, 1fr) 25px minmax(
                0,
                1fr
            );
    }

    .magic-card {
        height: 180px;
    }

    .magic-label {
        font-size: 16px;
    }

    .magic-arrow {
        font-size: 16px;
    }
}

/* ============================================================
       SMALL MOBILE
       ============================================================ */

@media (max-width: 480px) {
    .magic-section {
        padding: 38px 0 42px;
    }

    .magic-flow {
        grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(
                0,
                1fr
            );
    }

    .magic-card {
        height: 145px;

        border-radius: 8px;
    }

    .magic-arrow {
        font-size: 13px;

        padding-top: 17px;
    }

    .magic-video-control {
        width: 36px;
        height: 36px;
    }

    .magic-video-control i {
        font-size: 11px;
    }
}

.pricing-savings-section {
    padding: 30px 0 30px;
    background: #ffffff;
}

.pricing-savings-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    align-items: start;
}

.savings-panel,
.pricing-panel {
    background: #faf8ff;

    border: 1px solid #eee9f7;

    border-radius: 14px;

    padding: 18px;

    box-sizing: border-box;
}

.savings-header {
    text-align: center;

    padding-bottom: 10px;

    margin-bottom: 15px;

    border-bottom: 1px solid #e9e5ef;
}

.savings-header h4 {
    margin: 0 0 5px;

    color: #1e1b4b;

    font-size: 24px;
    font-weight: 700;
}

.savings-header p {
    margin: 0;

    color: #555b72;

    font-size: 14px;
}

.savings-comparison {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    align-items: stretch;
}

.savings-card {
    min-height: 220px;

    padding: 13px;

    border-radius: 9px;

    background: #ffffff;

    box-sizing: border-box;
}

/* Traditional */

.traditional-savings {
    background: #fffafa;

    border: 1px solid #f1dddd;
}

/* JewelGen */

.jewelgen-savings {
    background: #fbfffc;

    border: 1px solid #dcebdc;
}

.savings-card h5 {
    margin: 0 0 13px;

    color: #30303b;

    font-size: 16px;

    font-weight: 700;
}

.saving-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 31px;

    border-bottom: 1px solid #eeeeee;

    font-size: 14px;
}

.saving-item span {
    color: #555b63;
}

.saving-item strong {
    color: #33333c;

    font-size: 14px;

    font-weight: 600;
}

/* JewelGen price */

.jewelgen-savings .saving-item strong {
    color: #16a34a;
}

.unlimited-use {
    font-size: 14px !important;
    line-height: normal;
}

.saving-total {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 12px;

    padding: 8px 7px;

    border-radius: 6px;

    font-size: 16px;

    font-weight: 700;
}

.traditional-total {
    background: #fff0f0;

    color: #30303b;
}

.traditional-total strong {
    color: #d62828;

    font-size: 14px;
}

.jewelgen-total {
    background: #effaf1;

    color: #30303b;
}

.jewelgen-total strong {
    color: #16a34a;

    font-size: 14px;
}

.pricing-header {
    text-align: center;

    margin-bottom: 9px;
}

.pricing-header h4 {
    margin: 0;

    color: #1e1b4b;

    font-size: 24px;

    font-weight: 700;
}

.pricing-toggle-wrapper {
    display: flex;

    justify-content: center;

    margin-bottom: 15px;
}

.billing-toggle {
    display: inline-flex;

    padding: 3px;

    background: #f3f4f6;

    border: 1px solid #e5e7eb;

    border-radius: 30px;
}

.billing-tab-btn {
    border: 0;

    padding: 6px 16px;

    border-radius: 25px;

    background: transparent;

    color: #555b72;

    font-size: 9px;

    font-weight: 600;

    cursor: pointer;
}

.billing-tab-btn.active {
    background: #ffffff;

    color: var(--brand-purple);

    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.billing-tab-btn span {
    font-size: 14px;
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pricing-plan-card {
    min-height: 240px;

    padding: 13px;

    background: #ffffff;

    border: 1px solid #d8c4f4;

    border-radius: 9px;

    box-sizing: border-box;
}

.plan-name {
    margin: 0 0 3px;

    color: #30303b;

    font-size: 16px;

    font-weight: 700;
}

.plan-description {
    min-height: 25px;

    margin: 0 0 9px;

    color: #777985;

    font-size: 14px;

    line-height: 1.35;
}

.plan-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;

    margin-bottom: 13px;

    color: var(--brand-purple);
}

.price-currency {
    font-size: 19px;

    font-weight: 700;
}

.price-amount {
    font-size: 30px;

    line-height: 1;

    font-weight: 800;
}

.price-period {
    margin-left: 3px;

    color: #777985;

    font-size: 12px;
}

.plan-feature {
    display: flex;

    align-items: flex-start;

    gap: 7px;

    margin-bottom: 7px;

    color: #444452;

    font-size: 14px;

    line-height: 1.4;
}

.plan-feature i {
    margin-top: 2px;

    color: var(--brand-purple);

    font-size: 7px;
}

.plan-button {
    display: block;

    width: 100%;

    margin-top: 12px;

    padding: 7px 8px;

    border: 1px solid var(--brand-purple);

    border-radius: 5px;

    background: transparent;

    color: var(--brand-purple);

    text-align: center;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    box-sizing: border-box;

    transition: all 0.2s ease;
}

.plan-button:hover {
    background: var(--brand-purple);

    color: #ffffff;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991.98px) {
    .pricing-savings-layout {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 575.98px) {
    .pricing-savings-section {
        padding: 35px 0 45px;
    }

    .savings-panel,
    .pricing-panel {
        padding: 14px;
    }

    .savings-comparison {
        gap: 10px;
    }

    .savings-card {
        padding: 10px;

        min-height: 210px;
    }

    .pricing-plans {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CTA + FOOTER
   ============================================================ */

.jg-footer-section {
    padding: 0 0 0;
    background: #faf5ff;
}
.jg-cta-flex-main {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 10px;
    width: 100%;
}
.jg-cta-banner {
    position: relative;

    min-height: 78px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-radius: 18px 18px 0 0;

    background: linear-gradient(90deg, #061b58 0%, #181267 50%, #3e0e91 100%);

    color: #ffffff;
}

.jg-cta-image {
    width: 220px;
    height: 78px;

    flex-shrink: 0;

    overflow: hidden;
}

.jg-cta-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}

.jg-cta-content {
    flex: 1;

    padding: 10px 20px;
}

.jg-cta-content h2 {
    margin: 0 0 4px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 19px;

    line-height: 1.2;

    font-weight: 600;
}

.jg-cta-content p {
    margin: 0;

    font-size: 14px;

    color: rgba(255, 255, 255, 0.82);
}

.jg-cta-action {
    width: 210px;

    flex-shrink: 0;

    padding-right: 20px;

    display: flex;
    flex-direction: column;

    align-items: center;
}

.jg-cta-button {
    width: 150px;

    padding: 7px 10px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    border-radius: 5px;

    background: #ffffff;

    color: var(--brand-purple, #6c2bd9);

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

    transition: 0.2s ease;
}

.jg-cta-button:hover {
    background: #f5f1ff;

    color: var(--brand-purple, #6c2bd9);
}

.jg-cta-button i {
    font-size: 16px;
}

.jg-cta-note {
    margin-top: 4px;

    font-size: 14px;

    color: rgba(255, 255, 255, 0.85);
}

/* Footer */
.footer-dark {
    background: #0f0f23;
    color: #9ca3af;
}

.footer-dark h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-dark a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
}

.footer-dark a:hover {
    color: #fff;
}

.footer-logo {
    height: 36px;
}

/* Responsive hero image */
.hero-mockup {
    max-width: 100%;
}

/* Mobile carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--brand-purple);
    border-radius: 50%;
    padding: 12px;
}

.billing-tab-btn {
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.15s ease;
}

.billing-tab-btn.active {
    background: #fff;
    color: var(--brand-purple);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Add these to your existing stylesheet / @push('styles') block */

.pricing-hero-section {
    padding: 30px 0 10px;
    text-align: center;
    background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
}

.pricing-hero-content {
    max-width: 680px;
    margin: 0 auto;
}

.pricing-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6c2bd9;
    margin-bottom: 14px;
}

.pricing-hero-title {
    font-size: 44px;
    font-weight: 800;
    color: #1e1b4b;
    line-height: 1.15;
    margin-bottom: 14px;
}

.pricing-hero-title .highlight {
    color: #6c2bd9;
}

.pricing-hero-subtitle {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 28px;
}

.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
}

.billing-toggle {
    display: inline-flex;
    background: #f3f0ff;
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
}

.billing-tab-btn {
    border: none;
    background: transparent;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.billing-tab-btn span {
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    margin-left: 4px;
}

.billing-tab-btn.active {
    background: #6c2bd9;
    color: #fff;
}

.billing-tab-btn.active span {
    color: #d9fdd3;
}

.pricing-plans-section {
    padding: 10px 0 64px;
}

.pricing-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 15px;
    align-items: start;
}

@media (max-width: 991px) {
    .pricing-layout {
        grid-template-columns: 1fr;
    }
}

.pricing-includes-panel {
    background: #faf5ff;
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 24px;
}

.includes-title {
    font-size: 15px;
    font-weight: 700;
    color: #6c2bd9;
    margin-bottom: 16px;
}

.includes-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.includes-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
    margin-bottom: 12px;
}

.includes-list i {
    color: #000000;
    font-size: 14px;
}

.includes-list li:has(i.fa-circle-xmark) i {
    color: #000000;
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 767px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
    }
    .jg-cta-flex-main {
        padding-bottom: 10px;
    }
}

.pricing-plan-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 15px;
}

.pricing-plan-card.is-popular {
    border-color: #6c2bd9;
    box-shadow: 0 10px 30px rgba(108, 43, 217, 0.12);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #6c2bd9;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
}

.plan-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    gap: 10px;
}

.plan-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 4px;
}

.plan-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.plan-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f3f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c2bd9;
    font-size: 18px;
    flex-shrink: 0;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.price-currency {
    font-size: 20px;
    font-weight: 700;
    color: #1e1b4b;
}

.price-amount {
    font-size: 28px;
    font-weight: 800;
    color: #1e1b4b;
}

.price-period {
    font-size: 14px;
    color: #9ca3af;
}

.plan-yearly-note {
    font-size: 12.5px;
    color: #6b7280;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-savings-pill {
    background: #dcfce7;
    color: #16a34a;
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
}

.plan-button {
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 14px;
    transition: opacity 0.2s ease;
}

.plan-button:hover {
    opacity: 0.9;
}

.plan-button-filled {
    background: #6c2bd9;
    color: #fff;
}

.plan-button-outline {
    background: #fff;
    color: #6c2bd9;
    border: 1.5px solid #6c2bd9;
}

.plan-feature-list {
    border-top: 1px solid #f1f1f4;
    padding-top: 16px;
}

.plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #374151;
    margin-bottom: 12px;
}

.plan-feature i {
    color: #6c2bd9;
    margin-top: 2px;
    font-size: 12px;
}

.compare-plans-section {
    padding: 0 0 40px;
}

.compare-plans-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
}

.compare-plans-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e1b4b;
    margin-bottom: 16px;
}

.compare-table-wrapper {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.compare-table th,
.compare-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #f1f1f4;
    white-space: nowrap;
}

.compare-table thead th {
    color: #1e1b4b;
    font-weight: 700;
}

.compare-table td:first-child {
    color: #6b7280;
}

.compare-table td:first-child i {
    margin-right: 8px;
    color: #9ca3af;
    width: 14px;
}

.compare-highlight {
    color: #6c2bd9 !important;
    font-weight: 700;
}

.trust-badges-section {
    padding: 0 0 35px;
}

.trust-badges-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #faf5ff;
    border-radius: 16px;
    padding: 24px;
}

@media (max-width: 767px) {
    .trust-badges-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-plans {
        grid-template-columns: 1fr;
    }
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-badge i {
    font-size: 20px;
    color: #6c2bd9;
}

.trust-badge strong {
    display: block;
    font-size: 14px;
    color: #1e1b4b;
}

.trust-badge span {
    font-size: 13px;
    color: #6b7280;
}

.trust-stars i {
    color: #f59e0b;
    font-size: 11px;
    margin-right: 1px;
}

@media (max-width: 767px) {
    .pricing-hero-section {
        padding: 48px 16px 0px;
    }

    .pricing-hero-title {
        font-size: 32px;
    }

    .pricing-hero-subtitle {
        font-size: 14px;
    }

    .pricing-plans-section {
        padding: 28px 0 48px;
    }

    .pricing-includes-panel {
        position: static;
    }

    .pricing-plan-card {
        padding: 22px;
    }

    .price-amount {
        font-size: 30px;
    }

    .trust-badges-row {
        padding: 20px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .pricing-hero-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .pricing-hero-title {
        font-size: 29px;
        line-height: 1.2;
    }

    /* Billing toggle */
    .billing-toggle {
        width: 100%;
        gap: 2px;
    }

    .billing-tab-btn {
        flex: 1;
        padding: 9px 8px;
        font-size: 13px;
    }

    .billing-tab-btn span {
        display: block;
        font-size: 9px;
        margin-left: 0;
        margin-top: 2px;
    }

    /* Pricing cards */
    .pricing-plan-card {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .plan-card-header {
        margin-bottom: 14px;
    }

    .plan-name {
        font-size: 17px;
    }

    .plan-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .price-amount {
        font-size: 28px;
    }

    .price-currency {
        font-size: 18px;
    }

    .price-period {
        font-size: 12px;
    }

    /* Trust badges */
    .trust-badges-row {
        padding: 18px 12px;
        gap: 18px 10px;
    }

    .trust-badge {
        gap: 8px;
    }

    .trust-badge i {
        font-size: 17px;
    }

    /* Compare table */
    .compare-plans-card {
        padding: 16px 12px;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* ===================== FINAL CTA BANNER ===================== */
.final-cta-section {
    padding: 0px 0 30px;
}

.final-cta-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    border-radius: 24px;
    padding: 10px 47px;
    min-height: 160px;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, #4c1d95 0%, #6c2bd9 50%, #7c3aed 100%);
    border-radius: 24px;
    overflow: hidden;
    z-index: 0;
}

.cta-sparkle {
    position: absolute;
    color: rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.cta-sparkle-1 {
    top: 14px;
    left: 30%;
    font-size: 12px;
}

.cta-sparkle-2 {
    top: 40px;
    left: 22%;
    font-size: 16px;
}

.cta-sparkle-3 {
    bottom: 20px;
    left: 18%;
    font-size: 10px;
}

.cta-sparkle-4 {
    top: 50%;
    left: 8%;
    font-size: 9px;
}

/* ----- left jewellery image: overflows top edge ----- */
.cta-jewellery-image {
    /* position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 220px;
    margin-top: -55px;
    margin-bottom: -30px;
    transform: rotate(-8deg); */

    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 229px;
    margin-top: -83px;
    margin-bottom: -32px;
    margin-left: -53px;
}

.cta-jewellery-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.4));
}

/* ----- center content ----- */
.cta-content {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.3;
    white-space: nowrap;
    /* keeps it on one line like the target */
}

.cta-content p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 16px;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #6c2bd9;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.cta-button:hover {
    transform: translateY(-1px);
    color: #6c2bd9;
}

.cta-note {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

/* ----- right phone mockups ----- */
.cta-phones {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 180px;
    height: 190px;
}

.cta-phone {
    position: absolute;
    width: 95px;
    height: 190px;

    border: 4px solid #111;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

/* small notch, like a real phone mockup */
.cta-phone::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 5px;
    background: #000;
    border-radius: 999px;
    z-index: 3;
}

.cta-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-phone-back {
    top: 58px;
    right: 0;
    z-index: 1;
    opacity: 0.95;
}

.cta-phone-front {
    top: 30px;
    right: 60px;
    z-index: 2;
}

/* ----- responsive ----- */
@media (max-width: 991px) {
    .final-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }

    .cta-jewellery-image {
        display: none;
    }

    .cta-jewellery-image-hiw {
        display: none;
    }

    .cta-content h2 {
        white-space: normal;
    }

    .cta-phones {
        margin-top: 24px;
    }
}

/* ===================== PRICING HERO SPARKLES ===================== */

.pricing-hero-section {
    position: relative;
    overflow: hidden;
}

.pricing-sparkle {
    position: absolute;
    pointer-events: none;
    color: #d98cff;
    line-height: 1;
    z-index: 1;
}

.pricing-sparkle-1 {
    top: 30px;
    left: 20%;
    font-size: 55px;
    opacity: 0.9;
}

.pricing-sparkle-2 {
    top: 105px;
    left: 11%;
    font-size: 30px;
    opacity: 0.65;
}

.pricing-sparkle-3 {
    top: 70px;
    right: 16%;
    font-size: 41px;
    opacity: 0.85;
}

.pricing-sparkle-4 {
    top: 130px;
    right: 23%;
    font-size: 30px;
    opacity: 0.6;
}

@media (max-width: 767px) {
    .pricing-sparkle-1 {
        top: 28px;
        left: 20%;
        font-size: 40px;
        opacity: 0.8;
    }

    .pricing-sparkle-2 {
        top: 131px;
        left: 8%;
        font-size: 29px;
        opacity: 0.55;
    }

    .pricing-sparkle-3 {
        top: 45px;
        right: 11%;
        font-size: 32px;
        opacity: 0.75;
    }

    .pricing-sparkle-4 {
        top: 124px;
        right: 25%;
        font-size: 23px;
        opacity: 0.55;
    }
}

/* ================================================================
   HOW IT WORKS HERO
   ================================================================ */

.hiw-hero-section {
    position: relative;
    overflow: hidden;
    padding: 50px 0 50px;
    background: linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
}

.hiw-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(560px, 1.15fr);
    align-items: center;
    gap: 45px;
}

.hiw-content {
    position: relative;
    z-index: 2;
}

.hiw-eyebrow {
    display: inline-block;
    margin-bottom: 14px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    color: #6c2bd9;
}

.hiw-title {
    margin: 0 0 16px;
    font-size: 43px;
    font-weight: 700;
    line-height: 1.08;

    color: #111827;
}

.hiw-title span {
    color: #6c2bd9;
}

.hiw-description {
    max-width: 500px;

    margin: 0 0 27px;

    font-size: 15px;
    line-height: 1.65;

    color: #4b5563;
}

.hiw-buttons {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 36px;
}

.hiw-primary-btn,
.hiw-demo-btn {
    min-height: 46px;
    padding: 0 22px;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.hiw-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: #6c2bd9;
    color: #fff;

    text-decoration: none;

    box-shadow: 0 8px 20px rgba(108, 43, 217, 0.2);
}

.hiw-primary-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(108, 43, 217, 0.28);
}

.hiw-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 1px solid #e5e7eb;
    background: #fff;

    color: #1f2937;

    cursor: pointer;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.hiw-demo-btn:hover {
    transform: translateY(-2px);
    background: #fafafa;
}

.hiw-demo-btn i {
    font-size: 17px;
    color: #6c2bd9;
}

.hiw-benefits {
    display: flex;
    align-items: center;
    gap: 25px;
}

.hiw-benefit {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hiw-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border: 1px solid #e9d5ff;
    border-radius: 9px;
    background: #faf5ff;
    color: #6c2bd9;
    font-size: 24px;
}

.hiw-benefit strong {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
}

.hiw-benefit span {
    display: block;

    font-size: 12px;

    color: #9ca3af;
}

.hiw-visual {
    position: relative;
    display: grid;
    grid-template-columns: 155px 100px minmax(180px, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 340px;
}

.hiw-product {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 110%;
    min-height: 270px;

    padding: 35px 15px 20px;

    border-radius: 12px;

    background: #fff;

    box-shadow: 0 8px 30px rgba(31, 27, 75, 0.08);

    overflow: hidden;
}

.hiw-product-label {
    position: absolute;

    top: 16px;
    left: 0;
    right: 0;

    text-align: center;

    font-size: 12px;
    font-weight: 700;

    color: #111827;
}

.hiw-product-image {
    display: block;

    width: 110%;
    height: 275px;

    object-fit: contain;

    object-position: center;

    mix-blend-mode: multiply;
}

.hiw-ai-area {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 180px;
}

.hiw-ai-circle {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border-radius: 50%;

    background: linear-gradient(135deg, #7c3aed, #5b21b6);

    color: #fff;

    font-size: 19px;
    font-weight: 800;

    box-shadow:
        0 0 0 12px rgba(124, 58, 237, 0.07),
        0 10px 30px rgba(108, 43, 217, 0.28);
}

.hiw-ai-line {
    position: absolute;

    height: 1px;

    background: #b78cff;

    opacity: 0.65;
}

.hiw-ai-line-left {
    width: 52px;
    left: -4px;
}

.hiw-ai-line-right {
    width: 55px;
    right: -44px;
}

.hiw-results {
    display: flex;
    flex-direction: column;

    gap: 18px;

   width: 85%;
}

.hiw-result-card {
    position: relative;

    width: 100%;
    height: 310px;

    border-radius: 11px;

    overflow: hidden;

    background: #fff;

    box-shadow: 0 8px 25px rgba(31, 27, 75, 0.1);
}

.hiw-result-card img,
.hiw-result-card video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top;
}

.hiw-result-label {
    position: absolute;

    top: 9px;
    left: 11px;

    z-index: 4;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 3px 8px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.88);

    color: #6c2bd9;

    font-size: 12px;
    font-weight: 700;

    backdrop-filter: blur(5px);
}

.hiw-result-label i {
    font-size: 9px;
}

.hiw-video-control {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.45);

    color: #fff;

    font-size: 16px;

    cursor: pointer;

    transform: translate(-50%, -50%);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        opacity 0.2s ease;
}

.hiw-video-control:hover {
    background: rgba(108, 43, 217, 0.85);

    transform: translate(-50%, -50%) scale(1.06);
}

.hiw-reel-card.is-playing .hiw-video-control {
    opacity: 0.75;
}

@media (max-width: 1199px) {
    .hiw-hero {
        grid-template-columns: minmax(0, 1fr) minmax(470px, 1fr);
        gap: 30px;
    }

    .hiw-title {
        font-size: 38px;
    }

    .hiw-visual {
        grid-template-columns: 135px 80px minmax(160px, 1fr);
        gap: 12px;
    }

    .hiw-product {
        min-height: 250px;
    }

    .hiw-product-image {
        height: 200px;
    }

    .hiw-benefits {
        gap: 14px;
    }
}

@media (max-width: 991px) {
    .hiw-hero {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hiw-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .hiw-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hiw-buttons {
        justify-content: center;
    }

    .hiw-benefits {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hiw-visual {
        max-width: 680px;

        margin: 20px auto 0;
    }
}

@media (max-width: 767px) {
    .hiw-hero-section {
        padding: 45px 0 45px;
    }

    .hiw-title {
        font-size: 31px;
        line-height: 1.12;
    }

    .hiw-eyebrow {
        font-size: 11px;
    }

    .hiw-description {
        font-size: 14px;
    }

    .hiw-buttons {
        flex-direction: column;

        width: 100%;
    }

    .hiw-primary-btn,
    .hiw-demo-btn {
        width: 100%;
        max-width: 260px;
    }

    .hiw-benefits {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;

        width: 100%;
        gap: 8px;

        margin: 0 auto;
        text-align: left;
    }

    .hiw-benefit {
        display: flex;
        align-items: center;
        gap: 7px;

        flex: 1;
        min-width: 0;
    }

    .hiw-benefit-icon {
        width: 34px;
        height: 34px;

        flex: 0 0 34px;

        border-radius: 8px;
        font-size: 14px;
    }

    .hiw-benefit strong {
        display: block;

        font-size: 10px;
        line-height: 1.2;

        margin-bottom: 2px;

        white-space: nowrap;
    }

    .hiw-benefit span {
        display: block;

        font-size: 8px;
        line-height: 1.25;

        white-space: nowrap;
    }

    .hiw-visual {
        display: grid;

        grid-template-columns: 1fr;

        gap: 20px;

        width: 100%;

        min-height: 0;
    }

    .hiw-product {
        width: 100%;
        min-height: 250px;

        padding: 40px 20px 20px;
    }

    .hiw-product-image {
        width: 100%;
        height: 210px;
    }

    .hiw-ai-area {
        height: 75px;
    }

    .hiw-ai-line {
        width: 1px;
        height: 35px;

        left: 50%;
        right: auto;
    }

    .hiw-ai-line-left {
        top: -17px;
    }

    .hiw-ai-line-right {
        top: 55px;
    }

    .hiw-results {
        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 12px;
    }

    .hiw-result-card {
        height: 150px;
    }
}

@media (max-width: 420px) {
    .hiw-title {
        font-size: 28px;
    }

    .hiw-description {
        font-size: 13px;
    }

    .hiw-results {
        grid-template-columns: 1fr;
    }

    .hiw-result-card {
        height: 190px;
    }
}

/* ============================================================
   JEWELLERY AI GENERATOR WORKFLOW
   ============================================================ */

.wg-how-it-works {
    width: 100%;
    padding: 65px 0 50px;
    background: #ffffff;
    color: #1d1725;
}

.wg-how-it-works *,
.wg-how-it-works *::before,
.wg-how-it-works *::after {
    box-sizing: border-box;
}

/* ============================================================
   WORKFLOW
   ============================================================ */

.wg-workflow {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.wg-step-row {
    margin-bottom: 20px;
}

.wg-step-row:last-of-type .wg-step-line {
    display: none;
}

/* ============================================================
   STEP NUMBER
   ============================================================ */

.wg-step-number {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(135deg, #6122d5, #7d3ee9);

    color: #ffffff;

    font-size: 18px;
    font-weight: 800;

    box-shadow: 0 5px 15px rgba(99, 35, 213, 0.22);

    flex-shrink: 0;
}

/* ============================================================
   VERTICAL TIMELINE (now flows naturally under the number)
   ============================================================ */

.wg-step-line {
    width: 2px;
    flex: 1;

    margin-top: 6px;

    background: linear-gradient(to bottom, #d4c2f9, #e8e0f7);
}

/* ============================================================
   STEP CONTENT
   ============================================================ */

.wg-step-content {
    min-width: 0;

    background: #ffffff;

    border: 1px solid #e7e1ef;

    border-radius: 15px;

    padding: 26px;

    box-shadow: 0 5px 18px rgba(37, 22, 55, 0.045);
}

/* ============================================================
   STEP INFORMATION
   ============================================================ */

.wg-step-info h3 {
    margin: 0 0 9px;

    color: #201a27;

    font-size: 20px;
    line-height: 1.3;

    font-weight: 800;
}

.wg-step-info p {
    margin: 0;

    max-width: 260px;

    color: #6e6677;

    font-size: 13px;
    line-height: 1.65;
}

/* ============================================================
   UPLOAD
   ============================================================ */

.wg-upload-box {
    position: relative;

    height: 145px;

    border: 1.5px dashed #cdbbe9;

    border-radius: 11px;

    background: #fcf9ff;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    overflow: hidden;

    transition: 0.2s ease;
}

.wg-upload-box:hover,
.wg-upload-box.is-selected {
    border-color: #8142e5;
    background: #faf6ff;
}

.wg-upload-box input {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: pointer;

    z-index: 4;
}

.wg-upload-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eee5ff;

    color: #7638dc;

    font-size: 21px;

    margin-bottom: 9px;
}

.wg-upload-box strong {
    color: #38313e;

    font-size: 12px;
    font-weight: 700;
}

.wg-upload-box > span {
    color: #928a99;

    font-size: 11px;

    margin-top: 5px;
}

/* ============================================================
   CATEGORY
   ============================================================ */

.wg-category-field label {
    display: block;

    margin-bottom: 9px;

    color: #39313f;

    font-size: 13px;
    font-weight: 700;
}

.wg-category-field label em {
    color: #ef4444;

    font-style: normal;
}

.wg-category-field select {
    width: 100%;
    height: 46px;

    border: 1px solid #ded7e7;

    border-radius: 9px;

    background: #ffffff;

    color: #4c4553;

    padding: 0 12px;

    font-size: 12px;

    outline: none;

    cursor: pointer;
}

.wg-category-field select:focus {
    border-color: #8c50e7;

    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

/* ============================================================
   PRODUCT EXAMPLES
   ============================================================ */

.wg-product-thumb {
    height: 92px;

    border: 1px solid #e8e3eb;

    border-radius: 9px;

    background: #ffffff;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 3px 10px rgba(31, 20, 45, 0.055);
}

/* ============================================================
   PRODUCT EXAMPLE - SELECTED STATE
   ============================================================ */

.wg-product-thumb {
    position: relative;
    cursor: pointer;
    border: 1px solid #e5dff0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.wg-product-thumb:hover {
    transform: translateY(-2px);
}

.wg-product-thumb.active {
    border: 2px solid #7c3aed;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.12);
}

/* Selected check */
.wg-product-thumb.active::after {
    content: "\f00c";
    font-weight: 900;

    position: absolute;
    top: 5px;
    right: 5px;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #7c3aed;
    color: #ffffff;

    border-radius: 50%;
    font-size: 10px;

    z-index: 5;
}

.wg-product-thumb img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}

/* ============================================================
   STEP 2 HEADINGS (shared)
   ============================================================ */

.wg-output-section h4,
.wg-style-section h4,
.wg-reel-style-section h4,
.wg-color-section h4 {
    margin: 0 0 11px;

    color: #2c2533;

    font-size: 13px;
    font-weight: 800;
}

/* ============================================================
   OUTPUT BUTTON
   ============================================================ */

.wg-output-option {
    width: 100%;
    min-height: 59px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 9px 12px;

    margin-bottom: 9px;

    border: 1px solid #e2dce9;

    border-radius: 9px;

    background: #ffffff;

    color: #49414f;

    text-align: left;

    cursor: pointer;

    transition: 0.2s ease;
}

.wg-output-option:hover,
.wg-output-option.active {
    border-color: #8a4ce4;

    background: #faf7ff;

    color: #642ac5;

    box-shadow: 0 3px 10px rgba(108, 51, 203, 0.08);
}

.wg-option-icon {
    width: 35px;
    height: 35px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #eee6ff;

    color: #7437d8;

    font-size: 16px;
}

.wg-output-text strong {
    display: block;

    font-size: 13px;
    font-weight: 700;
}

.wg-output-text small {
    display: block;

    margin-top: 3px;

    color: #948b9d;

    font-size: 10px;
}

/* ============================================================
   PRODUCT / FESTIVAL
   ============================================================ */

.wg-product-type {
    width: 100%;

    min-height: 58px;

    display: grid;

    grid-template-columns: 34px 1fr;

    column-gap: 9px;

    align-items: center;

    position: relative;

    padding: 9px 12px;

    margin-bottom: 8px;

    border: 1px solid #e2dce9;

    border-radius: 9px;

    background: #ffffff;

    text-align: left;

    cursor: pointer;

    transition: 0.2s ease;
}

.wg-product-type > span {
    grid-row: span 2;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #f0e9ff;

    color: #7336d7;

    font-size: 14px;
}

.wg-product-type strong {
    color: #403847;

    font-size: 12px;
    font-weight: 700;
}

.wg-product-type small {
    color: #99919f;

    font-size: 10px;
}

.wg-product-type:hover,
.wg-product-type.active {
    border-color: #8a4ce4;

    background: #faf7ff;
}

.wg-product-type.active::after {
    content: "\f00c";

    position: absolute;

    top: 7px;
    right: 7px;

    width: 17px;
    height: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #7435db;

    color: #ffffff;

    font-size: 8px;
    font-weight: 900;
}

/* ============================================================
   SUMMARY
   ============================================================ */

.wg-selection-summary {
    min-height: 115px;

    border: 1px solid #e6dff0;

    border-radius: 10px;

    background: linear-gradient(145deg, #fcfaff, #f8f3ff);

    padding: 17px;

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.wg-selection-summary span {
    color: #9b93a3;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}

.wg-selection-summary strong {
    color: #5d29b8;

    font-size: 18px;

    margin-top: 5px;
}

.wg-selection-summary small {
    color: #746b7d;

    font-size: 11px;

    margin-top: 3px;
}

/* ============================================================
   PHOTO / SHOWCASE STYLE TILES
   ============================================================ */

.wg-style {
    position: relative;

    height: 105px;

    padding: 0;

    border: 2px solid transparent;

    border-radius: 9px;

    background: #f4f1f6;

    overflow: hidden;

    cursor: pointer;

    transition: 0.2s ease;

    width: 100%;
}

.wg-style img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.wg-style:hover {
    transform: translateY(-2px);
}

.wg-style.active {
    border-color: #7839df;

    box-shadow: 0 0 0 1px #7839df;
}

.wg-eye-icon {
    position: absolute;

    top: 6px;
    left: 6px;

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.48);

    color: #ffffff;

    font-size: 10px;
}

.wg-style-check {
    position: absolute;

    right: 6px;
    bottom: 6px;

    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #7636dc;

    color: #ffffff;

    font-size: 10px;

    opacity: 0;

    transform: scale(0.7);

    transition: 0.2s ease;
}

.wg-style.active .wg-style-check,
.wg-showcase-style.active .wg-style-check,
.wg-reel-style.active .wg-style-check {
    opacity: 1;

    transform: scale(1);
}

/* ============================================================
   SHOWCASE STYLE
   ============================================================ */

.wg-showcase-style {
    position: relative;

    height: 110px;

    padding: 0;

    border: 2px solid transparent;

    border-radius: 9px;

    background: #f4f1f6;

    overflow: hidden;

    cursor: pointer;

    transition: 0.2s ease;

    width: 100%;
}

.wg-showcase-style img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.wg-showcase-style:hover {
    transform: translateY(-2px);
}

.wg-showcase-style.active {
    border-color: #7839df;

    box-shadow: 0 0 0 1px #7839df;
}

/* ============================================================
   REEL STYLE CARDS
   ============================================================ */

.wg-reel-style {
    position: relative;

    width: 100%;

    padding: 0;

    border: 2px solid transparent;
    border-radius: 11px;

    background: #ffffff;

    overflow: hidden;

    cursor: pointer;
    text-align: left;

    transition: 0.2s ease;
}

.wg-reel-style:hover {
    transform: translateY(-2px);
}

.wg-reel-style.active {
    border-color: #7839df;

    box-shadow: 0 0 0 1px #7839df;
}

.wg-reel-video-control {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.88);

    color: #252531;

    font-size: 13px;

    cursor: pointer;

    z-index: 10;

    transition: 0.2s ease;
}

.wg-reel-video-control:hover {
    transform: translate(-50%, -50%) scale(1.06);

    background: #fff;
}

.wg-reel-video-control i {
    margin-left: 2px;
}

/* Hide custom button when video is playing if desired */
/* Remove this block if you want pause button always visible */

.wg-reel-style-image .hiw-reel-video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    background: #000;
}

/* ============================================================
   VIDEO AREA
   ============================================================ */

.wg-reel-style-image {
    position: relative;

    width: 100%;

    height: 210px;

    background: #f3f0f5;

    overflow: hidden;
}

.wg-reel-style-image video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    background: #000;
}

/* ============================================================
   EYE ICON
   ============================================================ */

.wg-eye-icon {
    position: absolute;

    top: 8px;
    left: 8px;

    z-index: 5;

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.45);

    color: #fff;

    font-size: 11px;

    pointer-events: none;
}

/* ============================================================
   SELECTED CHECK
   ============================================================ */

.wg-style-check {
    position: absolute;

    right: 7px;
    bottom: 7px;

    z-index: 6;

    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #7839df;

    color: #fff;

    font-size: 11px;

    opacity: 0;

    transform: scale(0.8);

    transition: 0.2s ease;

    pointer-events: none;
}

.wg-reel-style.active .wg-style-check {
    opacity: 1;

    transform: scale(1);
}

/* ============================================================
   TITLE
   ============================================================ */

.wg-reel-style strong {
    display: block;

    padding: 9px 10px;

    color: #3d3545;

    font-size: 12px;

    line-height: 1.25;

    text-align: left;
}

/* ============================================================
   VIDEO CONTROLS
   ============================================================ */

.wg-reel-style-image video::-webkit-media-controls {
    z-index: 10;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991.98px) {
    .wg-reel-style-image {
        height: 200px;
    }

    .wg-reel-style strong {
        font-size: 11px;
    }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767.98px) {
    .wg-reel-style-image {
        height: 230px;
    }

    .wg-reel-style strong {
        font-size: 12px;
        padding: 9px;
    }
}

/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 575.98px) {
    .wg-reel-style-image {
        height: 250px;
    }
    .jg-cta-image {
        height: inherit;
    }
    .jg-cta-action {
        padding-bottom: 15px;
    }
}

/* ============================================================
   BRANDING COLORS
   ============================================================ */

.wg-color {
    position: relative;

    height: 68px;

    width: 100%;

    padding: 0;

    border: 2px solid transparent;

    border-radius: 9px;

    cursor: pointer;

    overflow: hidden;

    transition: 0.2s ease;
}

.wg-color:hover {
    transform: translateY(-2px);
}

.wg-color.active {
    border-color: #7839df;

    box-shadow: 0 0 0 2px rgba(120, 57, 223, 0.15);
}

.wg-color > i {
    position: absolute;

    top: 7px;
    left: 7px;

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.35);

    color: #ffffff;

    font-size: 10px;
}

.wg-color > span {
    position: absolute;

    right: 6px;
    bottom: 6px;

    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #7435db;

    color: #ffffff;

    font-size: 9px;

    opacity: 0;

    transform: scale(0.7);

    transition: 0.2s ease;
}

.wg-color.active > span {
    opacity: 1;

    transform: scale(1);
}

/* ============================================================
   PREVIEW AREA
   ============================================================ */

.wg-preview-download {
    margin-top: 24px;
}

/* ============================================================
   PREVIEW PANEL
   ============================================================ */

.wg-preview-panel {
    background: #ffffff;

    border: 1px solid #e4ddec;

    border-radius: 15px;

    padding: 23px;

    box-shadow: 0 5px 18px rgba(37, 22, 55, 0.045);

    height: 100%;
}

.wg-preview-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 7px;
}

.wg-preview-heading > div:first-child span {
    color: #7a3cdc;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.wg-preview-heading h3 {
    margin: 4px 0 0;

    color: #211a28;

    font-size: 22px;
    font-weight: 800;
}

.wg-preview-badge {
    display: flex;
    align-items: center;

    gap: 6px;

    padding: 7px 10px;

    border-radius: 20px;

    background: #f2eaff;

    color: #7135d5;

    font-size: 10px;
    font-weight: 700;
}

.wg-preview-description {
    margin: 0 0 18px;

    color: #777080;

    font-size: 12px;
    line-height: 1.55;
}

.wg-preview-item label {
    display: block;

    margin-bottom: 7px;

    color: #514957;

    font-size: 11px;
    font-weight: 700;
}

.wg-preview-image {
    width: 100%;
    height: 130px;

    border: 1px solid #e7e1eb;

    border-radius: 9px;

    background: #faf8fb;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    color: #a29aa8;

    font-size: 10px;

    text-align: center;
}

.wg-preview-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.wg-preview-color {
    height: 130px;

    border-radius: 9px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding-bottom: 10px;

    border: 1px solid #e5dfe8;
}

.wg-preview-color span {
    padding: 4px 7px;

    border-radius: 4px;

    background: rgba(255, 255, 255, 0.86);

    color: #3d3545;

    font-size: 10px;

    font-weight: 700;
}

/* ============================================================
   BRAND LOGO + LOGO POSITION PANELS
   (no longer pinned to a fixed grid cell — they now sit
   stacked beside the branding color, inside step 5)
   ============================================================ */

.wg-branding-panel,
.wg-position-panel {
    background: #ffffff;

    border: 1px solid #e4ddec;

    border-radius: 15px;

    padding: 20px;

    box-shadow: 0 5px 18px rgba(37, 22, 55, 0.045);
}

.wg-panel-title {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 13px;
}

.wg-panel-title h3 {
    margin: 0;

    color: #28202f;

    font-size: 17px;
    font-weight: 800;
}

.wg-panel-title span {
    color: #9a92a2;

    font-size: 10px;
}

/* ============================================================
   LOGOS
   ============================================================ */

.wg-logo {
    position: relative;

    height: 65px;

    width: 100%;

    padding: 8px;

    border: 1.5px solid #e6e0e9;

    border-radius: 9px;

    background: #ffffff;

    cursor: pointer;

    overflow: hidden;

    transition: 0.2s ease;
}

.wg-logo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}

.wg-logo:hover,
.wg-logo.active {
    border-color: #7839df;

    background: #fbf8ff;
}

.wg-logo > span {
    position: absolute;

    top: 4px;
    right: 4px;

    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #7435db;

    color: #ffffff;

    font-size: 8px;

    opacity: 0;
}

.wg-logo.active > span {
    opacity: 1;
}

/* ============================================================
   POSITION
   ============================================================ */

.wg-position {
    width: 100%;

    min-height: 45px;

    border: 1px solid #e4dee8;

    border-radius: 8px;

    background: #ffffff;

    color: #57505e;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    font-size: 11px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}

.wg-position i {
    color: #7a3cdc;

    font-size: 12px;
}

.wg-position:hover,
.wg-position.active {
    border-color: #7839df;

    background: #faf7ff;

    color: #652fc4;
}

/* ============================================================
   DOWNLOAD (now sits beside Preview, not in its own grid cell)
   ============================================================ */

.wg-download-panel {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f3ff, #eee5ff);
    border: 1px solid #dfd0f5;
}

.wg-download-button {
    flex: 1;

    min-width: 200px;

    min-height: 70px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 10px 15px;

    border: 0;

    border-radius: 11px;

    background: linear-gradient(135deg, #6725d5, #8744eb);

    color: #ffffff;

    cursor: pointer;

    box-shadow: 0 7px 18px rgba(105, 38, 213, 0.22);

    transition: 0.2s ease;

    text-align: left;
}

.wg-download-button:hover {
    transform: translateY(-2px);

    box-shadow: 0 10px 24px rgba(105, 38, 213, 0.28);
}

.wg-download-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.16);

    font-size: 16px;
}

.wg-download-text strong {
    display: block;

    font-size: 15px;
    font-weight: 800;
}

.wg-download-text small {
    display: block;

    margin-top: 3px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 10px;
}

.wg-download-arrow {
    margin-left: auto;

    font-size: 14px;
}

/* ============================================================
   SHARE OPTIONS
   ============================================================ */

.wg-share-section {
    width: 100%;
}

.wg-share-title {
    display: block;
    margin-bottom: 9px;

    color: #2c2533;
    font-size: 18px;
    font-weight: 800;
}

.wg-share-option {
    width: 100%;
    height: 58px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    padding: 6px 3px;

    border: 1px solid #e3dce9;
    border-radius: 9px;

    background: #ffffff;

    color: #4c4553;

    cursor: pointer;

    transition: all 0.2s ease;
}

.wg-share-option i {
    font-size: 18px;
}

.wg-share-option small {
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
}

.wg-share-option:hover {
    transform: translateY(-2px);

    border-color: #8a4ce4;

    background: #faf7ff;

    color: #6725d5;

    box-shadow: 0 4px 12px rgba(108, 51, 203, 0.1);
}

/* Keep credit information below sharing */

.wg-download-panel .wg-credit-info {
    width: 100%;
}

.wg-credit-info {
    display: flex;
    align-items: center;

    gap: 6px;

    white-space: nowrap;

    color: #5e5567;

    font-size: 11px;
    font-weight: 600;
}

.wg-credit-info i {
    color: #7435dc;
}

@media (max-width: 1199px) {
    .wg-style {
        height: 90px;
    }
}

@media (max-width: 991px) {
    .wg-how-it-works {
        padding: 55px 0;
    }

    .wg-step-content {
        padding: 23px;
    }

    .wg-step-info p {
        max-width: 600px;
    }

    .wg-style {
        height: 120px;
    }
}

@media (max-width: 767px) {
    .wg-how-it-works {
        padding: 45px 0;
    }

    .wg-step-content {
        padding: 19px;

        border-radius: 12px;
    }

    .wg-step-info h3 {
        font-size: 18px;
    }

    .wg-step-info p {
        font-size: 12px;
    }

    .wg-style {
        height: 105px;
    }

    .wg-reel-style-image {
        height: 180px;
    }

    .wg-download-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .wg-credit-info {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .trust-badges-row {
        grid-template-columns: 1fr;
    }
    .wg-step-row {
        flex-direction: column;
    }

    .wg-step-marker {
        flex-direction: row;
        margin-bottom: 9px;
    }

    .wg-step-line {
        display: none;
    }

    .wg-product-thumb {
        height: 105px;
    }

    .wg-style {
        height: 125px;
    }
}

/* ============================================================
   WHY JEWELGEN
   ============================================================ */

.wg-love-section {
    padding: 0px 0 12px;
    background: #fff;
    overflow: hidden;
}

.wg-love-title {
    margin: 0 0 18px;
    color: #292933;
    font-size: 23px;
    line-height: 1.2;
}

/* ============================================================
   BENEFITS CARD
   ============================================================ */

.wg-benefits-card {
    height: 96px;
    padding: 0 8px;
    background: #fff;
    border-color: #e1e4e8 !important;
    overflow: hidden;
}

.wg-benefit-item {
    width: 100%;
    height: 100px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.wg-benefit-item i {
    margin-bottom: 5px;
    font-size: 30px;
    line-height: 1;
}

.wg-benefit-item span {
    color: #252531;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 700;
}

/* ============================================================
   SHOWCASE CARD
   ============================================================ */

.wg-showcase-card {
    height: 136px;
    margin-top: 10px;

    overflow: hidden;

    background: #fff;
    border-color: #e1e4e8 !important;
}

/*
    Reference proportions:

    Text      = 26%
    Before    = 23%
    Arrow     = 5%
    AI Photo  = 30%
    AI Reel   = 16%

    This is intentionally NOT Bootstrap columns.
*/

.wg-showcase-grid {
    width: 100%;
    height: 100%;

    display: grid;

    grid-template-columns: 26% 23% 5% 30% 16%;
}

/* ============================================================
   TEXT
   ============================================================ */

.wg-showcase-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 12px 14px;
}

.wg-showcase-content h6 {
    margin: 0 0 5px;

    color: #292933;

    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.wg-showcase-content p {
    max-width: 175px;

    margin: 0;

    color: #687080;

    font-size: 12px;
    line-height: 1.45;
}

/* ============================================================
   IMAGES
   ============================================================ */

.wg-showcase-before,
.wg-showcase-photo,
.wg-showcase-reel {
    position: relative;

    width: 100%;
    height: 136px;

    overflow: hidden;
}

.wg-showcase-before img,
.wg-showcase-photo img,
.wg-showcase-reel video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* ============================================================
   IMAGE LABELS
   ============================================================ */

.wg-image-label {
    position: absolute;
    top: 7px;
    left: 8px;

    z-index: 5;

    color: #fff;

    font-size: 12px;
    line-height: 1;
    font-weight: 600;

    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* ============================================================
   ARROW
   ============================================================ */

.wg-showcase-arrow {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    position: relative;
    z-index: 10;
}

.wg-showcase-arrow i {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);

    font-size: 10px;
}

/* ============================================================
   REEL PLAY ICON
   ============================================================ */

.wg-reel-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.82);

    color: #222;

    font-size: 10px;

    pointer-events: none;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991.98px) {
    .wg-love-section {
        padding: 8px 0 12px;
    }

    .wg-benefits-card {
        height: 74px;
    }

    .wg-benefit-item {
        height: 74px;
    }

    .wg-benefit-item i {
        font-size: 14px;
    }

    .wg-benefit-item span {
        font-size: 8px;
    }

    .wg-showcase-card {
        height: 130px;
    }

    .wg-showcase-before,
    .wg-showcase-photo,
    .wg-showcase-reel {
        height: 130px;
    }

    .wg-showcase-content {
        padding: 10px 12px;
    }

    .wg-showcase-content h6 {
        font-size: 12px;
    }

    .wg-showcase-content p {
        font-size: 8px;
    }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767.98px) {
    .wg-love-section {
        padding: 10px 0 15px;
    }

    .wg-love-title {
        font-size: 14px;
        margin-bottom: 7px;
    }

    .wg-benefits-card {
        height: auto;
        padding: 7px 4px;
    }

    .wg-benefit-item {
        height: 55px;
    }

    .wg-benefit-item i {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .wg-benefit-item span {
        font-size: 8px;
    }

    /*
       On mobile the showcase becomes:

       Text
       Before
       AI Photo
       AI Reel

       Arrow remains between Before and AI Photo.
    */

    .wg-showcase-card {
        height: auto;
        margin-top: 8px;
    }

    .wg-showcase-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 82px 125px;
    }

    .wg-showcase-content {
        grid-column: 1 / 3;
        grid-row: 1;

        padding: 10px 14px;
    }

    .wg-showcase-content h6 {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .wg-showcase-content p {
        max-width: 260px;
        font-size: 9px;
    }

    .wg-showcase-before {
        grid-column: 1;
        grid-row: 2;

        height: 125px;
    }

    .wg-showcase-arrow {
        position: absolute;

        top: 82px;
        left: 50%;

        transform: translate(-50%, -50%);

        width: 30px;
        height: 30px;

        border-radius: 50%;

        z-index: 20;
    }

    .wg-showcase-photo {
        grid-column: 2;
        grid-row: 2;

        height: 125px;
    }

    .wg-showcase-reel {
        grid-column: 1 / 3;
        grid-row: 3;

        height: 125px;
    }
}

/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 575.98px) {
    .wg-love-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .wg-love-title {
        font-size: 13px;
    }

    .wg-benefit-item {
        height: 52px;
    }

    .wg-benefit-item i {
        font-size: 12px;
    }

    .wg-benefit-item span {
        font-size: 7px;
    }

    .wg-showcase-content {
        padding: 9px 12px;
    }

    .wg-showcase-content h6 {
        font-size: 12px;
    }

    .wg-showcase-content p {
        font-size: 8px;
    }
}

.wg-reel-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.82);

    color: #222;

    font-size: 10px;

    cursor: pointer;

    z-index: 10;

    pointer-events: auto;
}

.wg-reel-play:hover {
    background: rgba(255, 255, 255, 0.95);
}

.wg-reel-play i {
    margin-left: 1px;
}

/* ============================================================
   TRUSTED BY JEWELLERY BUSINESSES
   ============================================================ */

.wg-trusted-section {
    background: #fff;
    padding: 30px 0 22px;
}

.wg-trusted-title {
    color: #252531;
    font-size: 23px;
    line-height: 1.2;
    margin-bottom: 10px !important;
}

.wg-trusted-card {
    position: relative;

    border: 1px solid #eeeeee;
    border-radius: 12px;

    padding: 27px 19px;

    background: #fff;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

    min-height: 60px;
}

.wg-trusted-logo {
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.wg-trusted-logo img {
    max-width: 125px;
    max-height: 32px;

    width: auto;
    height: auto;

    object-fit: contain;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991.98px) {
    .wg-trusted-card {
        padding: 10px 25px;
    }

    .wg-trusted-logo img {
        max-width: 115px;
        max-height: 30px;
    }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767.98px) {
    .wg-trusted-section {
        padding: 14px 0 18px;
    }

    .wg-trusted-title {
        font-size: 14px;
    }

    .wg-trusted-card {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .wg-trusted-logo {
        height: 34px;
    }

    .wg-trusted-logo img {
        max-width: 105px;
        max-height: 28px;
    }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

.wg-faq-section {
    padding: 30px 0 50px;
    background: #fff;
}

.wg-faq-title {
    color: #252531;
    font-size: 24px;
    line-height: 1.2;
}

.wg-faq-subtitle {
    color: #737784;
    font-size: 13px;
}

/* ============================================================
   FAQ ITEMS
   ============================================================ */

.wg-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wg-faq-item {
    border: 1px solid #e4e5ea !important;
    border-radius: 12px !important;
    overflow: hidden;

    background: #fff;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.035);
}

/* ============================================================
   QUESTION
   ============================================================ */

.wg-faq-item .accordion-button {
    min-height: 68px;

    padding: 18px 20px;

    background: #fff;

    color: #252531;

    font-size: 14px;
    font-weight: 700;

    box-shadow: none;
}

.wg-faq-item .accordion-button span {
    padding-right: 15px;
}

.wg-faq-item .accordion-button:not(.collapsed) {
    background: #faf7ff;
    color: #6c2bd9;
}

/* Remove Bootstrap default blue focus */

.wg-faq-item .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* ============================================================
   PLUS / MINUS ICON
   ============================================================ */

.wg-faq-item .accordion-button::after {
    width: 16px;
    height: 16px;

    background-image: none;

    content: "+";

    display: flex;
    align-items: center;
    justify-content: center;

    color: #6c2bd9;

    font-size: 21px;
    font-weight: 400;

    transform: none;
}

.wg-faq-item .accordion-button:not(.collapsed)::after {
    content: "−";
    transform: none;
}

/* ============================================================
   ANSWER
   ============================================================ */

.wg-faq-item .accordion-body {
    padding: 0 20px 20px;

    color: #707580;

    font-size: 12px;
    line-height: 1.6;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991.98px) {
    .wg-faq-section {
        padding: 40px 0 45px;
    }

    .wg-faq-title {
        font-size: 22px;
    }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767.98px) {
    .wg-faq-section {
        padding: 35px 0 40px;
    }

    .wg-faq-title {
        font-size: 20px;
    }

    .wg-faq-subtitle {
        font-size: 11px;
    }

    .wg-faq-accordion {
        gap: 10px;
    }

    .wg-faq-item .accordion-button {
        min-height: 60px;
        padding: 15px 16px;

        font-size: 12px;
    }

    .wg-faq-item .accordion-body {
        padding: 0 16px 16px;
        font-size: 11px;
    }
}

/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 575.98px) {
    .wg-faq-section {
        padding: 30px 0 35px;
    }

    .wg-faq-title {
        font-size: 18px;
    }

    .wg-faq-subtitle {
        font-size: 10px;
    }

    .wg-faq-item .accordion-button {
        min-height: 56px;
        padding: 13px 14px;

        font-size: 11px;
    }

    .wg-faq-item .accordion-body {
        padding: 0 14px 14px;
        font-size: 10px;
    }
}

.cta-jewellery-image-hiw {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 229px;
    margin-top: -83px;
    margin-bottom: -80px;
    margin-left: -20px;
}

.cta-jewellery-image-hiw img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.4));
}

#wgPreviewReelStyle {
    position: relative;
    overflow: hidden;
}

#wgPreviewReelStyle .wg-preview-video-control {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

#wgPreviewReelStyle video {
    display: block;
}

.category-showcase-section {
    padding: 40px 0;
    background: #faf8ff;
}

.category-showcase-heading {
    max-width: 720px;
    margin: 0 auto 20px;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #6c2bd9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-showcase-heading h2 {
    margin: 0;
    color: #1e1b4b;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
}

.category-showcase-heading h2 span {
    color: #6c2bd9;
}

.category-gender-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.category-gender-tab {
    min-width: 110px;
    padding: 12px 25px;
    border: 1px solid #e5def5;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.category-gender-tab:hover,
.category-gender-tab.active {
    border-color: #6c2bd9;
    background: #6c2bd9;
    color: #fff;
}

.category-media-block + .category-media-block {
    margin-top: 36px;
}

.category-media-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.category-media-heading h4 {
    margin: 0;
    color: #1e1b4b;
    font-size: 18px;
    font-weight: 700;
}

.category-media-heading p {
    margin: 5px 0 0;
    color: #8b8a99;
    font-size: 14px;
}

.category-media-heading > span {
    padding: 7px 12px;
    border-radius: 999px;
    background: #f2ebff;
    color: #6c2bd9;
    font-size: 12px;
    font-weight: 700;
}

.category-media-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.category-media-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eeeaf6;
    border-radius: 12px;
    background: #fff;
}

.category-media-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f4f1fa;
}

.category-media-image img,
.category-media-image video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-media-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
}

.category-media-card-footer span {
    overflow: hidden;
    color: #37304c;
    font-size: 14px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-media-card-footer i {
    flex-shrink: 0;
    color: #6c2bd9;
    font-size: 12px;
}

.category-reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.35)
    );
    pointer-events: none;
}

.category-reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #6c2bd9;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.category-reel-card.is-playing .category-reel-play {
    opacity: 0.2;
}

.category-empty-state {
    max-width: 600px;
    margin: 0 auto;
    padding: 55px 25px;
    border: 1px dashed #dcd0f2;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.category-empty-state i {
    margin-bottom: 15px;
    color: #a78bfa;
    font-size: 38px;
}

.category-empty-state h4 {
    margin-bottom: 8px;
    color: #1e1b4b;
}

.category-empty-state p {
    margin: 0;
    color: #8b8a99;
}

@media (max-width: 768px) {
    .category-gender-tab {
        min-width: 90px;
        padding: 10px 18px;
    }

    .category-media-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }

    .category-media-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .category-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.testimonials-section {
    background: #faf5ff;

    padding: 70px 0;
}

/* ============================================================

   HEADER

============================================================ */

.testimonials-header {
    text-align: center;

    margin-bottom: 42px;
}

.testimonials-header h4 {
    font-size: 24px;

    font-weight: 700;

    color: #1e1b4b;

    margin: 0 0 8px;
}

.testimonials-header p {
    font-size: 14px;

    color: #73798a;

    margin: 0;
}

/* ============================================================

   SLIDER WRAPPER

============================================================ */

.testimonials-slider-wrapper {
    position: relative;

    display: flex;

    align-items: center;

    gap: 18px;
}

/* ============================================================

   SLIDER

============================================================ */

.testimonials-slider {
    width: 100%;

    overflow: hidden;
}

.testimonials-track {
    display: flex;

    transition: transform 0.5s ease;
}

/* ============================================================

   SLIDE

============================================================ */

.testimonial-slide {
    flex: 0 0 33.333333%;

    min-width: 0;

    padding: 0 8px;
}

/* ============================================================

   CARD

============================================================ */

.testimonial-card {
    height: 100%;

    padding: 28px 26px;

    background: #ffffff;

    border: 1px solid #eeeaff;

    border-radius: 14px;

    box-shadow: 0 4px 18px rgba(60, 30, 100, 0.04);

    display: flex;

    flex-direction: column;
}

/* ============================================================

   STARS

============================================================ */

.testimonial-stars {
    display: flex;

    gap: 4px;

    margin-bottom: 18px;
}

.testimonial-stars i {
    color: #f59e0b;

    font-size: 13px;
}

/* ============================================================

   TEXT

============================================================ */

.testimonial-text {
    font-size: 14px;

    line-height: 1.8;

    color: #73798a;

    margin: 0 0 24px;

    flex: 1;
}

/* ============================================================

   USER

============================================================ */

.testimonial-user {
    display: flex;

    align-items: center;

    gap: 12px;
}

.testimonial-avatar {
    width: 44px;

    height: 44px;

    border-radius: 50%;

    object-fit: cover;

    flex-shrink: 0;
}

.testimonial-name {
    font-size: 14px;

    font-weight: 700;

    color: #20283a;

    margin: 0 0 3px;
}

.testimonial-role {
    font-size: 14px;

    color: #73798a;

    margin: 0;
}

/* ============================================================

   ARROWS

============================================================ */

.testimonials-arrow {
    flex-shrink: 0;

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ffffff;

    border: 1px solid #e5defa;

    border-radius: 50%;

    color: #663cff;

    font-size: 13px;

    cursor: pointer;

    transition: all 0.2s ease;
}

.testimonials-arrow:hover {
    background: #663cff;

    border-color: #663cff;

    color: #ffffff;
}

.testimonials-arrow:disabled {
    opacity: 0.4;

    cursor: not-allowed;
}

/* ============================================================

   DOTS

============================================================ */

.testimonials-dots {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    margin-top: 28px;
}

.testimonial-dot {
    width: 8px;

    height: 8px;

    padding: 0;

    background: #d1d5db;

    border: none;

    border-radius: 50%;

    cursor: pointer;

    transition: all 0.25s ease;
}

.testimonial-dot.active {
    width: 24px;

    border-radius: 999px;

    background: var(--brand-purple);
}

/* ============================================================

   TABLET

   MAX WIDTH: 1199px

============================================================ */

@media (max-width: 1199px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonial-slide {
        flex: 0 0 50%;
    }
}

/* ============================================================

   MOBILE

   MAX WIDTH: 767px

============================================================ */

@media (max-width: 767px) {
    .testimonials-section {
        padding: 45px 0;
    }

    .testimonials-header {
        margin-bottom: 28px;
    }

    .testimonials-header h4 {
        font-size: 20px;
    }
    .testimonials-slider-wrapper {
        gap: 8px;
    }

    .testimonial-slide {
        flex: 0 0 100%;

        padding: 0;
    }

    .testimonial-card {
        padding: 24px 22px;
    }

    .testimonials-arrow {
        width: 32px;

        height: 32px;

        font-size: 11px;
    }

    .testimonials-dots {
        margin-top: 22px;
    }
}

/* ============================================================

   SMALL MOBILE

   MAX WIDTH: 400px

============================================================ */

@media (max-width: 400px) {
    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-header h4 {
        font-size: 18px;
    }

    .testimonial-card {
        padding: 22px 18px;
    }
}

/* ======================================================================================== */

/* ============================================================
   CATEGORY SHOWCASE
============================================================ */

.category-showcase-section {
    padding: 40px 0;
    background: #faf8ff;
}

.category-showcase-heading {
    max-width: 720px;
    margin: 0 auto 20px;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #6c2bd9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-showcase-heading h2 {
    margin: 0;
    color: #1e1b4b;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
}

.category-showcase-heading h2 span {
    color: #6c2bd9;
}

/* ============================================================
   GENDER TABS
============================================================ */

.category-gender-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.category-gender-tab {
    min-width: 110px;
    padding: 12px 25px;
    border: 1px solid #e5def5;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.category-gender-tab:hover,
.category-gender-tab.active {
    border-color: #6c2bd9;
    background: #6c2bd9;
    color: #fff;
}

/* ============================================================
   CATEGORY TABS
============================================================ */

.category-category-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.category-category-tab {
    padding: 10px 20px;
    border: 1px solid #e5def5;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.category-category-tab:hover,
.category-category-tab.active {
    border-color: #6c2bd9;
    background: #f2ebff;
    color: #6c2bd9;
}

/* ============================================================
   CATEGORY CONTENT
============================================================ */

.category-content-panel {
    padding: 24px;
    border: 1px solid #e9e2f7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(52, 24, 104, 0.04);
}

.category-content-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.category-content-heading h3 {
    margin: 0;
    color: #1e1b4b;
    font-size: 20px;
    font-weight: 700;
}

.category-content-heading p {
    margin: 5px 0 0;
    color: #8b8a99;
    font-size: 14px;
}

.category-content-heading > span {
    padding: 7px 12px;
    border-radius: 999px;
    background: #f2ebff;
    color: #6c2bd9;
    font-size: 12px;
    font-weight: 700;
}

/* ============================================================
   MEDIA GRID
   PHOTOS + REELS TOGETHER
============================================================ */

.category-media-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.category-media-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eeeaf6;
    border-radius: 12px;
    background: #fff;
}

.category-media-image {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f4f1fa;
}

.category-media-image img,
.category-media-image video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-media-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
}

.category-media-card-footer span {
    overflow: hidden;
    color: #37304c;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-media-card-footer i {
    flex-shrink: 0;
    color: #6c2bd9;
    font-size: 12px;
}

/* ============================================================
   REEL PLAY BUTTON
============================================================ */

.category-reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.35)
    );
    pointer-events: none;
}

.category-reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #6c2bd9;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: 0.25s ease;
}

.category-reel-card.is-playing .category-reel-play {
    opacity: 0.2;
}

.category-reel-play:hover {
    opacity: 1 !important;
}

/* ============================================================
   EMPTY STATE
============================================================ */

.category-empty-state {
    max-width: 600px;
    margin: 0 auto;
    padding: 55px 25px;
    border: 1px dashed #dcd0f2;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.category-empty-state i {
    margin-bottom: 15px;
    color: #a78bfa;
    font-size: 38px;
}

.category-empty-state h4 {
    margin-bottom: 8px;
    color: #1e1b4b;
}

.category-empty-state p {
    margin: 0;
    color: #8b8a99;
}

/* ============================================================
   PHOTOS / REELS SWITCH
============================================================ */

.category-media-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid #e9e2f7;
    border-radius: 999px;
    background: #faf8ff;
}

.category-media-switch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 8px 14px;

    border: 0;
    border-radius: 999px;

    background: transparent;
    color: #8b8a99;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.25s ease;
}

.category-media-switch-btn i {
    font-size: 11px;
}

.category-media-switch-btn:hover {
    color: #6c2bd9;
}

.category-media-switch-btn.active {
    background: #6c2bd9;
    color: #fff;
}

/* ============================================================
   MEDIA CONTENT
============================================================ */

.category-media-content {
    display: none;
}

.category-media-content.active {
    display: block;
}

/* ============================================================
   EMPTY MEDIA STATE
============================================================ */

.category-media-empty {
    padding: 35px 20px;

    border: 1px dashed #dcd0f2;
    border-radius: 12px;

    background: #faf8ff;

    color: #8b8a99;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 768px) {
    .category-showcase-section {
        padding: 40px 0;
    }

    .category-gender-tab {
        min-width: 90px;
        padding: 10px 18px;
    }

    .category-category-tabs {
        justify-content: center;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }

    .category-category-tab {
        flex-shrink: 0;
        padding: 9px 16px;
        font-size: 12px;
    }

    .category-content-panel {
        padding: 17px;
    }

    .category-content-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-media-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }

    .category-media-switch {
        width: 100%;
        justify-content: center;
    }

    .category-media-switch-btn {
        flex: 1;
        padding: 9px 12px;
    }
}

@media (max-width: 480px) {
    .category-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-content-heading h3 {
        font-size: 17px;
    }

    .category-content-heading p {
        font-size: 12px;
    }

    .category-media-card-footer {
        padding: 8px;
    }

    /* .category-media-card-footer span {
        font-size: 10px;
    } */
}

/* ========================================================================================================= */
/* Template Page Css */

/* =========================================
   TEMPLATE HERO SECTION
========================================= */

.template-hero-section {
    background: #ffffff;
    padding: 42px 0 48px;
    overflow: hidden;
}

/* =========================================
   LEFT CONTENT
========================================= */

.template-hero-content {
    max-width: 500px;
    position: relative;
    z-index: 5;
    /* keeps text above the slider, no matter what */
}

.template-hero-title {
    font-size: 51px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -1.5px;
    color: #18233a;
    margin: 0 0 16px;
}

.template-hero-title span {
    display: block;
    color: #5831e8;
}

.template-hero-description {
    font-size: 16px;
    line-height: 1.7;
    color: #20283a;
    max-width: 390px;
    margin-bottom: 25px;
}

/* =========================================
   FEATURES
========================================= */

.template-feature-list {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.template-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.template-feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1edff;
    border-radius: 7px;

    color: #5b32e8;
    font-size: 20px;
}

.template-feature-item h6 {
    font-size: 14px;
    font-weight: 700;
    color: #20283a;
    margin: 1px 0 4px;
    white-space: nowrap;
}

.template-feature-item p {
    font-size: 14px;
    color: #73798a;
    margin: 0;
    white-space: nowrap;
}

/* =========================================
   BUTTONS
========================================= */

.template-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}


.template-primary-btn {
    background: #5b32e8;
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(91, 50, 232, 0.18);
}

.template-primary-btn:hover {
    background: #4822d2;
    color: #ffffff;
    transform: translateY(-1px);
}

.template-secondary-btn {
    background: #ffffff;
    color: #20283a;
    border: 1px solid #e5e7ed;
    box-shadow: 0 3px 10px rgba(20, 30, 60, 0.04);
}

.template-secondary-btn:hover {
    color: #5b32e8;
    border-color: #d8d0ff;
}

/* =========================================
   SLIDER WRAPPER
========================================= */

.template-slider-wrapper {
    position: relative;
    width: 100%;
    height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    /* clips at the wrapper edge, so side cards must fit inside it */
}

/* =========================================
   SLIDER
========================================= */

.template-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* =========================================
   ALL CARDS
========================================= */

.template-card {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 500px;
    height: 380px;

    background: #ddd;

    /* IMPORTANT: clip the actual card */
    border-radius: 16px !important;
    overflow: hidden !important;
    clip-path: inset(0 round 16px);

    box-shadow: 0 15px 35px rgba(20, 20, 40, 0.14);

    transition:
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.8s ease,
        width 0.8s ease,
        height 0.8s ease,
        z-index 0s linear 0.4s;

    will-change: transform;
}

/* =========================================
   CARD IMAGE
========================================= */

.template-card img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    border-radius: 16px !important;

    /* Ensures image follows the rounded card */
    clip-path: inset(0 round 16px);
}

/* =========================================
   CARD OVERLAY
========================================= */

.template-card-overlay {
    position: absolute;

    inset: 0;

    padding: 25px 28px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(
        90deg,
        rgba(40, 20, 5, 0.72) 0%,
        rgba(40, 20, 5, 0.35) 48%,
        rgba(40, 20, 5, 0.02) 100%
    );

    color: #ffffff;

    transition: opacity 0.5s ease;
}

.template-card-badge {
    display: inline-flex;
    align-items: center;

    padding: 5px 10px;

    background: #5b32e8;
    border-radius: 5px;

    font-size: 15px;
    font-weight: 600;

    margin-bottom: 14px;
}

.template-card-overlay h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;

    margin: 0 0 12px;

    color: #ffffff;
}

.template-card-overlay p {
    font-size: 18px;
    line-height: 1.7;

    margin: 0 0 17px;

    color: #ffffff;
}

.template-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 36px;
    padding: 0 18px;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 6px;

    color: #ffffff;
    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    transition: all 0.2s ease;
}

.template-card-button:hover {
    background: #ffffff;
    color: #3b2615;
}

/* =========================================
   CENTER CARD
========================================= */

.template-card-center {
    width: 500px;
    height: 380px;

    transform: translate(-50%, -50%) translateX(0) scale(1);

    opacity: 1;
    z-index: 3;
}

.template-card-center .template-card-overlay {
    opacity: 1;
}

/* =========================================
   LEFT CARD
========================================= */

.template-card-left {
    width: 360px;
    height: 350px;

    /* pulled inward from -245px so it stays fully inside the wrapper
       and doesn't get its rounded corner clipped off */
    transform: translate(-50%, -50%) translateX(-200px) scale(0.9);

    opacity: 0.75;
    z-index: 1;
}

.template-card-left .template-card-overlay {
    opacity: 0;
}

/* =========================================
   RIGHT CARD
========================================= */

.template-card-right {
    width: 360px;
    height: 350px;

    /* pulled inward from 245px, same reasoning as left card */
    transform: translate(-50%, -50%) translateX(200px) scale(0.9);

    opacity: 0.85;
    z-index: 2;
}

.template-card-right .template-card-overlay {
    opacity: 0;
}

/* =========================================
   FORCE ROUNDED CORNERS ON ALL 3 CARDS
========================================= */

.template-card-center,
.template-card-left,
.template-card-right {
    border-radius: 16px !important;
    overflow: hidden !important;
    clip-path: inset(0 round 16px);
}

.template-card-center img,
.template-card-left img,
.template-card-right img {
    border-radius: 16px !important;
    clip-path: inset(0 round 16px);
}

/* =========================================
   HOVER
========================================= */

.template-card-center:hover img {
    transform: scale(1.03);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1199px) {
    .template-hero-title {
        font-size: 36px;
    }

    .template-feature-list {
        gap: 15px;
    }

    .template-feature-item {
        gap: 7px;
    }

    .template-card-center {
        width: 310px;
        height: 260px;
    }

    .template-card-left,
    .template-card-right {
        width: 220px;
        height: 230px;
    }

    .template-card-left {
        transform: translate(-50%, -50%) translateX(-160px) scale(0.9);
    }

    .template-card-right {
        transform: translate(-50%, -50%) translateX(160px) scale(0.9);
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 575px) {
    .jg-cta-banner {
        flex-wrap: wrap;
    }

    .template-hero-title {
        font-size: 30px;
    }

    .template-hero-description {
        font-size: 14px;
        line-height: normal;
    }

    .template-feature-item {
        gap: 5px;
    }

    .template-primary-btn,
    .template-secondary-btn {
        padding: 0 14px;
    }

    .template-slider-wrapper {
        height: 280px;
    }

    .template-card-center {
        width: 280px;
        height: 230px;
    }

    .template-card-left,
    .template-card-right {
        width: 190px;
        height: 210px;
    }

    .template-card-left {
        transform: translate(-50%, -50%) translateX(-125px) scale(0.85);
    }

    .template-card-right {
        transform: translate(-50%, -50%) translateX(125px) scale(0.85);
    }

    .template-card-overlay {
        padding: 18px 20px;
    }

    .template-card-overlay h2 {
        font-size: 20px;
    }
}

/* ============================================================
   AI TEMPLATE SHOWCASE
============================================================ */

.ai-template-showcase {
    background: #ffffff;
    padding: 20px 0 50px;
}

.ai-template-container {
    margin: 0 auto;
    padding: 0 46px;
}

/* ============================================================
   ROW
============================================================ */

.ai-template-row {
    margin-bottom: 42px;
}

.ai-template-row:last-child {
    margin-bottom: 0;
}

/* ============================================================
   HEADER
============================================================ */

.ai-template-row-header {
    margin-bottom: 18px;
}

.ai-template-row-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #18233a;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

.ai-template-row-header p {
    font-size: 14px;
    color: #73798a;
    margin: 0;
}

/* ============================================================
   HORIZONTAL TEMPLATE SLIDER
============================================================ */

.ai-template-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ai-template-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;

    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 5px;
}

.ai-template-grid::-webkit-scrollbar {
    display: none;
}

/*
   Desktop:
   Always show 6 cards in one row.
*/
.ai-template-grid .ai-template-card {
    flex: 0 0 calc((100% - 70px) / 6);
    width: auto;
    min-width: 0;
}

/* ============================================================
   SECTION HEADER
============================================================ */

.ai-template-row-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

/* ============================================================
   SLIDER ARROWS
============================================================ */

.ai-template-slider-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ai-template-slider-arrow {
    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #ffffff;
    color: #20283a;

    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-template-slider-arrow:hover {
    background: #6c2bd9;
    border-color: #6c2bd9;
    color: #ffffff;
}

.ai-template-slider-arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* ============================================================
   CARD
============================================================ */

.ai-template-card {
    min-width: 0;
}

.ai-template-card h3 {
    font-size: 14px;
    font-weight: 500;
    color: #20283a;
    margin: 9px 0 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   IMAGE / VIDEO WRAPPER
============================================================ */

.ai-template-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.25;
    overflow: hidden;
    border-radius: 9px;
    background: #f1f1f1;
}

.ai-template-image-wrapper img,
.ai-template-reel-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ============================================================
   REEL VIDEO
============================================================ */

.ai-template-reel-wrapper {
    background: #111111;
}

.ai-template-reel-video {
    position: absolute;
    inset: 0;
}

/* ============================================================
   REEL OVERLAY
============================================================ */

.ai-template-reel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

/* ============================================================
   PLAY BUTTON
============================================================ */

.ai-template-reel-play,
.ai-template-reel-pause {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 42px;
    height: 42px;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;

    color: #ffffff;
    font-size: 18px;

    cursor: pointer;
    z-index: 3;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.ai-template-reel-play:hover,
.ai-template-reel-pause:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.08);
}

.ai-template-reel-play i {
    margin-left: 2px;
}

/* ============================================================
   PAUSE BUTTON
============================================================ */

.ai-template-reel-pause {
    background: rgba(0, 0, 0, 0.55);
}

/* ============================================================
   DURATION
============================================================ */

.ai-template-reel-duration {
    position: absolute;
    bottom: 8px;
    left: 8px;

    padding: 3px 6px;

    background: rgba(0, 0, 0, 0.65);
    border-radius: 4px;

    color: #ffffff;
    font-size: 9px;
    font-weight: 500;

    z-index: 3;
}

/* ============================================================
   EMPTY STATE
============================================================ */

.ai-template-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #73798a;
    font-size: 14px;
    padding: 30px 0;
}

/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1199px) {
    .ai-template-container,
    .template-hero-container {
        padding: 0 30px !important;
    }

    .ai-template-grid .ai-template-card {
        flex: 0 0 calc((100% - 42px) / 4);
    }
}

/* ============================================================
   MOBILE
============================================================ */
@media (max-width: 767px) {
    .ai-template-showcase {
        padding: 10px 0 50px;
    }

    .ai-template-container,
    .template-hero-container {
        padding: 0 16px !important;
    }

    .ai-template-row {
        margin-bottom: 32px;
    }

    .ai-template-row-header {
        margin-bottom: 14px;
        align-items: center;
    }

    .ai-template-row-header h2 {
        font-size: 16px;
    }

    .ai-template-grid {
        gap: 10px;
    }

    .ai-template-grid .ai-template-card {
        flex: 0 0 calc((100% - 10px) / 2);
    }

    .ai-template-reel-play,
    .ai-template-reel-pause {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .ai-template-reel-duration {
        bottom: 5px;
        left: 5px;
        font-size: 8px;
    }

    .ai-template-slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* ============================================================
   TEMPLATE BOTTOM SECTION
============================================================ */

.template-bottom-section {
    background: #ffffff;
    padding: 0 0 40px;
}

.template-bottom-container {
    margin: 0 auto;
    padding: 0 46px;
}

/* ============================================================
   FEATURE STRIP
============================================================ */

.template-feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: #faf9ff;
    border: 1px solid #eeeaff;
    border-radius: 10px;

    margin-bottom: 16px;
    padding: 30px 24px;
}

/* ============================================================
   FEATURE BOX
============================================================ */

.template-feature-box {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
    padding: 0 22px;

    border-right: 1px solid #eeeaff;
}

.template-feature-box:first-child {
    padding-left: 0;
}

.template-feature-box:last-child {
    border-right: none;
    padding-right: 0;
}

/* ============================================================
   FEATURE ICON
============================================================ */

.template-feature-icon {
    flex-shrink: 0;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #663cff;
}

/* ============================================================
   FEATURE CONTENT
============================================================ */

.template-feature-content h4 {
    font-size: 16px;
    font-weight: 600;

    color: #20283a;

    margin: 0 0 3px;
}

.template-feature-content p {
    font-size: 14px;

    color: #73798a;

    margin: 0;

    white-space: nowrap;
}

/* ============================================================
   CUSTOM CTA
============================================================ */

.template-custom-cta {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 82px;

    padding: 35px 40px;

    overflow: hidden;

    border-radius: 13px;

    background: linear-gradient(105deg, #4520a8 0%, #5b2bc1 55%, #4a20a7 100%);
}

/* ============================================================
   CTA CONTENT
============================================================ */

.template-custom-cta-content {
    position: relative;
    z-index: 2;

    flex: 1;
}

.template-custom-cta-content h2 {
    font-size: 32px;
    font-weight: 600;

    color: #ffffff;

    margin: 0 0 7px;
}

.template-custom-cta-content p {
    font-size: 14px;

    color: rgba(255, 255, 255, 0.9);

    margin: 0;
}

/* ============================================================
   CTA BUTTON
============================================================ */

.template-custom-cta-button {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex-shrink: 0;

    padding: 10px 20px;

    background: #ffffff;
    color: #5425b8;

    border-radius: 5px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.25s ease;
}

.template-custom-cta-button:hover {
    background: #f3efff;
    color: #4520a8;

    transform: translateY(-1px);
}

.template-custom-cta-button i {
    font-size: 13px;
}

/* ============================================================
   CTA IMAGE
============================================================ */

.template-custom-cta-image {
    position: absolute;

    right: 0;
    top: 0;

    width: 34%;
    height: 100%;

    overflow: hidden;

    pointer-events: none;
}

.template-custom-cta-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 1.2;

    mix-blend-mode: screen;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 35%,
        black 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 35%,
        black 100%
    );
}

/* ============================================================
   AI FESTIVAL IMAGES
============================================================ */

.festival-template-row {
    margin-bottom: 42px;
}

/* ============================================================
   FESTIVAL GRID
============================================================ */

.festival-template-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

/* ============================================================
   FESTIVAL IMAGE
============================================================ */

.festival-template-image-wrapper {
    aspect-ratio: 1 / 1.25;
    border-radius: 9px;
}

/* ============================================================
   FESTIVAL TITLE
============================================================ */

.festival-template-card h3 {
    font-size: 14px;
    font-weight: 500;
    color: #20283a;
    margin: 9px 0 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1199px) {
    .template-bottom-container {
        padding: 0 30px;
    }

    .template-feature-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 0;
    }

    .template-feature-box:nth-child(2) {
        border-right: none;
    }

    .template-feature-box:nth-child(3),
    .template-feature-box:nth-child(4) {
        border-top: 1px solid #eeeaff;
        padding-top: 18px;
    }

    .template-feature-box:nth-child(3) {
        padding-left: 0;
    }

    .festival-template-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {
    .template-bottom-section {
        padding-bottom: 45px;
    }

    .template-bottom-container {
        padding: 0 16px;
    }

    .template-feature-strip {
        grid-template-columns: 1fr;

        padding: 16px;
        gap: 0;
    }

    .template-feature-box,
    .template-feature-box:first-child,
    .template-feature-box:last-child {
        padding: 12px 0;

        border-right: none;
        border-bottom: 1px solid #eeeaff;
    }

    .template-feature-box:first-child {
        padding-top: 0;
    }

    .template-feature-box:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    .template-feature-box:nth-child(3),
    .template-feature-box:nth-child(4) {
        border-top: none;
    }

    .template-custom-cta {
        display: block;

        padding: 24px 22px;
    }

    .template-custom-cta-content {
        margin-bottom: 18px;
    }

    .template-custom-cta-content h2 {
        font-size: 16px;
    }

    .template-custom-cta-button {
        font-size: 14px;
        padding: 10px 16px;
    }

    .template-custom-cta-image {
        width: 55%;
        opacity: 0.45;
    }

    .festival-template-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

/* ============================================================
   MODEL CHOOSER
============================================================ */

.wg-model-section {
    display: none;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
}

.wg-model-section.is-visible {
    display: block;
}

.wg-model-section-header {
    margin-bottom: 14px;
}

.wg-model-section-header h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #18233a;
}

.wg-model-section-header p {
    margin: 0;
    font-size: 12px;
    color: #73798a;
}

.wg-model-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 430px;
}

.wg-model-option {
    position: relative;
    display: block;
    width: 100%;
    padding: 3px;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.wg-model-option:hover {
    transform: translateY(-2px);
    border-color: #9747ff;
}

.wg-model-option.active {
    border: 2px solid #7c2ce8;
    box-shadow: 0 0 0 3px rgba(124, 44, 232, 0.12);
}

.wg-model-option img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.25;
    object-fit: cover;
    border-radius: 9px;
}

.wg-model-check {
    position: absolute;
    top: 9px;
    right: 9px;

    display: none;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #7c2ce8;
    color: #ffffff;
    font-size: 11px;
}

.wg-model-option.active .wg-model-check {
    display: flex;
}

/* Selected model preview */
#wgPreviewModel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

@media (max-width: 767px) {
    .wg-model-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .wg-model-section-header h4 {
        font-size: 14px;
    }

    .wg-model-section-header p {
        font-size: 11px;
    }
}

/* ============================================================
   CATEGORY PHOTOS / REELS SLIDER
============================================================ */

.category-media-slider {
    width: 100%;
    position: relative;
}

.category-media-slider-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    margin-bottom: 10px;
}

.category-media-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-media-prev,
.category-media-next {
    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e9e2f7;
    border-radius: 50%;

    background: #ffffff;
    color: #6c2bd9;

    cursor: pointer;
    transition: all 0.2s ease;
}

.category-media-prev:hover,
.category-media-next:hover {
    background: #6c2bd9;
    border-color: #6c2bd9;
    color: #ffffff;
}

.category-media-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    margin-bottom: 14px;
}

/* Change category grid into horizontal scrolling track */

.category-media-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;

    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scrollbar-width: none;

    padding-bottom: 5px;
}

.category-media-grid::-webkit-scrollbar {
    display: none;
}

/* Desktop: show seven cards, remaining cards slide horizontally */

.category-media-grid .category-media-card {
    flex: 0 0 calc((100% - 72px) / 7);
    min-width: 0;
}

/* Tablet */

@media (max-width: 1199px) {
    .category-media-grid .category-media-card {
        flex: 0 0 calc((100% - 36px) / 4);
    }
}

/* Mobile */

@media (max-width: 767px) {
    .category-media-grid {
        gap: 10px;
    }

    .category-media-grid .category-media-card {
        flex: 0 0 calc((100% - 10px) / 2);
    }

    .category-media-prev,
    .category-media-next {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
}

/* ============================================================
   CATEGORY SHOWCASE
============================================================ */

.category-showcase-section {
    padding: 40px 0;
    background: #faf8ff;
}

.category-showcase-heading {
    max-width: 720px;
    margin: 0 auto 20px;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #6c2bd9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-showcase-heading h2 {
    margin: 0;
    color: #1e1b4b;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
}

.category-showcase-heading h2 span {
    color: #6c2bd9;
}

/* ============================================================
   GENDER TABS
============================================================ */

.category-gender-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.category-gender-tab {
    min-width: 110px;
    padding: 12px 25px;
    border: 1px solid #e5def5;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.category-gender-tab:hover,
.category-gender-tab.active {
    border-color: #6c2bd9;
    background: #6c2bd9;
    color: #fff;
}

/* ============================================================
   CATEGORY TABS
============================================================ */

.category-category-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.category-category-tab {
    padding: 10px 20px;
    border: 1px solid #e5def5;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.category-category-tab:hover,
.category-category-tab.active {
    border-color: #6c2bd9;
    background: #f2ebff;
    color: #6c2bd9;
}

/* ============================================================
   CATEGORY CONTENT
============================================================ */

.category-content-panel {
    padding: 24px;
    border: 1px solid #e9e2f7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(52, 24, 104, 0.04);
}

.category-content-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.category-content-heading h3 {
    margin: 0;
    color: #1e1b4b;
    font-size: 20px;
    font-weight: 750;
}

.category-content-heading p {
    margin: 5px 0 0;
    color: #8b8a99;
    font-size: 13px;
}

.category-content-heading > span {
    padding: 7px 12px;
    border-radius: 999px;
    background: #f2ebff;
    color: #6c2bd9;
    font-size: 12px;
    font-weight: 700;
}

/* ============================================================
   MEDIA GRID
   PHOTOS + REELS TOGETHER
============================================================ */

.category-media-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.category-media-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eeeaf6;
    border-radius: 12px;
    background: #fff;
}

.category-media-image {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f4f1fa;
}

.category-media-image img,
.category-media-image video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-media-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
}

.category-media-card-footer span {
    overflow: hidden;
    color: #37304c;
    font-size: 11px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-media-card-footer i {
    flex-shrink: 0;
    color: #6c2bd9;
    font-size: 12px;
}

/* ============================================================
   REEL PLAY BUTTON
============================================================ */

.category-reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.35)
    );
    pointer-events: none;
}

.category-reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #6c2bd9;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: 0.25s ease;
}

.category-reel-card.is-playing .category-reel-play {
    opacity: 0.2;
}

.category-reel-play:hover {
    opacity: 1 !important;
}

/* ============================================================
   EMPTY STATE
============================================================ */

.category-empty-state {
    max-width: 600px;
    margin: 0 auto;
    padding: 55px 25px;
    border: 1px dashed #dcd0f2;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.category-empty-state i {
    margin-bottom: 15px;
    color: #a78bfa;
    font-size: 38px;
}

.category-empty-state h4 {
    margin-bottom: 8px;
    color: #1e1b4b;
}

.category-empty-state p {
    margin: 0;
    color: #8b8a99;
}

/* ============================================================
   PHOTOS / REELS SWITCH
============================================================ */

.category-media-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid #e9e2f7;
    border-radius: 999px;
    background: #faf8ff;
}

.category-media-switch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 8px 14px;

    border: 0;
    border-radius: 999px;

    background: transparent;
    color: #8b8a99;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.25s ease;
}

.category-media-switch-btn i {
    font-size: 11px;
}

.category-media-switch-btn:hover {
    color: #6c2bd9;
}

.category-media-switch-btn.active {
    background: #6c2bd9;
    color: #fff;
}

/* ============================================================
   MEDIA CONTENT
============================================================ */

.category-media-content {
    display: none;
}

.category-media-content.active {
    display: block;
}

/* ============================================================
   EMPTY MEDIA STATE
============================================================ */

.category-media-empty {
    padding: 35px 20px;

    border: 1px dashed #dcd0f2;
    border-radius: 12px;

    background: #faf8ff;

    color: #8b8a99;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 768px) {
    .category-showcase-section {
        padding: 40px 0;
    }

    .category-gender-tab {
        min-width: 90px;
        padding: 10px 18px;
    }

    .category-category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }

    .category-category-tab {
        flex-shrink: 0;
        padding: 9px 16px;
        font-size: 12px;
    }

    .category-content-panel {
        padding: 17px;
    }

    .category-content-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-media-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }

    .category-media-switch {
        width: 100%;
        justify-content: center;
    }

    .category-media-switch-btn {
        flex: 1;
        padding: 9px 12px;
    }
}

@media (max-width: 480px) {
    .category-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-content-heading h3 {
        font-size: 17px;
    }

    .category-content-heading p {
        font-size: 12px;
    }

    .category-media-card-footer {
        padding: 8px;
    }

    .category-media-card-footer span {
        font-size: 10px;
    }
}

/* ========================================================================================================= */
/* Template Page Css */

/* =========================================
   TEMPLATE HERO SECTION
========================================= */

.template-hero-section {
    background: #ffffff;
    padding: 42px 0 48px;
    overflow: hidden;
}

.template-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 46px;
}

/* =========================================
   LEFT CONTENT
========================================= */

.template-hero-content {
    max-width: 500px;
    position: relative;
    z-index: 5;
    /* keeps text above the slider, no matter what */
}

.template-hero-title {
    font-size: 51px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -1.5px;
    color: #18233a;
    margin: 0 0 16px;
}

.template-hero-title span {
    display: block;
    color: #5831e8;
}

/* .cinematic-reel-item {
    cursor: pointer;
} */

.template-hero-description {
    font-size: 16px;
    line-height: 1.7;
    color: #20283a;
    max-width: 390px;
    margin-bottom: 25px;
}

/* =========================================
   FEATURES
========================================= */

.template-feature-list {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 28px;
}

.template-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.template-feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1edff;
    border-radius: 7px;

    color: #5b32e8;
    font-size: 20px;
}

.template-feature-item p {
    font-size: 13px;
    color: #73798a;
    margin: 0;
    white-space: nowrap;
}

/* =========================================
   BUTTONS
========================================= */

.template-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.template-primary-btn,
.template-secondary-btn {
    height: 38px;
    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition: all 0.2s ease;
}

.template-primary-btn {
    background: #5b32e8;
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(91, 50, 232, 0.18);
}

.template-primary-btn:hover {
    background: #4822d2;
    color: #ffffff;
    transform: translateY(-1px);
}

.template-secondary-btn {
    background: #ffffff;
    color: #20283a;
    border: 1px solid #e5e7ed;
    box-shadow: 0 3px 10px rgba(20, 30, 60, 0.04);
}

.template-secondary-btn:hover {
    color: #5b32e8;
    border-color: #d8d0ff;
}

/* =========================================
   SLIDER WRAPPER
========================================= */

.template-slider-wrapper {
    position: relative;
    width: 100%;
    height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    /* clips at the wrapper edge, so side cards must fit inside it */
}

/* =========================================
   SLIDER
========================================= */

.template-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* =========================================
   ALL CARDS
========================================= */

.template-card {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 500px;
    height: 380px;

    background: #ddd;

    /* IMPORTANT: clip the actual card */
    border-radius: 16px !important;
    overflow: hidden !important;
    clip-path: inset(0 round 16px);

    box-shadow: 0 15px 35px rgba(20, 20, 40, 0.14);

    transition:
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.8s ease,
        width 0.8s ease,
        height 0.8s ease,
        z-index 0s linear 0.4s;

    will-change: transform;
}

/* =========================================
   CARD IMAGE
========================================= */

.template-card img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    border-radius: 16px !important;

    /* Ensures image follows the rounded card */
    clip-path: inset(0 round 16px);
}

/* =========================================
   CARD OVERLAY
========================================= */

.template-card-overlay {
    position: absolute;

    inset: 0;

    padding: 25px 28px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(
        90deg,
        rgba(40, 20, 5, 0.72) 0%,
        rgba(40, 20, 5, 0.35) 48%,
        rgba(40, 20, 5, 0.02) 100%
    );

    color: #ffffff;

    transition: opacity 0.5s ease;
}

.template-card-badge {
    display: inline-flex;
    align-items: center;

    padding: 5px 10px;

    background: #5b32e8;
    border-radius: 5px;

    font-size: 15px;
    font-weight: 600;

    margin-bottom: 14px;
}

.template-card-overlay h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;

    margin: 0 0 12px;

    color: #ffffff;
}

.template-card-overlay p {
    font-size: 18px;
    line-height: 1.7;

    margin: 0 0 17px;

    color: #ffffff;
}

.template-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 36px;
    padding: 0 18px;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 6px;

    color: #ffffff;
    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    transition: all 0.2s ease;
}

.template-card-button:hover {
    background: #ffffff;
    color: #3b2615;
}

/* =========================================
   CENTER CARD
========================================= */

.template-card-center {
    width: 500px;
    height: 380px;

    transform: translate(-50%, -50%) translateX(0) scale(1);

    opacity: 1;
    z-index: 3;
}

.template-card-center .template-card-overlay {
    opacity: 1;
}

/* =========================================
   LEFT CARD
========================================= */

.template-card-left {
    width: 360px;
    height: 350px;

    /* pulled inward from -245px so it stays fully inside the wrapper
       and doesn't get its rounded corner clipped off */
    transform: translate(-50%, -50%) translateX(-200px) scale(0.9);

    opacity: 0.75;
    z-index: 1;
}

.template-card-left .template-card-overlay {
    opacity: 0;
}

/* =========================================
   RIGHT CARD
========================================= */

.template-card-right {
    width: 360px;
    height: 350px;

    /* pulled inward from 245px, same reasoning as left card */
    transform: translate(-50%, -50%) translateX(200px) scale(0.9);

    opacity: 0.85;
    z-index: 2;
}

.template-card-right .template-card-overlay {
    opacity: 0;
}

/* =========================================
   FORCE ROUNDED CORNERS ON ALL 3 CARDS
========================================= */

.template-card-center,
.template-card-left,
.template-card-right {
    border-radius: 16px !important;
    overflow: hidden !important;
    clip-path: inset(0 round 16px);
}

.template-card-center img,
.template-card-left img,
.template-card-right img {
    border-radius: 16px !important;
    clip-path: inset(0 round 16px);
}

/* =========================================
   HOVER
========================================= */

.template-card-center:hover img {
    transform: scale(1.03);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1199px) {
    .template-hero-title {
        font-size: 36px;
    }

    .template-feature-item {
        gap: 7px;
    }

    .template-card-center {
        width: 310px;
        height: 260px;
    }

    .template-card-left,
    .template-card-right {
        width: 220px;
        height: 230px;
    }

    .template-card-left {
        transform: translate(-50%, -50%) translateX(-160px) scale(0.9);
    }

    .template-card-right {
        transform: translate(-50%, -50%) translateX(160px) scale(0.9);
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 575px) {
    .template-hero-title {
        font-size: 30px;
    }

    .template-hero-description {
        font-size: 13px;
    }

    .template-feature-item {
        gap: 5px;
    }

    .template-slider-wrapper {
        height: 280px;
    }

    .template-card-center {
        width: 280px;
        height: 230px;
    }

    .template-card-left,
    .template-card-right {
        width: 190px;
        height: 210px;
    }

    .template-card-left {
        transform: translate(-50%, -50%) translateX(-125px) scale(0.85);
    }

    .template-card-right {
        transform: translate(-50%, -50%) translateX(125px) scale(0.85);
    }

    .template-card-overlay {
        padding: 18px 20px;
    }

    .template-card-overlay h2 {
        font-size: 20px;
    }
}

/* ============================================================
   AI TEMPLATE SHOWCASE
============================================================ */

.ai-template-showcase {
    background: #ffffff;
    padding: 20px 0 50px;
}

.ai-template-container {
    margin: 0 auto;
    padding: 0 46px;
}

/* ============================================================
   ROW
============================================================ */

.ai-template-row {
    margin-bottom: 42px;
}

.ai-template-row:last-child {
    margin-bottom: 0;
}

/* ============================================================
   HEADER
============================================================ */

.ai-template-row-header {
    margin-bottom: 18px;
}

.ai-template-row-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #18233a;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

/* ============================================================
   HORIZONTAL TEMPLATE SLIDER
============================================================ */

.ai-template-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ai-template-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;

    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 5px;
}

.ai-template-grid::-webkit-scrollbar {
    display: none;
}

/*
   Desktop:
   Always show 6 cards in one row.
*/
.ai-template-grid .ai-template-card {
    flex: 0 0 calc((100% - 70px) / 6);
    width: auto;
    min-width: 0;
}

/* ============================================================
   SECTION HEADER
============================================================ */

.ai-template-row-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

/* ============================================================
   SLIDER ARROWS
============================================================ */

.ai-template-slider-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ai-template-slider-arrow {
    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #ffffff;
    color: #20283a;

    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-template-slider-arrow:hover {
    background: #6c2bd9;
    border-color: #6c2bd9;
    color: #ffffff;
}

.ai-template-slider-arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* ============================================================
   CARD
============================================================ */

.ai-template-card {
    min-width: 0;
}

/* ============================================================
   IMAGE / VIDEO WRAPPER
============================================================ */

.ai-template-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.25;
    overflow: hidden;
    border-radius: 9px;
    background: #f1f1f1;
}

.ai-template-image-wrapper img,
.ai-template-reel-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ============================================================
   REEL VIDEO
============================================================ */

.ai-template-reel-wrapper {
    background: #111111;
}

.ai-template-reel-video {
    position: absolute;
    inset: 0;
}

/* ============================================================
   REEL OVERLAY
============================================================ */

.ai-template-reel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

/* ============================================================
   PLAY BUTTON
============================================================ */

.ai-template-reel-play,
.ai-template-reel-pause {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 42px;
    height: 42px;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;

    color: #ffffff;
    font-size: 18px;

    cursor: pointer;
    z-index: 3;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.ai-template-reel-play:hover,
.ai-template-reel-pause:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.08);
}

.ai-template-reel-play i {
    margin-left: 2px;
}

/* ============================================================
   PAUSE BUTTON
============================================================ */

.ai-template-reel-pause {
    background: rgba(0, 0, 0, 0.55);
}

/* ============================================================
   DURATION
============================================================ */

.ai-template-reel-duration {
    position: absolute;
    bottom: 8px;
    left: 8px;

    padding: 3px 6px;

    background: rgba(0, 0, 0, 0.65);
    border-radius: 4px;

    color: #ffffff;
    font-size: 9px;
    font-weight: 500;

    z-index: 3;
}

/* ============================================================
   EMPTY STATE
============================================================ */

.ai-template-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #73798a;
    font-size: 14px;
    padding: 30px 0;
}

/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1199px) {
    .ai-template-container {
        padding: 0 30px;
    }

    .ai-template-grid .ai-template-card {
        flex: 0 0 calc((100% - 42px) / 4);
    }
}

/* ============================================================
   MOBILE
============================================================ */
@media (max-width: 767px) {
    .ai-template-showcase {
        padding: 10px 0 50px;
    }

    .ai-template-container {
        padding: 0 16px;
    }

    .ai-template-row {
        margin-bottom: 32px;
    }

    .ai-template-row-header {
        margin-bottom: 14px;
        align-items: center;
    }

    .ai-template-row-header h2 {
        font-size: 16px;
    }

    .ai-template-grid {
        gap: 10px;
    }

    .ai-template-grid .ai-template-card {
        flex: 0 0 calc((100% - 10px) / 2);
    }

    .ai-template-reel-play,
    .ai-template-reel-pause {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .ai-template-reel-duration {
        bottom: 5px;
        left: 5px;
        font-size: 8px;
    }

    .ai-template-slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* ============================================================
   TEMPLATE BOTTOM SECTION
============================================================ */

.template-bottom-section {
    background: #ffffff;
    padding: 0 0 40px;
}

.template-bottom-container {
    margin: 0 auto;
    padding: 0 46px;
}

/* ============================================================
   FEATURE STRIP
============================================================ */

.template-feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: #faf9ff;
    border: 1px solid #eeeaff;
    border-radius: 10px;

    margin-bottom: 16px;
    padding: 30px 24px;
}

/* ============================================================
   FEATURE BOX
============================================================ */

.template-feature-box {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
    padding: 0 22px;

    border-right: 1px solid #eeeaff;
}

.template-feature-box:first-child {
    padding-left: 0;
}

.template-feature-box:last-child {
    border-right: none;
    padding-right: 0;
}

/* ============================================================
   CUSTOM CTA
============================================================ */

.template-custom-cta {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 82px;

    padding: 35px 40px;

    overflow: hidden;

    border-radius: 13px;

    background: linear-gradient(105deg, #4520a8 0%, #5b2bc1 55%, #4a20a7 100%);
}

/* ============================================================
   CTA CONTENT
============================================================ */

.template-custom-cta-content {
    position: relative;
    z-index: 2;

    flex: 1;
}

.template-custom-cta-content h2 {
    font-size: 32px;
    font-weight: 600;

    color: #ffffff;

    margin: 0 0 7px;
}

/* ============================================================
   CTA BUTTON
============================================================ */

.template-custom-cta-button:hover {
    background: #f3efff;
    color: #4520a8;

    transform: translateY(-1px);
}

.template-custom-cta-button i {
    font-size: 13px;
}

/* ============================================================
   CTA IMAGE
============================================================ */

.template-custom-cta-image {
    position: absolute;

    right: 0;
    top: 0;

    width: 34%;
    height: 100%;

    overflow: hidden;

    pointer-events: none;
}

.template-custom-cta-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 1.2;

    mix-blend-mode: screen;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 35%,
        black 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 35%,
        black 100%
    );
}

/* ============================================================
   AI FESTIVAL IMAGES
============================================================ */

.festival-template-row {
    margin-bottom: 42px;
}

/* ============================================================
   FESTIVAL GRID
============================================================ */

.festival-template-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

/* ============================================================
   FESTIVAL IMAGE
============================================================ */

.festival-template-image-wrapper {
    aspect-ratio: 1 / 1.25;
    border-radius: 9px;
}

/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1199px) {
    .template-bottom-container {
        padding: 0 30px;
    }

    .template-feature-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 0;
    }

    .template-feature-box:nth-child(2) {
        border-right: none;
    }

    .template-feature-box:nth-child(3),
    .template-feature-box:nth-child(4) {
        border-top: 1px solid #eeeaff;
        padding-top: 18px;
    }

    .template-feature-box:nth-child(3) {
        padding-left: 0;
    }

    .festival-template-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {
    .template-bottom-section {
        padding-bottom: 45px;
    }

    .template-bottom-container {
        padding: 0 16px;
    }

    .template-feature-strip {
        grid-template-columns: 1fr;

        padding: 16px;
        gap: 0;
    }

    .template-feature-box,
    .template-feature-box:first-child,
    .template-feature-box:last-child {
        padding: 12px 0;

        border-right: none;
        border-bottom: 1px solid #eeeaff;
    }

    .template-feature-box:first-child {
        padding-top: 0;
    }

    .template-feature-box:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    .template-feature-box:nth-child(3),
    .template-feature-box:nth-child(4) {
        border-top: none;
    }

    .template-custom-cta {
        display: block;

        padding: 24px 22px;
    }

    .template-custom-cta-content {
        margin-bottom: 18px;
    }

    .template-custom-cta-content h2 {
        font-size: 16px;
    }

    .template-custom-cta-image {
        width: 55%;
        opacity: 0.45;
    }

    .festival-template-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

}

/* ============================================================
   MODEL CHOOSER
============================================================ */

.wg-model-section {
    display: none;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
}

.wg-model-section.is-visible {
    display: block;
}

.wg-model-section-header {
    margin-bottom: 14px;
}

.wg-model-section-header h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #18233a;
}

.wg-model-section-header p {
    margin: 0;
    font-size: 12px;
    color: #73798a;
}

.wg-model-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 430px;
}

.wg-model-option {
    position: relative;
    display: block;
    width: 100%;
    padding: 3px;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.wg-model-option:hover {
    transform: translateY(-2px);
    border-color: #9747ff;
}

.wg-model-option.active {
    border: 2px solid #7c2ce8;
    box-shadow: 0 0 0 3px rgba(124, 44, 232, 0.12);
}

.wg-model-option img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.25;
    object-fit: cover;
    border-radius: 9px;
}

.wg-model-check {
    position: absolute;
    top: 9px;
    right: 9px;

    display: none;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #7c2ce8;
    color: #ffffff;
    font-size: 11px;
}

.wg-model-option.active .wg-model-check {
    display: flex;
}

/* Selected model preview */
#wgPreviewModel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

@media (max-width: 767px) {
    .wg-model-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .wg-model-section-header h4 {
        font-size: 14px;
    }

    .wg-model-section-header p {
        font-size: 11px;
    }
}

/* ============================================================
   CATEGORY PHOTOS / REELS SLIDER
============================================================ */

.category-media-slider {
    width: 100%;
    position: relative;
}

.category-media-slider-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    margin-bottom: 10px;
}

.category-media-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-media-prev,
.category-media-next {
    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e9e2f7;
    border-radius: 50%;

    background: #ffffff;
    color: #6c2bd9;

    cursor: pointer;
    transition: all 0.2s ease;
}

.category-media-prev:hover,
.category-media-next:hover {
    background: #6c2bd9;
    border-color: #6c2bd9;
    color: #ffffff;
}

.category-media-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    margin-bottom: 14px;
}

/* Change category grid into horizontal scrolling track */

.category-media-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;

    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scrollbar-width: none;

    padding-bottom: 5px;
}

.category-media-grid::-webkit-scrollbar {
    display: none;
}

/* Desktop: show seven cards, remaining cards slide horizontally */

.category-media-grid .category-media-card {
    flex: 0 0 calc((100% - 72px) / 7);
    min-width: 0;
}

/* Tablet */

@media (max-width: 1199px) {
    .category-media-grid .category-media-card {
        flex: 0 0 calc((100% - 36px) / 4);
    }
}

/* Mobile */

@media (max-width: 767px) {
    .category-media-grid {
        gap: 10px;
    }

    .category-media-grid .category-media-card {
        flex: 0 0 calc((100% - 10px) / 2);
    }

    .category-media-prev,
    .category-media-next {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
}

/* ============================================================================================ */

/* ============================================================
   CINEMATIC CATEGORY SHOWCASE
   LIGHT / PREMIUM / 70-30
============================================================ */

.cinematic-category-section {
    position: relative;
    padding: 70px 0 70px;
    background: #faf9fd;
    overflow: clip;
    color: #171525;
}

.cinematic-category-container {
    width: min(1680px, calc(100% - 60px));
    margin: 0 auto;
}

.cinematic-category-item {
    cursor: pointer;
}

.cinematic-category-heading {
    max-width: 680px;
    margin: 0 auto 50px;
    text-align: center;
}

.cinematic-category-kicker {
    display: block;
    margin-bottom: 12px;
    color: #7434db;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.cinematic-category-heading h2 {
    margin: 0;
    color: #171525;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    font-weight: 750;
}

.cinematic-category-heading h2 span {
    color: #7434db;
}

/* =========================================================
   DESKTOP — scroll-jacked story (page scroll advances category)
========================================================= */

.cinematic-category-story {
    position: relative;
    display: grid;
    grid-template-columns: 70% 30%;
    min-height: calc(100vh + (var(--story-steps, 5) - 1) * 65vh);
    margin-bottom: 0px;
}

.cinematic-category-visual {
    position: sticky;
    top: 100px;
    height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    padding-right: 35px;
    z-index: 5;
}

.cinematic-category-visual-inner {
    position: relative;
    width: 100%;
    height: min(880px, 88vh);
    overflow: hidden;
    border-radius: 24px;
    background: #eeeaf4;
    box-shadow: 0 30px 80px rgba(40, 25, 75, .10);
    isolation: isolate;
}

.cinematic-category-ambient {
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle at 30% 30%, rgba(124, 58, 237, .10), transparent 30%),
        radial-gradient(circle at 75% 70%, rgba(168, 85, 247, .08), transparent 35%);
    filter: blur(40px);
    z-index: -1;
}

.cinematic-category-frames {
    position: absolute;
    inset: 0;
    padding: 4px;
}

.cinematic-category-frame {
    position: absolute;
    inset: 4px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(1.035) translate3d(0, 20px, 0);
    filter: blur(5px);
    transition:
        opacity .75s cubic-bezier(.22, 1, .36, 1),
        transform 1.1s cubic-bezier(.22, 1, .36, 1),
        filter .75s ease;
    pointer-events: none;
    visibility: hidden;
}

.cinematic-category-frame.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translate3d(0, 0, 0);
    filter: blur(0);
    z-index: 2;
    pointer-events: auto;
}

/* Photos/Reels switch */

.cinematic-media-switch {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 76px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(20, 10, 40, .12);
    cursor: pointer;
    transition: background .35s ease, border-color .35s ease;
}

.cinematic-media-switch:hover {
    background: rgba(255, 255, 255, .32);
}

.cinematic-media-switch-icon {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
    transition: color .35s ease;
}

.cinematic-media-switch.is-reels .cinematic-media-switch-icon-reels,
.cinematic-media-switch:not(.is-reels) .cinematic-media-switch-icon-photos {
    color: #7434db;
}

.cinematic-media-switch-thumb {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
    z-index: 1;
    transition: transform .35s cubic-bezier(.65, 0, .35, 1);
}

.cinematic-media-switch.is-reels .cinematic-media-switch-thumb {
    transform: translateX(38px);
}

.cinematic-media-panel {
    flex: 1;
    min-height: 0;
}

.cinematic-media-panel .cinematic-media-row {
    height: 100%;
}

.cinematic-media-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    min-height: 0;
}

.cinematic-media-item {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
    background: #e7e3ed;
    opacity: 0;
    transform: scale(.8);
    transition:
        opacity .7s ease,
        transform .85s cubic-bezier(.22, 1, .36, 1);
}

.cinematic-category-frame.is-active .cinematic-media-item {
    opacity: 1;
    transform: scale(1);
}

.cinematic-category-frame.is-active .cinematic-media-row:nth-child(1) .cinematic-media-item:nth-child(1) { transition-delay: 0s; }
.cinematic-category-frame.is-active .cinematic-media-row:nth-child(1) .cinematic-media-item:nth-child(2) { transition-delay: .15s; }
.cinematic-category-frame.is-active .cinematic-media-row:nth-child(1) .cinematic-media-item:nth-child(3) { transition-delay: .3s; }

.cinematic-media-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.045);
    transition: transform 1.5s cubic-bezier(.22, 1, .36, 1);
}

.cinematic-category-frame.is-active .cinematic-media-item img {
    transform: scale(1);
}

.cinematic-reel-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.045);
    transition: transform 1.5s cubic-bezier(.22, 1, .36, 1);
}

.cinematic-category-frame.is-active .cinematic-reel-video {
    transform: scale(1);
}

.cinematic-media-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ebe7f1, #e3ddea);
}

.cinematic-media-progress {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    height: 430px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cinematic-media-progress-track {
    position: relative;
    width: 2px;
    height: 100%;
    background: #ded9e6;
    border-radius: 2px;
    overflow: hidden;
}

.cinematic-media-progress-fill {
    position: absolute;
    left: 0;
    width: 100%;
    background: #7636dc;
    border-radius: 2px;
    transition: top .7s cubic-bezier(.22, 1, .36, 1), height .7s cubic-bezier(.22, 1, .36, 1);
}

.cinematic-category-content {
    position: relative;
    min-height: 500vh;
    padding-left: 35px;
}

.cinematic-category-nav {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    z-index: 10;
}

.cinematic-category-nav-heading {
    position: absolute;
    top: calc(50% - 260px);
    left: 0;
    color: #7434db;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: .16em;
    opacity: .9;
}

.cinematic-category-list {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 13%, #000 87%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 13%, #000 87%, transparent 100%);
}

.cinematic-category-list-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform .85s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

.cinematic-category-item {
    position: relative;
    flex: 0 0 86px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 0 0 4px;
    opacity: .20;
    transform: scale(.91);
    transition: opacity .65s ease, transform .75s cubic-bezier(.22, 1, .36, 1);
}

.cinematic-category-item.is-active {
    opacity: 1;
    transform: scale(1) translateX(8px);
}

.cinematic-category-item-number {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd7e7;
    transition: background .5s ease, transform .5s ease, box-shadow .5s ease;
}

.cinematic-category-item.is-active .cinematic-category-item-number {
    background: #7636dc;
    transform: scale(1.4);
    box-shadow: 0 4px 14px rgba(118, 54, 220, .35);
}

.cinematic-category-item-text {
    min-width: 0;
    overflow: hidden;
}

.cinematic-category-item-text h3 {
    margin: 0;
    color: #898391;
    font-size: 19px;
    line-height: 1.1;
    letter-spacing: -.4px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .5s ease, font-size .6s cubic-bezier(.22, 1, .36, 1), font-weight .5s ease;
}

.cinematic-category-item.is-active .cinematic-category-item-text h3 {
    color: #181525;
    font-size: 29px;
    font-weight: 750;
    letter-spacing: -1px;
}

.cinematic-category-item-text span {
    display: block;
    margin-top: 5px;
    color: #aaa4b2;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .03em;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .45s ease, transform .5s ease;
    white-space: nowrap;
}

.cinematic-category-item.is-active .cinematic-category-item-text span {
    opacity: 1;
    transform: translateY(0);
}

.cinematic-category-active-line {
    position: absolute;
    left: -35px;
    width: 22px;
    height: 1px;
    background: #7636dc;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right center;
    transition: opacity .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}

.cinematic-category-item.is-active .cinematic-category-active-line {
    opacity: 1;
    transform: scaleX(1);
}

@media (max-width: 1199px) {
    .cinematic-category-container {
        width: min(1440px, calc(100% - 50px));
    }
    .cinematic-category-story {
        grid-template-columns: 68% 32%;
    }
    .cinematic-category-visual {
        padding-right: 25px;
    }
    .cinematic-category-content {
        padding-left: 25px;
    }
    .cinematic-category-item-text h3 {
        font-size: 17px;
    }
    .cinematic-category-item.is-active .cinematic-category-item-text h3 {
        font-size: 25px;
    }
}

/* =========================================================
   MOBILE (≤991px) — swipeable card + horizontal category strip
   All desktop scroll-jacking rules above are overridden here.
========================================================= */

@media (max-width: 991px) {

    .cinematic-category-section {
        padding: 60px 0 80px;
    }

    .cinematic-category-container {
        width: min(100% - 32px, 760px);
    }

    .cinematic-category-heading {
        margin-bottom: 40px;
    }

    .cinematic-category-story {
        display: block;
        min-height: 0;
        margin-bottom: 48px;
    }

    .cinematic-category-visual {
        position: relative;
        top: auto;
        height: 52vh;
        min-height: 360px;
        padding-right: 0;
    }

    .cinematic-category-visual-inner {
        height: 100%;
        min-height: 360px;
        border-radius: 20px;
    }

    .cinematic-category-content {
        position: relative;
        height: auto;
        min-height: 0;
        padding-left: 0;
        margin-top: 20px;
    }

    .cinematic-category-nav {
        position: relative;
        top: auto;
        height: auto;
        width: 100%;
        padding: 0;
        padding-top: 50px;
        align-items: stretch;
        justify-content: flex-start;
    }

    .cinematic-category-nav-heading {
        position: static;
        margin-bottom: 10px;
        font-size: 13px;
    }

    .cinematic-category-list {
        position: relative;
        width: 100%;
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    }

    .cinematic-category-list::-webkit-scrollbar {
        display: none;
    }

    .cinematic-category-list-track {
        position: static;
        flex-direction: row;
        width: max-content;
        transform: none !important;
        transition: none;
        gap: 10px;
        padding: 4px 20px;
    }

    .cinematic-category-item {
        flex: 0 0 auto;
        scroll-snap-align: center;
        padding: 8px 18px;
        border-radius: 999px;
        background: #f1eef7;
        opacity: 1;
        transform: none;
        gap: 0;
        transition: background .3s ease;
    }

    .cinematic-category-item-number,
    .cinematic-category-active-line,
    .cinematic-category-item-text span {
        display: none;
    }

    .cinematic-category-item-text h3 {
        font-size: 14px;
        color: #6b6572;
        white-space: nowrap;
        font-weight: 600;
        transition: color .3s ease;
    }

    .cinematic-category-item.is-active {
        background: #7434db;
    }

    .cinematic-category-item.is-active .cinematic-category-item-text h3 {
        color: #fff;
        font-size: 14px;
        font-weight: 700;
    }

    .cinematic-media-progress {
        display: none;
    }

    .cinematic-media-switch {
        top: 12px;
        right: 12px;
        width: 64px;
        height: 32px;
    }

    .cinematic-media-switch-icon {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .cinematic-media-switch-thumb {
        width: 26px;
        height: 26px;
        top: 3px;
        left: 3px;
    }

    .cinematic-media-switch.is-reels .cinematic-media-switch-thumb {
        transform: translateX(32px);
    }
}

@media (max-width: 767px) {
    .cinematic-category-section {
        padding: 50px 0 70px;
    }
    .cinematic-category-container {
        width: calc(100% - 24px);
    }
    .cinematic-category-heading {
        margin-bottom: 32px;
    }
    .cinematic-category-heading h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }
    .cinematic-category-story {
        margin-bottom: 36px;
    }
    .cinematic-category-visual {
        height: 46vh;
        min-height: 300px;
    }
    .cinematic-category-visual-inner {
        min-height: 300px;
        border-radius: 16px;
    }
    .cinematic-category-frame {
        inset: 2px;
    }
    .cinematic-media-row {
        gap: 2px;
    }
    .cinematic-category-content {
        margin-top: 16px;
    }
    .cinematic-category-item {
        padding: 6px 14px;
    }
    .cinematic-category-item-text h3 {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cinematic-category-heading h2 {
        font-size: 28px;
    }
    .cinematic-category-visual {
        height: 40vh;
        min-height: 260px;
    }
    .cinematic-category-visual-inner {
        min-height: 260px;
    }
    .cinematic-category-item {
        padding: 6px 12px;
    }
    .cinematic-category-item-text h3 {
        font-size: 12px;
    }
}
.reveal-section.reveal-no-transition .reveal-item {
    transition: none !important;
}
.reveal-section .reveal-item {
    opacity: 0;
    transform: translateY(70px);
    transition:
        opacity 1.8s cubic-bezier(0.19, 1, 0.22, 1),
        transform 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-section.is-visible .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

.reveal-section.is-visible .reveal-item:nth-child(1) {
    transition-delay: 0s;
}
.reveal-section.is-visible .reveal-item:nth-child(2) {
    transition-delay: 0.4s;
}
.reveal-section.is-visible .reveal-item:nth-child(3) {
    transition-delay: 0.8s;
}
.reveal-section.is-visible .reveal-item:nth-child(4) {
    transition-delay: 1.2s;
}
.reveal-section.is-visible .reveal-item:nth-child(5) {
    transition-delay: 1.6s;
}
.reveal-section.is-visible .reveal-item:nth-child(6) {
    transition-delay: 2s;
}

.jewellery-dynamics-section {
    position: relative;
    padding: 40px 0;
    background: #ffffff;
    overflow: hidden;
    color: #171525;
}

.jewellery-dynamics-container {
    width: min(1450px, calc(100% - 60px));
    margin: 0 auto;
}

.jewellery-dynamics-selector {
    position: relative;
    width: 100%;
    height: 210px;
    margin-bottom: 38px;
}

.jewellery-dynamics-selector-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
}

.jewellery-dynamics-selector-track {
    padding-bottom: 30px;
    position: absolute;
    left: 50%;
    top: 0;

    height: 100%;

    display: flex;
    align-items: center;

    gap: 8px;

    transform: translateX(-50%);

    will-change: transform;

    transition: transform 1.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.jewellery-dynamics-thumb {
    position: relative;
    flex: 0 0 168px;
    width: 168px;
    height: 168px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.32;
    transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.jewellery-dynamics-thumb.is-active {
    opacity: 1;
    z-index: 5;
}

.jewellery-dynamics-thumb:hover:not(.is-active) {
    opacity: 0.95;
    z-index: 3;
}

.jewellery-dynamics-thumb:hover:not(.is-active)
    .jewellery-dynamics-thumb-inner {
    transform: scale(0.62); /* small bump up from the resting .571 */
    box-shadow:
        0 20px 45px rgba(50, 35, 80, 0.28),
        0 0 0 2px rgba(255, 255, 255, 0.5),
        0 4px 12px rgba(50, 35, 80, 0.15);
}

.jewellery-dynamics-thumb:hover:not(.is-active) img {
    transform: scale(1.1);
}

.jewellery-dynamics-thumb-inner {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #f0edf4;
    box-shadow: 0 10px 30px rgba(50, 35, 80, 0.08);
    transform: scale(
        0.571
    ); /* shrinks the photo down inside the reserved box */
    transition:
        transform 1.2s cubic-bezier(0.19, 1, 0.22, 1),
        border-radius 1s cubic-bezier(0.19, 1, 0.22, 1),
        box-shadow 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.jewellery-dynamics-thumb.is-active .jewellery-dynamics-thumb-inner {
    transform: scale(1);
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(50, 35, 80, 0.16);
}

.jewellery-dynamics-thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.06);

    transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.jewellery-dynamics-thumb.is-active img {
    transform: scale(1);
}

.jewellery-dynamics-thumb-empty {
    display: block;

    width: 100%;
    height: 100%;

    background: linear-gradient(135deg, #eeeaf3, #e5e0eb);
}

.jewellery-dynamics-showcase {
    position: relative;

    width: 100%;

    min-height: 365px;
}

.jewellery-dynamics-panel {
    position: absolute;

    inset: 0;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 22px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: translateY(16px) scale(0.99);

    filter: blur(5px);

    transition:
        opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
        filter 0.6s cubic-bezier(0.19, 1, 0.22, 1),
        visibility 0s linear 0.8s;
}

.jewellery-dynamics-panel.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition:
        opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
        filter 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.jewellery-dynamics-column {
    position: relative;
    min-width: 0;
}

.jewellery-dynamics-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
    height: 365px;
}

.jewellery-dynamics-media {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 15px;
    background: #f1eef5;
    opacity: 0;
    transform: translateY(32px) scale(0.9);
    transition:
        opacity 1.05s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.jewellery-dynamics-panel.is-active .jewellery-dynamics-media:nth-child(1) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.05s;
}

.jewellery-dynamics-panel.is-active .jewellery-dynamics-media:nth-child(2) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.15s;
}

.jewellery-dynamics-panel.is-active .jewellery-dynamics-media:nth-child(3) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.25s;
}

.jewellery-dynamics-media img,
.jewellery-dynamics-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 2.1s cubic-bezier(0.19, 1, 0.22, 1);
}

.jewellery-dynamics-panel.is-active .jewellery-dynamics-media img,
.jewellery-dynamics-panel.is-active .jewellery-dynamics-video {
    transform: scale(1);
}

.jewellery-dynamics-media:hover img,
.jewellery-dynamics-media:hover video {
    transform: scale(1.035);
}

.jewellery-dynamics-media-empty {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f0f6, #eae5f0);
}

.jewellery-dynamics-video-indicator {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #7135d3;
    box-shadow: 0 10px 25px rgba(30, 20, 50, 0.15);
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.9;
    pointer-events: none;
    transition:
        transform 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.6s ease;
}

.jewellery-dynamics-reel:hover .jewellery-dynamics-video-indicator {
    transform: translate(-50%, -50%) scale(1.08);

    opacity: 1;
}

.jewellery-dynamics-video-indicator i {
    font-size: 11px;

    margin-left: 2px;
}

@media (max-width: 991px) {
    .jewellery-dynamics-container {
        width: min(100% - 40px, 760px);
    }

    .jewellery-dynamics-selector {
        height: 125px;

        margin-bottom: 25px;
    }

    .jewellery-dynamics-selector-track {
        gap: 8px;
    }

    .jewellery-dynamics-thumb {
        flex-basis: 108px;
        width: 108px;
        height: 108px;
    }
    .jewellery-dynamics-thumb-inner {
        transform: scale(0.574);
    }

    .jewellery-dynamics-thumb.is-active {
        transform: none;
    }

    .jewellery-dynamics-showcase {
        min-height: 260px;
    }

    .jewellery-dynamics-panel {
        gap: 12px;
    }

    .jewellery-dynamics-media-grid {
        height: 260px;

        gap: 6px;
    }

    .jewellery-dynamics-media {
        border-radius: 11px;
    }
}

@media (max-width: 767px) {
    .jewellery-dynamics-container {
        width: calc(100% - 28px);
    }

    .jewellery-dynamics-selector {
        height: 100px;

        margin-bottom: 18px;
    }

    .jewellery-dynamics-selector-track {
        gap: 6px;
        padding-top: 10px;
    }
    .jewellery-dynamics-thumb-name {
        top: calc(100% + 0px) !important;
    }

    .jewellery-dynamics-thumb {
        flex-basis: 78px;
        width: 78px;
        height: 78px;
    }
    .jewellery-dynamics-thumb-inner {
        transform: scale(0.641);
    }

    .jewellery-dynamics-thumb.is-active {
        transform: none;
    }

    .jewellery-dynamics-thumb.is-active .jewellery-dynamics-thumb-inner {
        border-radius: 12px;
    }

    .jewellery-dynamics-showcase {
        min-height: 205px;
    }

    .jewellery-dynamics-panel {
        gap: 5px;
    }

    .jewellery-dynamics-media-grid {
        height: 205px;

        gap: 4px;
    }

    .jewellery-dynamics-media {
        border-radius: 8px;
    }

    .jewellery-dynamics-video-indicator {
        width: 29px;
        height: 29px;
    }

    .jewellery-dynamics-video-indicator i {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .jewellery-dynamics-selector {
        height: 88px;
    }

    .jewellery-dynamics-thumb {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
    }
    .jewellery-dynamics-thumb-inner {
        transform: scale(0.632);
    }

    .jewellery-dynamics-showcase {
        min-height: 165px;
    }

    .jewellery-dynamics-media-grid {
        height: 165px;
    }
}

/* Caption under each thumbnail */
.jewellery-dynamics-thumb-name {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #171525;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(-4px);
    transition:
        opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

.jewellery-dynamics-thumb.is-active .jewellery-dynamics-thumb-name {
    opacity: 1;
    transform: translateY(0);
}

/* Heading above the panel's media grid */
.jewellery-dynamics-panel {
    grid-template-rows: auto 1fr; /* add a row for the heading */
}

.jewellery-dynamics-heading {
    grid-column: 1 / -1; /* span both columns */
}

.jewellery-dynamics-category-name {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    color: #171525;
}

.category-reel-card.is-playing .category-reel-play {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.reel-slide.is-playing .reel-play-button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.jewellery-dynamics-reel.is-playing .jewellery-dynamics-video-indicator {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.hero-process .reel-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    z-index: 3;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.hero-process .reel-play-button:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.hero-process .reel-phone.is-playing .reel-play-button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.tryon-variations-section {
    padding: 60px 0;
    background: #fff;
}

.tryon-variations-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #17204f;
    margin-bottom: 14px;
}

.tryon-variations-heading h2 span {
    display: block;
}

.tryon-variations-heading p {
    max-width: 620px;
    color: #555b72;
    font-size: 15px;
    margin-bottom: 40px;
}

.tryon-tabs {
    gap: 40px;
    margin-bottom: 45px;
    border-bottom: 0;
}

.tryon-tab {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0 4px 14px;
    color: #9a9aa5;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.tryon-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.tryon-tab.active,
.tryon-tab:hover {
    color: var(--brand-purple);
}

.tryon-tab.active::after {
    transform: scaleX(1);
}

.tryon-source-card {
    max-width: 320px;
    aspect-ratio: 3 / 4;
    background: #eee;
    transition: opacity 0.3s ease;
}

.tryon-result-card {
    aspect-ratio: 3 / 4;
    background: #eee;
    transition: opacity 0.3s ease;
}

.tryon-arrow {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(108, 43, 217, 0.15);
    color: var(--brand-purple);
    font-size: 16px;
}

/* Badges */

.tryon-badge {
    position: absolute;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.tryon-badge-category {
    top: 12px;
    left: 12px;
    background: #fff;
    color: #17204f;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tryon-badge-category::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-purple);
    display: inline-block;
}

.tryon-badge-count {
    left: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
}

.tryon-badge-variations {
    top: 12px;
    right: 12px;
    background: var(--brand-gradient);
    color: #fff;
}

@media (max-width: 767px) {
    .tryon-variations-section {
        padding: 40px 0;
    }

    .tryon-tabs {
        gap: 24px;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    .tryon-tab {
        font-size: 14px;
    }

    .tryon-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
    }

    .tryon-source-card {
        max-width: 260px;
    }
}

.cinematic-gender-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 20px;
}

.cinematic-gender-tab {
    padding: 10px 28px;
    border: 1px solid #e3ddea;
    border-radius: 999px;
    background: #fff;
    color: #6b6572;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.cinematic-gender-tab:hover:not(.active) {
    border-color: #cabdf0;
    color: #171525;
}

.cinematic-gender-tab.active {
    background: #7434db;
    border-color: #7434db;
    color: #fff;
    box-shadow: 0 10px 25px rgba(116, 52, 219, 0.28);
}

@media (max-width: 480px) {
    .cinematic-gender-tabs {
        gap: 8px;
        margin-bottom: 34px;
    }

    .cinematic-gender-tab {
        padding: 8px 18px;
        font-size: 12px;
    }
}

.cinematic-gender-tabs {
    position: relative;
    display: inline-flex;
    justify-content: center;
    gap: 4px;
    margin: 0 auto 50px;
    padding: 5px;
    background: #f1eef7;
    border-radius: 999px;
    left: 50%;
    transform: translateX(-50%);
}

.cinematic-gender-tabs-indicator {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    border-radius: 999px;
    background: linear-gradient(135deg, #7f42e0, #6c2bd9);
    box-shadow: 0 8px 20px rgba(116, 52, 219, 0.35);
    transition:
        transform 0.45s cubic-bezier(0.65, 0, 0.35, 1),
        width 0.45s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 0;
}

.cinematic-gender-tab {
    position: relative;
    z-index: 1;
    padding: 10px 28px;
    border: 0;
    background: transparent;
    color: #6b6572;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.35s ease;
}

.cinematic-gender-tab:hover:not(.active) {
    color: #171525;
}

.cinematic-gender-tab.active {
    color: #fff;
}

@media (max-width: 480px) {
    .cinematic-gender-tabs {
        gap: 2px;
        padding: 4px;
        margin-bottom: 34px;
    }

    .cinematic-gender-tab {
        padding: 8px 18px;
        font-size: 12px;
    }
}
