:root {
    --brand-primary: rgb(204 31 40);
    --brand-dark: #222222;
    --brand-accent: #f6a713;
    --primary-blue: var(--brand-primary);
    --primary-dark: var(--brand-dark);
    --primary-light: rgba(204, 31, 40, 0.12);
    --primary-bg: #f8fafc;
    --secondary-blue: var(--brand-primary);
    --accent-blue: var(--brand-primary);
    --text-dark: var(--brand-dark);
    --text-light: rgba(34, 34, 34, 0.70);
    --white: #ffffff;
    --gray-light: #f8fafc;
    --shadow: 0 4px 12px rgba(34, 34, 34, 0.08);
    --transition: all 0.3s ease;
}

a {
    text-decoration: none;
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/fa-regular-400.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/fa-solid-900.woff2") format("woff2");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

.bg-primary-bg {
    background: var(--primary-bg);
}

.bg-blue-50 {
    background-color: var(--primary-bg);
}

.bg-blue-500 {
    background-color: var(--primary-blue);
}

.text-blue-300 {
    color: var(--primary-light);
}

.text-blue-500 {
    color: var(--primary-blue);
}

.text-blue-600 {
    color: var(--primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.gradient-text {
    color: var(--primary-blue);
}

.gradient-bg {
    background: var(--primary-blue);
}

.section-padding {
    padding: 5rem 0;
}

.card-hover {
    transition: var(--transition);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(34, 34, 34, 0.15);
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 31, 40, 0.30);
}

.btn-secondary {
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    color: var(--primary-blue) !important;
    border: 2px solid var(--primary-blue) !important;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

.header-icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gray-light);
    border: 1px solid rgba(34, 34, 34, 0.10);
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 4px rgba(34, 34, 34, 0.04);
}

.header-icon-btn:hover {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(204, 31, 40, 0.25);
}

.header-icon-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(204, 31, 40, 0.20);
}

.header-icon-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.header-icon-btn:hover i {
    transform: scale(1.1);
}

.header-icon-badge {
    position: absolute;
    top: -6px;
    inset-inline-end: -6px;
    background: var(--primary-blue);
    color: white;
    border-radius: 12px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    padding: 0 6px;
    box-shadow: 0 2px 6px rgba(204, 31, 40, 0.40);
    border: 2px solid #ffffff;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.header-icon-btn:hover .header-icon-badge {
    animation: bounce-badge 0.6s ease;
}

@keyframes bounce-badge {

    0%,
    100% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.2) translateY(-4px);
    }
}

@media (max-width: 991px) {
    .header-icon-btn {
        width: 40px;
        height: 40px;
    }

    .header-icon-btn i {
        font-size: 16px;
    }
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 100px;
}

/* Mobile Sidebar  */
.mobile-sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.mobile-sidebar .sidebar-link {
    border-radius: 12px;
}

.mobile-sidebar .sidebar-link.active {
    background-color: rgba(204, 31, 40, 0.12);
    color: var(--primary-dark);
    box-shadow: 0 10px 22px rgba(204, 31, 40, 0.14);
    border-inline-start: 4px solid var(--primary-blue);
    padding-inline-start: calc(1rem - 4px);
    font-weight: 700;
}

.mobile-sidebar .sidebar-link.active::after {
    display: none;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-count-badge {
    position: absolute;
    inset-block-start: -6px;
    inset-inline-end: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--secondary-blue);
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-btn.is-active {
    border: 1px solid rgba(204, 31, 40, 0.35);
    background: rgba(204, 31, 40, 0.08);
    color: rgb(204, 31, 40);
}

.cart-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 360px;
    max-width: 92vw;
    background: #fff;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 8px 0 30px rgba(34, 34, 34, 0.15);
    overflow-y: auto;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(34, 34, 34, 0.18);
}

.cart-sidebar-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.cart-empty {
    min-height: 45vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 22px 14px;
}

.cart-empty-icon {
    width: 86px;
    height: 86px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    background: rgba(204, 31, 40, 0.12);
    border: 1px solid rgba(204, 31, 40, 0.22);
    color: var(--primary-dark);
    font-size: 32px;
}

.cart-empty-title {
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.cart-empty-subtitle {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    max-width: 260px;
}

.cart-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(34, 34, 34, 0.14);
}

.cart-item-media img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.cart-item-price {
    color: var(--text-light);
    font-size: 0.85rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(34, 34, 34, 0.22);
    background: #fff;
}

.cart-qty-input {
    width: 56px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(34, 34, 34, 0.22);
    text-align: center;
}

.cart-remove-btn {
    width: 32px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(204, 31, 40, 0.35);
    background: rgba(204, 31, 40, 0.06);
    color: rgb(204, 31, 40);
}

.cart-item-total {
    font-weight: 800;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cart-sidebar-footer {
    padding-top: 12px;
}

.cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 800;
}

.sidebar-logo {
    height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    height: 44px;
    max-width: 100%;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    border-color: rgba(204, 31, 40, 0.35);
    color: var(--primary-dark);
}

.menu-toggle:hover,
.menu-toggle:focus {
    background-color: var(--primary-bg);
    border-color: rgba(204, 31, 40, 0.55);
    color: var(--primary-dark);
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-sidebar .nav-link:hover {
    background-color: var(--primary-bg);
    color: var(--primary-dark);
}

/* Stats */
.stats-section {
    margin-top: 0;
    padding: 3.25rem 0;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.stat-card {
    grid-column: span 3;
    border-radius: 18px;
    padding: 1.15rem 1.15rem 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(204, 31, 40, 0.12);
    box-shadow: 0 14px 34px rgba(34, 34, 34, 0.10);
    backdrop-filter: blur(10px);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(34, 34, 34, 0.14);
}

.stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(204, 31, 40, 0.12);
    color: var(--primary-dark);
}

.stat-icon svg {
    fill: var(--brand-primary);
}

.stat-kicker {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(204, 31, 40, 0.10);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.stat-value {
    font-weight: 900;
    font-size: 2.05rem;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--primary-dark);
}

.stat-label {
    margin-top: 0.55rem;
    color: var(--text-light);
    font-weight: 700;
}

@media (max-width: 992px) {
    .stat-card {
        grid-column: span 6;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 2.5rem 0;
    }

    .stat-card {
        grid-column: span 12;
    }
}

/*  */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
    background: #0a0a0a;
}

.hero-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.8s ease;
    opacity: 0;
}

.hero-slider-bg img.active {
    opacity: 1;
}

.hero-slider-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

[dir="rtl"] .hero-slider-bg .overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
}

.hero-container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text-col {
    padding-inline-end: 20px;
}

.hero-text-content {
    max-width: 100%;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.hero-text-content.active {
    transform: translateY(0);
    opacity: 1;
}

.hero-kicker {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
    padding-inline-start: 40px;
}

[dir="rtl"] .hero-kicker::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
}

.hero-cards-col {
    position: relative;
    max-width: 50%;
    width: 50%;
    display: flex;
    align-items: center;
    /* Crucial: overflow must be hidden on the Swiper container, not the col, for full card visibility */
}

.heroSwiper {
    width: 100%;
    height: 520px;
    /* Increased to fix active card clipping */
    padding: 40px 0 !important;
}

.swiper-slide {
    width: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.15;
    /* Standard fade for inactive */
    transition: opacity 0.5s ease;
}

.swiper-slide-active,
.swiper-slide-next,
.swiper-slide-prev {
    opacity: 1;
    /* Keep current and next/prev visible */
}

.hero-card {
    position: relative;
    width: 200px;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none !important;
}

.hero-card.active {
    width: 280px;
    /* Expands when active */
    height: 420px;
    border-color: var(--primary-blue);
    box-shadow: none !important;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: filter 0.5s ease;
}

.hero-card.active img {
    filter: brightness(1);
}

.hero-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
    z-index: 2;
}

.hero-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
}

@media (max-width: 991px) {
    .hero-slider {
        height: auto;
        padding: 50px 0;
    }

    .hero-container .row {
        flex-direction: column;
    }

    .hero-cards-col {
        max-width: 100%;
        width: 100%;
        margin-top: 40px;
    }

    .hero-text-col {
        text-align: center;
    }

    .heroSwiper {
        height: 450px;
    }

    .hero-card.active {
        width: 240px;
        height: 360px;
    }
}

/* Services */
.services-section {
    padding: 5rem 0;
    background: var(--primary-bg);
}

.services-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.services-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(204, 31, 40, 0.10);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.services-title {
    margin: 0.9rem 0 0.6rem;
    font-weight: 800;
}

.services-subtitle {
    margin: 0 auto;
    max-width: 54rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.service-tile {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 25px rgba(34, 34, 34, 0.06);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.3s ease;
    isolation: isolate;
    grid-column: span 4;
}

.service-tile.revealed {
    transform: translateY(0);
    opacity: 1;
}

.service-media {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.service-body {
    padding: 1.15rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    color: var(--text-dark);
}

.service-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.service-desc {
    margin: 0;
    color: var(--text-light);
    font-size: 0.98rem;
    max-width: 34ch;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    margin-top: 0.25rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.service-cta:hover {
    transform: translateY(-1px);
    background: var(--brand-primary);
    box-shadow: 0 10px 22px rgba(204, 31, 40, 0.22);
    color: #fff;
}

.service-tile:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(34, 34, 34, 0.12);
    z-index: 2;
}

.service-tile:hover .service-media {
    transform: scale(1.1) rotate(1deg);
}

@media (max-width: 992px) {
    .service-tile {
        grid-column: span 6;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 3.5rem 0;
    }

    .service-tile {
        grid-column: span 12;
        min-height: 260px;
    }
}

/* Products */
.products-section {
    padding: 5rem 0;
    background: #ffffff;
}

.products-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.products-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(204, 31, 40, 0.10);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.products-title {
    margin: 0.9rem 0 0.6rem;
    font-weight: 800;
}

.products-subtitle {
    margin: 0 auto;
    max-width: 54rem;
    color: var(--text-light);
}

.about-section {
    padding: 7rem 0;
    position: relative;
    background-image: url('../imgs/footer.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.311), rgba(0, 0, 0, 0.274));
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-center-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.about-center-content.revealed {
    transform: translateY(0);
    opacity: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.about-content {
    grid-column: span 7;
}

.about-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: rgba(204, 31, 40, 0.2);
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(204, 31, 40, 0.3);
}

.about-title {
    margin: 0.9rem 0 0.75rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.about-text {
    margin: 0 auto 2.5rem;
    max-width: 65ch;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-badges {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.about-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 700;
    transition: all 0.3s ease;
}

.about-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.about-badge i {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(204, 31, 40, 0.12);
    color: var(--brand-primary);
}

.about-actions {
    margin-top: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.15rem;
    border-radius: 999px;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.about-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(204, 31, 40, 0.22);
    color: #fff;
}

.about-link {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.about-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
}

.about-media {
    grid-column: span 5;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(204, 31, 40, 0.12);
    box-shadow: 0 16px 44px rgba(34, 34, 34, 0.12);
}

.about-media img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

@media (max-width: 992px) {
    .about-content {
        grid-column: span 12;
    }

    .about-media {
        grid-column: span 12;
    }

    .about-media img {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 3.5rem 0;
    }

    .about-badges {
        grid-template-columns: 1fr;
    }
}

.site-footer {
    padding: 4.25rem 0 1.25rem;
    color: var(--text-dark);
    background: #f8fafc;
}

.footer-link {
    display: inline-block;
    max-width: 28ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
    gap: 1.5rem;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid rgba(204, 31, 40, 0.12);
}

.footer-logo {
    height: 44px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    filter: none;
}

.footer-desc {
    margin: 1.25rem 0 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 48ch;
    font-weight: 500;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.footer-cta:hover {
    transform: translateY(-1px);
    background: var(--brand-primary);
    box-shadow: 0 12px 28px rgba(204, 31, 40, 0.22);
    color: #fff;
}

.footer-title {
    margin: 0 0 0.9rem;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--text-dark);
}

.footer-link {
    display: block;
    margin: 0.45rem 0;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    transition: color 180ms ease, transform 180ms ease;
}

.footer-link:hover {
    color: var(--primary-blue);
    transform: translateX(-2px);
}

.footer-contact {
    display: grid;
    gap: 0.6rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-light);
    font-weight: 700;
}

.footer-contact-item i {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(204, 31, 40, 0.10);
    color: var(--primary-dark);
}

.footer-bottom {
    padding-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
    color: var(--text-light);
    font-weight: 700;
    text-align: center;
}

.footer-bottom-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 180ms ease;
}

.footer-bottom-link:hover {
    color: var(--primary-blue);
}

.footer-bottom-sep {
    opacity: 0.45;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 3.25rem 0 1.15rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.product-card {
    grid-column: span 3;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(34, 34, 34, 0.10);
    transition: transform 220ms ease, box-shadow 220ms ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(34, 34, 34, 0.14);
}

.product-media {
    position: relative;
    overflow: hidden;
}

.product-media img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 500ms ease;
}

.product-card:hover .product-media img {
    transform: scale(1.08);
}

.product-actions {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    color: rgba(34, 34, 34, 0.85);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.icon-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.85);
}

.icon-btn--primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.icon-btn--primary:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.product-body {
    padding: 1.15rem 1.15rem 1.25rem;
}

.product-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    margin: 0.55rem 0 0.9rem;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.product-price {
    font-weight: 900;
    color: var(--primary-dark);
}

.product-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(204, 31, 40, 0.10);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .product-card {
        grid-column: span 6;
    }
}

@media (max-width: 576px) {
    .products-section {
        padding: 3.5rem 0;
    }

    .product-card {
        grid-column: span 12;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}

/* Toasts */
.toast-root {
    position: fixed;
    top: 18px;
    inset-inline-end: 18px;
    z-index: 9999;
    display: grid;
    gap: 12px;
    width: min(420px, calc(100% - 28px));
}

.toast {
    display: grid;
    grid-template-columns: 44px 1fr 34px;
    align-items: start;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.toast.open {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.toast-success {
    color: var(--brand-accent);
    border-inline-start: 4px solid var(--brand-accent);
}

.toast-success .toast-icon {
    background: rgba(246, 167, 19, 0.12);
}

.toast-error {
    color: var(--brand-primary);
    border-inline-start: 4px solid var(--brand-primary);
}

.toast-error .toast-icon {
    background: rgba(204, 31, 40, 0.12);
}

.toast-body {
    display: grid;
    gap: 2px;
}

.toast-title {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 14px;
}

.toast-message {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.toast-close {
    background: transparent;
    border: none;
    color: rgba(34, 34, 34, 0.45);
    cursor: pointer;
    font-size: 14px;
}

/* Frontend User Dropdown */
.user-menu-wrapper {
    position: relative;
    display: inline-block;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 50px;
    background: #f8fafc;
    border: 1px solid rgba(34, 34, 34, 0.10);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.user-menu-btn:hover {
    background: var(--gray-light);
    border-color: var(--primary-blue);
}

.avatar-small {
    width: 28px;
    height: 28px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-start: 0;
    width: 240px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(34, 34, 34, 0.08);
    padding: 8px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
}

.user-dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-header-info {
    padding: 12px 16px;
}

.dropdown-header-info strong {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
}

.dropdown-header-info span {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}

.dropdown-divider {
    height: 1px;
    background: rgba(34, 34, 34, 0.10);
    margin: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: right;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: var(--primary-blue);
    transform: translateX(-4px);
}

.dropdown-item.text-danger:hover {
    background: rgba(204, 31, 40, 0.08);
    color: var(--brand-primary);
}

.dropdown-item i {
    width: 18px;
    font-size: 16px;
}

/* Breadcrumbs */
.custom-breadcrumb {
    padding: 1.25rem 0;
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 0px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-item a:hover {
    color: var(--primary-blue);
}

.breadcrumb-item i.separator {
    margin-right: 8px;
    font-size: 10px;
    color: rgba(0, 0, 0, 0.3);
}

.breadcrumb-item.active {
    color: var(--primary-blue);
    font-weight: 700;
}

@media (max-width: 768px) {
    .custom-breadcrumb {
        padding: 0.75rem 0;
    }

    .breadcrumb-item {
        font-size: 0.8rem;
    }
}