/* ===================================================================
   SUTR – Premium Black & White Chic Design System
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #000000;
    --primary-light: #1a1a1a;
    --secondary: #ffffff;
    --accent: #c8b89e;
    --accent-light: #e8ddd0;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --text-dark: #0a0a0a;
    --text-body: #404040;
    --text-muted: #737373;
    --text-white: #ffffff;
    --border: #e5e5e5;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 4px 16px rgba(0,0,0,.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.1);
    --shadow-xl: 0 25px 80px rgba(0,0,0,.12);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: .35s cubic-bezier(.4,0,.2,1);
    --transition-fast: .2s cubic-bezier(.4,0,.2,1);
    /* Bootstrap overrides */
    --bs-primary: #000000;
    --bs-primary-rgb: 0,0,0;
    --bs-primary-bg-subtle: #f5f5f5;
    --bs-primary-border-subtle: #e5e5e5;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection { background: var(--primary); color: var(--secondary); }

img { max-width: 100%; height: auto; }

/* ===== RTL Support ===== */
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="rtl"] .navbar-nav { flex-direction: row-reverse; }
[dir="rtl"] .dropdown-menu { text-align: right; }
[dir="rtl"] .me-1, [dir="rtl"] .me-2, [dir="rtl"] .me-3 { margin-right: 0 !important; margin-left: .25rem !important; }
[dir="rtl"] .ms-1, [dir="rtl"] .ms-2, [dir="rtl"] .ms-3 { margin-left: 0 !important; margin-right: .25rem !important; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

/* ===== Navbar ===== */
.navbar {
    padding: .5rem 0;
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
    z-index: 1050;
}

.navbar-transparent {
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
}

.navbar-scrolled {
    background: rgba(255,255,255,.96) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom-color: var(--border) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.05) !important;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark) !important;
    text-decoration: none;
    transition: transform var(--transition-fast);
}
.navbar-brand:hover { transform: scale(1.02); }
.navbar-brand img {
    transition: all .3s ease !important;
}

/* ── Nav Links (Desktop) ── */
.navbar-nav .nav-link {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: .8rem;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin: 0 .1rem;
    padding: .5rem .75rem;
    transition: all var(--transition-fast);
    position: relative;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: all var(--transition);
    transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after { width: 50%; }
.navbar-nav .nav-link:hover { color: var(--primary) !important; }

/* ── Toggler (Mobile) ── */
.navbar-toggler {
    border: none !important;
    padding: .4rem;
}
.navbar-toggler:focus { box-shadow: none !important; outline: none !important; }

/* ── Mobile Menu Overlay ── */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
.mobile-menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #000;
    padding: .5rem;
    z-index: 10000;
    transition: transform .2s ease;
}
.mobile-menu-close:hover { transform: rotate(90deg); }

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 80%;
    max-width: 320px;
}
.mobile-menu-nav > a {
    display: block;
    width: 100%;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    padding: 1.15rem .5rem;
    border-bottom: 1px solid var(--border, #e5e5e5);
    transition: color .2s ease;
}
.mobile-menu-nav > a:last-of-type { border-bottom: none; }
.mobile-menu-nav > a:hover { color: var(--gray-500, #737373); }

.mobile-menu-lang {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border, #e5e5e5);
    width: 100%;
    justify-content: center;
}
.mobile-menu-lang a {
    font-family: 'Inter', sans-serif;
    font-size: .85rem;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    transition: color .2s ease;
}
.mobile-menu-lang a:hover { color: var(--gray-500, #737373); }
.mobile-menu-lang span { color: var(--gray-300, #d4d4d4); }

/* ── Dropdown (Desktop) ── */
.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: .5rem;
    animation: dropIn .25s ease;
    min-width: 140px;
}
.dropdown-item {
    border-radius: var(--radius-sm);
    padding: .5rem 1rem;
    font-size: .85rem;
    font-weight: 500;
    transition: background var(--transition-fast);
}
.dropdown-item:hover { background: var(--gray-100); }

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--primary);
}

.slideshow-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.slideshow-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.3) 0%,
        rgba(0,0,0,.1) 40%,
        rgba(0,0,0,.05) 60%,
        rgba(0,0,0,.4) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.slideshow-img {
    object-fit: cover;
    object-position: center;
    transition: opacity 1.2s ease-in-out;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    width: 100%;
}

.hero-text {
    max-width: 650px;
    z-index: 3;
    position: relative;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--secondary) !important;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
    letter-spacing: -.01em;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,.85) !important;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 8px rgba(0,0,0,.3);
    font-weight: 300;
    letter-spacing: .2px;
}

.hero-buttons {
    gap: 1rem;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* ===== Buttons ===== */
.btn-custom {
    font-family: 'Inter', sans-serif;
    padding: .9rem 2.2rem;
    font-weight: 600;
    font-size: .875rem;
    letter-spacing: .8px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom {
    background: var(--secondary) !important;
    color: var(--primary) !important;
    border: 2px solid var(--secondary) !important;
}
.btn-primary-custom:hover {
    background: transparent !important;
    color: var(--secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,.2);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--secondary);
    border: 2px solid rgba(255,255,255,.5);
}
.btn-secondary-custom:hover {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    font-size: 1.5rem;
    animation: scrollBounce 2.5s ease infinite;
    z-index: 3;
    cursor: pointer;
    transition: color var(--transition-fast);
}
.scroll-indicator:hover { color: var(--secondary); }

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(-12px); opacity: .6; }
}

/* ===== Product Sections ===== */
.product-section {
    padding: 6rem 0;
    background: var(--secondary);
}

.product-section .row,
.features-grid .row {
    justify-content: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: .75rem;
    color: var(--text-dark);
    letter-spacing: -.01em;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Category heading */
.product-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

/* ===== Product Cards ===== */
.product-card {
    border: none !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    transition: all var(--transition);
    margin-bottom: 1.5rem;
    background: var(--secondary);
    box-shadow: var(--shadow);
    position: relative;
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    pointer-events: none;
    transition: border-color var(--transition);
    z-index: 2;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-card:hover::before {
    border-color: var(--primary);
}

.product-image {
    width: 100% !important;
    max-width: 100%;
    aspect-ratio: 3 / 4;
    height: auto !important;
    overflow: hidden;
    position: relative;
    background: var(--gray-100);
}
.product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-card .card-body {
    padding: 1.25rem !important;
}

.product-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: .5rem;
    color: var(--text-dark);
    letter-spacing: .2px;
}

.product-price {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--text-dark) !important;
    font-size: .95rem;
}

.product-price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: .5rem;
    font-weight: 400;
}

.product-price-section .badge {
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .7rem;
    letter-spacing: .3px;
}

.out-of-stock {
    background: var(--gray-100);
    color: var(--text-dark);
    padding: .25rem .75rem;
    border-radius: var(--radius-sm);
    font-size: .75rem;
    margin-bottom: .5rem;
    display: inline-block;
    font-weight: 600;
    letter-spacing: .3px;
}

.out-of-stock-badge {
    border-radius: var(--radius-sm);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .3px;
    background: var(--primary) !important;
    color: var(--secondary) !important;
}

.no-image-placeholder {
    background: var(--gray-50) !important;
}

/* ===== Feature Section ===== */
.feature-section {
    background: var(--primary);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.feature-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.03) 0%, transparent 70%);
    pointer-events: none;
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.feature-text {
    flex: 1;
    color: var(--secondary);
}
.feature-text .section-title {
    color: var(--secondary);
    text-align: left;
}
.feature-text .section-subtitle {
    color: rgba(255,255,255,.7);
    text-align: left;
    margin-bottom: 2rem;
}
.feature-text .btn-primary-custom {
    background: var(--secondary) !important;
    color: var(--primary) !important;
    border-color: var(--secondary) !important;
}

.feature-image {
    flex: 1;
    text-align: center;
}
.feature-image img {
    max-width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}
.feature-badge {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    padding: .5rem 1rem;
    border-radius: var(--radius-full);
    font-size: .8rem;
    font-weight: 500;
    color: var(--secondary);
    border: 1px solid rgba(255,255,255,.15);
}

/* ===== Categories Section ===== */
.categories-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.category-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 420px;
    margin-bottom: 2rem;
}
.category-image { width: 100%; height: 100%; object-fit: cover; }
.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    color: var(--secondary);
    padding: 2rem;
}
.category-title { font-size: 1.5rem; font-weight: 600; margin-bottom: .5rem; }
.category-description { font-size: .9rem; opacity: .9; }

/* ===== Features Grid ===== */
.features-grid {
    padding: 5rem 0;
    background: var(--gray-50);
}

.feature-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    background: var(--secondary);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}
.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--gray-100);
    transition: all var(--transition);
}
.feature-item:hover .feature-icon {
    background: var(--primary);
    color: var(--secondary);
}

.feature-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .75rem;
    letter-spacing: .3px;
}

.feature-desc {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    font-size: .875rem;
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary) !important;
    color: var(--secondary) !important;
    padding: 5rem 0 1.5rem !important;
    border-top: none !important;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-700), transparent);
}

.newsletter-section {
    text-align: center;
    margin-bottom: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-800);
}

.newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem !important;
    font-weight: 600;
    margin-bottom: .75rem;
    color: var(--secondary) !important;
}
.newsletter-section p {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    gap: .75rem;
}

.newsletter-input {
    flex: 1;
    padding: .85rem 1.25rem;
    border: 1px solid var(--gray-700) !important;
    border-radius: var(--radius-full);
    outline: none;
    background: var(--gray-900) !important;
    color: var(--secondary) !important;
    font-size: .875rem;
    transition: border-color var(--transition-fast);
}
.newsletter-input::placeholder { color: var(--gray-500); }
.newsletter-input:focus { border-color: var(--gray-400) !important; }

.newsletter-btn {
    background: var(--secondary) !important;
    color: var(--primary) !important;
    border: none;
    padding: .85rem 1.75rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: all var(--transition);
}
.newsletter-btn:hover {
    background: rgba(255,255,255,.9) !important;
    transform: translateY(-1px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: 1.5px;
    color: var(--gray-400) !important;
}

.footer-column a {
    color: rgba(255,255,255,.7) !important;
    text-decoration: none;
    display: block;
    margin-bottom: .6rem;
    font-size: .875rem;
    transition: all var(--transition-fast);
}
.footer-column a:hover {
    color: var(--secondary) !important;
    transform: translateX(3px);
}
[dir="rtl"] .footer-column a:hover { transform: translateX(-3px); }

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
}

.footer .small, .footer p, .footer a { color: rgba(255,255,255,.7) !important; }

.footer-brand {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    opacity: .08;
    margin-top: 2rem;
    color: var(--secondary);
}

.footer .text-center.small {
    color: rgba(255,255,255,.4) !important;
    font-size: .8rem;
    letter-spacing: .3px;
}

/* ===== Review Cards ===== */
.review-shadow {
    box-shadow: var(--shadow) !important;
    transition: all var(--transition);
    background: var(--secondary);
}
.review-shadow:hover {
    box-shadow: var(--shadow-md) !important;
}

.review-card .card {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
}
.review-card .card:hover {
    transform: translateY(-3px);
    border-color: var(--gray-300) !important;
}

.review-form .form-control,
.review-form .form-select {
    border-radius: var(--radius) !important;
    border: 1px solid var(--border);
    padding: .7rem 1rem;
    font-size: .875rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.review-form .form-control:focus,
.review-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

#btn-view-more {
    border-radius: var(--radius-full) !important;
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
    letter-spacing: .3px;
    transition: all var(--transition);
}
#btn-view-more:hover {
    background: var(--primary);
    color: var(--secondary);
}

/* ===== Cart Icon ===== */
.cart-icon {
    position: relative;
    color: var(--text-dark);
    font-size: 1.2rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}
.cart-icon:hover { color: var(--text-muted); }

/* ===== Admin link ===== */
.admin-dashboard-link {
    font-weight: 500;
    color: var(--text-dark);
}
.admin-dashboard-link:hover {
    color: var(--text-muted);
    text-decoration: underline;
}

/* ===== Promo Banner ===== */
#promo-banner { overflow: hidden; }
#promo-banner .marquee { overflow: hidden; white-space: nowrap; }
#promo-banner .marquee-track {
    display: inline-block;
    padding-left: 100%;
    animation: promo-marquee 40s linear infinite;
}
#promo-banner .marquee-item { display: inline-block; margin: 0 1.25rem; }
@keyframes promo-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* ===== Bootstrap Overrides ===== */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-primary-subtle { background-color: var(--gray-100) !important; }
.border-primary { border-color: var(--primary) !important; }

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--secondary) !important;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--gray-800) !important;
    border-color: var(--gray-800) !important;
    color: var(--secondary) !important;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
    border-color: var(--primary) !important;
}

.btn-dark { border-radius: var(--radius-full); }

.badge.bg-danger {
    background: var(--primary) !important;
    color: var(--secondary) !important;
    font-weight: 600;
}

/* ===== Offcanvas ===== */
.offcanvas, .offcanvas-backdrop { z-index: 1065; }
.offcanvas { background: var(--secondary); }
.offcanvas .nav-link { font-weight: 600; color: var(--text-dark); }
.offcanvas .nav-link:hover { background-color: var(--gray-100); border-radius: var(--radius-sm); }
.offcanvas .dropdown-menu { border: none; box-shadow: var(--shadow-md); }
.offcanvas-header { background: var(--gray-50); }

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card { animation: fadeInUp .6s ease backwards; }
.product-card:nth-child(1) { animation-delay: .05s; }
.product-card:nth-child(2) { animation-delay: .1s; }
.product-card:nth-child(3) { animation-delay: .15s; }
.product-card:nth-child(4) { animation-delay: .2s; }
.product-card:nth-child(5) { animation-delay: .25s; }
.product-card:nth-child(6) { animation-delay: .3s; }
.product-card:nth-child(7) { animation-delay: .35s; }
.product-card:nth-child(8) { animation-delay: .4s; }

/* ===== Responsive ===== */

/* Tablets */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .feature-content { gap: 2rem; }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section { min-height: 100vh; height: 100vh; }
    .hero-title { font-size: 2.5rem; line-height: 1.15; }
    .hero-subtitle { font-size: 1rem; }
    .hero-content { padding: 4rem 0 2rem; }

    .feature-content { flex-direction: column; }
    .feature-text .section-title { text-align: center; }
    .feature-text .section-subtitle { text-align: center; }
    .feature-text { text-align: center; }

    .newsletter-form { flex-direction: column; }

    .section-title { font-size: 2rem; }
    .product-section { padding: 4rem 0; }
    .features-grid { padding: 3.5rem 0; }

    .btn-custom {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .navbar-brand img { width: 80px !important; height: 80px !important; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2rem; line-height: 1.1; }
    .hero-subtitle { font-size: .95rem; margin-bottom: 1.25rem; }

    .navbar-brand { font-size: 1.5rem; }
    .navbar-brand img { width: 60px !important; height: 60px !important; }

    .navbar-nav .nav-link { padding: .5rem .75rem; font-size: .85rem; }

    .hero-buttons { gap: .5rem; }
    .btn-custom { padding: .75rem 1.25rem; font-size: .85rem; }

    .scroll-indicator { bottom: 1.5rem; font-size: 1.25rem; }

    .container, .container-fluid { padding-left: 16px; padding-right: 16px; }

    .product-section { padding: 3rem 0; }
    .section-title { font-size: 1.75rem; }

    .feature-item { padding: 1.5rem 1rem; }
}

/* Small mobile */
@media (max-width: 576.98px) {
    .hero-section { height: 90vh !important; }
    .hero-section .hero-content {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 2rem;
    }
    .hero-section .hero-content .row { width: 100%; }

    .hero-text .hero-title { font-size: 1.75rem; margin-bottom: .75rem; }
    .hero-subtitle {
        font-size: .95rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Two products per row on small mobile */
@media (max-width: 575.98px) {
    .product-section .row > .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .product-section .row { --bs-gutter-x: .75rem; }
    .product-card .card-body { padding: .85rem !important; }
    .product-name { font-size: .8rem; }
}

@media (max-width: 420px) {
    .hero-title { font-size: 1.65rem; }
    .section-title { font-size: 1.5rem; }
    .feature-item { padding: 1.25rem; }
}

/* RTL micro-polish */
[dir="rtl"] .product-price-section .badge { margin-right: 0; margin-left: .25rem; }
[dir="rtl"] .hero-buttons .btn-custom { margin-right: 0; margin-left: .75rem; }

/* ===== Slideshow responsive ===== */
@media (min-width: 1200px) {
    .slideshow-img { object-fit: cover; object-position: center; }
}
@media (max-width: 768px) {
    .slideshow-img { object-position: center top; }
}
@media (max-width: 420px) {
    .slideshow-img, .slideshow-container { min-height: 100vh; }
}
