/* ===================================
   متجر إلكتروني عربي - RTL
   الألوان: أساسي #0F172A | ثانوي #2563EB | منبه #F97316
   =================================== */

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

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

:root {
  --primary: #0F172A;
  --secondary: #2563EB;
  --accent: #F97316;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-card: #FFFFFF;
  --text: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== Utility ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.section-title span {
  color: var(--secondary);
}

.badge {
  display: inline-block;
  background: #EFF6FF;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}

/* ===== Header / Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
  background: #EFF6FF;
}

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
}

.nav-cta:hover {
  background: #ea6c0a !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover { background: var(--bg-soft); }

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

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 0 16px;
  border-top: 1px solid var(--border);
  gap: 4px;
}

.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.mobile-menu a:hover { color: var(--secondary); background: #EFF6FF; }
.mobile-menu .nav-cta {
  background: var(--accent) !important;
  color: white !important;
  text-align: center;
}

/* ===== Hero / Banner ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a6e 60%, #0F172A 100%);
  padding: 90px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563EB' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(249,115,22,0.15);
  color: #FB923C;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
  border: 1px solid rgba(249,115,22,0.3);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.hero h1 span { color: var(--accent); }

.hero-desc {
  font-size: 1.1rem;
  color: #94A3B8;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--secondary);
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 2.5rem;
}

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

.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
}

.hero-stat span {
  font-size: 0.82rem;
  color: #64748B;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap {
  width: 340px;
  height: 340px;
  background: linear-gradient(135deg, #2563EB22, #F9731622);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  position: relative;
  overflow: hidden;
}

.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 60% 40%, rgba(37,99,235,0.2), transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(249,115,22,0.15), transparent 50%);
}

.hero-floating-tag {
  position: absolute;
  background: white;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-floating-tag.tag-1 {
  top: 20px;
  right: -20px;
}

.hero-floating-tag.tag-2 {
  bottom: 30px;
  left: -20px;
  color: var(--accent);
}

.hero-floating-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

/* ===== Product Cards ===== */
.products-section {
  padding: 80px 20px;
  background: var(--bg-soft);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #BFDBFE;
}

.product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.product-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.4;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 10px;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--secondary);
}

.product-price span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.btn-order {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-order:hover {
  background: var(--secondary);
  transform: scale(1.03);
}

/* ===== Features ===== */
.features-section {
  padding: 80px 20px;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  background: var(--bg);
}

.feature-card:hover {
  border-color: #BFDBFE;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.feature-icon.blue { background: #EFF6FF; }
.feature-icon.orange { background: #FFF7ED; }
.feature-icon.green { background: #F0FDF4; }
.feature-icon.purple { background: #F5F3FF; }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Testimonials ===== */
.testimonials-section {
  padding: 80px 20px;
  background: var(--bg-soft);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.stars {
  color: #FBBF24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.author-info span {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ===== Order Form ===== */
.order-section {
  padding: 80px 20px;
  background: var(--bg-soft);
  min-height: calc(100vh - 68px);
}

.order-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.order-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.order-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-label .required {
  color: #EF4444;
  margin-right: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  background: var(--bg);
  transition: all var(--transition);
  outline: none;
  direction: rtl;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-light); }

.form-select { cursor: pointer; }

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 5px;
}

.cod-notice {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.cod-notice .icon { font-size: 1.5rem; flex-shrink: 0; }

.cod-notice h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #166534;
  margin-bottom: 3px;
}

.cod-notice p {
  font-size: 0.85rem;
  color: #15803D;
}

.order-summary {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.order-summary h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 4px 0;
}

.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--secondary);
}

.btn-submit {
  width: 100%;
  background: var(--accent);
  color: white;
  padding: 16px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: 'Cairo', sans-serif;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  background: #ea6c0a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.35);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===== Thank You Page ===== */
.thankyou-section {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: var(--bg-soft);
}

.thankyou-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.check-circle {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #22C55E, #16A34A);
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  animation: pop-in 0.5s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes pop-in {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.thankyou-card h1 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.thankyou-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.order-number {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  display: inline-block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.order-number strong {
  color: var(--secondary);
  font-weight: 800;
}

.thankyou-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Products Page Header ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a6e 100%);
  padding: 60px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: white;
  margin-bottom: 0.6rem;
}

.page-hero p {
  color: #94A3B8;
  font-size: 1rem;
}

.search-filter-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 18px 20px;
  position: sticky;
  top: 68px;
  z-index: 100;
}

.search-filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 14px;
  align-items: center;
}

.search-box {
  flex: 1;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.92rem;
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  outline: none;
  transition: all var(--transition);
  direction: rtl;
}

.search-box input:focus { border-color: var(--secondary); }

.search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1rem;
}

.filter-tabs {
  display: flex;
  gap: 8px;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-muted);
  transition: all var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  animation: float-in 0.6s cubic-bezier(.34,1.56,.64,1) 1s both;
}

@keyframes float-in {
  from { transform: scale(0) rotate(-10deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

.whatsapp-btn {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: all var(--transition);
  font-size: 1.6rem;
  color: white;
  position: relative;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

.whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,0.25);
  animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: var(--primary);
  border-left: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ===== Footer ===== */
footer {
  background: var(--primary);
  padding: 60px 20px 0;
  color: #94A3B8;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

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

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #64748B;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 1.2rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  font-size: 1rem;
  transition: all var(--transition);
}

.social-icon:hover {
  background: var(--secondary);
  color: white;
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: #64748B;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: #93C5FD; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #475569;
}

/* ===== Toast Notification ===== */
.toast-container {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: white;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  border-right: 4px solid var(--secondary);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  animation: slide-down 0.3s cubic-bezier(.34,1.56,.64,1) both;
}

.toast.success { border-color: #22C55E; }
.toast.error { border-color: #EF4444; }

@keyframes slide-down {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border: none;
}

.scroll-top.show { display: flex; }
.scroll-top:hover { background: var(--secondary); transform: translateY(-2px); }

/* ===== Loading Spinner ===== */
.spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-img-wrap {
    width: 240px;
    height: 240px;
    font-size: 5rem;
  }

  .hero-floating-tag.tag-1 { right: 0; }
  .hero-floating-tag.tag-2 { left: 0; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .product-body { padding: 14px 14px 16px; }
  .product-name { font-size: 0.95rem; }
  .product-price { font-size: 1.1rem; }
  .btn-order { padding: 9px 14px; font-size: 0.82rem; }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .feature-card { padding: 24px 16px; }

  .form-row { grid-template-columns: 1fr; }
  .order-card { padding: 24px 20px; }
  .thankyou-card { padding: 40px 24px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .filter-tabs { display: none; }

  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 1.3rem; }
}

@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
