/* style.css - City Walk Shoes Global Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* Color Variables */
:root {
    --bg-warm: #F5F2EB;
    --bg-light: #FAF8F5;
    --bg-dark: #111111;
    --bg-dark-accent: #1A1A1A;
    --gold-primary: #C5A880;
    --gold-dark: #B5945F;
    --gold-light: #DFCEB7;
    --text-dark: #222222;
    --text-light: #FAF8F5;
    --text-muted: #6B6964;
    --border-color: #E2DDD5;
    --border-dark: #333333;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Global Elements */
body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: 0.02em;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-serif {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.03em;
}

a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--gold-dark);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-warm);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Promotion Bar & Headers */
.promo-bar {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 11px;
    letter-spacing: 0.12em;
    padding: 8px 0;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
    z-index: 1001;
}

.promo-bar span {
    display: inline-block;
}

.main-navbar {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.main-navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 10px 0;
}

.navbar-brand img {
    height: 38px;
    transition: var(--transition-smooth);
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 15px !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 1px;
    background-color: var(--gold-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-icon {
    font-size: 18px;
    padding: 0 8px;
    position: relative;
    cursor: pointer;
}

.cart-bubble {
    position: absolute;
    top: -5px;
    right: 0;
    background-color: var(--gold-primary);
    color: var(--text-light);
    font-size: 10px;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium Buttons */
.btn-gold {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border: 1px solid var(--bg-dark);
    padding: 12px 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 168, 128, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--text-light);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 12px 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-color: var(--bg-dark);
}

/* Hero Section Flat Minimalist (Porto Theme Inspired) */
body.page-home {
    background-color: #EFECE6 !important;
}

.page-home .main-navbar:not(.sticky) {
    background-color: transparent !important;
    border-bottom: none !important;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 620px;
    background-color: #EFECE6;
    overflow: hidden;
}

.page-home .hero-slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-color: #EFECE6;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
}

.hero-desc {
    max-width: 440px;
    font-size: 15px;
    line-height: 1.6;
}

.slide-content {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.slide-item.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image {
    max-height: 490px;
    max-width: 95%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transform: scale(0.95);
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.slide-item.active .slide-image {
    transform: scale(1);
    opacity: 1;
}

.hero-script-subtitle {
    font-family: 'Caveat', 'Playfair Display', cursive, serif;
    font-size: 44px;
    font-weight: 700;
    color: #222222;
    display: block;
    line-height: 1;
    margin-bottom: 2px;
}

.hero-bold-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 72px;
    font-weight: 900;
    text-transform: uppercase;
    color: #111111;
    letter-spacing: -0.02em;
    line-height: 0.95;
    margin: 0 0 14px 0;
}

.hero-price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-prefix {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #333333;
    text-transform: uppercase;
}

.price-val {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #111111;
    line-height: 1;
}

.btn-hero-porto {
    display: inline-block;
    border: 2px solid #111111;
    background-color: transparent;
    color: #111111;
    padding: 12px 38px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero-porto:hover {
    background-color: #111111;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.slider-indicators {
    position: absolute;
    bottom: 24px;
    right: 50px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: #111111;
    width: 24px;
    border-radius: 5px;
}

/* Porto 4-Column Feature Bar */
.porto-features-bar {
    background-color: #F8F7F4;
    border-top: 1px solid #EAE6DF;
    border-bottom: 1px solid #EAE6DF;
    padding: 22px 0;
}

.porto-feature-col {
    padding: 10px 24px;
    border-right: 1px solid #EAE6DF;
}

.porto-feature-col:last-child {
    border-right: none;
}

.porto-feat-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #111111;
    text-transform: uppercase;
}

.porto-feat-desc {
    font-size: 12px;
    color: #666666;
    display: block;
    margin-top: 2px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background-color: var(--gold-primary);
    width: 24px;
    border-radius: 4px;
}

/* Category Grid */
.category-card {
    position: relative;
    height: 350px;
    overflow: hidden !important;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background-color: #EDE8DF;
    border-radius: 8px !important;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px !important;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
    text-align: center;
    border-radius: 0 0 8px 8px !important;
}

.category-title {
    color: var(--text-dark);
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.category-link {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    border-bottom: 1px solid var(--text-dark);
    padding-bottom: 2px;
}

.product-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-smooth);
    margin-bottom: 20px;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    z-index: 5;
}

.product-wishlist-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.product-wishlist-icon:hover {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.product-img-wrapper {
    position: relative;
    height: 210px;
    overflow: hidden;
    background-color: #EDE8DF;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.06);
}

.product-meta {
    padding: 14px 16px;
    text-align: center;
}

.product-meta .category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.product-meta .title {
    font-size: 15px;
    margin-bottom: 5px;
    font-weight: 500;
}

.product-meta .price {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Stars Rating */
.stars-wrapper {
    color: #ECC753;
    font-size: 12px;
    margin-bottom: 8px;
}

/* Customer Testimonials */
.testimonials-section {
    background-color: #FAF8F5;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    text-align: center;
    padding: 0 40px;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #EFECE6;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

/* Custom Footer */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 13px;
}

.main-footer h5 {
    color: var(--text-light);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.main-footer a {
    color: #B5B5B5;
}

.main-footer a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    background-color: #0B0B0B;
    border-top: 1px solid #222222;
    font-size: 11px;
    color: #888888;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Product Detail Gallery */
.gallery-thumbnail {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-bottom: 12px;
    background-color: #EDE8DF;
}

.gallery-thumbnail.active,
.gallery-thumbnail:hover {
    border-color: var(--text-dark);
}

.gallery-main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    background-color: #EDE8DF;
}

/* Interactive Pills */
.color-pill {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    cursor: pointer;
    border: 1px solid #CCC;
    position: relative;
    transition: var(--transition-smooth);
}

.color-pill.active {
    box-shadow: 0 0 0 2px var(--bg-light), 0 0 0 3px var(--text-dark);
}

.size-pill {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px !important;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.size-pill.active {
    background-color: var(--bg-dark);
    border-color: var(--bg-dark);
    color: var(--text-light);
}

.size-pill.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Tabs */
.specs-tab-header {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.specs-tab-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 20px;
    padding: 10px 0;
    margin-right: 40px;
    color: var(--text-muted);
    position: relative;
    cursor: pointer;
}

.specs-tab-btn.active {
    color: var(--text-dark);
}

.specs-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--text-dark);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.specs-tab-btn.active::after {
    transform: scaleX(1);
}

.specs-tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.specs-tab-content.active {
    display: block;
}

/* Ratings Breakdowns */
.progress-bar-gold {
    background-color: var(--gold-primary);
}

.review-card {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.review-card img.review-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    cursor: pointer;
    background-color: #EDE8DF;
}

/* Sliding Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background-color: var(--bg-light);
    z-index: 1060;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-close {
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cart-drawer-close:hover {
    color: var(--gold-primary);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}

.cart-drawer-footer {
    padding: 25px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-warm);
}

.cart-drawer-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-drawer-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    margin-right: 15px;
    background-color: #EDE8DF;
}

.cart-drawer-item-details {
    flex: 1;
}

.cart-drawer-item-details h6 {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 600;
}

.cart-drawer-item-details .price {
    font-size: 13px;
    color: var(--text-muted);
}

.cart-drawer-item-details .qty-controls {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.qty-btn {
    border: 1px solid var(--border-color);
    background: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
}

.qty-val {
    padding: 0 10px;
    font-size: 12px;
}

.cart-drawer-remove {
    font-size: 12px;
    color: #C0392B;
    cursor: pointer;
    margin-left: 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Benefits Grid */
.benefit-item {
    border-right: 1px solid var(--border-color);
}

.benefit-item:last-child {
    border-right: none;
}

@media (max-width: 767.98px) {
    .benefit-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .benefit-item:last-child {
        border-bottom: none;
    }
}

/* Premium Dropdown Customization */
.dropdown-menu {
    border-radius: 8px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    animation: dropdownFadeIn 0.3s ease forwards;
}

.dropdown-item {
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition-smooth);
    color: var(--text-dark);
}

.dropdown-item:hover {
    background-color: var(--bg-warm) !important;
    color: var(--gold-dark) !important;
}

.dropdown-divider {
    border-top: 1px solid var(--border-color);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   8. COMPREHENSIVE PREMIUM MOBILE RESPONSIVENESS DESIGN SYSTEM
   ============================================================ */

@media (max-width: 991.98px) {

    /* Sticky navbar adjust */
    .main-navbar {
        padding: 12px 0;
    }

    /* Hero section slider on tablets */
    .hero-slider {
        height: 480px;
    }

    .slide-image {
        max-height: 75%;
        max-width: 75%;
    }
}

@media (max-width: 767.98px) {

    /* 1. Navbar & Top Promo Bar */
    .promo-bar {
        font-size: 9px;
        letter-spacing: 0.05em;
        padding: 6px 0;
    }

    .promo-bar .container {
        flex-direction: column;
        gap: 4px;
        justify-content: center !important;
    }

    /* 2. Hero Section Mobile — Flat & Clean Porto Aesthetic */
    .hero-slider {
        height: 85vh !important;
        min-height: 540px;
        padding: 0;
        background-color: #EFECE6;
    }

    .slide-item {
        position: absolute !important;
        opacity: 0;
        display: flex !important;
        visibility: hidden;
        padding: 80px 15px 40px 15px;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .slide-item.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero-bold-title {
        font-size: 38px !important;
        color: #111111 !important;
        line-height: 1.05 !important;
        margin-bottom: 8px !important;
    }

    .hero-script-subtitle {
        font-size: 30px !important;
        color: #222222 !important;
    }

    .hero-desc {
        font-size: 14px !important;
        margin-bottom: 16px !important;
    }

    .slider-indicators {
        bottom: 12px;
        right: 50% !important;
        transform: translateX(50%) !important;
    }

    .porto-feature-col {
        border-right: none !important;
        border-bottom: 1px solid #EAE6DF;
        padding: 14px 16px;
    }

    .porto-feature-col:last-child {
        border-bottom: none;
    }

    /* 3. Category Grid adjustments */
    .category-card {
        height: 200px;
    }

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

    /* 4. Product Catalog Lists */
    .product-img-wrapper {
        height: 220px;
    }

    .product-meta .title {
        font-size: 16px;
    }

    /* 5. Product Detail Page Responsive Elements */
    .gallery-main {
        height: 300px;
    }

    .gallery-thumbnail {
        height: 60px;
        margin-bottom: 8px;
    }

    .specs-tab-btn {
        font-size: 16px;
        margin-right: 20px;
    }

    .specs-tab-header {
        display: flex;
        justify-content: space-between;
    }

    /* 6. Sliding Cart Drawer Mobile adjust */
    .cart-drawer {
        width: 100% !important;
        right: -100%;
    }

    .cart-drawer.active {
        right: 0;
    }
}

@media (max-width: 575.98px) {
    .slide-content h1 {
        font-size: 24px !important;
    }

    .hero-slider {
        height: 420px;
    }

    .slide-content .btn-gold,
    .slide-content .btn-outline-gold {
        padding: 8px 16px;
        font-size: 11px;
    }

    /* Product cards: 2 per row on small phones */
    .product-img-wrapper {
        height: 160px;
    }

    .product-meta .title {
        font-size: 13px !important;
    }

    .product-meta {
        padding: 10px 12px 12px !important;
    }

    .category-card {
        height: 160px;
    }
}

/* 7. Desktop Navbar Dropdown Hover & Click Integration */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* ── Inline Navigation Search ── */
.search-inline-container {
    display: flex;
    align-items: center;
}

.search-bar-form {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

.search-bar-form.active {
    border-bottom: 1px solid var(--gold-primary);
}

.search-wave-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    filter: drop-shadow(0 0 2px rgba(197, 168, 128, 0.4));
}

.search-bar-form.active .search-wave-canvas {
    opacity: 1;
}

.search-input {
    width: 0;
    opacity: 0;
    border: none;
    background: transparent !important;
    outline: none;
    font-size: 13px;
    padding: 0;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.search-bar-form.active .search-input {
    width: 220px;
    opacity: 1;
    padding: 2px 8px 2px 4px;
}

.search-submit-btn {
    background: none;
    border: none;
    padding: 0 8px;
    font-size: 18px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.search-submit-btn:hover {
    color: var(--gold-primary);
}

/* ── Real-Time Search Suggestions Dropdown ── */
.search-suggestions-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    max-width: 90vw;
    background: #ffffff;
    border: 1px solid var(--border-color, #E8E5DF);
    border-radius: 8px !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
    z-index: 1080;
    max-height: 480px;
    overflow-y: auto;
    animation: searchDropdownFade 0.2s ease-out;
}

#mobile-search-container .search-suggestions-dropdown {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
}

@keyframes searchDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-suggest-section-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark, #A07820);
    padding: 10px 14px 4px 14px;
    margin: 0;
}

.search-suggest-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary, #1A1A1A);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.search-suggest-cat-item:hover,
.search-suggest-cat-item.active {
    background-color: var(--bg-warm, #FAF8F5);
    color: var(--gold-dark, #A07820);
}

.search-suggest-prod-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 1px solid #f2f0ec;
    transition: background-color 0.15s ease;
}

.search-suggest-prod-item:last-child {
    border-bottom: none;
}

.search-suggest-prod-item:hover,
.search-suggest-prod-item.active {
    background-color: var(--bg-warm, #FAF8F5);
}

.search-suggest-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px !important;
    background-color: #f5f5f5;
    flex-shrink: 0;
}

.search-suggest-info {
    flex: 1;
    min-width: 0;
}

.search-suggest-name {
    font-size: 13px;
    font-weight: 600;
    color: #1A1A1A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.search-suggest-meta {
    font-size: 11px;
    color: #777777;
    margin-top: 2px;
}

.search-suggest-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark, #000000);
    flex-shrink: 0;
}

.search-suggest-footer {
    display: block;
    padding: 10px 14px;
    background: var(--bg-warm, #FAF8F5);
    border-top: 1px solid var(--border-color, #E8E5DF);
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-dark, #A07820);
    text-decoration: none;
    text-align: center;
    border-radius: 0 0 8px 8px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.search-suggest-footer:hover {
    background: #f0ebe1;
    color: var(--text-dark, #000000);
}

.search-highlight {
    background-color: rgba(212, 175, 55, 0.25);
    color: inherit;
    font-weight: 700;
    padding: 0 1px;
    border-radius: 2px;
}

.search-suggest-loading,
.search-suggest-empty {
    padding: 24px 16px;
    text-align: center;
    font-size: 13px;
    color: #888888;
}

@media (max-width: 991.98px) {
    .search-bar-form.active .search-input {
        width: 140px;
    }
}

/* ── Custom Payment Option Card ── */
.payment-option-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.payment-option-card.active {
    border-color: var(--gold-primary) !important;
    background-color: rgba(197, 168, 128, 0.04);
}

.payment-option-card .form-check-input {
    border-radius: 50%;
}

.payment-option-card .form-check-input:checked {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
}

/* ── Stepper Mobile Custom Adjustments ── */
@media (max-width: 575.98px) {
    .step-indicator {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
        margin-bottom: 6px !important;
        line-height: 24px !important;
    }

    .step-label {
        font-size: 9px !important;
        letter-spacing: 0.02em !important;
    }

    .track-stepper::before {
        top: 14px !important;
    }

    /* ── Modern Product Card (Myntra Style) ── */
    .myntra-card {
        background: #ffffff;
        border-radius: 8px;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 100%;
        border: 1px solid #eaeaec;
    }

    .myntra-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    }

    .myntra-img-container {
        position: relative;
        width: 100%;
        height: 250px;
        background-color: #f5f5f6;
        overflow: hidden;
    }

    .myntra-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.4s ease;
    }

    .myntra-card:hover .myntra-img {
        transform: scale(1.05);
    }

    /* Badges & Wishlist */
    .myntra-badge-top {
        position: absolute;
        top: 8px;
        left: 8px;
        background: rgba(0, 0, 0, 0.7);
        color: #ffffff;
        font-size: 9px;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 2px;
        letter-spacing: 0.05em;
        z-index: 3;
    }

    .myntra-wishlist-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #ffffff;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #282c3f;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        z-index: 3;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease;
    }

    /* Show Wishlist button on hover OR when product is wishlisted */
    .myntra-card:hover .myntra-wishlist-btn,
    .myntra-wishlist-btn.active,
    .myntra-wishlist-btn:has(.bi-heart-fill),
    .myntra-wishlist-btn .text-danger,
    .myntra-wishlist-btn .bi-heart-fill {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .myntra-wishlist-btn:hover {
        background: #ffffff;
        transform: scale(1.1);
    }

    /* Rating Pill Badge (Bottom-Left) */
    .myntra-rating-pill {
        position: absolute;
        bottom: 8px;
        left: 8px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(4px);
        padding: 2px 7px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 700;
        color: #282c3f;
        display: flex;
        align-items: center;
        gap: 3px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        z-index: 3;
    }

    .myntra-star-icon {
        color: #14958f;
        font-size: 10px;
    }

    .myntra-rating-divider {
        color: #d4d5d9;
        font-weight: 400;
        margin: 0 1px;
    }

    .myntra-rating-count {
        color: #535766;
        font-size: 10px;
        font-weight: 600;
    }

    /* Card Information Block */
    .myntra-info {
        padding: 10px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: space-between;
        text-align: left;
        background: #fff;
    }

    .myntra-brand {
        font-size: 14px;
        font-weight: 700;
        color: #282c3f;
        margin: 0 0 2px 0;
        line-height: 1.2;
    }

    .myntra-brand a {
        color: #282c3f;
        text-decoration: none;
    }

    .myntra-title {
        font-size: 12px;
        color: #535766;
        margin: 0 0 6px 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 400;
    }

    .myntra-title a {
        color: #535766;
        text-decoration: none;
    }

    .myntra-title a:hover {
        color: var(--gold-dark);
    }

    .myntra-price-row {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 13px;
        flex-wrap: wrap;
        margin-bottom: 6px;
    }

    .myntra-price {
        font-weight: 700;
        color: #282c3f;
        font-size: 13px;
    }

    .myntra-mrp {
        font-size: 11px;
        text-decoration: line-through;
        color: #7e818c;
    }

    .myntra-discount {
        font-size: 11px;
        font-weight: 700;
        color: #ff905a;
    }

    /* Quick Size Selection Modal Overlay & Card */
    .quick-size-modal-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.65) !important;
        backdrop-filter: blur(4px);
        z-index: 100000 !important;
        display: none !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 15px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .quick-size-modal-overlay.active {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .quick-size-modal-card {
        background: #FFFFFF !important;
        border-radius: 8px;
        width: 100%;
        max-width: 420px;
        padding: 24px;
        position: relative;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        animation: quickModalPop 0.25s ease-out forwards;
    }

    @keyframes quickModalPop {
        from {
            transform: scale(0.92);
            opacity: 0;
        }

        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    .quick-size-modal-close {
        position: absolute;
        top: 12px;
        right: 16px;
        background: none;
        border: none;
        font-size: 24px;
        color: #666;
        cursor: pointer;
        line-height: 1;
        z-index: 2;
    }

    .quick-size-modal-close:hover {
        color: #000;
    }

    .quick-size-pill {
        min-width: 44px;
        height: 42px;
        padding: 0 12px;
        border: 1px solid #dcdce2;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        background: #fff;
        color: #222;
        position: relative;
        transition: all 0.15s ease;
    }

    .quick-size-pill:hover {
        border-color: #111;
        color: #111;
    }

    .quick-size-pill.active {
        border-color: #111 !important;
        background-color: #111 !important;
        color: #FFFFFF !important;
    }

    .quick-size-pill.disabled {
        background-color: #f9f9fa !important;
        color: #b5b5be !important;
        border: 1px solid #e5e5ea !important;
        text-decoration: none !important;
        cursor: not-allowed !important;
        opacity: 0.7 !important;
        pointer-events: none !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .quick-size-pill.disabled::after {
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        left: -25% !important;
        width: 150% !important;
        height: 1.5px !important;
        background-color: #c4c4cc !important;
        transform: rotate(-35deg) !important;
        transform-origin: center !important;
        pointer-events: none !important;
    }

    /* ============================================================
   GLOBAL 8PX CORNER ROUNDNESS DESIGN SYSTEM (FULL SYSTEM-WIDE)
   ============================================================ */

    /* 1. All Buttons & Trigger Controls */
    .btn,
    .btn-gold,
    .btn-outline-gold,
    .btn-dark,
    .btn-hero-porto,
    .btn-luxury-gold,
    .btn-primary,
    .btn-secondary,
    .btn-danger,
    .btn-success,
    .btn-warning,
    .btn-info,
    .btn-light,
    .btn-sm,
    .btn-lg,
    .btn-action,
    .action-btn,
    button:not(.btn-close):not(.carousel-control-prev):not(.carousel-control-next):not(.slick-arrow):not(.navbar-toggler):not(.quick-size-modal-close):not(.rounded-circle),
    input[type="submit"],
    input[type="button"],
    input[type="reset"] {
        border-radius: 8px !important;
    }

    /* 2. All Cards, Containers, Sections & Panels */
    .card,
    .category-card,
    .product-card,
    .product-box,
    .myntra-card,
    .info-card,
    .form-card,
    .auth-card,
    .payment-option-card,
    .review-card,
    .testimonial-card,
    .feature-box,
    .summary-box,
    .cart-item-card,
    .order-summary-card,
    .checkout-card,
    .filter-card,
    .filter-sidebar,
    .shop-sidebar,
    .address-card,
    .coupon-box,
    .promo-banner,
    .promo-card,
    .quick-size-modal-card,
    .admin-table-container,
    .stat-card,
    .accordion-item,
    .modal-content,
    .dropdown-menu,
    .alert,
    .toast,
    .table-responsive,
    .progress,
    .progress-bar,
    .border.p-4,
    .border.p-3 {
        border-radius: 8px !important;
    }

    .card,
    .category-card,
    .myntra-card,
    .filter-sidebar,
    .form-card,
    .info-card {
        overflow: hidden !important;
    }

    /* 3. Product & Content Media Images */
    .category-card,
    .category-card img,
    .product-card,
    .product-card img,
    .myntra-card img,
    .myntra-img-container,
    .product-image-container,
    .product-image-container img,
    .img-thumbnail,
    .cart-img,
    .cart-item-img,
    .checkout-items-list img,
    .order-item-img,
    .feature-img,
    .map-wrap,
    .map-wrap iframe,
    .product-gallery-thumbs img,
    .product-main-img,
    .product-main-img img,
    .porto-banner,
    .porto-banner img,
    .banner-bg,
    .banner-bg img,
    .ratio,
    .ratio img {
        border-radius: 8px !important;
    }

    /* 4. Form Inputs, Selects, Checkboxes and Textareas */
    .form-control,
    .form-select,
    .input-group-text,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="search"],
    input[type="date"],
    textarea,
    select,
    .form-floating>.form-control,
    .form-floating>.form-select {
        border-radius: 8px !important;
    }

    .form-check-input {
        border-radius: 4px !important;
    }

    .form-check-input[type="radio"] {
        border-radius: 50% !important;
    }

    /* 5. Input Groups Corner Joining */
    .input-group {
        border-radius: 8px !important;
    }

    .input-group>.form-control:not(:last-child),
    .input-group>.form-select:not(:last-child),
    .input-group>.input-group-text:not(:last-child),
    .input-group>.btn:not(:last-child) {
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-top-left-radius: 8px !important;
        border-bottom-left-radius: 8px !important;
    }

    .input-group>.form-control:not(:first-child),
    .input-group>.form-select:not(:first-child),
    .input-group>.input-group-text:not(:first-child),
    .input-group>.btn:not(:first-child) {
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: 8px !important;
        border-bottom-right-radius: 8px !important;
    }

    .input-group> :not(:first-child):not(:last-child) {
        border-radius: 0 !important;
    }

    .input-group> :only-child {
        border-radius: 8px !important;
    }

    /* 6. Quantity Controls Group */
    .qty-controls-group {
        border-radius: 8px !important;
        overflow: hidden;
    }

    /* 7. Badges, Icon Wraps, Tags, Pills, and Size/Option Selectors */
    .badge:not(.cart-bubble):not(.rounded-circle),
    .status-badge,
    .myntra-badge-top,
    .myntra-rating-pill,
    .quick-size-pill,
    .size-box,
    .size-option,
    .color-option,
    .filter-pill,
    .tag,
    .promo-tag,
    .icon-wrap,
    .icon-box,
    .stat-icon {
        border-radius: 8px !important;
    }

    /* 8. Tabs, Pagination & Nav Elements */
    .nav-pills .nav-link,
    .pagination .page-link,
    .pagination .page-item:first-child .page-link,
    .pagination .page-item:last-child .page-link {
        border-radius: 8px !important;
    }

    .nav-tabs .nav-link {
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

/* =======================================================
   MOBILE RESPONSIVE & TOUCH EXPERIENCE ENHANCEMENTS
   ======================================================= */

/* 1. Mobile Navigation & Filter Offcanvas Drawers (< 992px) */
.mobile-nav-offcanvas {
    max-width: 320px;
    width: 85vw;
    z-index: 1060;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}
.mobile-nav-offcanvas .nav-link {
    color: var(--text-primary, #1A1A1A);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav-offcanvas .nav-link:hover,
.mobile-nav-offcanvas .nav-link.active {
    color: var(--gold-dark, #A07820) !important;
    padding-left: 4px;
}
.offcanvas-backdrop.show {
    opacity: 0.6 !important;
    background-color: #000000 !important;
    backdrop-filter: blur(3px);
}

@media (max-width: 991.98px) {
    .filter-sidebar-offcanvas.offcanvas-lg {
        max-width: 320px;
        width: 85vw;
        border-right: 1px solid var(--border-color);
        z-index: 1060;
    }
    .filter-sidebar-offcanvas .offcanvas-header {
        background-color: var(--bg-warm, #FAF8F5);
        border-bottom: 1px solid var(--border-color);
        padding: 16px 20px;
    }
    .filter-sidebar-offcanvas .offcanvas-body {
        overflow-y: auto;
        max-height: calc(100vh - 65px);
        padding: 0 !important;
    }
    .filter-sidebar-offcanvas .filter-sidebar {
        border: none !important;
        box-shadow: none !important;
        padding: 20px !important;
        margin-bottom: 0 !important;
        border-radius: 0 !important;
    }
}

/* 2. Product Detail Page Mobile Enhancements */
@media (max-width: 767.98px) {
    .gallery-main {
        height: 340px !important;
        border-radius: 8px !important;
    }
    #thumbnail-sidebar {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        gap: 8px !important;
        padding-bottom: 6px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    #thumbnail-sidebar .gallery-thumbnail {
        width: 64px !important;
        height: 64px !important;
        flex-shrink: 0;
        margin-bottom: 0 !important;
        border-radius: 8px !important;
    }
    .specs-tab-header {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 16px;
        padding-bottom: 6px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .specs-tab-header::-webkit-scrollbar {
        display: none;
    }
    .specs-tab-btn {
        white-space: nowrap;
        font-size: 14px !important;
        margin-right: 0 !important;
        padding: 8px 12px;
    }
}

/* 3. Touch-Friendly Cards & Elements on Small Phones */
@media (max-width: 575.98px) {
    .category-card {
        height: 200px !important;
    }
    .category-card .category-overlay {
        padding: 14px !important;
    }
    .category-card .category-title {
        font-size: 16px !important;
    }
    .myntra-img-container {
        height: 200px !important;
    }
    .myntra-brand {
        font-size: 13px !important;
    }
    .myntra-title {
        font-size: 11px !important;
    }
    .myntra-price {
        font-size: 12px !important;
    }
    .quick-add-btn {
        padding: 6px 8px !important;
        font-size: 10px !important;
    }
}

/* 4. Cart & Checkout Mobile Enhancements */
@media (max-width: 767.98px) {
    .cart-drawer {
        width: 100% !important;
        max-width: 100% !important;
    }
    .summary-card {
        padding: 20px !important;
    }
    .cart-empty-state, .wishlist-empty-card {
        padding: 40px 20px !important;
    }
    .table-responsive {
        border: none !important;
    }
}