@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Tajawal:wght@400;500;700&display=swap');

:root {
    --primary: #e61e3a;
    --primary-hover: #B91C1C;
    --primary-light: #FEF2F2;
    --primary-gradient: linear-gradient(135deg, #DC2626 0%, #E7000B 50%, #C10007 100%);
    --secondary: #101828;
    --text-main: #0A0A0A;
    --text-muted: #4A5565;
    --text-light: #6A7282;
    --bg-light: #F5F5F5;
    --bg-alt: #F5F5F5;
    --border-color: #F3F4F6;
    --white: #FFFFFF;
    --shadow-sm: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-full: 9999px;
    --radius-lg: 24px;
    --container-width: 1225px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif !important;
}

html,
body {
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.5;
    font-size: 16px;
    overflow-x: clip;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

i {
    font-size: 20px;
}

.modal {
    z-index: 99999 !important;
}

/* Utils */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 28px;
    /* Reduced from 36px */
    color: var(--text-main);
    margin-bottom: 12px;
    text-align: center;
}

.section-subtitle {
    font-size: 20px;
    /* Reduced from 20px */
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 48px;
}

.show-desktop {
    display: flex !important;
}



/* navbar/Top Bar */
.navbar {
    box-shadow: 0px 2px 5px #0000001a;
    background: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* Main Header / Hero Slider */
.header {
    position: relative;
    height: 700px;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #101828 50%, #000000 100%);
}

.swiper-hero {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top;
    z-index: 1;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #101828 50%, #000000 100%);

    z-index: 2;
    opacity: 0.8;
}



.header-content-box {
    width: 100%;
    display: flex;
    height: 100%;
    align-items: center;
}

.header-content {
    position: relative;
    z-index: 20;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Correct for RTL to align right */
    text-align: right;
    width: 100%;
    max-width: 800px;
}

.header-overlay::after {
    background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 100%);

}

.header-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.6;
}

html[dir="rtl"] .header-content {
    align-items: flex-start;
    /* In RTL flex-start is the right side */
}

.header-badge {
    background: rgba(227, 30, 36, 0.2);
    border: 1.27467px solid rgba(227, 30, 36, 0.3);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.header-title {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0px -1px 19.8px rgba(231, 0, 11, 0.43);
}

.header-text {
    font-size: 24px;
    color: #D1D5DC;
    margin-bottom: 40px;
    line-height: 1.5;
}


.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary {
    background: #E31E24;
    color: var(--white);
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0px 0px 50px rgba(227, 30, 36, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1.27467px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0px 0px 60px rgba(227, 30, 36, 0.6);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.header-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 30;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    border-radius: 100px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1 !important;
    margin: 0 !important;
}

.swiper-pagination-bullet-active {
    width: 48px !important;
    background: #E31E24 !important;
    box-shadow: 0px 0px 15px rgba(227, 30, 36, 0.6);
}

.swiper-pagination {
    bottom: 15px !important;
    display: flex;
    justify-content: center;
}


/* Nav components */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--secondary);
    width: 40px;
}



.logo {
    display: inline-block;
}

.logo img {
    height: 55px;
    width: auto;
}


.nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 10px 18px;
    border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    display: none;
}


.nav-link.active {
    font-weight: 600;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-main);
}

.navbar-actions a,
.navbar-actions button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: #364153;
    position: relative;
    padding: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-actions a:hover,
.navbar-actions button:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.navbar-actions .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 2px 4px rgba(237, 28, 36, 0.2);
}


/* Feature Bar */
/* Stats Bar Section */
.stats-bar {
    background: linear-gradient(90deg, #F5F5F5 0%, #FFFFFF 100%);
    border-top: 1.27px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1.27px solid rgba(0, 0, 0, 0.1);
    padding: 25px 0;

    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.stat-icon-box {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #E31E24 0%, #C01A1F 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 32px;
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.15);
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon-box {
    transform: translateY(-5px);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 30px;
    font-weight: 700;
    color: #101828;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    font-weight: 400;
    color: #4A5565;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-icon-box {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Category Section */
.category-section {
    position: relative;
    padding: 96px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
    overflow: hidden;

}

.category-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(227, 30, 36, 0.1);
    color: #E31E24;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.category-title {
    font-size: 48px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 16px;
    line-height: 1.2;
}

.category-subtitle {
    font-size: 20px;
    color: #4A5565;
    max-width: 672px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.category-card {
    position: relative;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 1px 3px 0px #00000026;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Responsive category section */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .category-title {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .category-section {
        padding: 60px 0;
    }

    .category-header {
        margin-bottom: 40px;
    }

    .category-title {
        font-size: 32px;
    }

    .category-subtitle {
        font-size: 16px;
    }

    .category-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 10px 4px 20px 4px;
        margin: 0 -4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .category-grid::-webkit-scrollbar {
        display: none;
    }

    .category-card {
        flex: 0 0 240px;
        scroll-snap-align: start;
    }

    .cat-content {
        bottom: 16px;
        right: 16px;
    }

    .cat-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .category-card {
        flex: 0 0 210px;
    }
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 30px 40px -10px rgba(0, 0, 0, 0.2);
}

.cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .cat-img {
    transform: scale(1.1);
}

.cat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.6;
}

.category-card::after {
    background: linear-gradient(0deg, rgb(65 1 4 / 40%) 0%, rgb(37 2 2 / 51%) 100%);
}

.cat-content {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 3;
    text-align: right;
}

.cat-content h3 {
    font-size: 24px;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0;
}

/* Promo Banner Section */
.promo-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #E31E24 0%, #DE1D23 7.14%, #D91D23 14.29%, #D41C22 21.43%, #CF1C21 28.57%, #CA1B20 35.71%, #C51B20 42.86%, #C01A1F 50%, #C51B20 57.14%, #CA1B20 64.29%, #CF1C21 71.43%, #D41C22 78.57%, #D91D23 85.71%, #DE1D23 92.86%, #E31E24 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: var(--shadow-xl);
}

.promo-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.glow-white {
    width: 600px;
    height: 600px;
    left: 20%;
    top: -100px;
    background: #FFFFFF;
    filter: blur(200px);
    opacity: 0.15;
}

.glow-black {
    width: 500px;
    height: 500px;
    right: 20%;
    bottom: -100px;
    background: #000000;
    filter: blur(180px);
    opacity: 0.25;
}

.promo-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.promo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--white);

    padding: 0 20px;
}

.promo-badge-box {
    margin-bottom: 24px;
}

.promo-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.7px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.promo-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.promo-description {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 672px;
    margin-bottom: 40px;
}

.promo-actions {
    display: flex;
    justify-content: center;
}

.btn-promo-cta {
    background: #FFFFFF;
    color: #E31E24 !important;
    padding: 18px 48px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-promo-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0px 30px 60px -10px rgba(0, 0, 0, 0.4);
    background: #FFF5F5;
}

.btn-promo-cta i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-promo-cta:hover i {
    transform: translateX(-5px);
}

/* Responsive styles for Promo Banner */
@media (max-width: 1024px) {
    .promo-section {
        padding: 80px 0;
    }

    .promo-title {
        font-size: 48px;
    }

    .promo-description {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .promo-section {
        padding: 60px 0;
    }

    .promo-title {
        font-size: 36px;
    }

    .promo-description {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .btn-promo-cta {
        padding: 14px 36px;
        font-size: 18px;
    }

    .glow-white {
        width: 300px;
        height: 300px;
    }

    .glow-black {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .promo-title {
        font-size: 28px;
    }

    .promo-description {
        font-size: 16px;
    }

    .btn-promo-cta {
        padding: 12px 28px;
        font-size: 16px;
        border-radius: 10px;
    }
}

/* Product Section */
.product-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #f7f7f7 100%);
}

.product-section .container {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/* Centered Section Header Styles */
.section-header-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 56px;

    position: relative;
    z-index: 5;
}

.section-badge-box {
    margin-bottom: 16px;
}

.section-badge {
    background: rgba(227, 30, 36, 0.1);
    color: #E31E24;
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.7px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.section-title-large {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #101828;
    margin-bottom: 12px;
}

.section-subtitle-large {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #4A5565;
    max-width: 600px;
    margin: 0 auto;
}

.section-footer-centered {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    margin-bottom: 20px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e4e4e0;
    background: #FFFFFF;
    padding: 5px 25px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.view-all-btn:hover {
    background: #E31E24;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.15);
}

.view-all-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(-4px);
}

/* Centered Header Responsive */
@media (max-width: 768px) {
    .section-header-centered {
        margin-bottom: 40px;
    }

    .section-title-large {
        font-size: 36px;
    }

    .section-subtitle-large {
        font-size: 18px;
    }

    .view-all-btn {
        padding: 5px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .section-title-large {
        font-size: 28px;
    }

    .section-subtitle-large {
        font-size: 15px;
    }
}

.section-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.section-navbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-navbar-left .icon {
    color: var(--primary);
    font-size: 26px;
}

.view-all {
    color: var(--primary);
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Specific grids for Shop and Offers when there is a sidebar */
.custom-shop-layout .product-grid,
.shop-layout .product-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Product Card */
.product-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0px;
    background: #FFFFFF;
    box-shadow: 0 1px 3px 0px #00000014;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-img-wrapper {
    aspect-ratio: 3 / 3.3;
    position: relative;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.06);
    filter: brightness(0.98);
}

.wishlist-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    border: none;
}

.wishlist-btn:hover {
    color: #E31E24;
    background: #FFFFFF;
    transform: scale(1.1) translateY(-1px);
    box-shadow: 0 6px 16px rgba(227, 30, 36, 0.15);
}

.wishlist-btn:active {
    transform: scale(0.95);
}

.wishlist-btn.active,
.btn-wishlist-detail.active {
    background: #E31E24 !important;
    color: #FFFFFF !important;
    border-color: #E31E24 !important;
    box-shadow: 0 6px 16px rgba(227, 30, 36, 0.3) !important;
}

.badge-new,
.badge-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
    z-index: 5;
}

.badge-discount {
    background: #E31E24;
    color: #FFFFFF;
}

.badge-new {
    background: rgb(227 30 36 / 15%);
    color: #E31E24;
    border: 1px solid rgba(227, 30, 36, 0.1);
}

.product-info {
    padding: 20px 22px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex-grow: 1;
}

.product-name {
    font-size: 16px;
    font-weight: 500;
}

.product-name a {
    color: inherit;
    text-decoration: none;
}

.product-card:hover .product-name a {
    color: #E31E24;
}

.product-meta-row {
    color: #4A5565;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;

}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-bottom-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 0px;
    gap: 3px;
}

.product-price-col {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
}

.price-current {
    font-weight: 500;
    font-size: 24px;
    color: #E31E24;
}

.price-currency {
    font-weight: 500;
    font-size: 16px;
    color: #101828;
}

.price-old {
    font-weight: 500;
    font-size: 18px;
    text-decoration: line-through;
    color: #9CA3AF;
}

.add-to-cart-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: #E31E24;
    border-radius: 8px;
    color: #FFFFFF;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.add-to-cart-btn i {
    font-size: 20px;
    line-height: 1;
}

.add-to-cart-btn:hover {
    box-shadow: 0px 12px 24px rgba(227, 30, 36, 0.3);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.add-to-cart-btn:hover i {
    transform: scale(1.15) rotate(-5deg);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .product-info {
        padding: 16px;
        gap: 5px;
    }

    .product-name {
        font-size: 15px;
        line-height: 22px;
    }

    .price-current {
        font-size: 18px;
        line-height: 24px;
    }

    .price-old {
        font-size: 14px;
    }

    .add-to-cart-btn {
        width: 35px;
        height: 35px;
    }

    .add-to-cart-btn i {
        font-size: 18px;
    }
}


/* Footer */
.footer {
    background: linear-gradient(90deg, #111111 32.69%, #3F1719 99.99%);
    padding: 60px 0 30px;
    color: #99A1AF;

    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 48px 32px;
}

.footer-brand .logo img {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
}

.brand-desc {
    font-size: 14px;
    line-height: 23px;
    color: #99A1AF;
    max-width: 263px;
    margin: 0;
    text-align: right;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 27px;
    text-align: right;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.footer-links li a {
    color: #99A1AF;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #FFFFFF;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #99A1AF;
    font-size: 14px;
}

.contact-info li i {
    font-size: 16px;
    color: #99A1AF;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-icon {
    color: #FFFFFF;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 30px;
    padding: 33px 32px 0;
    border-top: 1.27px solid #1E2939;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.copyright {
    color: #99A1AF;
    font-size: 14px;
    line-height: 20px;
    margin: 15px 0;
    text-align: center;
}

/* Developed By */
.developed-by a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #99A1AF;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #1E2939;
    border-radius: 99px;
    text-decoration: none;
}

.developed-by .dev-brand {
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.developed-by a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #3F1719;
    transform: translateY(-1px);
}

/* Shop Page Styles */
.shop-page {
    background: #F5F5F5;
    padding: 100px 0 100px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.shop-title-box {
    padding: 0 0 30px 0;
}

.shop-title-box h1 {
    color: var(--secondary);
}

.shop-title-box h2 {
    font-size: 18px;
    color: var(--text-muted);
}

.sort-dropdown {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.sort-dropdown:hover {
    border-color: var(--primary);
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-weight: 500;
    color: #364153;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1.27px solid #F3F4F6;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 100;
    min-width: 180px;
    list-style: none;
    padding: 8px;
}

.sort-dropdown.active .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu li {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 16px;
    color: #364153;
    transition: all 0.2s;
}

.dropdown-menu li:hover {
    background: var(--bg-light);
    color: var(--primary);
}


/* Category Filter Bar */
.category-filter-bar {
    display: flex;
    gap: 12px;
}

.shop-header-actions {
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.btn-filter {
    border: none;
    padding: 10px 24px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 16px;
    color: #364153;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-filter.active {
    box-shadow: 0 1px 5px 1px #0000003b;
    background: var(--primary);
    color: var(--white);
}

/* Shop Layout */
#shopFiltersForm {
    display: contents;
}

.shop-page {
    overflow: visible;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.shop-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    align-self: start;
}

/* Sidebar / Container */
.filter-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px 0px 24px;
    gap: 24px;
    width: 280.01px;
    background: #FFFFFF;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-sizing: border-box;
}

/* Header */
.filter-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 27.01px;
}

.filter-main-title {
    font-weight: bold;
    font-size: 18px;
    line-height: 27px;
    color: #111111;
    margin: 0;
}

.filter-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Group */
.filter-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 11.99px;
    width: 100%;
    margin-bottom: 24px;
}

.filter-group-title {
    font-weight: bold;
    font-size: 18px;
    line-height: 20px;
    text-align: right;
    color: #111111;
    width: 100%;
    margin: 0;
}

/* List */
.filter-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 7.99px;
    width: 100%;
}

/* Label (Item) */
.filter-item-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 7.99px;
    width: 100%;
    height: 20px;
    cursor: pointer;
}

.filter-item-text {
    font-weight: 500;
    font-size: 18px;
    line-height: 20px;
    color: #111111;
    flex-grow: 1;
}

/* Hidden inputs */
.filter-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Radio Button Unchecked */
.custom-radio {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 2px;
    width: 12px;
    height: 12px;
    border: 1px solid #111111;
    border-radius: 100px;
}

/* Radio Button Checked */
.filter-radio:checked+.custom-radio {
    border: 1px solid #E31E24;
}

/* Radio Button Checked Inner */
.filter-radio:checked+.custom-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #E31E24;
    border-radius: 100px;
    display: block;
}

/* Product Grid Wrapper */
.product-grid-wrapper {
    flex: 1;
}

/* Shop Header Container */
.shop-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 16px;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-sizing: border-box;
    margin-bottom: 24px;
}

/* Paragraph (Total products count) */
.product-count {

    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #4A5565;
}

/* Dropdown Container Frame */
.shop-header-actions {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 6px 17px;
    width: 212.99px;
    height: 41.47px;
    border: 1.27467px solid #E5E7EB;
    border-radius: 8px;
    background: #FFFFFF;
}

.sort-dropdown {
    width: 100%;
    display: flex;
    align-items: center;
}

.sort-dropdown select {
    width: 100%;
    border: none;
    outline: none;

    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    color: #404040;
    background: transparent;
    cursor: pointer;
    text-align: right;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-left: 20px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23404040' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 16px;
}

/* Empty State Styling */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 0;
    color: #888;
}

.empty-state i {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

/* Pagination Wrapper */
.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Clear All Button Override */
.btn-clear-all {
    text-decoration: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
    margin-bottom: 80px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D1D5DC;
    border-radius: 10px;
    font-weight: 500;
    color: #364153;
    transition: all 0.3s ease;
}

.page-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.page-btn:hover:not(.active) {
    background: var(--bg-light);
}


/* --- Product Details Page --- */
.product-details-page {
    padding-top: 100px;
    margin-bottom: 120px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    padding: 31px 0;
    gap: 8px;
    /* Based on Figma 7.99px */
}

.breadcrumb a,
.breadcrumb i {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #6A7282;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.breadcrumb i {
    font-size: 16px;
    color: #6A7282;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span.current {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #101828;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
    margin-top: 20px;
}

@media (max-width: 991px) {
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.main-image-container {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
}

.gallery-nav-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.gallery-nav-btn.prev {
    left: 16px;
}

.gallery-nav-btn.next {
    right: 16px;
}

.thumbnail-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding: 4px 0 16px;
}

.thumbnail-list::-webkit-scrollbar {
    display: none;
}

.thumbnail-btn {
    flex: 0 0 136px;
    width: 136px;
    height: 98.55px;
    border-radius: 8px;
    border: 1px solid transparent;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.thumbnail-btn.active {
    border: 1px solid #E31E24;
    box-shadow: 0px 3px 13.5px rgba(227, 30, 36, 0.35);
}

.thumbnail-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* Info Section */
.product-main-info {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.05), 0px 4px 6px -4px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 32px;
    box-sizing: border-box;
}

.product-age-range {
    font-size: 16px;
    color: #99A1AF;
    margin-bottom: 8px;
}

.product-title-large {

    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    color: #111111;
    margin-bottom: 12px;
    text-align: right;
}

/* Rating Row */
.product-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.rating-stars {
    display: flex;
    gap: 4px;
    color: #FDC700;
}

.rating-text {

    font-size: 16px;
    color: #4A5565;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.price-large {

    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
    color: #E31E24;
}

.price-old-large {

    font-size: 18px;
    color: #99A1AF;
    text-decoration: line-through;
}

.discount-badge {
    background: #E31E24;
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 500;
}

.product-description-text {

    font-size: 16px;
    line-height: 26px;
    color: #4A5565;
    margin-bottom: 24px;
    margin-top: 15px;
    border-bottom: 1.27px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 24px;
}

/* Selectors */
.option-group {
    margin-bottom: 20px;
}

.option-label {

    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
    color: #364153;
}

.size-selector {
    display: flex;
    gap: 12px;
}

.size-btn {
    min-width: 70px;
    height: 40px;
    border: 1.27px solid #D1D5DC;
    border-radius: 8px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 500;
    font-size: 15px;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 12px;
}

.size-btn.active,
.size-btn:hover {
    border-color: #E31E24;
    color: #E31E24;
}

.color-selector {
    display: flex;
    gap: 12px;
}

.color-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2px;
    box-sizing: border-box;
}

.color-btn.active {
    border-color: #E31E24;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 15px;
    margin-bottom: 20px;
}

/* Qty & Actions */
.quantity-row {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    width: 120px;
    height: 40px;
    background: #F5F5F5;
    border-radius: 8px;
    box-sizing: border-box;
}

.qty-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #4A5565;
    padding: 4px;
}

.qty-btn i {
    font-size: 14px;
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-value {

    font-size: 16px;
    font-weight: 500;
    color: #111111;
}

.action-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-wishlist-detail {
    width: 56px;
    height: 56px;
    background: #F5F5F5;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #364153;
}

.btn-wishlist-detail i {
    font-size: 20px;
}

.btn-wishlist-detail:hover {
    background: #FEE2E2;
    color: #E31E24;
}

.btn-add-cart-large {
    flex-grow: 1;
    height: 56px;
    background: #E31E24;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;

    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-cart-large:hover {
    background: #b91c1c;
    box-shadow: 0px 4px 12px rgba(227, 30, 36, 0.2);
}

.btn-add-cart-large:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
    box-shadow: none;
}

/* Shipping / Benefits list */
.benefits-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 16px;
    color: #364153;
}

.benefit-item i {
    color: #E31E24;
    font-size: 20px;
}

/* Product Tabs */
.product-tabs-wrapper {
    background: #FFFFFF;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.05), 0px 4px 6px -4px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 32px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.tabs-header {
    display: flex;
    gap: 32px;
    border-bottom: 1.27px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0px;
    margin-bottom: 24px;
}

.tab-btn {
    background: none;
    border: none;

    font-weight: 500;
    font-size: 16px;
    color: #4A5565;
    padding-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -1.27px;
}

.tab-btn.active {
    color: #E31E24;
    border-bottom: 2px solid #E31E24;
}

.tab-content {
    text-align: right;
    color: #364153;

    font-size: 16px;
    line-height: 28px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.features-list li {
    position: relative;
    padding-right: 20px;
}

.features-list li::before {
    content: "•";
    color: #E31E24;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: -1em;
    text-align: right;
}

/* Related Section & Grid */
.related-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

.related-header {
    margin-bottom: 24px;
}

.related-header h2 {

    font-size: 20px;
    font-weight: 500;
    color: #111111;
    text-align: right;
}

.related-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 4px 24px;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
}

.related-grid::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.related-grid .product-card {
    flex: 0 0 286px;
    min-width: 286px;
}



/* Newsletter Refined */
.footer-newsletter-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1.27px solid var(--border-color);
    padding: 49px 0;
    gap: 40px;
}

.newsletter-text {
    max-width: 443px;
}

.newsletter-text h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 12px;
}

.newsletter-text p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 22px;
}

.newsletter-form-container {
    flex: 1;
    max-width: 672px;
}



/* Contact Page */
.contact-layout {
    background: #F5F5F5;
    padding: 130px 0;
}

.contact-header-section {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header-title {

    font-size: 24px;
    font-weight: 500;
    color: #111111;
    margin-bottom: 8px;
}

.contact-header-subtitle {

    font-size: 16px;
    color: #4A5565;
    margin: 0;
}

/* Info Cards at the top */
.contact-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-info-card {
    background: #FFFFFF;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.contact-info-icon-box {
    width: 64px;
    height: 64px;
    background: #E31E24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 32px;
}

.contact-info-card h3 {

    font-size: 18px;
    font-weight: 500;
    color: #111111;
    margin: 0;
}

.contact-info-card p {

    font-size: 16px;
    color: #4A5565;
    margin: 0;
    line-height: 24px;
}

/* Main content: Grid of two columns */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Form block */
.contact-form-card {
    background: #FFFFFF;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form-title {
    font-size: 20px;
    font-weight: 500;
    color: #111111;
    text-align: right;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.contact-form-label {
    font-size: 16px;
    font-weight: 500;
    color: #111111;
}

.contact-form-input {
    background: #F5F5F5;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    color: #111111;
    transition: border-color 0.3s ease, background 0.3s ease;
    text-align: right;
}

.contact-form-input::placeholder {
    color: rgba(17, 17, 17, 0.5);
}

.contact-form-input:focus {
    border-color: #E31E24;
    background: #FFFFFF;
    outline: none;
}

.contact-form-textarea {
    height: 146px;
    resize: none;
}

.contact-form-btn {
    background: #E31E24;
    border: none;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    height: 56px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form-btn:hover {
    background: #C9161B;
}

.contact-form-btn:active {
    transform: scale(0.98);
}

/* Sidebar block */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Hours Card */
.contact-hours-card {
    background: #FFFFFF;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: right;
    justify-content: flex-start;
}

.contact-hours-icon-box {
    width: 24px;
    height: 24px;
    color: #E31E24;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hours-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-hours-title {
    font-size: 18px;
    font-weight: 500;
    color: #111111;
    margin: 0;
}

.contact-hours-text {
    font-size: 16px;
    color: #4A5565;
    margin: 0;
}

/* Help Box (Black) */
.contact-help-card {
    background: linear-gradient(137deg, #1e0101 32.69%, #3F1719 99.99%);
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: right;
    color: #FFFFFF;
}

.contact-help-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.contact-help-text {
    font-size: 16px;
    color: #D1D5DC;
    margin: 0;
    line-height: 26px;
}

.contact-help-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.contact-help-btn {
    flex: 1;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-help-btn-primary {
    background: #E31E24;
    color: #FFFFFF;
    border: none;
}

.contact-help-btn-primary:hover {
    background: #C9161B;
}

.contact-help-btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-help-btn-secondary:hover {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
}

/* Map Card */
.contact-map-card {
    background: #FFFFFF;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    height: 256px;
    overflow: hidden;
}

.contact-map-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsiveness */
@media (max-width: 991px) {
    .contact-info-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* --- Story / Blog Page --- */
.story-page {
    padding-bottom: 100px;
}

.story-hero {
    background: var(--primary-gradient);
    padding: 80px 0;
    /* Unified padding */
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.story-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../imgWeb/cta_bg.webp");
    background-size: cover;
    opacity: 0.15;
    z-index: 1;
}

.story-hero .container {
    position: relative;
    z-index: 2;
}

.story-hero h1 {
    font-size: 36px;
    /* Reduced */
    font-weight: 500;
    margin-bottom: 20px;
}

.story-hero p {
    font-size: 16px;
    /* Reduced */
    line-height: 1.5;
    color: var(--primary-light);
    max-width: 600px;
    margin: 0 auto;
}

.filter-bar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 16px 0;
    top: 80px;
    z-index: 20;
    margin-bottom: 60px;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn-filter-story {
    padding: 8px 24px;
    border-radius: var(--radius-full);
    border: none;
    background: #FFFFFF;
    color: #364153;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter-story.active {
    background: #ED1C24;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

/* Blog Page Specific Styles */
.blog-header {
    background: #F5F5F5;
    padding: 130px 0 24px;
    text-align: center;
}

.blog-header-title {

    font-size: 24px;
    font-weight: 500;
    color: #111111;
    margin-bottom: 8px;
    text-align: center;
}

.blog-header-subtitle {

    font-size: 16px;
    color: #4A5565;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.blog-filters-bar {
    background: #F5F5F5;
    padding: 0 0 40px 0;
}

.blog-filters-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-filter-link {
    text-decoration: none;

}

.story-page-wrapper {
    background: #F5F5F5;
    padding-bottom: 80px;
}

.blog-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;

    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.blog-empty-state i {
    font-size: 48px;
    color: #99A1AF;
}

.blog-empty-state p {
    color: #4A5565;
    margin-top: 16px;
    font-size: 16px;
}

/* Blog Grid & Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.blog-card {
    background: #FFFFFF;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.blog-card-img-box {
    height: 224px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.blog-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img-box img {
    transform: scale(1.05);
}

.blog-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #E31E24;
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 500;
    z-index: 2;
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6A7282;

    font-size: 14px;
    margin-bottom: 12px;
    justify-content: flex-start;
}

.blog-card-meta i {
    font-size: 16px;
    color: #6A7282;
}

.blog-card-title {

    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    color: #111111;
    margin-bottom: 12px;
    text-align: right;
}

.blog-card-title a {
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #E31E24;
}

.blog-card-excerpt {

    font-size: 16px;
    line-height: 26px;
    color: #4A5565;
    margin-bottom: 20px;
    text-align: right;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1.27px solid rgba(0, 0, 0, 0.1);
    padding-top: 16px;
    margin-top: auto;
    justify-content: flex-end;
}

.blog-card-author {

    font-size: 14px;
    color: #4A5565;
}

.blog-card-footer i {
    font-size: 16px;
    color: #4A5565;
}

/* Pagination */
.story-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.btn-page-story {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.27px solid #E5E7EB;
    border-radius: 8px;
    background: #FFFFFF;
    color: #4A5565;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-page-story.active {
    background: #E31E24;
    color: #FFFFFF;
    border-color: #E31E24;
}

.btn-page-story:hover:not(.active):not(:disabled) {
    border-color: #E31E24;
    color: #E31E24;
}

.btn-page-story:disabled,
.btn-page-story.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Blog Details Page Styles */
.blog-details-hero {
    position: relative;
    height: 384px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 48px;
    margin-bottom: 48px;
}

.blog-details-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.4) 0%, rgba(17, 17, 17, 0.9) 100%);
    z-index: 1;
}

.blog-details-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.blog-details-hero-content {
    max-width: 832px;
    margin: 0 auto;
    color: #FFFFFF;
}

.blog-details-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 14px;
    color: #D1D5DC;
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.blog-details-hero-meta i {
    font-size: 16px;
    color: #D1D5DC;
}

.blog-details-hero-badge {
    background: #E31E24;
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.blog-details-hero-badge:hover {
    background: #C4161E;
}

.blog-details-hero-title {

    font-size: 36px;
    font-weight: 700;
    line-height: 48px;
    color: #FFFFFF;
    margin-bottom: 16px;
    text-align: right;
}

@media (max-width: 767px) {
    .blog-details-hero {
        height: auto;
        padding-top: 140px;
        padding-bottom: 32px;
    }

    .blog-details-hero-title {
        font-size: 24px;
        line-height: 32px;
    }
}

.blog-details-hero-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #D1D5DC;
    justify-content: flex-end;
}

.blog-details-hero-author i {
    font-size: 16px;
}

.blog-details-layout {
    background: #F5F5F5;
    padding-bottom: 80px;
}

.blog-details-container {
    max-width: 896px;
    margin: 0 auto;
}

.blog-details-content-box {
    background: #FFFFFF;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 48px;
    margin-bottom: 48px;
}

@media (max-width: 767px) {
    .blog-details-content-box {
        padding: 24px;
    }
}

.blog-text-content {

    color: #364153;
    font-size: 16px;
    line-height: 28px;
    text-align: right;
}

.blog-text-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    margin-top: 32px;
    margin-bottom: 16px;
}

.blog-text-content p {
    font-size: 16px;
    line-height: 28px;
    color: #364153;
    margin-bottom: 20px;
}

.blog-text-content ul,
.blog-text-content ol {
    margin-bottom: 24px;
    padding-right: 20px;
}

.blog-text-content li {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 8px;
    color: #364153;
}

/* Important advice card inside blog details */
.blog-details-alert-card,
.blog-text-content blockquote {
    background: #F5F5F5;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
    border-right: 4px solid #E31E24;
}

.blog-details-alert-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
}

.blog-details-alert-card p {
    font-size: 16px;
    line-height: 26px;
    color: #364153;
    margin-bottom: 0;
}

/* Share widget */
.blog-details-share-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1.27px solid rgba(0, 0, 0, 0.1);
    padding-top: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.blog-details-share-title {

    font-size: 14px;
    color: #4A5565;
    font-weight: 500;
}

.blog-details-share-buttons {
    display: flex;
    gap: 12px;
}

.blog-details-share-btn {
    width: 40px;
    height: 40px;
    background: #F5F5F5;
    border-radius: 50%;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.blog-details-share-btn:hover {
    background: #E31E24;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Related articles section */
.blog-related-section {
    width: 100%;
}

.blog-related-title {

    font-size: 20px;
    font-weight: 500;
    color: #111111;
    margin-bottom: 24px;
    text-align: right;
}

/* --- Page Specific Styles --- */

/* About Page */
.about-hero {
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, #111111 0%, #141414 11.11%, #161616 22.22%, #191919 33.33%, #1C1C1C 44.44%, #1F1F1F 55.56%, #222222 66.67%, #252525 77.78%, #282828 88.89%, #2B2B2B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
}

.about-hero-title {

    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-hero-subtitle {

    font-size: 20px;
    color: #D1D5DC;
    font-weight: 400;
    margin: 0;
}

.about-layout {
    background: #F5F5F5;
    padding: 80px 0;
}

.about-story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.about-story-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: right;
}

.about-story-tag {

    font-size: 20px;
    font-weight: 500;
    color: #111111;
}

.about-story-text {

    font-size: 16px;
    line-height: 28px;
    color: #364153;
    margin: 0;
}

/* Slanted Mosaic Image Grid */
.about-mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 584px;
}

.about-mosaic-col-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(32px);
}

.about-mosaic-col-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-mosaic-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    height: 256px;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.about-mosaic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Stats Section */
.about-stats-box {
    background: linear-gradient(137deg, #1e0101 32.69%, #3F1719 99.99%);
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 64px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.about-stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-stat-value {

    font-size: 36px;
    font-weight: 700;
    color: #E31E24;
}

.about-stat-label {

    font-size: 16px;
    color: #D1D5DC;
    font-weight: 400;
}

/* Vision and Mission Cards */
.about-vision-mission-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 64px;
}

.about-vm-card {
    background: #FFFFFF;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: right;
}

.about-vm-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-vm-title {

    font-size: 20px;
    font-weight: 500;
    color: #111111;
}

.about-vm-icon-box {
    width: 48px;
    height: 48px;
    background: #E31E24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
}

.about-vm-text {

    font-size: 16px;
    line-height: 26px;
    color: #364153;
    margin: 0;
}

/* Values section */
.about-values-section {
    text-align: center;
}

.about-values-title {

    font-size: 20px;
    font-weight: 500;
    color: #111111;
    margin-bottom: 48px;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-value-card {
    background: #FFFFFF;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.about-value-icon-box {
    width: 64px;
    height: 64px;
    background: #E31E24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 32px;
}

.about-value-title {

    font-size: 18px;
    font-weight: 500;
    color: #111111;
}

.about-value-text {

    font-size: 14px;
    line-height: 22px;
    color: #4A5565;
    margin: 0;
}

/* Responsiveness */
@media (max-width: 991px) {
    .about-story-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-mosaic-grid {
        max-width: 100%;
        margin-top: 20px;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .about-vision-mission-row {
        grid-template-columns: 1fr;
    }

    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .about-hero-title {
        font-size: 36px;
    }

    .about-hero-subtitle {
        font-size: 16px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }
}

/* Offers Page */
.offer-page,
.shop-page {
    padding-bottom: 200px;
}

/* Polishing Offers Page (تلميع) */
.polishing-hero {
    margin-top: 75px;
    background: linear-gradient(135deg, #E31E24 0%, #DF1E23 11.11%, #DB1D23 22.22%, #D71D22 33.33%, #D31C22 44.44%, #CF1C21 55.56%, #CC1B21 66.67%, #C81B20 77.78%, #C41A20 88.89%, #C01A1F 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.polishing-hero .circle-light {
    position: absolute;
    width: 384px;
    height: 384px;
    left: 25%;
    top: 0;
    background: #FFFFFF;
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 1;
}

.polishing-hero .circle-dark {
    position: absolute;
    width: 384px;
    height: 384px;
    right: 25%;
    top: -64px;
    background: #000000;
    filter: blur(150px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 1;
}

.polishing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.polishing-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border-radius: 99px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.polishing-hero .hero-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.polishing-hero .hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.polishing-section {
    padding: 60px 0;
    background-color: #F5F5F5;
}

.polishing-section .section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    border-right: 4px solid #E31E24;
    padding-right: 12px;
}

html[dir="ltr"] .polishing-section .section-title-wrap {
    border-right: none;
    border-left: 4px solid #E31E24;
    padding-right: 0;
    padding-left: 12px;
}

.polishing-section .section-title-wrap h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

/* Horizontal Card */
.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

.premium-card-horizontal {
    display: flex;
    background: #FFFFFF;
    border: 1.27px solid rgba(227, 30, 36, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.05), 0px 8px 10px -6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0px 25px 30px -5px rgba(0, 0, 0, 0.1);
}

.premium-card-horizontal .card-img-side {

    width: 50%;
    position: relative;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.premium-card-horizontal .card-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-card-horizontal .card-img-side .badge-discount {
    position: absolute;
    top: 16px;
    background: linear-gradient(90deg, #E31E24 0%, #C01A1F 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.premium-card-horizontal .card-info-side {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.premium-card-horizontal .card-info-side .card-label {
    display: inline-block;
    align-self: flex-start;
    background: rgba(227, 30, 36, 0.1);
    color: #E31E24;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

.premium-card-horizontal .card-info-side .card-title {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.premium-card-horizontal .card-info-side .card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    color: #FDC700;
}

.premium-card-horizontal .card-info-side .card-rating .rating-score {
    color: #4A5565;
    font-size: 14px;
    margin-right: 6px;
}

.premium-card-horizontal .card-info-side .card-price-wrap {
    margin-bottom: 20px;
}

.premium-card-horizontal .card-info-side .price-old {
    font-size: 16px;
    text-decoration: line-through;
    color: #99A1AF;
    display: block;
    margin-bottom: 4px;
}

.premium-card-horizontal .card-info-side .price-current {
    font-size: 28px;
    font-weight: 700;
    color: #E31E24;
}

.premium-card-horizontal .card-info-side .price-saved {
    font-size: 14px;
    color: #00A63E;
    font-weight: 500;
    display: block;
    margin-top: 4px;
}

.premium-card-horizontal .btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #E31E24;
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: background 0.3s ease;
}

.premium-card-horizontal .btn-action:hover {
    background: #C01A1F;
}

@media (max-width: 576px) {
    .premium-card-horizontal {
        flex-direction: column;
    }

    .premium-card-horizontal .card-img-side {
        width: 100%;
        min-height: 200px;
        max-height: 320px;
    }

    .premium-card-horizontal .card-info-side {
        width: 100%;
        padding: 20px;
    }
}

/* Grid of smaller cards */
.all-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .all-offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .all-offers-grid {
        grid-template-columns: 1fr;
    }
}

.polishing-card-item {
    background: #FFFFFF;
    border: 1.27px solid #F3F4F6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.05), 0px 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.polishing-card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.polishing-card-item .card-img-top {
    height: 220px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.polishing-card-item .card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polishing-card-item .card-img-top .badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(90deg, #E31E24 0%, #C01A1F 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
}

.polishing-card-item .card-body-bottom {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.polishing-card-item .card-body-bottom .badge-type {
    display: inline-block;
    align-self: flex-start;
    background: rgba(227, 30, 36, 0.1);
    color: #E31E24;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.polishing-card-item .card-body-bottom .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
    line-height: 1.4;
}

.polishing-card-item .card-body-bottom .card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 12px;
    color: #FDC700;
}

.polishing-card-item .card-body-bottom .card-rating .rating-score {
    color: #4A5565;
    font-size: 12px;
    margin-right: 4px;
}

.polishing-card-item .card-body-bottom .card-price-wrap {
    margin-bottom: 16px;
}

.polishing-card-item .card-body-bottom .price-old {
    font-size: 14px;
    text-decoration: line-through;
    color: #99A1AF;
    display: block;
    margin-bottom: 2px;
}

.polishing-card-item .card-body-bottom .price-current {
    font-size: 22px;
    font-weight: 700;
    color: #E31E24;
}

.polishing-card-item .card-body-bottom .price-saved {
    font-size: 12px;
    color: #00A63E;
    font-weight: 500;
    display: block;
    margin-top: 2px;
}

.polishing-card-item .btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #E31E24;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.polishing-card-item .btn-action:hover {
    background: #C01A1F;
}

.filter-section {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.filter-title-box h2 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 8px;
}

.filter-title-box p {
    font-size: 16px;
    color: var(--text-muted);
}

.custom-shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

.sidebar-widget {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-list {
    list-style: none;
    padding: 0;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
}

.filter-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #D1D5DC;
    border-radius: 4px;
    background: var(--white);
    accent-color: var(--primary);
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.color-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #D1D5DC;
    cursor: pointer;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.price-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-field span {
    font-size: 16px;
    color: #6B7280;
}

.price-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1.27px solid #F3F4F6;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #1F2937;
    outline: none;
}

.price-divider {
    margin-top: 20px;
    color: #D1D5DC;
}

/* Dual Range Slider Styles */
.price-range-slider {
    height: 6px;
    position: relative;
    background: #F3F4F6;
    border-radius: 5px;
}

.price-range-slider input {
    position: absolute;
    width: 100%;
    height: 6px;
    top: -1px;
    background: none;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.price-range-slider input::-webkit-slider-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: var(--primary);
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
    border: 3px solid #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.color-btn.active {
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 2px #fff;
    transform: scale(1.1);
}

.color-btn.active::after {
    content: '\eb7a';
    font-family: 'remixicon' !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
}


/* Account Section */
.account-page {
    background-color: var(--bg-light);
    padding-top: 150px;
    padding-bottom: 200px !important;
}

.account-hero {
    margin-top: 75px;
    background: linear-gradient(137deg, #1e0101 32.69%, #3F1719 99.99%);
    padding: 50px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-bottom: -60px;
}

.account-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.account-icon-circle {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    color: var(--primary);
    font-size: 30px;
}

.account-hero-title {
    font-size: 32px;
    /* Reduced from 50px */
    font-weight: 500;
    margin: 0;
    line-height: 1;
}

.account-hero-subtitle {
    font-size: 16px;
    color: var(--primary-light);
    margin: 0;
}

.account-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    position: relative;
    z-index: 3;
}

.account-sidebar {
    background-color: white;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.user-profile-brief {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.avatar-mini {
    width: 56px;
    height: 56px;
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    box-shadow: var(--shadow-md);
}

.user-info h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-main);
    margin: 0;
}

.user-info p {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}

.account-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #364153;
    text-decoration: none;
    transition: all 0.2s ease;
}

.menu-item i {
    font-size: 17px;
}

.menu-item.active {
    background: var(--primary);
    color: var(--white);
}

.menu-item:not(.active):hover {
    background: var(--bg-light);
}

.account-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.content-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.card-header {
    margin-bottom: 32px;
}

.card-header h2 {
    font-size: 24px;
    font-weight: 500;
    color: var(--secondary);
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary);
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #99A1AF;
    font-size: 17px;
}

.account-input {
    width: 100%;
    padding: 16px 20px;
    padding-right: 50px;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    font-size: 16px;
    color: var(--text-main);
}

.account-input::placeholder {
    color: rgba(10, 10, 10, 0.4);
}

.btn-account-save {
    background: var(--primary);
    color: var(--white);
    padding: 16px 48px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: fit-content;
    align-self: flex-end;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.btn-account-save:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.password-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    background-color: var(--bg-light);
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

/* Invoice Details */
.invoice-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.invoice-header-detail {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 32px;
}

.invoice-id-badge {
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 12px;
    font-weight: 600;
    color: var(--secondary);
}

.invoice-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.info-block h4 {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.info-block p {
    font-size: 16px;
    color: var(--secondary);
    line-height: 1.6;
}

.invoice-table-container {
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-table th {
    background: var(--bg-light);
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.invoice-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    color: var(--secondary);
}

.product-item-detail {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-item-detail img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.invoice-summary-detail {
    width: 350px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--text-muted);
}

.summary-row.total {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    padding-top: 16px;
    border-top: 1.27px solid var(--border-color);
}

.invoice-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.order-card:hover {
    border-color: var(--primary);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}

.order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-id-group {
    display: flex;
    flex-direction: column;
}

.order-label {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.order-value {
    font-size: 17px;
    font-weight: 900;
    color: var(--text-main);
}

.status-badge {
    padding: 6px 16px;
    background: #ECFDF5;
    color: #008236;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
}

.order-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item.total .order-value {
    color: var(--primary);
}

/* Global Utility Classes */
.nav-action-active {
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

.nav-action-active i {
    font-size: 17px;
}

.mb-24 {
    margin-bottom: 24px;
}

.fs-16 {
    font-size: 16px !important;
}


/* Layout Utilities */
.vh-80 {
    min-height: 80vh !important;
}

.flex-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.text-center {
    text-align: center !important;
}

.w-100 {
    width: 100% !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-24 {
    margin-top: 24px !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.max-w-600 {
    max-width: 600px !important;
}

.py-60 {
    padding: 60px 0 !important;
}

.color-primary {
    color: var(--primary) !important;
}

.fw-600 {
    font-weight: 500 !important;
}

.fs-36 {
    font-size: 28px !important;
}

.color-text-muted {
    color: var(--text-muted) !important;
}

/* Responsive Navbar Styles */
.menu-toggle {
    display: none;
    font-size: 22px;
    color: var(--text-main);
    cursor: pointer;
    z-index: 1001;
}

/* Footer Newsletter Styles */
.footer-newsletter-row {
    display: flex;
    border-top: 1.27px solid var(--border-color);
    padding: 49px 0;
    gap: 40px;
    align-items: flex-start;
}



.newsletter-text h3 {
    font-size: 17px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 12px;
}

.newsletter-text p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 22px;
}

.newsletter-input {
    outline: none;
}

.newsletter-input:focus {
    border-color: var(--primary);
}

/* Checkout Page */
.checkout-page {
    padding-top: 150px;
    padding-bottom: 100px;
    margin-bottom: 80px;
    background-color: #F5F5F5;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: flex-start;
}

.checkout-section {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.checkout-section-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-section-title i {
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.delivery-card {
    border: 1.27px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.delivery-card:hover {
    border-color: var(--primary);
    background: #FFFAFA;
}

.delivery-card.active {
    border-color: var(--primary);
    background: #FFFAFA;
    box-shadow: 0 0 0 1px var(--primary);
}

.delivery-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delivery-price {
    font-weight: 600;
    color: var(--secondary);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-option {
    border: 1.27px solid #E5E7EB;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary);
    background: #FFFAFA;
}

.payment-option.active {
    border-color: var(--primary);
    background: #FFFAFA;
    box-shadow: 0 0 0 1px var(--primary);
}

.payment-option-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary);
}

/* Order Summary Sidebar */
.order-summary-sidebar {
    position: sticky;
    top: 100px;
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.summary-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Custom Scrollbar for list */
.summary-items-list::-webkit-scrollbar {
    width: 4px;
}

.summary-items-list::-webkit-scrollbar-thumb {
    background: #D1D5DC;
    border-radius: 10px;
}

.summary-item-card {
    display: flex;
    gap: 16px;
}

.summary-item-card img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

.summary-item-info {
    flex: 1;
}

.summary-item-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 4px;
}

.summary-item-price {
    font-size: 14px;
    color: var(--text-muted);
}

.promo-code-box {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.promo-input {
    flex: 1;
    padding: 12px 16px;
    border: 1.27px solid #D1D5DC;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    background: var(--white);
}

.btn-apply-promo {
    padding: 0 20px;
    height: 46px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-apply-promo:hover {
    background: var(--text-main);
}

.summary-totals {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--text-muted);
}

.total-row.grand-total {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    margin-top: 8px;
}

.btn-place-order {
    width: 100%;
    height: 56px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-place-order:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Register Grid */
.register-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.max-w-700 {
    max-width: 700px !important;
}

/* Modern Search Modal */
/* Modern Search Drawer (Matches other drawers) */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.4s ease;
    overflow: hidden;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.search-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.close-search {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-search:hover {
    background: var(--primary);
    color: var(--white);
}

.search-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-input-wrapper i:hover {
    color: var(--primary);
}

.search-main-input {
    width: 100%;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px 14px 48px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 400;
    color: var(--secondary);
    outline: none;
    transition: all 0.3s ease;
}

.search-main-input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.search-main-input::placeholder {
    color: var(--text-light) !important;
    opacity: 0.7;
}

.search-suggestions-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.suggestion-block h4 {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-weight: 600;
}

.suggestion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suggestion-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--bg-light);
    border-radius: 16px;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
}

.suggestion-link i {
    font-size: 18px;
    color: var(--text-light);
}

.suggestion-link:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
    color: var(--primary);
}

.suggestion-link:hover i {
    color: var(--primary);
}

.trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trending-tag {
    padding: 10px 20px;
    background: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.trending-tag:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* RTL overrides for search drawer */
[dir="rtl"] .search-input-wrapper i {
    left: auto;
    right: 16px;
}

[dir="rtl"] .search-main-input {
    padding: 14px 48px 14px 16px;
}

[dir="rtl"] .suggestion-link:hover {
    transform: translateX(-8px);
}

.cart-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-header h2 span {
    font-size: 14px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 99px;
}

.close-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-cart:hover {
    background: var(--primary);
    color: var(--white);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cart-item {
    padding-bottom: 10px;
    border-bottom: 1px solid #e7e7e7;
    display: flex;
    gap: 15px;
    position: relative;
}

.cart-item-img {
    width: 90px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.cart-item-price {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.cart-quantity-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    width: fit-content;
    padding: 4px 8px;
    border-radius: 8px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--secondary);
    cursor: pointer;
}

.remove-item {
    position: absolute;
    top: 0;
    right: 95%;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: var(--primary);
}

.cart-footer {
    padding: 32px;
    border-top: 1px solid #e7e7e7;
    background: var(--white);
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--text-muted);
}

.summary-line.total {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    padding-top: 12px;
    border-top: 1px solid #e7e7e7;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-view-cart {
    width: 100%;
    padding: 14px;
    background: var(--bg-light);
    color: var(--secondary);
    text-align: center;
    border-radius: 12px;
    font-weight: 500;
}

.wishlist-overlay.active .wishlist-drawer {
    transform: translateX(0);
}


.wishlist-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wishlist-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.wishlist-header h2 span {
    font-size: 14px;
    background: #FFF0F0;
    color: #FF4D4D;
    padding: 2px 10px;
    border-radius: 99px;
}

.close-wishlist {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-wishlist:hover {
    background: var(--primary);
    color: var(--white);
}

.wishlist-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
}

.wishlist-items-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wishlist-item {
    display: flex;
    gap: 20px;
    position: relative;
    padding-bottom: 24px;
    border-bottom: 1px solid #e7e7e7;
}

.wishlist-item-img {
    width: 90px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
}

.wishlist-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.wishlist-item-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary);
}

.wishlist-item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.btn-add-to-cart-small {
    padding: 10px 16px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-add-to-cart-small:hover {
    background: var(--primary);
}

.remove-wishlist {
    position: absolute;
    top: 4px;
    right: 100%;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.remove-wishlist:hover {
    color: #FF4D4D;
}

/* Login Sidebar */


.login-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-login {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-login:hover {
    background: var(--primary);
    color: var(--white);
}

.login-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    margin: 0;
}

.login-form-container {
    flex: 1;
    padding: 24px 32px;
    overflow-y: auto;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-input-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
}

.login-input-group input {
    width: 100%;
    padding: 14px 20px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-input-group input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.login-footer-links {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 4px;
}

.login-footer-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
    user-select: none;
}

.remember-me input {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer;
    accent-color: var(--primary);
}

.social-login-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0;
    color: var(--text-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-login-title::before,
.social-login-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.social-buttons {
    display: flex;
    gap: 16px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    font-size: 15px;
    font-weight: 500;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--bg-light);
    border-color: var(--secondary);
}

.login-bottom-cta {
    padding: 32px 48px 48px;
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
}

.login-bottom-cta a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

/* Active Filters Bar */
.active-filters-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--bg-light);
    flex-wrap: wrap;
    gap: 16px;
}

.active-filters-bar.visible {
    display: flex;
}

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border-radius: var(--radius-full);
    font-size: 18px;
    font-weight: bold;
    color: #111111;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.filter-tag:hover {
    background: var(--white);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.filter-tag i {
    cursor: pointer;
    font-size: 18px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.filter-tag i:hover {
    color: var(--primary);
}

.btn-clear-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 8px;
}

.btn-clear-all:hover {
    background: var(--primary-light);
}


/* Mobile Menu Sidebar (Hamburger) */
.mobile-menu-overlay,
.search-overlay,
.login-overlay,
.cart-overlay,
.wishlist-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active,
.search-overlay.active,
.login-overlay.active,
.cart-overlay.active,
.wishlist-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-drawer,
.search-drawer,
.login-drawer,
.cart-drawer,
.wishlist-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: var(--white);
    z-index: 4001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -25px 0 60px rgba(0, 0, 0, 0.15);
    border-radius: 32px 0 0 32px;
}

.mobile-menu-overlay.active .mobile-menu-drawer,
.wishlist-overlay.active .wishlist-drawer,
.login-overlay.active .login-drawer,
.cart-overlay.active .cart-drawer,
.search-modal.active .search-drawer {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header img {
    height: 45px;
}

.close-mobile-menu {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--secondary);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    font-size: 17px;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid #e7e7e7;
    transition: all 0.3s ease;
}

.mobile-nav-link.active {
    color: var(--primary);
}

.mobile-menu-footer {
    padding: 30px;
    border-top: 1px solid var(--border-color);
}

.mobile-account-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary);
    text-decoration: none;
}

.mobile-account-btn i {
    font-size: 22px;
    color: var(--primary);
}


/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 50px;
    background: #fff;
    backdrop-filter: blur(10px);
    box-shadow: 0px -2px 5px #0000001a;
    z-index: 5000;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-bottom-nav.nav-hidden {
    transform: translateX(-50%) translateY(110px);
}

.nav-item {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font: inherit;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #364153;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 60px;
    height: 100%;
}

.nav-label {
    font-size: 12px;
    font-weight: 500;
    margin-top: -3px;
}

.nav-item i {
    font-size: 20px;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.active {
    position: relative;
    top: -17px;
    width: 60px;
    height: 60px;
    background: #E7000B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 5px solid var(--white);
    transition: all 0.3s ease;
}

.nav-item.active .nav-label {
    display: none;
}

.nav-item-home:active {
    transform: scale(0.9);
}

.nav-item-home i {
    font-size: 22px;
    color: var(--white);
}

.nav-item .badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--primary);
    color: var(--white);
    font-size: 9px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.main-image-container {
    height: 500px;
}

body.swal2-toast-shown .swal2-container {
    height: fit-content;
    z-index: 9999999999;
}

@media (min-width: 768px) {
    .register-grid {
        grid-template-columns: 1fr 1fr;
    }

    .register-email-field {
        grid-column: span 2;
    }
}

.size-guide-page {
    background-color: #F5F5F5;
}

/* Size Guide Page */
.size-guide-page .mission-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.size-chart-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    flex: 1.2;
    border: 1px solid var(--border-color);
}

.size-chart-container h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 24px;
    font-weight: 600;
}

.size-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

.size-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.size-table th {
    background: var(--primary-light);
    color: var(--secondary);
    font-weight: 600;
    text-align: left;
    padding: 16px;
    border-bottom: 2px solid var(--primary);
}

.size-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    transition: background 0.3s ease;
}

.size-table tr:last-child td {
    border-bottom: none;
}

.size-table tr:hover td {
    background: var(--bg-light);
}

.size-guide-info {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.size-guide-info i {
    font-size: 18px;
    color: var(--primary);
}

.guide-steps .feature-item {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.guide-steps .feature-item:hover {
    background: var(--white);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}


/* Size Guide Responsive & Updated Layout */
.size-guide-page .mission-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.mission-content {
    flex: 1;
    min-width: 300px;
}

.size-chart-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    flex: 0 0 60%;
    /* Occupy 60% on large screens */
}

@media (max-width: 1200px) {
    .size-chart-container {
        flex: 1;
        /* Allow to grow if screen is smaller but not yet mobile */
    }
}

@media (max-width: 991px) {
    .size-guide-page .mission-grid {
        flex-direction: column;
    }

    .size-chart-container {
        flex: 0 0 100%;
        width: 100%;
        padding: 20px;
    }

    .size-table th,
    .size-table td {
        padding: 12px 8px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .size-chart-container h3 {
        font-size: 20px;
    }

    .size-table-wrapper {
        margin: 0 -10px;
        /* Bleed out slightly for more space */
        padding: 0 10px;
    }
}

/* Invoice Details Responsive - Forced Overrides */
@media (max-width: 768px) {

    .newsletter-form {
        flex-direction: column;
        padding: 0 15px;
    }

    .newsletter-input,
    .btn-subscribe {
        width: 100%;
        text-align: center;
    }

    .invoice-card {
        padding: 15px !important;
        width: 100% !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .invoice-table-container {
        border: none !important;
        overflow: visible !important;
    }

    .invoice-table,
    .invoice-table thead,
    .invoice-table tbody,
    .invoice-table th,
    .invoice-table td,
    .invoice-table tr {
        display: block !important;
        width: 100% !important;
    }

    .invoice-table thead {
        display: none !important;
        /* Hide headers on mobile */
    }

    .invoice-table tr {
        margin-bottom: 20px !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 12px !important;
        padding: 15px !important;
        background: var(--bg-light) !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .invoice-table td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 0 !important;
        border-bottom: 1px dashed var(--border-color) !important;
        text-align: right !important;
    }

    /* Column Distribution */
    .invoice-table td:nth-child(1) {
        width: 100% !important;
    }

    .invoice-table td:nth-child(2),
    .invoice-table td:nth-child(3) {
        width: 50% !important;
    }

    .invoice-table td:nth-child(2) {
        padding: 0 10px !important;
    }

    .invoice-table td:nth-child(3) {
        padding-left: 10px !important;
    }

    .invoice-table td:nth-child(4) {
        width: 100% !important;
        border-bottom: none !important;
    }

    /* Add labels for mobile */
    .invoice-table td::before {
        content: attr(data-label);
        font-weight: 700 !important;
        color: var(--secondary) !important;
        text-align: left !important;
    }

    .product-item-detail {
        flex-direction: row !important;
        gap: 10px !important;
    }

    .invoice-summary-detail {
        width: 100% !important;
        margin-top: 25px !important;
        padding: 15px !important;
        background: var(--bg-light) !important;
        border-radius: 12px !important;
    }

    .invoice-header-detail {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .invoice-actions {
        flex-direction: column !important;
    }

    .invoice-actions * {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* Mobile Responsiveness Fixes for Extra Small Screens (under 400px) */
@media (max-width: 400px) {
    .checkout-page {
        padding-top: 100px !important;
        padding-bottom: 60px !important;
        margin-bottom: 40px !important;
    }

    .checkout-section {
        padding: 20px 15px !important;
        border-radius: 16px !important;
        margin-bottom: 20px !important;
    }

    .checkout-section-title {
        font-size: 17px !important;
        margin-bottom: 20px !important;
        gap: 8px !important;
    }

    .checkout-section-title i {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
    }

    .form-grid {
        gap: 12px !important;
    }

    .account-input,
    .account-form input,
    select.account-input {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .delivery-card,
    .payment-option {
        padding: 12px !important;
        gap: 10px !important;
    }

    .promo-code-box {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .promo-input,
    .btn-apply-promo {
        width: 100% !important;
        border-radius: 10px !important;
    }

    .summary-item-card {
        gap: 10px !important;
        padding-bottom: 15px !important;
    }

    .summary-item-card img {
        width: 48px !important;
        height: 48px !important;
    }

    .summary-item-name {
        font-size: 13px !important;
    }

    .summary-item-price {
        font-size: 12px !important;
    }

    .order-summary-sidebar {
        padding: 20px 15px !important;
        border-radius: 16px !important;
    }
}

/* User Profile Modal Styles */
.user-profile-container {
    padding: 24px 32px;
}

.user-info-card {
    background: var(--bg-light);
    padding: 25px 20px;
    border-radius: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
}

.user-avatar-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #000000b3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.user-display-name {
    font-size: 19px;
    color: var(--secondary);
    margin-bottom: 5px;
    font-weight: 600;
}

.user-display-email {
    font-size: 14px;
    color: var(--text-muted);
}

.stat-card {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.stat-label i {
    color: var(--primary);
    font-size: 20px;
}


.profile-menu-item,
.mobile-account-btn {
    width: 100%;
    border: none;
    font: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    margin-bottom: 24px;
    text-decoration: none;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.profile-menu-item:hover,
.mobile-account-btn:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}

.profile-menu-icon {
    width: 38px;
    height: 38px;
    background: #F0F9FF;
    color: #0EA5E9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-logout-sidebar {
    width: 100%;
    padding: 15px;
    background: #FEF2F2;
    color: #EF4444;
    border: 1px solid #FEE2E2;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
}

.btn-logout-sidebar:hover {
    background: #EF4444;
    color: #fff;
}

/* Checkout Page Styles */
.guest-notice-alert {
    background: #FFFBEB;
    border: 1px solid #FEF3C7;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.guest-notice-info {
    flex: 1;
}

.guest-notice-title {
    color: #92400E;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.guest-notice-desc {
    color: #B45309;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.readonly-input {
    background-color: #F5F5F5 !important;
    cursor: not-allowed !important;
}

.checkout-account-header {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.checkout-sub-title {
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
}

.checkout-sub-title i {
    color: var(--primary);
    font-size: 18px;
}

.order-notes-area {
    height: 100px;
    padding: 15px;
    resize: none;
}

.applied-coupon-info {
    display: none;
    margin: 10px 0;
    padding: 10px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 8px;
    align-items: center;
    justify-content: space-between;
}

.applied-coupon-text {
    color: #16A34A;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-remove-coupon {
    background: none;
    border: none;
    color: #EF4444;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
}

.coupon-row-text {
    color: #16A34A !important;
}


/* ==========================================================================
   SweetAlert2 Unified Toast Stylings
   ========================================================================== */

.swal2-container.swal2-top-end>.swal2-toast {
    box-shadow: 0px 2px 6px 1px rgba(0, 0, 0, 0.12) !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    background: #fff !important;
    width: auto !important;
    max-width: 400px !important;
    margin-top: 65px !important;
    display: inline-flex !important;
    border: 1px solid #f1f5f9 !important;
}

.swal2-toast .swal2-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    text-align: start !important;
    align-self: center !important;
}

.swal2-toast .swal2-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    margin: 0 12px 0 0 !important;
    border: none !important;
}

[dir="rtl"] .swal2-toast .swal2-icon {
    margin: 0 0 0 12px !important;
}

/* --- WhatsApp Chat Widget --- */
.whatsapp-chat-widget {
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 9999;
}

[dir="rtl"] .whatsapp-chat-widget {
    right: auto;
    left: 30px;
}

.whatsapp-chat-bubble {
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-chat-bubble:hover {
    transform: scale(1.1);
}

.whatsapp-chat-bubble i {
    font-size: 30px;
}

.whatsapp-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: slideInUp 0.3s ease;
}

[dir="rtl"] .whatsapp-chat-window {
    right: auto;
    left: 0;
}

.whatsapp-chat-window.active {
    display: flex;
}

.whatsapp-chat-header {
    background: #075E54;
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-chat-header-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.whatsapp-chat-header-info h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.whatsapp-chat-header-info p {
    margin: 0;
    font-size: 11px;
    opacity: 0.8;
}

.whatsapp-chat-body {
    background: #e5ddd5;
    padding: 20px;
    height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-message {
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 85%;
    position: relative;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.whatsapp-message::before {
    content: "";
    position: absolute;
    top: 0;
    right: -8px;
    border-style: solid;
    border-width: 0 0 10px 10px;
    border-color: transparent transparent transparent #fff;
}

[dir="rtl"] .whatsapp-message::before {
    right: auto;
    left: -8px;
    border-width: 0 10px 10px 0;
    border-color: transparent #fff transparent transparent;
}

.whatsapp-message-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.4;
}

.whatsapp-message-time {
    font-size: 10px;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

.whatsapp-chat-footer {
    padding: 10px;
    background: #f0f0f0;
}

.whatsapp-input-group {
    display: flex;
    gap: 8px;
}

.whatsapp-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    outline: none;
}

.whatsapp-input:focus {
    border-color: #25D366;
}

.whatsapp-send-btn {
    background: #25D366;
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: 0.2s;
}

.whatsapp-send-btn:hover {
    background: #128C7E;
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/************ min width ************/
@media (max-width: 1200px) {
    .features-grid {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .checkout-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    .checkout-forms {
        order: 1 !important;
        width: 100%;
    }

    .order-summary-sidebar {
        order: 2 !important;
        position: static !important;
        width: 100%;
        margin-top: 20px;
    }

    .product-details-grid {
        grid-template-columns: 1fr;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        display: none;
    }

    .product-grid,
    .shop-layout .product-grid,
    .custom-shop-layout .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px;
    }

    .related-grid .product-card {
        flex: 0 0 calc(33.333% - 16px);
        min-width: 250px;
    }

    .story-layout {
        grid-template-columns: 1fr;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-img-box {
        height: 250px;
    }

    .about-hero-title,
    .offers-hero-title,
    .account-hero-title {
        font-size: 36px;
    }

    .mission-grid,
    .values-grid,
    .custom-shop-layout,
    .account-layout {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1 !important;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .order-details-grid {
        grid-template-columns: 1fr 1fr;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 40px;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 24px !important;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links .nav-link {
        font-size: 18px;
        width: 100%;
        text-align: center;
        padding: 12px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links .nav-link:last-child {
        border-bottom: none;
    }

    /* Overlay for mobile menu */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 999;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .order-summary-sidebar {
        position: static;
        order: -1;
    }

    .product-details-grid {
        grid-template-columns: 100%;
    }

    .show-desktop {
        display: none !important;
    }

    .menu-toggle {
        display: flex;
        order: 1;
    }

    .logo {
        order: 2;
        transform: translateX(5%);
    }

    .navbar-actions {
        order: 3;
        flex: 1;
        justify-content: flex-end;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-links {
        display: none !important;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .shop-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .shop-header-actions {
        width: auto;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .category-filter-bar {
        width: 100%;
    }

    .sort-dropdown {
        width: 100%;
        justify-content: flex-start;
    }

    .filter-list {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-list::-webkit-scrollbar {
        height: 3px;
    }

    .filter-list::-webkit-scrollbar-thumb {
        background: #E31E24;
        border-radius: 4px;
    }

    .filter-item-label {
        white-space: nowrap;
        flex-shrink: 0;
        margin-bottom: 0 !important;
    }

    .filter-item {
        margin-bottom: 0;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-main {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .category-filter-bar {
        display: flex !important;
        overflow-x: auto !important;
        padding-bottom: 5px;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-right: -15px;
        padding-right: 15px;
    }

    .category-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .btn-filter {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 8px 20px !important;
    }

    .sidebar-widget {
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 10px;
        padding: 10px;
    }

    .sidebar-widget:last-child {
        border-bottom: none;
    }

    .widget-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        margin-bottom: 0 !important;
        font-size: 17px;
    }

    .widget-title::after {
        content: '\ea4e';
        font-family: 'remixicon';
        font-size: 20px;
        color: var(--text-light);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar-widget.active .widget-title::after {
        transform: rotate(180deg);
        color: var(--primary);
    }

    .filter-list,
    .color-grid,
    .price-slider-container {
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        margin-top: 0;
    }

    .sidebar-widget.active .filter-list,
    .sidebar-widget.active .color-grid,
    .sidebar-widget.active .price-slider-container {
        max-height: 1000px;
        opacity: 1;
        margin-top: 20px;
        padding: 10px 5px;
    }


    .mobile-bottom-nav {
        display: flex;
    }
}

@media (max-width: 768px) {
    .cart-content {
        padding: 24px 10px;
    }

    .account-hero {
        margin-top: 60px;
    }

    .feature-item {
        gap: 0px;
    }

    .features-grid {
        gap: 8px;
    }


    .product-info {
        padding: 10px;
    }

    .wishlist-btn {
        top: 10px;
        left: 10px;
        width: 30px;
        height: 30px;
    }

    .wishlist-btn i {
        font-size: 17px;
    }

    .product-grid,
    .shop-layout .product-grid,
    .custom-shop-layout .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    .related-grid {
        gap: 16px;
    }

    .related-grid .product-card {
        flex: 0 0 calc(50% - 8px);
        min-width: 180px;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-hero h1 {
        font-size: 36px;
    }

    .filter-bar {
        overflow-x: auto;
    }

    .filter-container {
        justify-content: flex-start;
        padding: 0 16px;
    }

    .invoice-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }


    .age-glow-1 {
        top: auto;
        bottom: -10%;
    }

    .age-card {
        height: 120px;
    }

    .story-nav-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .story-nav-btn {
        padding: 16px;
    }

    .story-nav-btn.next {
        flex-direction: row-reverse !important;
    }

    .story-nav-title {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-grid> :nth-child(4),
    .services-grid> :nth-child(5) {
        width: 100%;
    }
}

@media (max-width: 640px) {

    .product-grid,
    .shop-layout .product-grid,
    .custom-shop-layout .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px 10px;
    }

    .age-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .btn-send {
        grid-column: span 1;
    }

    .badge-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: -30px;
        margin-left: auto;
        margin-right: auto;
    }

    .order-details-grid {
        grid-template-columns: 1fr;
    }

    .delivery-options {
        grid-template-columns: 1fr;
    }

    .checkout-section {
        padding: 24px;
    }

    .product-card:hover {
        transform: translateY(0px);
        box-shadow: none;
    }
}

@media (max-width: 480px) {

    .whatsapp-chat-bubble {
        width: 40px;
        height: 40px;
    }

    .whatsapp-chat-bubble i {
        font-size: 25px;
    }

    .whatsapp-chat-window {
        width: calc(85vw - 40px);
        bottom: 50px;
    }

    .whatsapp-chat-widget {
        bottom: 65px;
        right: 20px;
    }

    [dir="rtl"] .whatsapp-chat-widget {
        left: 20px;
    }

    .main-image-container {
        height: 350px;
    }


    .shop-header-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-filter-bar {
        width: 100%;
        padding-bottom: 4px;
    }

    .sort-dropdown {
        width: 100%;
        justify-content: flex-end;
    }

    .container {
        padding: 0 10px;
    }

    .related-grid .product-card {
        flex: 0 0 200px;
    }

    .logo img {
        height: 40px !important;
    }

    .navbar-actions {
        gap: 12px;
    }

    .cart-drawer {
        max-width: 85%;
    }

    .swal2-container.swal2-top-end>.swal2-toast {
        margin-top: 15px !important;
        margin-right: 15px !important;
        margin-left: 15px !important;
        max-width: calc(100vw - 30px) !important;
        width: auto !important;
    }
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #f7f7f7 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    margin-top: 60px;
    justify-content: center;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .service-card {
        padding: 20px 15px !important;
        gap: 15px !important;
    }

    .service-card-title {
        font-size: 16px !important;
    }

    .services-grid> :nth-child(4),
    .services-grid> :nth-child(5) {
        width: 100%;
        justify-self: auto;
    }
}

.service-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 1px 3px 0px #00000026;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #E31E24 0%, #9B1014 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 20px 40px rgba(227, 30, 36, 0.08);
    border-color: rgba(227, 30, 36, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-box {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: linear-gradient(135deg, #E31E24 0%, #A31216 100%);
    box-shadow: 0px 10px 20px rgba(227, 30, 36, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon-box {
    transform: rotate(10deg) scale(1.05);
}

.service-icon-box i {
    font-size: 24px;
    color: #FFFFFF;
}

.service-card-title {

    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #101828;
    margin: 0;
    transition: color 0.3s ease;
}

.service-card:hover .service-card-title {
    color: #E31E24;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #101828 0%, #000000 50%, #101828 100%);
    position: relative;
    overflow: hidden;
}

/* Ambient Radial Glows */
.testi-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #E31E24;
    filter: blur(180px);
    pointer-events: none;
    z-index: 1;
}

.glow-top-right {
    top: -150px;
    right: -150px;
    opacity: 0.25;
}

.glow-bottom-left {
    bottom: -150px;
    left: -150px;
    opacity: 0.12;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.section-title-large.text-white {
    color: #FFFFFF !important;
}

.section-subtitle-large.text-gray {
    color: #99A1AF !important;
}

.testimonials-grid {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    margin-top: 60px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(227, 30, 36, 0.4) transparent;
    padding: 10px;
}

.testimonials-grid::-webkit-scrollbar {
    height: 6px;
}

.testimonials-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 99px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
    background: rgba(227, 30, 36, 0.4);
    border-radius: 99px;
}

.testimonials-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(227, 30, 36, 0.6);
}

.testimonial-card {
    flex: 0 0 360px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(227, 30, 36, 0.3);
    box-shadow: 0 2px 10px rgba(227, 30, 36, 0.1);
}

.testi-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-direction: row-reverse;
    /* For RTL look */
}

.testi-avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(227, 30, 36, 0.5);
    background: linear-gradient(135deg, #E31E24 0%, #7A0C0E 100%);
    color: #FFFFFF;

    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(227, 30, 36, 0.2);
}

.testi-user-info {
    flex: 1;
    text-align: right;
}

.testi-name {

    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 4px 0;
}

.testi-car {

    font-size: 13px;
    color: #99A1AF;
    margin: 0;
}

.testi-rating {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}

.testi-rating i {
    color: #E31E24;
    font-size: 16px;
}

.testi-quote-box {
    position: relative;
    text-align: right;
    padding-top: 10px;
}

.quote-icon {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 28px;
    color: rgba(227, 30, 36, 0.15);
    pointer-events: none;
}

.testi-text {

    font-size: 14px;
    line-height: 1.6;
    color: #D1D5DC;
    margin: 0;
}

@media (max-width: 576px) {
    .testimonial-card {
        flex: 0 0 290px;
    }
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.blog-card {
    background: #FFFFFF;
    border: 1.5px solid #F3F4F6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(227, 30, 36, 0.15);
}

.blog-image-box {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.08);
}

.blog-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #E31E24;
    color: #FFFFFF;

    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 10px rgba(227, 30, 36, 0.3);
}

.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: right;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    color: #6A7282;

    font-size: 13px;
    flex-direction: row-reverse;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: #E31E24;
    font-size: 15px;
}

.blog-title {

    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    color: #101828;
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: #E31E24;
}

.blog-description {

    font-size: 15px;
    line-height: 1.6;
    color: #4A5565;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.blog-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #E31E24;

    font-size: 16px;
    font-weight: 600;
    transition: gap 0.3s ease;
    align-self: flex-start;
    flex-direction: row-reverse;
}

.blog-link:hover {
    gap: 12px;
}

.blog-link i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-image-box {
        height: 200px;
    }
}

/* Responsive Footer */
@media (min-width: 992px) {
    .footer-bottom-inner {
        justify-content: space-between !important;
        align-items: center !important;
    }
}

@media (max-width: 991px) {
    .header {
        height: 100vh;
    }

    .swiper-pagination {
        bottom: 90px !important;
    }

    .footer-content {
        padding: 0 40px !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px !important;
        padding: 40px 16px !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 5px 0;
    }

    .footer-content {
        padding: 0 20px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 32px 12px !important;
        text-align: center !important;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .brand-desc {
        text-align: center !important;
        margin: 0 auto 16px !important;
    }

    .footer-col h3 {
        text-align: center !important;
        margin-bottom: 12px !important;
    }

    .footer-links {
        text-align: center !important;
        align-items: center !important;
    }

    .contact-info {
        align-items: center !important;
    }

    .contact-info li {
        justify-content: center !important;
    }

    .footer-social {
        justify-content: center !important;
    }

    .product-meta-row {
        font-size: 14px;
    }
}

/* User Dashboard (Account) Custom Styles */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.dashboard-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.dashboard-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.dashboard-card-icon.primary {
    background: var(--primary-light);
    color: var(--primary);
}

.dashboard-card-icon.secondary {
    background: #FFF0F0;
    color: #FF4D4D;
}

.dashboard-card-icon.success {
    background: #E8F5E9;
    color: #2E7D32;
}

.dashboard-card-icon.info {
    background: #E3F2FD;
    color: #1565C0;
}

.dashboard-card-icon.warning {
    background: #FFF8E1;
    color: #FF8F00;
}

.dashboard-card-info {
    display: flex;
    flex-direction: column;
}

.dashboard-card-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}

.dashboard-card-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.user-details-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.user-details-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.user-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.detail-item-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-item-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
}

/* Product Details Styles */
.shop-page-wrapper {
    background: #F5F5F5;
    padding: 40px 0 80px;
}

.breadcrumb-container {
    padding: 0 0 24px 0;
    text-align: right;
}

.breadcrumb-links {
    font-size: 14px;
    color: #99A1AF;
}

.breadcrumb-link {
    color: #99A1AF;
    text-decoration: none;
}

.breadcrumb-current {
    color: #4A5565;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-family: 'Tajawal', sans-serif;
}

.specs-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 48px;
}

.specs-table th {
    color: #99A1AF;
    font-weight: 400;
}

.specs-table th.w-150 {
    width: 150px;
}

.specs-table td {
    color: #111111;
}

.specs-table td.fw-600 {
    font-weight: 600;
}

.specs-table td.lh-16 {
    line-height: 1.6;
}

.specs-table td.text-success-bold {
    color: #00C950;
    font-weight: bold;
}

@media (max-width: 991px) {
    .header-title {
        font-size: 42px;
    }

    .header-text {
        font-size: 20px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        align-items: center;
        text-align: center;
    }

    html[dir="rtl"] .header-content {
        align-items: center;
    }

    .header-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 16px;
    }

    .header-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .header-text {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .header-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-primary {
        padding: 10px 34px;
        font-size: 16px;
    }
}

/* ============================
   Mobile Filter Bar
   ============================ */
.mobile-filter-bar {
    width: 100%;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    padding: 14px 16px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-filter-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-filter-label {
    font-size: 13px;
    font-weight: 700;
    color: #364153;
    font-family: 'Tajawal', sans-serif;
}

.mobile-filter-scroll {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.mobile-filter-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
    width: 0;
    height: 0;
}

.mobile-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 7px 16px;
    border-radius: 100px;
    border: 1.5px solid #E4E7EC;
    background: #F9FAFB;
    color: #364153;
    font-size: 13px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-filter-chip input[type="radio"] {
    display: none;
}

.mobile-filter-chip.active,
.mobile-filter-chip:has(input:checked) {
    background: #E31E24;
    border-color: #E31E24;
    color: #FFFFFF;
    font-weight: 700;
}

@media (min-width: 768px) {
    .mobile-filter-bar {
        display: none !important;
    }
}

.card-info-side h4 {
    margin-right: 30px;
    margin-bottom: 20px;
}