/* ===================== Rubber Star — Theme ===================== */
:root {
  --blue-900: #0f2a55;
  --blue-800: #14377a;
  --blue-700: #1e4fa3;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --steel-700: #334155;
  --steel-600: #475569;
  --steel-500: #64748b;
  --steel-400: #94a3b8;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --line: #e2e8f0;
  --white: #ffffff;
  --ink: #0f172a;
  --wa: #25d366;
  --wa-dark: #128c3e;
  --amber: #e6234c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 42, 85, 0.08);
  --shadow: 0 8px 24px rgba(15, 42, 85, 0.10);
  --shadow-lg: 0 18px 45px rgba(15, 42, 85, 0.16);
  --container: 1200px;
}

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

html { 
  scroll-behavior: smooth; 
  overflow-x: clip; 
  width: 100vw;
}

body {
  font-family: 'Cairo', system-ui, sans-serif;
  color: var(--ink);
  background: #faf8f4;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 1.05rem; border-radius: 12px; flex: 1; justify-content: center; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--blue-700), var(--blue-600)); color: #fff; box-shadow: 0 4px 15px -3px rgba(29, 78, 216, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px -5px rgba(29, 78, 216, 0.4); }
.btn-wa { background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; box-shadow: 0 4px 15px -3px rgba(34, 197, 94, 0.3); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 25px -5px rgba(34, 197, 94, 0.4); }
.btn-outline { border: 2px solid var(--blue-700); color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-700); color: #fff; }

/* Hero button visibility toggles */
.hero-mobile-btn { display: none !important; }
.hero-wa-mobile { display: none; }
.hero-wa-desktop { display: inline; }

/* ===================== Announcement bar ===================== */
.announcement-bar {
  background: #ffffff;
  color: var(--blue-900);
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 40px auto -24px;
  width: calc(100% - 40px);
  max-width: var(--container);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.announcement-track {
  display: flex;
  white-space: nowrap;
  padding: 9px 0;
  width: max-content;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-left: 60px;
  animation: marquee 20s linear infinite;
}
.marquee-group span { display: inline-flex; align-items: center; gap: 8px; }
.marquee-group i { color: var(--amber); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ===================== Info bar ===================== */
.info-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--steel-600);
}
.info-bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; flex-wrap: wrap; gap: 8px; }
.info-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.info-left i, .info-right i { color: var(--blue-700); }
.info-divider { color: var(--line); }

/* ===================== Header ===================== */
.site-header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 20px;
}
.brand { text-align: center; }
.brand-logo { height: 56px; margin: 0 auto; object-fit: contain; }
.header-right, .header-left { display: flex; align-items: center; gap: 6px; width: 100%; }
.header-right { justify-content: flex-start; justify-self: start; }
.header-left { justify-content: flex-end; justify-self: end; }
.icon-btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--steel-700);
  font-size: 1.05rem;
  transition: all 0.2s;
  position: relative;
}
.icon-btn:hover { background: var(--blue-50); color: var(--blue-700); }
.cart-badge {
  position: absolute; top: 2px; left: 2px;
  background: var(--blue-700); color: #fff;
  font-size: 0.65rem; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.menu-toggle { display: none; font-size: 1.4rem; color: var(--steel-700); margin-left: 10px; }

/* Nav */
.main-nav { border-top: 1px solid var(--line); }
.main-nav ul { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.main-nav a {
  display: block;
  padding: 13px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--steel-700);
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue-700); border-bottom-color: var(--blue-700); }

/* Search panel */
.search-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: var(--gray-50); border-top: 1px solid var(--line); }
.search-panel.open { max-height: 90px; }
.search-form { display: flex; gap: 8px; padding: 14px 0; }
.search-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 0.95rem; }
.search-form input:focus { outline: none; border-color: var(--blue-600); }
.search-form button { background: var(--blue-700); color: #fff; padding: 0 20px; border-radius: var(--radius-sm); }

/* ===================== Hero Carousel ===================== */
.hero-wrap { padding: 26px 0 0; }
.hero-carousel { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.hero-slides { position: relative; height: 360px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(10, 23, 48, 0.9) 0%, rgba(10, 23, 48, 0.6) 45%, rgba(10, 23, 48, 0.25) 100%); }
.hero-slide-content { position: relative; z-index: 2; color: #fff; padding: 0 56px; max-width: 600px; }
.hero-badge { display: inline-block; background: var(--amber); color: #fff; padding: 6px 16px; border-radius: 8px; font-size: 0.82rem; font-weight: 700; margin-bottom: 16px; }
.hero-slide-content h1 { font-size: 2.4rem; font-weight: 900; line-height: 1.35; margin-bottom: 14px; }
.hero-slide-content h1 .accent { color: var(--amber); }
.hero-slide-content p { font-size: 1.02rem; opacity: 0.92; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.85); color: var(--blue-900); display: flex; align-items: center; justify-content: center; font-size: 1rem; z-index: 5; transition: all 0.2s; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; }
.hero-carousel:hover .hero-arrow, .hero-carousel:active .hero-arrow { opacity: 1; visibility: visible; }
.hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero-arrow.prev { right: 16px; }
.hero-arrow.next { left: 16px; }

.hero-dots { position: absolute; bottom: 16px; 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); transition: all 0.2s; }
.hero-dot.active { background: var(--amber); width: 26px; border-radius: 6px; }

/* ===================== Features marquee ===================== */
.features-marquee { background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; padding: 16px 0; margin-top: 26px; }
.features-track { display: flex; gap: 18px; width: max-content; animation: featMarquee 32s linear infinite; }
.features-marquee:hover .features-track { animation-play-state: paused; }
@keyframes featMarquee { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.feature-pill { display: flex; align-items: center; gap: 12px; background: var(--gray-50); border: 1px solid var(--line); border-radius: 50px; padding: 10px 22px; flex-shrink: 0; }
.feature-pill i { font-size: 1.3rem; color: var(--blue-700); background: var(--blue-50); width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-pill h4 { font-size: 0.92rem; white-space: nowrap; }
.feature-pill p { font-size: 0.76rem; color: var(--steel-500); white-space: nowrap; }

/* ===================== Sections ===================== */
.section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 2rem; font-weight: 800; position: relative; display: inline-block; padding-bottom: 14px; }
.section-head h2::after { content: ''; position: absolute; bottom: 0; right: 50%; transform: translateX(50%); width: 64px; height: 4px; background: var(--blue-700); border-radius: 4px; }
.section-head p { color: var(--steel-500); margin-top: 12px; }
.section-head.light h2, .section-head.light p { color: #fff; }
.section-head.light h2::after { background: var(--amber); }
.section-head.with-link { display: flex; justify-content: space-between; align-items: flex-end; text-align: right; }
.section-head.with-link h2 { padding-bottom: 10px; }
.section-head.with-link h2::after { right: 0; transform: none; }
.see-all { color: var(--blue-700); font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.see-all:hover { gap: 10px; }

/* ===================== Premium Category cards ===================== */
/* ===================== Premium Category cards ===================== */
.premium-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding-top: 20px;
}
.premium-cat-card {
  position: relative;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--ink) 100%);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: right;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.premium-cat-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-20deg);
  z-index: 2;
  pointer-events: none;
}
.premium-cat-card:hover::after {
  animation: sweepGlass 1s ease-in-out;
}
@keyframes sweepGlass {
  0% { left: -100%; }
  100% { left: 200%; }
}
.premium-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  border-color: rgba(255, 255, 255, 0.15);
}
.premium-cat-media {
  width: 180px;
  height: 180px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  flex-shrink: 0;
  margin-left: 20px;
}
.premium-cat-media::before {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  background: var(--blue-500);
  filter: blur(50px);
  opacity: 0.2;
  border-radius: 50%;
  z-index: -1;
  transition: opacity 0.5s;
}
.premium-cat-card:hover .premium-cat-media::before {
  opacity: 0.4;
}
.premium-cat-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.premium-cat-media.silicone img {
  transform: scale(1.15);
}
.premium-cat-card:hover .premium-cat-media img {
  transform: scale(1.05) translateY(-5px);
}
.premium-cat-card:hover .premium-cat-media.silicone img {
  transform: scale(1.2) translateY(-5px);
}
.premium-cat-info {
  flex: 1;
  padding-right: 10px;
}
.premium-cat-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}
.premium-cat-info p {
  color: var(--steel-400);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
}
.premium-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.premium-cat-link i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: rgba(230, 35, 76, 0.15);
  border-radius: 50%;
  transition: all 0.3s;
}
.premium-cat-card:hover .premium-cat-link {
  gap: 14px;
  color: #ff3b65;
}
.premium-cat-card:hover .premium-cat-link i {
  background: var(--amber);
  color: #fff;
  transform: scale(1.1);
}

/* ===================== Why section ===================== */
.why-section { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 28px 22px; color: #fff; text-align: center; transition: all 0.25s; }
.why-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-5px); }
.why-card i { font-size: 2rem; color: var(--amber); margin-bottom: 14px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; opacity: 0.85; }

/* ===================== Product grid & cards ===================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all 0.25s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--blue-100); }
.product-media { position: relative; background: var(--gray-50); height: 220px; display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden; }
.product-media::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 50%;
  height: 300%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(35deg);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}
.product-card:hover .product-media::after {
  animation: shineGlass 0.7s ease-in-out;
}
@keyframes shineGlass {
  0% { top: -150%; left: -100%; opacity: 1; }
  100% { top: 150%; left: 200%; opacity: 1; }
}
.product-media img { max-height: 190px; object-fit: contain; transition: transform 0.3s; z-index: 1; position: relative; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-badge { position: absolute; top: 12px; right: 12px; background: var(--amber); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 11px; border-radius: 20px; z-index: 2; }
.product-hover { position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; transition: bottom 0.25s; z-index: 3; }
.product-card:hover .product-hover,
.product-card.revealed .product-hover { bottom: 12px; }
.hover-icon { width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; color: var(--steel-700); transition: all 0.2s; }
.hover-icon:hover { background: var(--blue-700); color: #fff; }
.hover-icon:hover { background: var(--blue-700); color: #fff; }
.hover-icon.wa:hover { background: var(--wa); }
.hover-icon.add-fav.active { color: #e11d48; }
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 0.72rem; color: var(--blue-700); font-weight: 700; }
.product-title { font-size: 1rem; font-weight: 700; margin: 5px 0 8px; line-height: 1.5; }
.product-title a:hover { color: var(--blue-700); }
.product-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.74rem; color: var(--steel-500); margin-bottom: 12px; }
.product-meta i { color: var(--blue-600); }
.product-price { margin-bottom: 14px; margin-top: auto; }
.price-now { font-size: 1.2rem; font-weight: 800; color: var(--blue-800); }
.price-old { font-size: 0.9rem; color: var(--steel-400); text-decoration: line-through; margin-right: 8px; }
.btn-add-cart { width: 100%; background: var(--blue-50); color: var(--blue-800); border: 1px solid var(--blue-100); padding: 11px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; }
.btn-add-cart:hover { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.btn-view-product { width: 100%; background: transparent; color: var(--blue-700); border: 1px solid var(--blue-700); padding: 11px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; margin-bottom: 8px; }
.btn-view-product:hover { background: var(--blue-700); color: #fff; }

/* ===================== Uses ===================== */
.use-section { background: var(--gray-50); }
.use-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.use-grid.big { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.use-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 12px; text-align: center; transition: all 0.25s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.use-card:hover { background: var(--blue-700); color: #fff; transform: translateY(-5px); border-color: var(--blue-700); }
.use-card i { font-size: 1.7rem; color: var(--blue-700); transition: color 0.2s; }
.use-card:hover i { color: var(--amber); }
.use-card span { font-size: 0.85rem; font-weight: 700; }
.use-card small { font-size: 0.72rem; opacity: 0.7; }

/* ===================== Steps ===================== */
.steps-section { background: linear-gradient(135deg, var(--steel-700), var(--blue-900)); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 30px 22px; text-align: center; color: #fff; position: relative; }
.step-num { position: absolute; top: -16px; right: 22px; width: 38px; height: 38px; background: var(--amber); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.step-card i { font-size: 2rem; color: var(--amber); margin-bottom: 14px; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.86rem; opacity: 0.85; }

/* ===================== Apps ===================== */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; align-items: center; gap: 18px; transition: all 0.25s; }
.app-card:hover { box-shadow: var(--shadow); border-color: var(--blue-100); }
.app-card i { font-size: 1.8rem; color: #fff; background: var(--blue-700); width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.app-card h3 { font-size: 1.05rem; }
.app-card p { font-size: 0.84rem; color: var(--steel-500); }

/* ===================== Blog ===================== */
.blog-teaser { background: var(--gray-50); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all 0.25s; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.blog-media { position: relative; height: 190px; background: var(--gray-100); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-cat { position: absolute; top: 12px; right: 12px; background: var(--blue-700); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.blog-body { padding: 18px; }
.blog-date { font-size: 0.76rem; color: var(--steel-400); }
.blog-body h3 { font-size: 1.1rem; margin: 8px 0; line-height: 1.5; }
.blog-body p { font-size: 0.87rem; color: var(--steel-500); margin-bottom: 10px; }

/* ===================== CTA ===================== */
.cta-section { background: linear-gradient(135deg, var(--amber), #c4173b); color: #fff; padding: 50px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 1.8rem; font-weight: 800; }
.cta-inner p { opacity: 0.95; }
.cta-section .btn-wa { background: #fff; color: var(--wa-dark); box-shadow: none; }
.cta-section .btn-wa:hover { background: #f0fdf4; box-shadow: none; }

/* ===================== Page banner ===================== */
.page-banner { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: #fff; padding: 48px 0; }
.page-banner h1 { font-size: 2.1rem; font-weight: 800; }
.page-banner p { opacity: 0.9; margin-top: 8px; }
.breadcrumb { font-size: 0.85rem; color: var(--steel-500); padding: 18px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--blue-700); }
.breadcrumb.light { color: rgba(255,255,255,0.8); padding: 0 0 14px; }
.breadcrumb.light a:hover { color: #fff; }
.result-count { color: var(--steel-500); margin-bottom: 20px; font-weight: 600; }
.empty { text-align: center; color: var(--steel-500); padding: 40px 0; }

/* ===================== Product detail ===================== */
.detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.detail-media { 
  background: linear-gradient(145deg, #ffffff, var(--gray-50)); 
  border: 1px solid var(--line); 
  border-radius: 24px; 
  padding: 40px; 
  position: relative; 
  display: flex; align-items: center; justify-content: center; 
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
}
.detail-media img { max-height: 480px; object-fit: contain; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1)); transition: transform 0.3s; }
.detail-media:hover img { transform: translateY(-5px); }
.detail-info h1 { font-size: 2.2rem; font-weight: 900; margin: 8px 0 16px; color: var(--blue-900); line-height: 1.3; }
.detail-price { margin-bottom: 24px; display: flex; align-items: baseline; gap: 12px; }
.detail-price .price-now { font-size: 1.8rem; font-weight: 900; color: var(--blue-700); }
.detail-price .price-old { font-size: 1.1rem; color: var(--steel-400); text-decoration: line-through; }
.detail-desc { color: var(--steel-600); font-size: 1.05rem; line-height: 1.8; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.detail-quick { 
  display: flex; flex-wrap: wrap; gap: 12px; 
  margin-bottom: 32px; 
}
.detail-quick li { 
  display: flex; align-items: center; gap: 8px;
  background: #fff; padding: 10px 18px; border-radius: 12px; 
  border: 1px solid var(--blue-100); 
  color: var(--steel-700); font-size: 0.95rem; font-weight: 700;
  box-shadow: 0 4px 15px -5px rgba(12, 30, 71, 0.04);
  transition: all 0.3s;
}
.detail-quick li:hover { transform: translateY(-2px); border-color: var(--blue-300); box-shadow: 0 6px 20px -5px rgba(12, 30, 71, 0.08); }
.detail-quick i { color: var(--blue-600); font-size: 1.1rem; }
.detail-quick strong { color: var(--blue-900); font-weight: 800; margin-right: 4px; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.qty-row label { font-weight: 700; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 44px; height: 44px; font-size: 1.2rem; font-weight: 700; color: var(--blue-700); background: var(--gray-50); }
.qty-btn:hover { background: var(--blue-50); }
.qty-control input { width: 56px; height: 44px; text-align: center; border: none; border-right: 1px solid var(--line); border-left: 1px solid var(--line); font-weight: 700; font-size: 1rem; }
.qty-control input:focus { outline: none; }
.detail-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.detail-uses { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.95rem; background: var(--gray-50); padding: 16px 20px; border-radius: 12px; border-right: 4px solid var(--blue-500); }
.detail-uses span { font-weight: 800; color: var(--blue-900); }
.tag { background: var(--blue-50); color: var(--blue-800); padding: 5px 13px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.tag:hover { background: var(--blue-700); color: #fff; }
.specs-table { width: 100%; border-collapse: collapse; max-width: 700px; }
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table th { text-align: right; padding: 14px 16px; background: var(--gray-50); font-weight: 700; width: 40%; }
.specs-table td { padding: 14px 16px; color: var(--steel-600); }

/* ===================== About ===================== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.about-text h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 16px; }
.about-text p { color: var(--steel-600); margin-bottom: 14px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.about-points div { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; }
.about-points i { color: var(--wa); }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ===================== Contact ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; align-items: center; gap: 14px; transition: all 0.2s; }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card i { font-size: 1.5rem; color: var(--blue-700); width: 50px; height: 50px; background: var(--blue-50); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card.wa i { color: var(--wa); background: #dcfce7; }
.contact-card h3 { font-size: 1rem; }
.contact-card p { font-size: 0.84rem; color: var(--steel-500); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-form h3 { margin-bottom: 18px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 0.92rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue-600); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ===================== Article ===================== */
.article-inner { max-width: 800px; margin: 0 auto; font-family: inherit; }
.article-hero { border-radius: var(--radius); margin: 16px 0 32px; max-height: 420px; width: 100%; object-fit: cover; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); }
.article .lead { font-size: 1.25rem; line-height: 1.8; color: var(--blue-900); font-weight: 700; margin-bottom: 32px; border-right: 4px solid var(--blue-600); padding-right: 16px; background: linear-gradient(to left, var(--blue-50), transparent); padding: 16px; border-radius: var(--radius-sm); }
.article p { margin-bottom: 24px; color: var(--steel-600); font-size: 1.1rem; line-height: 1.8; }
.article h2 { font-size: 1.75rem; font-weight: 800; color: var(--blue-900); margin: 40px 0 20px; position: relative; padding-bottom: 12px; }
.article h2::after { content: ''; position: absolute; bottom: 0; right: 0; width: 60px; height: 3px; background: var(--blue-600); border-radius: 2px; }
.article h3 { font-size: 1.4rem; font-weight: 700; color: var(--blue-800); margin: 32px 0 16px; }
.article ul, .article ol { padding-right: 24px; margin-bottom: 24px; color: var(--steel-600); font-size: 1.1rem; line-height: 1.8; }
.article ul { list-style-type: none; }
.article ul li { position: relative; margin-bottom: 12px; padding-right: 12px; }
.article ul li::before { content: '•'; color: var(--blue-600); font-weight: bold; position: absolute; right: -12px; font-size: 1.4rem; top: -4px; }
.article strong { color: var(--blue-900); font-weight: 800; }
.article blockquote { margin: 32px 0; padding: 24px; background: var(--gray-50); border-right: 4px solid var(--blue-500); border-radius: var(--radius); font-style: italic; font-size: 1.15rem; color: var(--steel-700); box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); }
.article img { border-radius: var(--radius-sm); margin: 24px 0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); width: 100%; height: auto; }

/* ===================== Policy ===================== */
.policy ul { list-style: none; max-width: 760px; }
.policy li { background: var(--gray-50); border-right: 4px solid var(--blue-700); padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 14px; color: var(--steel-700); }

/* ===================== 404 ===================== */
.notfound { text-align: center; padding: 90px 0; }
.notfound h1 { font-size: 6rem; font-weight: 900; color: var(--blue-100); }
.notfound p { color: var(--steel-500); margin-bottom: 24px; }

/* ===================== Footer ===================== */
.site-footer { background: var(--blue-900); color: #cbd5e1; padding-top: 56px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 36px; }
.footer-logo { height: 54px; background: #fff; padding: 6px 10px; border-radius: 10px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; opacity: 0.85; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.2s; }
.footer-social a:hover { background: var(--blue-600); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.88rem; opacity: 0.85; transition: all 0.2s; }
.footer-col ul a:hover { opacity: 1; color: var(--amber); padding-right: 4px; }
.footer-contact li { font-size: 0.86rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-contact i { color: #fff; }
.payments { display: flex; gap: 12px; margin-top: 16px; font-size: 1.6rem; color: rgba(255,255,255,0.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.82rem; opacity: 0.8; }
.footer-policies { display: flex; gap: 18px; }
.footer-policies a { font-size: 0.82rem; opacity: 0.8; }
.footer-policies a:hover { opacity: 1; color: var(--amber); }

/* ===================== Floating Buttons ===================== */
.floating-buttons { position: fixed; bottom: 22px; left: 22px; display: flex; flex-direction: column; gap: 14px; z-index: 90; align-items: center; }
.floating-wa, .floating-call { border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.3s; }
.floating-wa { width: 50px; height: 50px; font-size: 1.5rem; background: var(--wa); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); animation: wa-pulse 2.2s infinite; }
.floating-wa:hover { background: var(--wa-dark); transform: scale(1.08); }
.floating-call { width: 50px; height: 50px; font-size: 1.3rem; background: var(--blue-600); box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45); animation: call-pulse 2.2s infinite; }
.floating-call:hover { background: var(--blue-700); transform: scale(1.08); }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes call-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); } 70% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); } }

/* ===================== Cart drawer ===================== */
.drawer-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.5); opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 200; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; left: -420px; width: 380px; max-width: 90vw; height: 100%; background: #fff; z-index: 210; display: flex; flex-direction: column; transition: left 0.3s ease; box-shadow: var(--shadow-lg); }
.cart-drawer.open { left: 0; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.1rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty { text-align: center; color: var(--steel-400); padding: 50px 0; }
.cart-empty i { font-size: 3rem; margin-bottom: 12px; display: block; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; object-fit: contain; background: var(--gray-50); border-radius: 8px; padding: 4px; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.86rem; font-weight: 700; margin-bottom: 4px; line-height: 1.4; }
.cart-item-price { color: var(--blue-800); font-weight: 700; font-size: 0.9rem; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-qty-btn { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 6px; font-weight: 700; color: var(--blue-700); }
.cart-qty-btn:hover { background: var(--blue-50); }
.cart-item-qty { font-weight: 700; min-width: 24px; text-align: center; }
.cart-item-remove { color: #e11d48; margin-right: auto; font-size: 0.95rem; }
.cart-foot { padding: 18px 20px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 1.05rem; }
.cart-total strong { color: var(--blue-800); font-size: 1.2rem; }
.cart-note { font-size: 0.76rem; color: var(--steel-400); text-align: center; margin-top: 10px; }

/* ===================== Toast ===================== */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--blue-900); color: #fff; padding: 14px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; z-index: 300; transform: translateY(120px); opacity: 0; transition: all 0.3s; font-weight: 600; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast i { color: var(--wa); }

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .premium-cats, .why-grid, .steps-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .use-grid { grid-template-columns: repeat(4, 1fr); }
  .apps-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .info-bar { display: none; }
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .menu-toggle { display: block; }
  .main-nav { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
  .main-nav.open { max-height: 500px; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 13px 20px; border-bottom: 1px solid var(--line); }
  .detail-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-head.with-link { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-slide-content { padding: 0 20px; text-align: center; }
  .hero-slide-content h1 { font-size: 1.6rem; margin-bottom: 12px; line-height: 1.35; }
  .hero-slide-content p { font-size: 0.95rem; margin-bottom: 20px; }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; max-width: 260px; margin: 0 auto; gap: 10px; }
  .hero-actions .btn { width: 100%; padding: 10px 16px; font-size: 0.9rem; justify-content: center; }
  .hero-arrow { width: 36px; height: 36px; font-size: 0.85rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 24px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-grid .product-card {
    min-width: 280px;
    scroll-snap-align: center;
  }
}

@media (max-width: 560px) {
  .premium-cats { grid-template-columns: 1fr; gap: 20px; padding-top: 10px; }
  .premium-cat-card { padding: 24px 20px; border-radius: 20px; flex-direction: row; align-items: center; }
  .premium-cat-media { width: 110px; height: 110px; margin-left: 14px; }
  .premium-cat-info h3 { font-size: 1.3rem; margin-bottom: 6px; }
  .premium-cat-info p { font-size: 0.85rem; margin-bottom: 14px; max-width: 100%; }
  .why-grid, .steps-grid, .features-grid, .apps-grid, .blog-grid, .contact-cards, .about-points { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .use-grid.big { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 1.6rem; }
  .cta-inner { flex-direction: column; text-align: center; }
}

/* ===================== Mobile Hero Logo ===================== */
.mobile-hero-logo {
  display: none;
}

/* ===================== Mobile Sticky Bottom Bar ===================== */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  /* --- Sticky Bottom Bar --- */
  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }
  .sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    transition: filter 0.2s;
  }
  .sticky-btn:active { filter: brightness(0.9); }
  .sticky-btn i { font-size: 1.2rem; }
  .sticky-wa {
    background: #25d366;
  }
  .sticky-call {
    background: var(--blue-900);
  }

  /* --- Hide old floating buttons on mobile --- */
  .floating-buttons {
    display: none !important;
  }

  /* --- Body padding for sticky bar --- */
  body {
    padding-bottom: 60px;
  }

  /* ===================== Mobile Hero Redesign ===================== */
  .hero-wrap {
    padding: 0;
  }
  .hero-carousel {
    border-radius: 0;
    box-shadow: none;
  }
  .hero-slides {
    height: calc(100vh - 60px);
    min-height: 520px;
    max-height: 800px;
  }
  .hero-slide {
    align-items: center;
    justify-content: center;
  }
  .hero-slide-overlay {
    background: linear-gradient(180deg,
      rgba(10, 23, 48, 0.55) 0%,
      rgba(10, 23, 48, 0.70) 40%,
      rgba(10, 23, 48, 0.85) 100%
    ) !important;
  }
  .hero-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 0;
    max-width: 100%;
    width: 100%;
  }

  /* Hero badge — hide on mobile */
  .hero-badge {
    display: none;
  }

  /* Hero logo — fixed globally on the carousel */
  .mobile-hero-logo {
    display: block;
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 165px;
    height: 165px;
    background: url('/static/images/logo.png') center/contain no-repeat;
    z-index: 10;
    border-radius: 50%;
    overflow: hidden;
    /* 3D Spin Animation on load */
    animation: logoSpin3D 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  }

  /* Glass Shine effect */
  .mobile-hero-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: glassShine 4s infinite;
  }

  @keyframes logoSpin3D {
    0% { transform: translateX(-50%) rotateY(-180deg) scale(0.5); opacity: 0; }
    100% { transform: translateX(-50%) rotateY(0deg) scale(1); opacity: 1; }
  }

  @keyframes glassShine {
    0% { left: -150%; }
    20% { left: 200%; }
    100% { left: 200%; }
  }

  .hero-slide-content h1 {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  }

  /* Hero description — hide on mobile hero */
  .hero-slide-content p {
    display: none;
  }

  /* Hero CTA buttons — styled like النمر */
  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
    margin: 24px auto 0;
    gap: 14px;
  }
  .hero-actions .btn {
    width: 100%;
    padding: 15px 24px;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 50px;
    justify-content: center;
    gap: 10px;
  }
  .hero-actions .btn-primary {
    background: linear-gradient(135deg, #e6952e, #d4800e);
    box-shadow: 0 6px 24px rgba(230, 149, 46, 0.4);
    border: none;
  }
  .hero-actions .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(230, 149, 46, 0.5);
  }
  .hero-actions .btn-wa {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    box-shadow: none;
  }
  .hero-actions .btn-wa:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }

  /* Hero arrows — hide on mobile */
  .hero-arrow {
    display: none !important;
  }

  /* Hero dots — reposition */
  .hero-dots {
    bottom: 24px;
  }

  /* Hero container — remove padding */
  .hero-wrap .container {
    padding: 0;
  }

  /* Show/hide hero buttons for mobile */
  .hero-mobile-btn {
    display: inline-flex !important;
  }
  .hero-desktop-btn {
    display: none !important;
  }
  .hero-wa-mobile {
    display: inline;
  }
  .hero-wa-desktop {
    display: none;
  }
}
