/* ========================================
   PRO Ezzat Sons - Main Stylesheet
   Clean, Professional, Spacious
   ======================================== */

:root {
    --bg: #f5f7fa;
    --surface: #ffffff;
    --surface-soft: #f9fafb;
    --text: #111827;
    --text-light: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;
    --brand: #be1e1e;
    --brand-dark: #991b1b;
    --brand-light: #fef2f2;
    --brand-glow: rgba(190, 30, 30, 0.15);
    --dark: #111827;
    --dark-light: #1f2937;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: "Tajawal", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom selection */
::selection {
    background: var(--brand);
    color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 10px;
}

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

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: min(1200px, 90%);
    margin-inline: auto;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0.65rem 1.4rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn i {
    font-size: 0.9em;
}

.btn-main {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.btn-main:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--brand-glow);
}

.btn-ghost {
    background: #fff;
    color: var(--text);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
    border-radius: 12px;
}

.full-w {
    width: 100%;
}

.mt-3 {
    margin-top: 1rem;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow var(--transition), border-color var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: transparent;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header-wrap {
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.brand-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: var(--shadow-sm);
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    background: #fff;
}

.site-header .brand-icon {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.site-header .brand-icon img {
    padding: 0;
    background: transparent;
}

.brand-text {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.25;
    color: var(--text);
}

.brand-text small {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 700;
    font-size: 0.92rem;
}

.nav a {
    position: relative;
    padding: 0.5rem 0.9rem;
    color: var(--text-light);
    border-radius: 8px;
    transition: all var(--transition);
}

.nav a:hover {
    color: var(--brand);
    background: var(--brand-light);
}

.nav a.active {
    color: var(--brand);
    background: var(--brand-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* ========================================
   HERO SWIPER
   ======================================== */
.hero {
    position: relative;
    background: #0f1117;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 85vh;
    min-height: 550px;
    max-height: 750px;
}

.hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

/* Full background image */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 6s ease;
}

.swiper-slide-active .hero-slide-bg {
    animation: heroZoom 8s ease forwards;
}

/* Hero slide backgrounds */
.hero-bg-1 { background-image: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1400&q=80'); }
.hero-bg-2 { background-image: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=1400&q=80'); }
.hero-bg-3 { background-image: url('https://images.unsplash.com/photo-1553440569-bcc63803a83d?w=1400&q=80'); }

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

/* Dark overlay */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(10, 10, 15, 0.35) 0%,
        rgba(10, 10, 15, 0.7) 45%,
        rgba(10, 10, 15, 0.88) 100%
    );
    z-index: 1;
}

/* Slide content */
.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding: 3rem 0;
    max-width: 650px;
}

.hero-slide-content .hero-badge,
.hero-slide-content .hero-title,
.hero-slide-content .hero-desc,
.hero-slide-content .hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.swiper-slide-active .hero-slide-content .hero-badge {
    opacity: 1; transform: translateY(0); transition-delay: 0.2s;
}
.swiper-slide-active .hero-slide-content .hero-title {
    opacity: 1; transform: translateY(0); transition-delay: 0.4s;
}
.swiper-slide-active .hero-slide-content .hero-desc {
    opacity: 1; transform: translateY(0); transition-delay: 0.6s;
}
.swiper-slide-active .hero-slide-content .hero-buttons {
    opacity: 1; transform: translateY(0); transition-delay: 0.8s;
}

/* Swiper navigation */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: var(--brand);
    border-color: var(--brand);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 1.1rem;
    font-weight: 900;
}

.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all var(--transition);
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--brand);
    width: 30px;
    border-radius: 5px;
}

/* Stats bar */
.hero-stats-bar {
    position: relative;
    z-index: 5;
    margin-top: -40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
    margin-top: 0.15rem;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--line);
    flex-shrink: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 0.45rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--brand);
    font-size: 0.9rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    color: #ef4444;
    position: relative;
}

.hero-desc {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.8;
    max-width: 620px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-alt {
    background: #fff;
}

/* Subtle section divider shape */
.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    border-radius: 3px;
    opacity: 0.4;
}

.section-head {
    margin-bottom: 3rem;
}

.section-head.center {
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--brand-light);
    color: var(--brand);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-head h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-head.center h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--brand);
    border-radius: 3px;
    margin: 0.6rem auto 0;
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 550px;
}

.section-head.center p {
    margin-inline: auto;
}

/* ========================================
   ABOUT
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.about-card:hover::after {
    transform: scaleX(1);
}

.about-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-light);
    color: var(--brand);
    border-radius: 16px;
    font-size: 1.4rem;
    margin: 0 auto 1.25rem;
    transition: all 0.4s ease;
}

.about-card:hover .about-icon {
    background: var(--brand);
    color: #fff;
    transform: scale(1.08) rotate(-3deg);
}

.about-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.about-card p {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.75;
}

.about-story {
    background: linear-gradient(135deg, #fff, #fff7f7);
    border: 1px solid rgba(190, 30, 30, 0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.about-story p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.95;
    margin-bottom: 1.25rem;
}

.brand-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.brand-pills span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(190, 30, 30, 0.08);
    color: var(--brand-dark);
    font-size: 0.88rem;
    font-weight: 700;
}

/* ========================================
   SERVICES
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.service-card {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: var(--brand);
    border-radius: 0 0 4px 4px;
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: transparent;
    background: #fff;
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-light);
    color: var(--brand);
    border-radius: 12px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--brand);
    color: #fff;
    transform: translateY(-2px);
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.service-card-visual {
    padding: 0;
    background: #fff;
}

.service-card-visual::before {
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    border-radius: 0 0 999px 999px;
}

.service-card-visual:hover::before {
    height: 3px;
}

.service-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #d8dde6;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card-visual:hover .service-media img {
    transform: scale(1.06);
}

.service-copy {
    padding: 1.3rem 1.35rem 1.45rem;
}

.service-card-visual .service-icon {
    margin-top: -2rem;
    margin-bottom: 0.9rem;
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.filter-btn.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    animation: rise 0.5s ease both;
    animation-delay: calc(var(--i) * 60ms);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
    border-color: transparent;
}

.gallery-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

.gallery-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    z-index: 1;
}

.gallery-item:hover .gallery-img::after {
    background: rgba(0, 0, 0, 0.2);
}

.gallery-img i {
    transition: transform 0.4s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-img i {
    transform: scale(1.2) rotate(5deg);
    color: rgba(255, 255, 255, 0.95);
}

/* Gallery hover view hint */
.gallery-img::before {
    content: "\f06e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 8px;
    font-size: 0.8rem;
    z-index: 3;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s ease;
}

.gallery-item:hover .gallery-img::before {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery item stagger delay */
.gallery-item-1 { --i: 1; }
.gallery-item-2 { --i: 2; }
.gallery-item-3 { --i: 3; }
.gallery-item-4 { --i: 4; }
.gallery-item-5 { --i: 5; }
.gallery-item-6 { --i: 6; }
.gallery-item-7 { --i: 7; }
.gallery-item-8 { --i: 8; }

/* Gallery image gradients */
.gallery-img-1 { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.gallery-img-2 { background: linear-gradient(135deg, #7f1d1d, #be1e1e); }
.gallery-img-3 { background: linear-gradient(135deg, #0f172a, #334155); }
.gallery-img-4 { background: linear-gradient(135deg, #374151, #111827); }
.gallery-img-5 { background: linear-gradient(135deg, #991b1b, #dc2626); }
.gallery-img-6 { background: linear-gradient(135deg, #1e293b, #475569); }
.gallery-img-7 { background: linear-gradient(135deg, #4a1515, #8b2525); }
.gallery-img-8 { background: linear-gradient(135deg, #1e3a5f, #2d5a87); }

.gallery-info {
    padding: 1rem 1.15rem;
}

.gallery-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.15rem;
}

.gallery-info span {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
}

.gallery-more {
    text-align: center;
    margin-top: 2.5rem;
}

.showroom-section {
    overflow: hidden;
}

.showroom-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.showroom-card {
    position: relative;
    min-height: 300px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.showroom-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.showroom-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 17, 23, 0.92), rgba(15, 17, 23, 0.18));
}

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

.showroom-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 1.5rem;
    color: #fff;
}

.showroom-overlay h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.showroom-overlay p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.75;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--brand);
    border-radius: 0 0 3px 3px;
    transition: width 0.4s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: transparent;
    background: #fff;
}

.why-card:hover::before {
    width: 60px;
}

.why-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-light);
    color: var(--brand);
    border-radius: 50%;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
    transition: all 0.4s ease;
}

.why-card:hover .why-icon {
    background: var(--brand);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 25px var(--brand-glow);
}

.why-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--brand);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.why-card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.75;
}

/* ========================================
   SUCCESS PARTNERS
   ======================================== */
.partners-section {
    background: #fff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.partner-card {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: default;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--brand);
    background: #fff;
}

.partner-logo-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-light);
    color: var(--brand);
    border-radius: 50%;
    font-size: 1.3rem;
    margin: 0 auto 0.75rem;
    transition: all 0.4s ease;
}

.partner-card:hover .partner-logo-wrap {
    background: var(--brand);
    color: #fff;
    transform: rotate(-5deg) scale(1.05);
}

.partner-card span {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-light);
}

/* Brands marquee inside partners */
.brands-marquee-wrap {
    overflow: hidden;
    border-top: 1px solid var(--line);
    padding-top: 2rem;
}

.brands-marquee {
    display: flex;
    gap: 3rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.brands-marquee:hover {
    animation-play-state: paused;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--muted);
    white-space: nowrap;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    -webkit-user-select: none;
    user-select: none;
}

.brand-logo:hover {
    opacity: 1;
}

.brand-logo i {
    font-size: 1.5rem;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-swiper {
    padding-bottom: 3rem;
    overflow: hidden;
}

.testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonials-swiper .swiper-slide {
    height: auto;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: -8px;
    right: 20px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--brand);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: #f59e0b;
    font-size: 0.85rem;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.85;
    flex: 1;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-light);
    color: var(--brand);
    border-radius: 50%;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--muted);
}

.testimonials-pagination {
    margin-top: 1.5rem;
}

.testimonials-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--line);
    opacity: 1;
    transition: all var(--transition);
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--brand);
    width: 28px;
    border-radius: 5px;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    color: var(--text);
}

.contact-info h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 900;
    margin: 1rem 0;
    line-height: 1.4;
}

.contact-info > p {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-note {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
    padding: 0.55rem 0.95rem;
    background: rgba(190, 30, 30, 0.08);
    color: var(--brand-dark);
    border: 1px solid rgba(190, 30, 30, 0.14);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.contact-methods {
    display: grid;
    gap: 0.85rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    transition: all 0.35s ease;
}

.contact-method > div {
    min-width: 0;
    flex: 1;
}

.contact-method:hover {
    border-color: var(--brand);
    background: var(--brand-light);
    transform: translateX(-6px);
    box-shadow: 4px 0 20px var(--brand-glow);
}

.contact-method i {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-light);
    color: var(--brand);
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-method strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}

.contact-method span {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
}

.contact-method[href^="tel:"] span {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: right;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

.hours-badge {
    background: var(--brand-light);
    border-color: var(--brand);
    cursor: default;
}

.hours-badge i {
    background: var(--brand);
    color: #fff;
}

/* Contact Form */
.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.contact-form-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--brand-light);
    border-radius: 0 0 0 100%;
    opacity: 0.6;
}

.contact-form h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1.1rem;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text);
    background: var(--surface-soft);
    transition: all 0.35s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 4px var(--brand-glow);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 3.5rem 0 0;
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand {
    margin-bottom: 1rem;
}

.footer-brand .brand-icon {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.footer-brand .brand-text {
    color: #fff;
}

.footer-brand .brand-text small {
    color: #64748b;
}

.footer-brand > p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: #64748b;
}

.footer-links h4,
.footer-social h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: grid;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: #64748b;
    transition: color var(--transition);
}

.footer-links span {
    font-size: 0.88rem;
    color: #64748b;
}

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

.social-icons {
    display: flex;
    gap: 0.6rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 1rem;
    transition: all var(--transition);
}

.social-icons a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(190, 30, 30, 0.3);
}

.footer-bottom {
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.82rem;
    color: #475569;
}

/* ========================================
   FLOATING BUTTONS
   ======================================== */
.floating-btns {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 900;
}

.float-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.float-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.float-top {
    background: var(--brand);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.float-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-top:hover {
    background: var(--brand-dark);
    box-shadow: 0 8px 30px var(--brand-glow);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 75px);
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 0;
        border-left: 1px solid var(--line);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right var(--transition);
        z-index: 999;
        overflow-y: auto;
    }

    .nav.open {
        right: 0;
    }

    .nav a {
        padding: 0.85rem 1rem;
        border-radius: 10px;
        font-size: 1rem;
    }

    .header-actions {
        display: none;
    }

    .hero-swiper {
        height: 65vh;
        min-height: 420px;
    }

    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }

    .stat-divider {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

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

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

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

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-page-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-swiper {
        height: 75vh;
        min-height: 450px;
    }

    .hero-slide-content {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats-bar {
        margin-top: -30px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-story {
        padding: 1.5rem;
    }

    .brand-pills {
        justify-content: center;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .partner-card {
        padding: 1rem 0.75rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .showroom-preview {
        grid-template-columns: 1fr;
    }

    .gallery-page-intro {
        padding: 1.2rem;
    }

    .gallery-page-stats {
        width: 100%;
    }

    .gallery-page-stat {
        flex: 1 1 100%;
    }

    .gallery-page-grid {
        grid-template-columns: 1fr;
    }

    .gallery-photo-card:nth-child(1),
    .gallery-photo-card:nth-child(6) {
        grid-column: span 1;
    }

    .gallery-filter {
        gap: 0.35rem;
    }

    .filter-btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.82rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-method {
        align-items: flex-start;
    }

    .contact-method i {
        margin-top: 0.15rem;
    }

    .contact-method[href^="tel:"] span {
        font-size: 0.92rem;
        line-height: 1.7;
        white-space: nowrap;
    }

    .footer-brand .brand {
        justify-content: center;
    }

    .footer-brand > p {
        text-align: center;
    }

    .footer-links h4,
    .footer-social h4 {
        text-align: center;
    }

    .footer-links ul {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .gallery-page-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   PAGE HERO (Products / Inner pages)
   ======================================== */
.page-hero {
    position: relative;
    padding: 6rem 0 3rem;
    background: var(--dark);
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1400&q=60') center/cover no-repeat;
    opacity: 0.2;
}

.gallery-page-hero .page-hero-bg {
    background-image: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1600&q=80');
    opacity: 0.28;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(10,10,15,0.4), rgba(10,10,15,0.85));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.page-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.page-hero-content p {
    color: #cbd5e1;
    font-size: 1rem;
    max-width: 550px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #94a3b8;
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: var(--brand);
    font-weight: 700;
}

/* ========================================
   PRODUCTS PAGE
   ======================================== */
.products-section {
    padding-top: 3rem;
}

.member-access-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #fff6f6);
    border: 1px solid rgba(190, 30, 30, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.member-access-copy strong {
    display: block;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.member-access-copy p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.member-access-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.products-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.products-toolbar-note {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    background: #fff;
    border: 1px dashed rgba(190, 30, 30, 0.25);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.products-toolbar-note i {
    color: var(--brand);
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 240px;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 0.9rem;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text);
    background: #fff;
    transition: all 0.35s ease;
    outline: none;
}

.search-box input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-glow);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.products-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.products-meta-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition);
}

.view-btn i {
    font-size: 0.82rem;
}

.view-btn:hover {
    color: var(--brand);
}

.view-btn.active {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 18px var(--brand-glow);
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-box label {
    color: var(--muted);
    font-size: 0.85rem;
}

.sort-box select {
    padding: 0.5rem 0.75rem;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--text);
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color var(--transition);
}

.sort-box select:focus {
    border-color: var(--brand);
}

/* Product Cards */
.products-grid {
    display: grid;
    gap: 1.25rem;
}

.products-grid.is-grid {
    grid-template-columns: repeat(3, 1fr);
}

.products-grid.is-list {
    grid-template-columns: minmax(0, 1fr);
    max-width: 920px;
    margin-inline: auto;
    justify-content: center;
}

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    border-color: transparent;
}

.products-grid.is-list .product-card {
    display: grid;
    grid-template-columns: clamp(72px, 8vw, 96px) minmax(0, 1fr);
    align-items: stretch;
    min-width: 0;
}

.product-card.is-selected {
    border-color: rgba(190, 30, 30, 0.34);
    box-shadow: 0 14px 36px rgba(190, 30, 30, 0.12);
}

.product-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    opacity: 1;
}

.product-watermark.is-logo {
    opacity: 0.34;
}

.product-watermark.is-name {
    opacity: 1;
}

.product-watermark img {
    width: min(96px, 62%);
    max-width: 96px;
    filter: grayscale(1) contrast(1.08) brightness(1.18);
}

.product-watermark-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    font-size: clamp(0.88rem, 1.55vw, 1.22rem);
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.54);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transform: rotate(-10deg);
    letter-spacing: 0.03em;
}

.product-badge {
    display: none;
}

.product-img {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-size: cover;
    background-position: center;
}

.products-grid.is-list .product-img {
    height: auto;
    min-height: 100%;
    cursor: zoom-in;
}

.product-img i {
    display: none;
}

.products-grid.is-list .product-img::after {
    content: 'تكبير';
    position: absolute;
    inset-inline-end: 0.45rem;
    inset-block-end: 0.45rem;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.72);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity var(--transition), transform var(--transition);
    pointer-events: none;
}

.products-grid.is-list .product-card:hover .product-img::after,
.products-grid.is-list .product-img:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.product-img-engine {
    background-image:
        linear-gradient(135deg, rgba(10, 15, 25, 0.5), rgba(10, 15, 25, 0.22)),
        url("https://images.unsplash.com/photo-1486496572940-2bb2341fdbdf?auto=format&fit=crop&w=1200&q=80");
}

.product-img-brakes {
    background-image:
        linear-gradient(135deg, rgba(80, 10, 10, 0.45), rgba(15, 23, 42, 0.18)),
        url("https://images.unsplash.com/photo-1553440569-bcc63803a83d?auto=format&fit=crop&w=1200&q=80");
}

.product-img-electric {
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.46), rgba(51, 65, 85, 0.16)),
        url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1200&q=80");
}

.product-img-suspension {
    background-image:
        linear-gradient(135deg, rgba(17, 24, 39, 0.5), rgba(55, 65, 81, 0.16)),
        url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1200&q=80");
}

.product-img-accessories {
    background-image:
        linear-gradient(135deg, rgba(12, 22, 38, 0.5), rgba(71, 85, 105, 0.16)),
        url("https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=1200&q=80");
}

.product-img-oils {
    background-image:
        linear-gradient(135deg, rgba(74, 21, 21, 0.46), rgba(139, 37, 37, 0.18)),
        url("https://images.unsplash.com/photo-1517524206127-48bbd363f3d7?auto=format&fit=crop&w=1200&q=80");
}

.product-info {
    padding: 1.15rem;
    position: relative;
    z-index: 1;
}

.products-grid.is-list .product-info {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.62rem 0.82rem;
    min-width: 0;
}

.product-cat {
    display: none;
}

.product-info h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.products-grid.is-list .product-info h3 {
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 0.15rem;
}

.product-info p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.products-grid.is-list .product-info p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 0.35rem;
    font-size: 0.77rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

.products-grid.is-list .product-footer {
    margin-top: 0.05rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
    padding-top: 0.45rem;
}

.products-grid.is-list .product-footer .btn {
    margin-inline-start: auto;
    padding: 0.34rem 0.72rem;
    font-size: 0.74rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--brand);
    visibility: hidden;
}

body.is-member .product-price,
body.is-guest .product-price {
    visibility: visible;
}

.products-grid.is-list .product-price {
    font-size: 0.92rem;
}

.product-price.is-locked {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.products-grid.is-list .product-price.is-locked {
    font-size: 0.76rem;
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    border-radius: 8px;
}

.pending-order-cta {
    position: fixed;
    inset-inline-start: 1rem;
    bottom: 1rem;
    z-index: 950;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: min(360px, calc(100vw - 2rem));
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.94);
    color: #fff;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: box-shadow var(--transition), background var(--transition);
}

.pending-order-cta[hidden],
.product-lightbox[hidden] {
    display: none !important;
}

.pending-order-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0 0.95rem;
    border: none;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition), transform var(--transition);
}

.pending-order-toggle:hover {
    background: var(--brand-dark);
}

.pending-order-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.pending-order-panel {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    max-width: 260px;
    overflow: hidden;
    opacity: 1;
    transform: translateX(0);
    transition: max-width 0.25s ease, opacity 0.18s ease, transform 0.25s ease;
}

.pending-order-cta.is-collapsed .pending-order-panel {
    max-width: 0;
    opacity: 0;
    transform: translateX(-0.35rem);
    pointer-events: none;
}

.pending-order-cta-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.pending-order-cta-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.66);
}

.pending-order-name {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pending-order-panel .btn {
    flex-shrink: 0;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.product-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.45);
}

.product-lightbox img {
    width: 100%;
    max-height: 78vh;
    object-fit: cover;
    display: block;
}

.product-lightbox-caption {
    padding: 0.9rem 1rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
}

.product-lightbox-close {
    position: absolute;
    top: 0.85rem;
    inset-inline-end: 0.85rem;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
}

body.is-lightbox-open {
    overflow: hidden;
}

/* No results */
.no-results {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--muted);
}

.no-results i {
    color: var(--line);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.page-btn {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
    padding: 0 0.75rem;
}

.page-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.page-btn.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

/* CTA Banner */
.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--dark);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.cta-content h2 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 0.4rem;
}

.cta-content p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Order flow */
.order-flow-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.5rem;
    align-items: start;
}

.order-summary-card,
.order-form-card,
.reference-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.order-summary-card h2 {
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0.85rem 0 1rem;
    color: var(--text);
}

.order-summary-list,
.reference-summary {
    display: grid;
    gap: 0.85rem;
}

.order-summary-list li,
.reference-summary-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.order-summary-list strong,
.reference-summary-item strong {
    color: var(--text);
    font-size: 0.92rem;
}

.order-summary-list span,
.reference-summary-item span {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: left;
}

.order-cart-items {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.order-cart-items-title {
    margin-top: 1.25rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
}

.order-cart-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.order-cart-item-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-cart-item-copy strong {
    color: var(--text);
    font-size: 0.92rem;
}

.order-cart-item-copy span {
    color: var(--muted);
    font-size: 0.85rem;
}

.order-cart-item-price {
    color: var(--brand);
    font-size: 0.92rem;
    font-weight: 900;
    white-space: nowrap;
}

.order-request-form .form-group:last-of-type {
    margin-bottom: 1.5rem;
}

.reference-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    margin: 1rem 0 0.85rem;
    background: linear-gradient(135deg, #111827, #1f2937);
    border-radius: 16px;
    color: #fff;
}

.reference-code-box strong {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    font-weight: 900;
    letter-spacing: 1px;
}

.reference-help {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
}

.orders-overview-card,
.order-history-card,
.order-view-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.orders-overview-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
}

.orders-overview-card h2 {
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0.85rem 0 0.45rem;
    color: var(--text);
}

.orders-overview-card p {
    color: var(--muted);
    max-width: 620px;
    line-height: 1.8;
}

.orders-overview-stat {
    min-width: 120px;
    padding: 1rem 1.15rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(190, 30, 30, 0.08), rgba(17, 24, 39, 0.03));
    border: 1px solid rgba(190, 30, 30, 0.12);
    border-radius: 18px;
}

.orders-overview-stat strong {
    display: block;
    color: var(--brand);
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
}

.orders-overview-stat span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.orders-history-grid {
    display: grid;
    gap: 1rem;
}

.order-history-card,
.order-view-panel {
    padding: 1.6rem;
}

.order-history-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.order-history-head strong {
    display: block;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
}

.order-history-head span {
    color: var(--muted);
    font-size: 0.88rem;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: var(--brand-light);
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.order-history-meta,
.order-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.order-history-meta {
    margin-bottom: 1rem;
}

.order-history-meta-item,
.order-detail-item {
    padding: 0.95rem 1rem;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.order-history-meta-item strong,
.order-detail-item strong {
    display: block;
    color: var(--text);
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
}

.order-history-meta-item span,
.order-detail-item span,
.order-detail-item p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.order-detail-item p {
    margin: 0;
    white-space: pre-line;
}

.order-history-actions,
.order-view-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.orders-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    background: #fff;
    border: 1px dashed rgba(190, 30, 30, 0.25);
    border-radius: var(--radius-lg);
    color: var(--muted);
    box-shadow: var(--shadow-sm);
}

.orders-empty i {
    color: var(--brand);
    margin-bottom: 1rem;
}

.orders-empty h3 {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 0.45rem;
}

.orders-empty p {
    max-width: 520px;
    margin: 0 auto 1.25rem;
    line-height: 1.8;
}

.order-view-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.5rem;
    align-items: start;
}

.order-view-panel h2 {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1rem;
}

.gallery-page-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem 1.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.gallery-page-intro h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.gallery-page-intro p {
    max-width: 620px;
    color: var(--muted);
}

.gallery-page-stats {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.gallery-page-stat {
    min-width: 120px;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(190, 30, 30, 0.08), rgba(17, 24, 39, 0.02));
    border: 1px solid rgba(190, 30, 30, 0.12);
    text-align: center;
}

.gallery-page-stat strong {
    display: block;
    color: var(--brand);
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
}

.gallery-page-stat span {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 700;
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.gallery-photo-card {
    position: relative;
    min-height: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.gallery-photo-card:nth-child(1),
.gallery-photo-card:nth-child(6) {
    grid-column: span 1;
}

.gallery-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.92), rgba(10, 10, 15, 0.18));
}

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

.gallery-photo-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 1.6rem;
    color: #fff;
}

.gallery-photo-overlay span {
    display: inline-flex;
    margin-bottom: 0.6rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.78rem;
    font-weight: 700;
}

.gallery-photo-overlay h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.gallery-photo-overlay p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.75;
}

.gallery-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Contact Map */
.contact-map {
    margin-top: 3rem;
}

.contact-map iframe {
    display: block;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   AUTH / LOGIN PAGE
   ======================================== */
.auth-section {
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--bg);
}

.auth-container {
    width: min(1000px, 95%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 580px;
}

/* Decorative side */
.auth-side {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: #fff;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-side::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: var(--brand);
    border-radius: 50%;
    opacity: 0.08;
}

.auth-side::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 150px;
    height: 150px;
    background: var(--brand);
    border-radius: 50%;
    opacity: 0.06;
}

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

.auth-brand {
    margin-bottom: 2rem;
}

.auth-brand .brand-icon {
    background: rgba(255,255,255,0.1);
}

.auth-brand .brand-text {
    color: #fff;
}

.auth-brand .brand-text small {
    color: #94a3b8;
}

.auth-side-content h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.auth-side-content > p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.auth-features {
    display: grid;
    gap: 1rem;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.auth-feature:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}

.auth-feature i {
    color: var(--brand);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Forms side */
.auth-forms {
    padding: 2.5rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-wrap {
    width: 100%;
    max-width: 380px;
}

.auth-form-wrap.is-wide {
    max-width: 420px;
}

.auth-form-header {
    margin-bottom: 1.75rem;
}

.auth-form-header h1 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.auth-form-header p {
    color: var(--muted);
    font-size: 0.9rem;
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap i:first-child {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 2;
}

.input-icon-wrap input {
    padding-right: 2.75rem;
}

.input-icon-wrap.has-toggle input {
    padding-left: 2.75rem;
}

.toggle-password {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    z-index: 2;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
    transition: color var(--transition);
}

.toggle-password:hover {
    color: var(--brand);
}

.auth-note,
.auth-message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.auth-note {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    color: var(--text-light);
    font-size: 0.85rem;
}

.auth-note strong,
.auth-message strong {
    display: block;
    margin-bottom: 0.15rem;
}

.auth-note p,
.auth-message p {
    margin: 0;
    line-height: 1.7;
}

.auth-note i,
.auth-message i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.auth-message {
    border: 1px solid transparent;
    font-size: 0.85rem;
}

.auth-message[hidden],
.auth-actions[hidden] {
    display: none;
}

.auth-message-success {
    color: #166534;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.auth-message-error {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.auth-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.field-note {
    margin-top: 0.45rem;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.6;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
}

.checkbox-wrap input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand);
    cursor: pointer;
}

.form-link {
    color: var(--brand);
    font-weight: 700;
    font-size: 0.85rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition);
}

.form-link:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

/* Auth divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* Social login */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    background: #fff;
    color: var(--text);
}

.btn-social:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-google i { color: #ea4335; }
.btn-facebook i { color: #1877f2; }

.auth-switch {
    text-align: center;
    font-size: 0.88rem;
    color: var(--muted);
}

.password-checklist {
    display: grid;
    gap: 0.6rem;
    margin: 0 0 1.25rem;
    padding: 1rem;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.password-checklist li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.84rem;
    transition: color var(--transition);
}

.password-checklist li i {
    font-size: 0.65rem;
    color: #cbd5e1;
    transition: color var(--transition), transform var(--transition);
}

.password-checklist li.is-valid {
    color: #166534;
}

.password-checklist li.is-valid i {
    color: #16a34a;
    transform: scale(1.15);
}

/* ========================================
   PRODUCTS + AUTH RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .products-grid.is-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid.is-list {
        grid-template-columns: 1fr;
        max-width: 860px;
    }

    .products-grid.is-list .product-card {
        grid-template-columns: clamp(72px, 13vw, 96px) minmax(0, 1fr);
    }

    .pending-order-cta {
        inset-inline: 1rem;
        bottom: 1rem;
    }

    .member-access-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-flow-grid {
        grid-template-columns: 1fr;
    }

    .orders-overview-card,
    .order-view-grid {
        grid-template-columns: 1fr;
    }

    .orders-overview-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-history-meta,
    .order-detail-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .auth-container {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .auth-side {
        display: none;
    }

    .auth-forms {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .products-grid.is-grid,
    .products-grid.is-list {
        grid-template-columns: 1fr;
    }

    .products-grid.is-list .product-card {
        grid-template-columns: minmax(68px, 82px) minmax(0, 1fr);
    }

    .products-grid.is-list .product-img {
        min-height: 100%;
    }

    .products-grid.is-list .product-info {
        padding: 0.56rem 0.7rem;
    }

    .products-grid.is-list .product-info h3 {
        font-size: 0.86rem;
    }

    .products-grid.is-list .product-info p {
        font-size: 0.72rem;
        -webkit-line-clamp: 1;
    }

    .products-grid.is-list .product-footer {
        padding-top: 0.35rem;
    }

    .products-toolbar {
        flex-direction: column;
    }

    .search-box {
        max-width: 100%;
    }

    .products-toolbar-note {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .category-filters {
        width: 100%;
        justify-content: center;
    }

    .products-meta {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .products-meta-actions {
        width: 100%;
        flex-direction: column;
    }

    .member-access-actions {
        width: 100%;
    }

    .view-toggle {
        width: 100%;
        justify-content: center;
    }

    .product-watermark img {
        width: min(76px, 70%);
    }

    .product-watermark-name {
        font-size: 0.82rem;
    }

    .pending-order-cta {
        max-width: calc(100vw - 2rem);
    }

    .pending-order-panel {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        max-width: min(235px, calc(100vw - 5.8rem));
    }

    .pending-order-name {
        white-space: normal;
    }

    .product-lightbox {
        padding: 1rem;
    }

    .reference-code-box,
    .order-summary-list li,
    .order-cart-item,
    .reference-summary-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-history-head,
    .order-history-actions,
    .order-view-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .social-login {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 5rem 0 2rem;
    }
}
