:root {
  --brand-black: #000000;
  --brand-red: #B11226;
  --brand-red-hover: #8e0e1f;
  --brand-light: #F8F8F8;
  --brand-dark-bg: #0F0F0F;
  --brand-gold: #C9A050;
  --brand-muted: #888888;
  --brand-border: #E0E0E0;
  --bg: #F8F8F8;
  --bg-card: #FFFFFF;
  --fg: #000000;
  --fg-muted: #666666;
  --border-color: #E0E0E0;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  --font-arabic: 'Noto Kufi Arabic', sans-serif;
  --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-theme="dark"] {
  --bg: #0F0F0F;
  --bg-card: #1A1A1A;
  --fg: #F0F0F0;
  --fg-muted: #999999;
  --border-color: #2A2A2A;
  --brand-light: #0F0F0F;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { font-family: var(--font-arabic); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 { font-family: var(--font-arabic); }
a { text-decoration: none; color: inherit; transition: color var(--transition-base); }
img { max-width: 100%; height: auto; }
.section-padding { padding: 5rem 0; }
@media (min-width: 768px) { .section-padding { padding: 7rem 0; } }
.section-title {
  font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 3.5rem;
}
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }
.page-header {
  padding-top: 8rem; padding-bottom: 3rem; text-align: center;
  background: var(--bg-card); border-bottom: 1px solid var(--border-color);
}
.page-header h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.page-header p { color: var(--fg-muted); font-size: 0.95rem; }
.breadcrumb-siraj { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1rem; font-size: 0.8rem; color: var(--fg-muted); }
.breadcrumb-siraj a { color: var(--fg-muted); }
.breadcrumb-siraj a:hover { color: var(--brand-red); }

/* Buttons */
.btn-siraj-primary {
  background-color: var(--brand-red); color: #fff; border: none;
  padding: 14px 40px; font-family: var(--font-body); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  transition: all var(--transition-base); border-radius: 0;
}
.btn-siraj-primary:hover { background-color: var(--brand-red-hover); color: #fff; transform: translateY(-1px); }
.btn-siraj-outline-dark {
  background-color: transparent; color: var(--fg); border: 1px solid var(--border-color);
  padding: 14px 40px; font-family: var(--font-body); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  transition: all var(--transition-base); border-radius: 0;
}
.btn-siraj-outline-dark:hover { border-color: var(--brand-red); color: var(--brand-red); }
.btn-siraj-outline {
  background-color: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5);
  padding: 14px 40px; font-family: var(--font-body); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  transition: all var(--transition-base); border-radius: 0;
}
.btn-siraj-outline:hover { background-color: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.btn-siraj-cart {
  background-color: var(--brand-red); color: #fff; border: none;
  padding: 10px 20px; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; width: 100%;
  transition: all var(--transition-base); border-radius: 0;
  opacity: 0; transform: translateY(10px);
}
.product-card:hover .btn-siraj-cart { opacity: 1; transform: translateY(0); }
.btn-siraj-cart:hover { background-color: var(--brand-red-hover); color: #fff; }
/* Accessible keyboard focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

/* Navbar */
.navbar-siraj { padding: 1rem 0; transition: all 0.5s ease; background: transparent; }
.navbar-siraj.scrolled { background: var(--bg); box-shadow: 0 1px 20px rgba(0,0,0,0.06); padding: 0.6rem 0; }
.navbar-siraj.navbar-inner { background: var(--bg); box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
[data-theme="dark"] .navbar-siraj.scrolled,
[data-theme="dark"] .navbar-siraj.navbar-inner { box-shadow: 0 1px 20px rgba(0,0,0,0.3); }
.navbar-brand-siraj { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; letter-spacing: 0.15em; color: var(--fg) !important; }
.nav-link-siraj {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg) !important; opacity: 0.65;
  transition: opacity var(--transition-base); padding: 0.75rem 1rem !important;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav-link-siraj:hover, .nav-link-siraj.active { opacity: 1; color: var(--brand-red) !important; }
.navbar-icon {
  font-size: 1.1rem; color: var(--fg); opacity: 0.65;
  transition: all var(--transition-base); padding: 0.4rem;
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
}
.navbar-icon:hover { opacity: 1; color: var(--brand-red); }
.lang-toggle { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; display: flex; align-items: center; gap: 4px; }
.navbar-toggler-siraj { border: none; padding: 0.4rem; background: none; }
.navbar-toggler-siraj:focus { box-shadow: none; }
.cart-badge { position: relative; }
.cart-badge::after {
  content: attr(data-count); position: absolute; top: 0; right: 0;
  background: var(--brand-red); color: #fff; font-size: 0.55rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* Hero */
.hero-section { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.50); }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 720px; padding: 0 1.5rem; }
.hero-title { font-size: 2.8rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1.2rem; animation: fadeInUp 1s ease-out; }
@media (min-width: 768px) { .hero-title { font-size: 4rem; } }
@media (min-width: 992px) { .hero-title { font-size: 4.5rem; } }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.8); font-weight: 300; letter-spacing: 0.04em; margin-bottom: 2.5rem; animation: fadeInUp 1s ease-out 0.3s both; }
.hero-buttons { animation: fadeInUp 0.8s ease-out 0.6s both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Category */
.category-card { position: relative; overflow: hidden; display: block; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.category-card:hover img { transform: scale(1.06); }
.category-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.30); transition: background var(--transition-base); }
.category-card:hover .category-card-overlay { background: rgba(0,0,0,0.45); }
.category-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; }
@media (min-width: 768px) { .category-card-content { padding: 3rem; } }
.category-card-title { font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .category-card-title { font-size: 2rem; } }
.category-card-link { font-size: 0.78rem; color: rgba(255,255,255,0.8); letter-spacing: 0.15em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 3px; display: inline-block; transition: all var(--transition-base); }
.category-card:hover .category-card-link { border-color: #fff; color: #fff; }

/* Products */
.product-card { position: relative; }
.product-img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--bg-card); margin-bottom: 1rem; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; z-index: 2; }
[dir="rtl"] .product-badge { left: auto; right: 12px; }
.badge-sale { background: var(--brand-red); color: #fff; }
.badge-new { background: var(--brand-black); color: #fff; }
[data-theme="dark"] .badge-new { background: #fff; color: #000; }
.product-cart-wrap { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; z-index: 2; }
.product-name { font-family: var(--font-body); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 0.3rem; color: var(--fg); }
.product-price { font-size: 0.88rem; font-weight: 600; color: var(--fg); }
.product-price-old { font-size: 0.82rem; color: var(--fg-muted); text-decoration: line-through; margin-inline-start: 0.5rem; }

/* Brand Statement */
.brand-statement { background: var(--brand-black); color: #fff; }
[data-theme="dark"] .brand-statement { background: #0A0A0A; }
.brand-quote { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; line-height: 1.8; color: rgba(255,255,255,0.88); letter-spacing: 0.02em; }
@media (min-width: 768px) { .brand-quote { font-size: 1.6rem; } }
@media (min-width: 992px) { .brand-quote { font-size: 1.8rem; } }
.brand-divider { width: 60px; height: 1px; background: var(--brand-red); margin: 2.5rem auto 0; }

/* Features */
.feature-icon { font-size: 1.8rem; color: var(--brand-red); margin-bottom: 1rem; }
.feature-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.85rem; color: var(--fg-muted); }

/* Instagram */
.insta-item { position: relative; overflow: hidden; display: block; aspect-ratio: 1; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.insta-item:hover img { transform: scale(1.1); }
.insta-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background 0.3s; display: flex; align-items: center; justify-content: center; }
.insta-item:hover .insta-overlay { background: rgba(0,0,0,0.3); }
.insta-overlay i { color: #fff; font-size: 1.5rem; opacity: 0; transition: opacity 0.3s; }
.insta-item:hover .insta-overlay i { opacity: 1; }

/* Footer */
.footer-siraj { background: var(--brand-black); color: #fff; }
[data-theme="dark"] .footer-siraj { background: #0A0A0A; }
.footer-brand { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 1rem; }
.footer-text { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.footer-heading { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 1.2rem; }
.footer-link { font-size: 0.85rem; color: rgba(255,255,255,0.45); transition: color var(--transition-base); display: block; padding: 0.25rem 0; }
.footer-link:hover { color: var(--brand-red); }
.footer-social a {
  color: rgba(255,255,255,0.45);
  font-size: 1.1rem;
  transition: color var(--transition-base);
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { color: var(--brand-red); }
.footer-newsletter-input { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; font-size: 0.85rem; padding: 0.75rem 1rem; border-radius: 0; }
.footer-newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter-input:focus { outline: none; border-color: var(--brand-red); box-shadow: none; background: rgba(255,255,255,0.08); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; margin-top: 3rem; }
.footer-copyright { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RTL */
[dir="rtl"] .me-1 { margin-right: 0 !important; margin-left: 0.25rem !important; }

/* Category card responsive */
@media (max-width: 575.98px) { .category-card { aspect-ratio: 3/4; } }
@media (min-width: 576px) { .category-card { aspect-ratio: 4/5; } }

.bg-section-alt { background: var(--bg-card); }
[data-theme="dark"] .bg-section-alt { background: #141414; }

/* Filter sidebar */
.filter-section { margin-bottom: 2rem; }
.filter-title { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; color: var(--fg); }
.filter-option { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; cursor: pointer; font-size: 0.88rem; color: var(--fg-muted); transition: color var(--transition-base); }
.filter-option:hover { color: var(--fg); }
.filter-option input[type="checkbox"] { accent-color: var(--brand-red); width: 16px; height: 16px; }
.filter-color { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-color); cursor: pointer; transition: border-color var(--transition-base); }
.filter-color:hover, .filter-color.active { border-color: var(--brand-red); }
.price-range-input { width: 100%; accent-color: var(--brand-red); }

/* Product detail */
.product-detail-img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.product-thumb { width: 80px; height: 100px; object-fit: cover; border: 2px solid var(--border-color); cursor: pointer; transition: border-color var(--transition-base); }
.product-thumb:hover, .product-thumb.active { border-color: var(--brand-red); }
.product-detail-title { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.product-detail-price { font-size: 1.5rem; font-weight: 600; color: var(--brand-red); margin-bottom: 1.5rem; }
.size-btn { width: 48px; height: 48px; border: 1px solid var(--border-color); background: transparent; color: var(--fg); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all var(--transition-base); display: flex; align-items: center; justify-content: center; }
.size-btn:hover, .size-btn.active { border-color: var(--brand-red); color: var(--brand-red); }
.qty-btn { width: 40px; height: 40px; border: 1px solid var(--border-color); background: transparent; color: var(--fg); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qty-input { width: 50px; height: 40px; border: 1px solid var(--border-color); border-left: none; border-right: none; text-align: center; font-size: 0.9rem; background: transparent; color: var(--fg); }
.tab-siraj .nav-link { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); border: none; border-bottom: 2px solid transparent; border-radius: 0; padding: 0.75rem 1.5rem; }
.tab-siraj .nav-link.active { color: var(--brand-red); border-bottom-color: var(--brand-red); background: transparent; }

/* Cart */
.cart-item { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border-color); align-items: center; }
.cart-item-img { width: 100px; height: 130px; object-fit: cover; flex-shrink: 0; }
.cart-item-name { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.25rem; }
.cart-item-variant { font-size: 0.8rem; color: var(--fg-muted); }
.cart-item-price { font-size: 0.95rem; font-weight: 600; }
.cart-item-remove { background: none; border: none; color: var(--fg-muted); cursor: pointer; font-size: 0.8rem; transition: color var(--transition-base); }
.cart-item-remove:hover { color: var(--brand-red); }
.cart-summary { background: var(--bg-card); border: 1px solid var(--border-color); padding: 2rem; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 0.6rem 0; font-size: 0.9rem; }
.cart-summary-total { font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--border-color); padding-top: 1rem; margin-top: 0.5rem; }

/* Checkout */
.checkout-form label { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.05em; color: var(--fg); margin-bottom: 0.4rem; }
.checkout-form .form-control { border-radius: 0; border-color: var(--border-color); font-size: 0.9rem; padding: 0.75rem 1rem; background: var(--bg-card); color: var(--fg); }
.checkout-form .form-control:focus { border-color: var(--brand-red); box-shadow: none; }
.checkout-form .form-select { border-radius: 0; border-color: var(--border-color); font-size: 0.9rem; padding: 0.75rem 1rem; background: var(--bg-card); color: var(--fg); }
.payment-option { border: 1px solid var(--border-color); padding: 1rem 1.5rem; cursor: pointer; transition: border-color var(--transition-base); display: flex; align-items: center; gap: 1rem; }
.payment-option:hover, .payment-option.active { border-color: var(--brand-red); }
.payment-option input[type="radio"] { accent-color: var(--brand-red); }

/* About */
.about-value { text-align: center; padding: 2rem; }
.about-value i { font-size: 2rem; color: var(--brand-red); margin-bottom: 1rem; }
.about-value h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.about-value p { font-size: 0.85rem; color: var(--fg-muted); }
.team-member img { width: 100%; aspect-ratio: 3/4; object-fit: cover; margin-bottom: 1rem; }
.team-member h5 { font-size: 1rem; font-weight: 600; margin-bottom: 0.2rem; }
.team-member p { font-size: 0.82rem; color: var(--fg-muted); }

/* Contact */
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-item i { font-size: 1.2rem; color: var(--brand-red); margin-top: 0.2rem; }
.contact-info-item h5 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.2rem; }
.contact-info-item p { font-size: 0.85rem; color: var(--fg-muted); margin: 0; }
.contact-form .form-control, .contact-form .form-select {
  border-radius: 0; border-color: var(--border-color); font-size: 0.9rem;
  padding: 0.75rem 1rem; background: var(--bg-card); color: var(--fg);
}
.contact-form .form-control:focus { border-color: var(--brand-red); box-shadow: none; }

/* Wishlist icon on product */
.wishlist-btn { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--bg-card); border: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition-base); opacity: 0; }
[dir="rtl"] .wishlist-btn { right: auto; left: 12px; }
.product-card:hover .wishlist-btn { opacity: 1; }
.wishlist-btn:hover { color: var(--brand-red); }
.wishlist-btn.active { color: var(--brand-red); opacity: 1; }

@media (max-width: 767.98px) {
  .section-padding { padding: 4.25rem 0; }
  .section-title { margin-bottom: 2.5rem; }
  .btn-siraj-primary,
  .btn-siraj-outline-dark,
  .btn-siraj-outline {
    min-height: 44px;
    padding: 12px 24px;
    letter-spacing: 0.14em;
  }
  .btn-siraj-cart { min-height: 44px; }
  .footer-link { padding: 0.45rem 0; }
  .qty-btn { width: 44px; height: 44px; }
  .qty-input { height: 44px; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 2.2rem; line-height: 1.2; }
  .hero-subtitle { font-size: 0.98rem; margin-bottom: 2rem; }
  .page-header { padding-top: 7.25rem; padding-bottom: 2.25rem; }
  .page-header h1 { font-size: 2rem; }
  .product-detail-title { font-size: 1.65rem; }
  .product-detail-price { font-size: 1.3rem; }
  .btn-siraj-primary,
  .btn-siraj-outline-dark,
  .btn-siraj-outline { font-size: 0.74rem; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
