/* ============================================================
   FLOWER SHOP KUWAIT - Main Stylesheet
   Supports: LTR (English) + RTL (Arabic)
   ============================================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

/* === CSS VARIABLES === */
:root {
    --gold:        #b89968;    /* champagne accent — used sparingly on logo */
    --gold-light:  #d4b683;
    --teal:        #1a1a1a;    /* all black now */
    --teal-dark:   #000000;
    --pink:        #1a1a1a;    /* all black now */
    --pink-light:  #f5f5f5;
    --dark:        #1a1a1a;
    --dark2:       #2a2a2a;
    --gray:        #666666;
    --gray-light:  #999999;
    --border:      #e8e8e8;
    --bg:          #ffffff;
    --bg-light:    #fafafa;
    --bg-cream:    #ffffff;
    --shadow-sm:   0 1px 4px rgba(0,0,0,0.08);
    --shadow:      0 2px 12px rgba(0,0,0,0.10);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
    --radius-sm:   6px;
    --radius:      12px;
    --radius-lg:   20px;
    --transition:  0.25s ease;
    --max-w:       1400px;
    --font-ar:     'Cairo', 'Arial', sans-serif;
    --font-en:     'Poppins', 'Arial', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg-cream);
    color: var(--dark);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body:lang(ar),
[lang="ar"] body,
.lang-ar {
    font-family: var(--font-ar);
}

body:lang(en),
[lang="en"] body,
.lang-en {
    font-family: var(--font-en);
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* === CONTAINER === */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* === SECTION SPACING === */
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }

/* === SECTION TITLES === */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title .subtitle {
    display: block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-title h2 {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}
.section-title.underlined h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}
.section-title.underlined h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 var(--border);
    transition: box-shadow var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
}

/* Logo */
.header-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.header-logo img.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
}
@media (max-width: 768px) {
    .header-logo img.logo-img { height: 50px; }
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.logo-brand {
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.logo-sub {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Center: Phone + Search */
.header-center {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.phone-icon, .hdr-svg {
    color: var(--dark);
    flex-shrink: 0;
}
.header-actions svg { transition: opacity 0.2s; }
.header-actions a:hover svg { opacity: 0.6; }
.phone-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.phone-number {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}
.header-search {
    flex: 1;
    position: relative;
}
.header-search form {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color var(--transition);
    background: var(--bg);
}
.header-search form:focus-within {
    border-color: var(--gold);
}
.header-search input {
    flex: 1;
    padding: 10px 18px;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--dark);
    background: transparent;
}
.header-search button {
    padding: 0 16px;
    background: none;
    color: var(--gray);
    font-size: 18px;
    transition: color var(--transition);
}
.header-search button:hover { color: var(--gold); }

/* Right: Account + Cart */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-account {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--dark2);
    font-size: 13px;
    transition: color var(--transition);
}
.header-account:hover { opacity: 0.6; }
.header-account svg { display: block; }

.header-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    position: relative;
    transition: color var(--transition);
}
.header-cart:hover { opacity: 0.6; }
.cart-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--dark);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
[dir="rtl"] .cart-badge { right: auto; left: -10px; }

.cart-info { text-align: start; }
.cart-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray);
}
.cart-total {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
}

/* Hide mobile-only elements on desktop */
.nav-mobile-bar { display: none; }

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 10000;
    position: relative;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
/* Animate to X when open */
.mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
    border-top: 1px solid var(--border);
    background: var(--bg);
    max-height: none;
    overflow: visible;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
.nav-list a {
    display: block;
    padding: 14px 14px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--dark2);
    white-space: nowrap;
    position: relative;
    transition: color var(--transition);
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}
.nav-list a:hover,
.nav-list a.active {
    color: var(--dark);
}
.nav-list a:hover::after,
.nav-list a.active::after {
    width: 60%;
    background: var(--dark);
}
.nav-list li.featured a { color: var(--dark); }
.nav-list li.featured a:hover { color: var(--dark); opacity: 0.6; }
.nav-list li.featured a::after { background: var(--dark); }

/* Lang switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 0;
    white-space: nowrap;
}
.lang-switcher a {
    color: var(--gray);
    transition: color var(--transition);
}
.lang-switcher a.active,
.lang-switcher a:hover {
    color: var(--gold);
}
.lang-switcher span {
    color: var(--border);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-section {
    padding: 20px 0 0;
    background: var(--bg);
}
.hero-slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 480px;
    background: var(--dark);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { opacity: 1; }

.hero-slide-1 { background: linear-gradient(135deg, #2d0a1a 0%, #6b1a35 50%, #c9547a 100%); }
.hero-slide-2 { background: linear-gradient(135deg, #0a2d1a 0%, #1a6b35 50%, #54c97a 100%); }
.hero-slide-3 { background: linear-gradient(135deg, #1a0a2d 0%, #3b1a6b 50%, #7a54c9 100%); }

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
[dir="rtl"] .hero-slide::before {
    background: linear-gradient(to left, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.hero-content {
    position: absolute;
    bottom: 70px;
    left: 60px;
    right: auto;
    color: #fff;
    max-width: 540px;
    z-index: 2;
}
[dir="rtl"] .hero-content {
    left: auto;
    right: 60px;
}
.hero-tag {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.hero-title {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 15px;
    opacity: 0.88;
    margin-bottom: 24px;
}
.hero-btn {
    display: inline-block;
    background: var(--pink);
    color: #fff;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: background var(--transition), transform var(--transition);
    box-shadow: 0 4px 16px rgba(232, 66, 125, 0.4);
}
.hero-btn:hover {
    background: #d63570;
    color: #fff;
    transform: translateY(-2px);
}

/* Slider controls */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark);
    z-index: 5;
    transition: background var(--transition), transform var(--transition);
    cursor: pointer;
    border: none;
}
.hero-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }
[dir="rtl"] .hero-arrow-prev { left: auto; right: 20px; }
[dir="rtl"] .hero-arrow-next { right: auto; left: 20px; }

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    border: none;
}
.hero-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* ============================================================
   4-COLUMN GRID (shared: occasions, categories, products)
   ============================================================ */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ============================================================
   OCCASION CARDS
   ============================================================ */
.occasion-card {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}
.occasion-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.occasion-card .card-img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--pink-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.occasion-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.occasion-card:hover .card-img img { transform: scale(1.06); }
.occasion-card .card-img .placeholder-flower {
    font-size: 80px;
    opacity: 0.6;
}
.occasion-card .card-name {
    text-align: center;
    padding: 12px 8px 6px;
    font-size: 13.5px;
    color: var(--dark2);
    font-weight: 500;
}

/* ============================================================
   CATEGORY (LIFESTYLE) CARDS
   ============================================================ */
.category-card {
    cursor: pointer;
    overflow: hidden;
    transition: transform var(--transition);
}
.category-card:hover { transform: translateY(-3px); }
.category-card .card-img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-light);
}
.category-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.category-card:hover .card-img img { transform: scale(1.05); }
.category-card .card-name {
    text-align: center;
    padding: 12px 8px 6px;
    font-size: 13.5px;
    color: var(--dark2);
    font-weight: 400;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.product-card .card-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    position: relative;
}
.product-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .card-img img { transform: scale(1.07); }

.product-card .card-img .placeholder-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    opacity: 0.35;
}

.product-card .card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--pink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}
[dir="rtl"] .product-card .card-badge { right: auto; left: 10px; }

.product-card .card-body {
    padding: 12px 14px 14px;
}
.product-card .card-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark2);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}
.product-card .card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--teal);
}
.product-card .card-add-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 9px;
    background: var(--teal);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: background var(--transition);
    border: none;
}
.product-card .card-add-btn:hover { background: var(--teal-dark); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-page {
    padding: 30px 0 60px;
    background: var(--bg);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-light);
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-light); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { font-size: 12px; }
.breadcrumb .current { color: var(--dark2); }

/* Product layout - LTR: thumbnails | image | info */
.product-layout-ltr {
    display: grid;
    grid-template-columns: 88px 1fr 400px;
    gap: 24px;
    align-items: start;
}
/* Product layout - RTL: info | image | thumbnails */
.product-layout-rtl {
    display: grid;
    grid-template-columns: 400px 1fr 88px;
    gap: 24px;
    align-items: start;
}

/* Thumbnails */
.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.thumb-item {
    aspect-ratio: 1/1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition);
    background: var(--bg-light);
}
.thumb-item.active,
.thumb-item:hover {
    border-color: var(--teal);
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main image */
.product-main-img {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1/1;
    background: var(--bg-light);
}
.product-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-img-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
[dir="rtl"] .product-img-actions { right: auto; left: 14px; }
.img-action-btn {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    border: none;
    box-shadow: var(--shadow-sm);
}
.img-action-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

/* Product Info */
.product-info {}

.product-points {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
}
.product-price-main {
    font-size: 34px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 8px;
}
.product-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Add to Cart */
.add-to-cart-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.qty-selector {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-minus, .qty-plus {
    width: 38px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--dark2);
    background: var(--bg-light);
    cursor: pointer;
    transition: background var(--transition);
    border: none;
}
.qty-minus:hover, .qty-plus:hover { background: var(--border); }
.qty-input {
    width: 52px;
    height: 48px;
    text-align: center;
    border: none;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
}
.btn-add-cart {
    flex: 1;
    height: 48px;
    background: var(--teal);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background var(--transition), transform var(--transition);
    border: none;
    cursor: pointer;
}
.btn-add-cart:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

/* Product features */
.product-features {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.feature-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg);
}
.feature-row + .feature-row {
    border-top: 1px solid var(--border);
}
.feature-icon {
    font-size: 22px;
    flex-shrink: 0;
    color: var(--teal);
}
.feature-text { line-height: 1.3; }
.feature-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}
.feature-desc {
    font-size: 12px;
    color: var(--gray);
}

/* Payment methods */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.payment-label {
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
}
[dir="rtl"] .payment-label { margin-left: 0; margin-right: 0; }
.payment-icon {
    height: 28px;
    border-radius: 4px;
    border: 1px solid var(--border);
    padding: 3px 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    min-width: 44px;
}
.payment-icon.knet { background: #005baa; color: #fff; font-size: 11px; }
.payment-icon.visa { background: #1a1f71; color: #fff; font-size: 12px; }
.payment-icon.mc   { background: #eb001b; color: #fff; font-size: 10px; }
.payment-icon.pp   { background: #003087; color: #fff; font-size: 10px; }

/* Product tabs */
.product-tabs {
    margin-top: 40px;
    border-top: 2px solid var(--border);
}
.tabs-header {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: -2px;
}
.tab-btn {
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
}
.tab-btn.active,
.tab-btn:hover {
    color: var(--teal);
    border-bottom-color: var(--teal);
}
.tab-panel {
    display: none;
    padding: 24px 0;
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--dark2);
}
.tab-panel.active { display: block; }

/* Related products */
.related-section {
    padding: 50px 0;
    background: var(--bg-light);
}

/* ============================================================
   SHOP PAGE
   ============================================================ */
.shop-page { padding: 30px 0 60px; }
.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}
.shop-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}
.shop-meta {
    font-size: 13px;
    color: var(--gray);
}
.shop-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.filter-select {
    padding: 9px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
    color: var(--dark);
    background: var(--bg);
    outline: none;
    cursor: pointer;
    min-width: 140px;
}
.filter-select:focus { border-color: var(--gold); }

/* Category filter chips */
.category-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.chip {
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    color: var(--dark2);
    background: var(--bg);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    display: inline-block;
}
.chip:hover,
.chip.active {
    border-color: var(--gold);
    background: var(--gold);
    color: #fff;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
}
.page-btn {
    min-width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark2);
    border: 1.5px solid var(--border);
    background: var(--bg);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    padding: 0 8px;
}
.page-btn:hover,
.page-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}
.page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page { padding: 30px 0 60px; }
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}
.cart-header {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.cart-item {
    display: grid;
    grid-template-columns: 88px 1fr auto auto 32px;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.cart-item-img {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-light);
    flex-shrink: 0;
}
.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}
.cart-item-price {
    font-size: 13px;
    color: var(--gray);
}
.cart-item-total {
    font-size: 15px;
    font-weight: 700;
    color: var(--teal);
    white-space: nowrap;
    text-align: center;
}
.cart-item-remove {
    color: var(--gray-light);
    font-size: 18px;
    cursor: pointer;
    transition: color var(--transition);
    background: none;
    border: none;
    padding: 4px;
}
.cart-item-remove:hover { color: var(--pink); }

/* Cart qty inline */
.cart-qty {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
}
.cart-qty .qty-minus,
.cart-qty .qty-plus {
    width: 32px;
    height: 36px;
    font-size: 16px;
}
.cart-qty .qty-input {
    width: 44px;
    height: 36px;
    font-size: 14px;
}

/* Cart summary box */
.cart-summary {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 100px;
}
.cart-summary-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: var(--dark2);
}
.summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 8px;
    padding-top: 14px;
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
}
.btn-checkout {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    background: var(--teal);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition: background var(--transition), transform var(--transition);
    border: none;
    cursor: pointer;
}
.btn-checkout:hover {
    background: var(--teal-dark);
    color: #fff;
    transform: translateY(-2px);
}
.btn-continue-shop {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 11px;
    background: var(--bg);
    color: var(--dark2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: border-color var(--transition), color var(--transition);
    cursor: pointer;
}
.btn-continue-shop:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Cart empty state */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    gap: 16px;
}
.cart-empty-icon { font-size: 72px; opacity: 0.3; }
.cart-empty h3 { font-size: 20px; font-weight: 700; color: var(--dark2); }
.cart-empty p { font-size: 14px; color: var(--gray); }
.btn-shop {
    display: inline-block;
    padding: 12px 32px;
    background: var(--teal);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: background var(--transition);
    margin-top: 8px;
}
.btn-shop:hover { background: var(--teal-dark); color: #fff; }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-page { padding: 30px 0 60px; }
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: start;
}
.checkout-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
}

.form-section {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}
.form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark2);
}
.form-label.required::after {
    content: ' *';
    color: var(--pink);
}
.form-input, .form-select, .form-textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--dark);
    background: var(--bg);
    outline: none;
    transition: border-color var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--gold);
}
.form-input.input-error, .form-select.input-error {
    border-color: var(--pink);
}
.form-textarea { min-height: 90px; resize: vertical; }
.field-error { font-size: 12px; color: var(--pink); }

/* Checkout summary */
.checkout-summary {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 100px;
}
.checkout-summary-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding: 6px 0;
    color: var(--dark2);
}
.summary-name { flex: 1; padding-inline-end: 8px; }
.summary-price { font-weight: 600; white-space: nowrap; }

/* Payment section */
.knet-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
    padding: 15px;
    background: #005baa;
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.knet-btn:hover {
    background: #004a8a;
    transform: translateY(-2px);
}
.knet-logo {
    background: #fff;
    color: #005baa;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 900;
}

/* ============================================================
   ORDER PAGES (success / failed)
   ============================================================ */
.order-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}
.order-box {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.order-icon { font-size: 72px; margin-bottom: 16px; }
.order-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}
.order-subtitle { font-size: 15px; color: var(--gray); margin-bottom: 24px; }
.order-number {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 24px;
    display: inline-block;
}
.btn-home {
    display: inline-block;
    padding: 13px 32px;
    background: var(--teal);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: background var(--transition);
}
.btn-home:hover { background: var(--teal-dark); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 50px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
}
.footer-brand {}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-logo-text {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}
.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}
.social-links {
    display: flex;
    gap: 10px;
}
.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background var(--transition);
}
.social-link:hover { background: var(--gold); }

.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}
[dir="rtl"] .whatsapp-float { right: auto; left: 24px; }
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    white-space: nowrap;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast.toast-error { background: var(--pink); }
.toast.toast-success { background: #2d7a4f; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-gold { color: var(--gold); }
.text-teal { color: var(--teal); }
.text-pink { color: var(--pink); }
.text-gray { color: var(--gray); }
.text-center { text-align: center; }
.text-start { text-align: start; }
.fw-bold { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.d-none { display: none !important; }
.d-flex { display: flex; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }

/* ============================================================
   RESPONSIVE - TABLET (1024px)
   ============================================================ */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-layout-ltr,
    .product-layout-rtl { grid-template-columns: 1fr; }
    .product-thumbnails {
        flex-direction: row;
        overflow-x: auto;
    }
    .thumb-item { width: 70px; height: 70px; flex-shrink: 0; aspect-ratio: unset; }
    .checkout-layout { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
    .cart-summary { position: static; }
}

@media (max-width: 900px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .header-phone { display: none; }
    .header-inner { grid-template-columns: auto 1fr auto; }
}

/* ============================================================
   RESPONSIVE - MOBILE (768px)
   ============================================================ */
@media (max-width: 768px) {
    .site-header { position: relative; }
    .header-inner { grid-template-columns: 1fr auto; padding: 12px 0; }
    .header-center { display: none; }

    .site-nav {
        display: none !important;
    }
    .site-nav.open {
        display: block !important;
        max-height: 85vh;
        overflow-y: auto;
        background: var(--bg) !important;
        border-top: 1px solid var(--border);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        position: relative;
        z-index: 9999;
    }
    .nav-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; }
    .nav-list { flex-direction: column; gap: 0; width: 100%; }
    .nav-list a { padding: 12px 20px; border-bottom: 1px solid var(--border); }
    .nav-list a::after { display: none; }
    .lang-switcher { padding: 12px 20px; }

    .mobile-menu-toggle { display: flex; }
    .nav-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: 0;
        background: var(--bg);
        z-index: 1;
    }
    .nav-mobile-logo { font-size: 18px; font-weight: 800; color: var(--dark); }
    .nav-close-btn {
        background: none;
        border: none;
        font-size: 22px;
        cursor: pointer;
        padding: 4px 8px;
        color: var(--dark);
        line-height: 1;
    }
    .mobile-search {
        padding: 12px 16px;
        display: block;
    }
    .mobile-search form {
        display: flex;
        border: 1.5px solid var(--border);
        border-radius: 50px;
    }
    .mobile-search input {
        flex: 1;
        padding: 9px 16px;
        border: none;
        outline: none;
        font-family: inherit;
        font-size: 14px;
    }
    .mobile-search button {
        padding: 0 14px;
        background: none;
        border: none;
        font-size: 16px;
        cursor: pointer;
    }

    .hero-slider { height: 320px; border-radius: var(--radius); }
    .hero-content { bottom: 40px; left: 24px; right: 24px; max-width: unset; }
    [dir="rtl"] .hero-content { left: 24px; right: 24px; }
    .hero-title { font-size: 18px; }
    .hero-arrow { display: none; }

    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .section { padding: 36px 0; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .cart-item { grid-template-columns: 72px 1fr; gap: 10px; }
    .cart-item-total { grid-column: 2; }
    .cart-item-remove { grid-column: 2; justify-self: end; }
    .cart-qty { grid-column: 1 / -1; }

    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: 1; }

    .order-box { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card .card-name { font-size: 11px; }
    .product-price-main { font-size: 26px; }
    .add-to-cart-section { flex-direction: column; }
    .btn-add-cart { width: 100%; }
}
