/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&display=swap');
/* Serif for headings */

/* Variables */
:root {
    /* Colors - Harmonized Premium Palette (Navy & Gold) */
    --first-color: #cda274;
    /* Gold/Beige Accent - More elegant than orange */
    --first-color-dark: #b98d5e;
    --second-color: #0f172a;
    /* Deep Navy */
    --title-color: #1e293b;
    /* Slate 800 */
    --text-color: #475569;
    /* Slate 600 */
    --text-color-light: #94a3b8;
    --body-color: #f8fafc;
    /* Slate 50 */
    --container-color: #ffffff;
    --white: #ffffff;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

    /* Font */
    --body-font: 'Poppins', sans-serif;
    --title-font: 'Playfair Display', serif;
    /* Premium feel for titles */

    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;

    /* z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* Base */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3 {
    color: var(--title-color);
    font-family: var(--title-font);
    font-weight: 600;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: .3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Structure */
.container {
    max-width: 1120px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.section {
    padding: 6rem 0 2rem;
}

.section__title {
    font-size: var(--h2-font-size);
    margin-bottom: 3rem;
    text-align: center;
}

.section__title span {
    color: var(--first-color);
}

.section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--first-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    text-align: center;
    font-family: var(--body-font);
}

/* Header & Nav */
/* Header & Nav */
.header {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2.5rem);
    max-width: 1120px;
    background-color: rgba(15, 23, 42, 0.3); /* Translucent overlay */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    z-index: var(--z-fixed);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 1.5rem;
}

/* Nav Toggle & Close Buttons */
.nav__toggle,
.nav__close {
    display: flex;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    transition: .3s;
}

/* Sync Toggle color with header scroll state */
.header-scroll .nav__toggle,
.header-scroll .nav__close {
    color: var(--title-color);
}

.nav__toggle:hover,
.nav__close:hover {
    color: var(--first-color);
}

.nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--title-color);
}

/* Scroll State: White Glassmorphism */
.header-scroll {
    top: 0.75rem;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(205, 162, 116, 0.2); /* Premium gold accent border */
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

/* Mobile Menu Open State: Force White Background */
.header.menu-open {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(205, 162, 116, 0.2);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

.header.menu-open .nav__logo,
.header.menu-open .nav__toggle {
    color: var(--title-color);
}

.nav {
    height: 4rem; /* Sleeker height for floating pill shape */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 600;
    font-family: var(--title-font);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: color 0.4s ease;
}

/* Scroll State: Dark Text */
.header-scroll .nav__logo {
    color: var(--title-color);
}

.nav__logo img {
    height: 30px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nav__list {
    display: flex;
    gap: 2.5rem;
}

/* Base Nav Link */
.nav__link {
    font-weight: 500;
    color: var(--title-color);
    position: relative;
    font-size: 0.95rem;
    transition: color 0.4s ease;
}

/* Desktop Transparent Override (Media Query handles this, but base needs to be robust) */

/* Home Section */
.home {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 0;
    overflow: hidden;
}

/* Background Image with Ken Burns Animation */
.home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hero.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: kenBurns 20s ease-out infinite alternate;
}

/* Gradient Overlay - Subtle & Elegant */
.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(15, 23, 42, 0.6) 0%,
            rgba(15, 23, 42, 0.3) 50%,
            rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }

    /* Gentle zoom */
}

.home__container {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    /* Centered impact */
    max-width: 900px;
    width: 100%;
    padding: 0 2rem;
    margin: 0 auto;
}

.home__data {
    max-width: 100%;
}

.home__title {
    color: var(--white);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-family: var(--title-font);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.home__description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    border-left: none;
    /* Removed editorial border */
    padding-left: 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.button {
    display: inline-block;
    background-color: var(--first-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 0.25rem;
    /* More clean/sqaure for luxury */
    font-weight: 500;
    transition: .3s;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button:hover {
    background-color: var(--first-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Popular (Cards) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.popular__card {
    background: var(--container-color);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all .3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    display: flex;
    flex-direction: column;
}

.popular__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.popular__img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.popular__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popular__card:hover .popular__img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--title-color);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-sold {
    background: #ef4444;
    /* Red */
    color: white;
}

.popular__data {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.popular__price {
    font-size: 1.5rem;
    color: var(--first-color);
    margin-bottom: 0.5rem;
    font-family: var(--title-font);
}

.popular__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--title-color);
}

.popular__description {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    flex: 1;
    /* Pushes button to bottom */
}

/* About Section */
.about__container {
    align-items: center;
}

.about__img {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 20px 20px 0px rgba(0, 0, 0, 0.05);
}

.about__data {
    text-align: left;
    padding-left: 2rem;
}

.about__description {
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* Contact Section */
.contact {
    background-color: #f8fafc;
}

.contact__container {
    gap: 3rem;
}

.contact__form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact__input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
    font-family: var(--body-font);
    outline: none;
    transition: 0.3s;
}

.contact__input:focus {
    border-color: var(--first-color);
    box-shadow: 0 0 0 3px rgba(205, 162, 116, 0.1);
    /* light gold glow */
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact__item {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: .3s;
}

.contact__item:hover {
    transform: translateY(-5px);
}

.contact__icon {
    font-size: 2rem;
    color: var(--first-color);
    margin-bottom: 1rem;
}

/* Footer — Multi-Column Premium Layout */
.footer {
    background-color: var(--second-color);
    color: #94a3b8;
    padding: 5rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

/* Brand Column */
.footer__brand {
    padding-right: 2rem;
}

.footer__logo img {
    height: 50px;
    opacity: 0.85;
    margin-bottom: 1.5rem;
    filter: brightness(1.2);
    transition: opacity 0.3s ease;
}
.footer__logo:hover img {
    opacity: 1;
}

.footer__brand-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

/* Column Styles */
.footer__col-title {
    color: var(--white);
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer__col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--first-color);
    border-radius: 2px;
}

.footer__col-links {
    list-style: none;
    padding: 0;
}
.footer__col-links li {
    margin-bottom: 0.85rem;
}
.footer__col-links a, .footer__col-links span {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer__col-links a:hover {
    color: var(--first-color);
    transform: translateX(4px);
}

/* Contact column with icons */
.footer__col-links--contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.footer__col-links--contact i {
    color: var(--first-color);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Bottom Bar */
.footer__bottom {
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.75rem 0;
}
.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copy {
    display: inline;
    font-size: var(--smaller-font-size);
    color: #64748b;
    margin: 0;
    padding: 0;
    border: none;
}
.footer__copy-link {
    color: inherit;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}
.footer__copy-link:hover {
    color: var(--first-color);
}

/* Footer Responsive */
@media screen and (max-width: 900px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}
@media screen and (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .footer__brand {
        padding-right: 0;
    }
    .footer__col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer__social {
        justify-content: center;
    }
    .footer__col-links a:hover {
        transform: none;
    }
    .footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Modal Grid Layout */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    /* --second-color with opacity */
    backdrop-filter: blur(4px);
    z-index: var(--z-modal);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.modal-content {
    background-color: var(--white);
    width: 100%;
    max-width: 900px;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-active .modal-content {
    transform: scale(1);
}

.modal-body {
    padding: 0;
    flex: 1;
    overflow: hidden;
    /* Prevent body scroll, handle in modal-info */
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    height: 100%;
    min-height: 500px;
    /* Ensure visual height */
}

.modal-img-container {
    background-color: var(--second-color);
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.mySwiperModal {
    height: 100%;
    width: 100%;
}

.mySwiperModal .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--second-color);
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.modal-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--title-color);
}

.modal-price {
    font-size: 1.5rem;
    color: var(--first-color);
    font-family: var(--title-font);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: transparent;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-description {
    color: var(--text-color);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.modal-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Button Variants */
.button--secondary {
    background-color: var(--title-color);
    color: white;
}

.button--secondary:hover {
    background-color: #0f172a;
    transform: translateY(-2px);
}

.button--ghost {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #cbd5e1;
    box-shadow: none;
}

.button--ghost:hover {
    background-color: #f8fafc;
    color: var(--title-color);
    border-color: var(--title-color);
    transform: translateY(-2px);
}

/* Modal Close Button Position */
.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    font-size: 1.5rem;
}

/* Mobile Responsive Modal */
@media screen and (max-width: 900px) {
    .modal-content {
        max-height: 95vh;
    }

    .modal-body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Butter-smooth momentum scroll on iOS */
    }

    .modal-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .modal-img-container {
        height: 280px;
        min-height: 280px;
    }

    .modal-info {
        padding: 1.5rem;
        overflow-y: visible; /* Let the modal-body scroll handle the vertical flow */
    }
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 5.5rem;
        left: 5%;
        width: 90%;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
        padding: 3rem 1.5rem;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        transform: translateY(-150%);
        opacity: 0;
        z-index: var(--z-fixed);
        text-align: center;
        border-radius: 1.5rem;
        border: 1px solid rgba(205, 162, 116, 0.15);
    }

    /* Show Menu */
    .show-menu {
        transform: translateY(0);
        opacity: 1;
    }

    .nav__list {
        flex-direction: column;
        gap: 1.75rem;
    }

    .nav__link {
        color: var(--title-color);
        font-size: 1.15rem;
        font-weight: 500;
        letter-spacing: 0.5px;
        transition: color 0.3s ease;
        display: block;
        padding: 0.25rem 0;
    }
    
    .nav__link:hover, .nav__link.active-link {
        color: var(--first-color);
    }

    .nav__close {
        position: absolute;
        top: 1.25rem;
        right: 1.5rem;
        font-size: 1.75rem;
        color: var(--text-color-light);
        transition: color 0.3s ease, transform 0.3s ease;
    }
    
    .nav__close:hover {
        color: var(--first-color);
        transform: rotate(90deg);
    }

    /* FORCE Logo Size on Mobile to be perfectly proportional and uncrowded */
    .nav__logo img {
        height: 32px !important;
        max-height: 32px !important;
    }

    /* Hide long text on mobile to avoid clashing and grid overflow */
    .nav__logo-text {
        display: none !important;
    }

    /* Sleek toggle size and centering */
    .nav__toggle {
        font-size: 1.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (min-width: 769px) {
    .nav__menu {
        display: flex;
    }

    .nav__list {
        display: flex;
        gap: 2.5rem;
    }

    .nav__toggle,
    .nav__close {
        display: none;
        /* Hide buttons on Desktop */
    }

    /* Desktop Transparent Header Support */
    .nav__link {
        color: var(--white);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .header-scroll .nav__link {
        color: var(--title-color);
        text-shadow: none;
    }

    .about__container {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width: 1024px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .nav__logo img {
        height: 48px;
        /* Larger logo on Desktop */
    }
}

/* ================== V2 CUSTOM ENHANCEMENTS ================== */

/* Active Nav Link */
.active-link {
    color: var(--first-color) !important;
}
.active-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--first-color);
}
@media screen and (min-width: 769px) {
    .active-link {
        color: var(--first-color) !important;
        text-shadow: none !important;
    }
    .header-scroll .active-link {
        color: var(--first-color) !important;
        text-shadow: none !important;
    }
}

/* Search & Filter Toolbar */
.search-toolbar {
    margin-bottom: 3rem;
}
.search-toolbar__inner {
    display: flex;
    gap: 0;
    background: var(--container-color);
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.search-toolbar__inner:focus-within {
    border-color: var(--first-color);
    box-shadow: 0 4px 20px rgba(205, 162, 116, 0.12);
}

/* Search Input Wrapper */
.search-toolbar__input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    position: relative;
}
.search-toolbar__icon {
    font-size: 1.25rem;
    color: var(--text-color-light);
    flex-shrink: 0;
    margin-right: 0.75rem;
    transition: color 0.3s;
}
.search-toolbar__inner:focus-within .search-toolbar__icon {
    color: var(--first-color);
}
.search-toolbar__input {
    width: 100%;
    border: none;
    outline: none;
    padding: 1rem 0;
    font-size: 0.95rem;
    font-family: var(--body-font);
    color: var(--title-color);
    background: transparent;
}
.search-toolbar__input::placeholder {
    color: var(--text-color-light);
}
.search-toolbar__clear {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.35rem;
    color: var(--text-color-light);
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.search-toolbar__clear:hover {
    color: var(--title-color);
    background: #f1f5f9;
}

/* Dropdown Wrapper */
.search-toolbar__dropdown-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border-left: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.search-toolbar__select {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    padding: 1rem 2.75rem 1rem 1.25rem;
    font-size: 0.9rem;
    font-family: var(--body-font);
    font-weight: 500;
    color: var(--title-color);
    background: transparent;
    cursor: pointer;
    min-width: 170px;
}
.search-toolbar__chevron {
    position: absolute;
    right: 1rem;
    font-size: 1.25rem;
    color: var(--text-color-light);
    pointer-events: none;
    transition: transform 0.3s ease;
}
.search-toolbar__count {
    margin-top: 0.75rem;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    font-weight: 500;
    min-height: 1.25rem;
}

/* Search Toolbar Responsive */
@media screen and (max-width: 600px) {
    .search-toolbar__inner {
        flex-direction: column;
    }
    .search-toolbar__dropdown-wrap {
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }
    .search-toolbar__select {
        width: 100%;
    }
}

/* Type Badge and Sold Custom Styling */
.card-type-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--second-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 10;
}
.popular__card.sold-card {
    opacity: 0.85;
}
.popular__card.sold-card .popular__price {
    color: #ef4444;
}

/* Scroll Up */
.scrollup {
    position: fixed;
    right: 2.5rem;
    bottom: -20%;
    background-color: var(--first-color);
    opacity: .8;
    padding: .6rem;
    border-radius: .4rem;
    z-index: var(--z-tooltip);
    transition: .4s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.scrollup:hover {
    background-color: var(--first-color-dark);
    opacity: 1;
    transform: translateY(-.25rem);
}
.scrollup i {
    font-size: 1.5rem;
    color: var(--white);
}
/* Show Scroll Up */
.show-scroll {
    bottom: 3rem;
}

/* Modal Video */
.modal-video-container {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
    margin: 1.5rem 0;
}
.modal-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}
.modal-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer social icons premium hover effects */
.footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.05);
    color: #94a3b8 !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0 !important;
}

.footer__social a:hover {
    background-color: var(--first-color);
    color: var(--white) !important;
    transform: translateY(-4px) scale(1.1);
    border-color: var(--first-color);
    box-shadow: 0 10px 20px rgba(205, 162, 116, 0.3);
}

/* Card image zoom scale and hover polish */
.popular__card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.popular__card:hover {
    border-color: rgba(205, 162, 116, 0.3);
}