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

:root {
  --primary: #e11d48;
  --primary-hover: #be123c;
  --primary-light: #fff1f2;
  --primary-soft: #ffe4e6;
  --primary-gradient: linear-gradient(135deg, #e11d48 0%, #ff6b81 100%);
  --secondary: #ff6b81;
  --dark: #0f172a;
  --text: #334155;
  --text-light: #64748b;
  --bg-page: #fffdfd;
  --bg-soft: #fff5f6;
  --white: #ffffff;
  --border: #fecdd3;
  --border-light: #ffe4e6;
  --shadow-sm: 0 2px 8px rgba(225, 29, 72, 0.06);
  --shadow-md: 0 8px 24px rgba(225, 29, 72, 0.1);
  --shadow-lg: 0 16px 40px rgba(225, 29, 72, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
  text-align: right;
  background-color: var(--bg-page);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

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

/* ===================================================
   TOP ANNOUNCEMENT BAR
=================================================== */
.announcement-bar {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 9px 0;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
}
.announcement-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.announcement-bar a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 700;
}
.top-contact-links {
  display: flex;
  gap: 18px;
}

/* ===================================================
   MAIN HEADER & NAV
=================================================== */
.main-header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex;
  flex-direction: column;
}
.logo-text {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 2px;
  line-height: 1.1;
}
.logo-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.nav-link {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--dark);
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-icon {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--border);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.btn-icon:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.badge-count {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.btn-admin {
  background: var(--dark);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.btn-admin:hover {
  background: var(--primary);
  color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* ===================================================
   HERO SLIDER / BANNER
=================================================== */
.hero-section {
  position: relative;
  background: var(--bg-soft);
  padding: 40px 0;
  overflow: hidden;
}
.hero-slider-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 450px;
}
.hero-slide {
  display: none;
  position: relative;
  width: 100%;
  height: 480px;
}
.hero-slide.active {
  display: flex;
  align-items: center;
}
.hero-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.2) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 620px;
  padding: 40px;
}
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 26px;
  line-height: 1.6;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.02rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.35);
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.45);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--dark);
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 30px;
  z-index: 5;
  display: flex;
  gap: 10px;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: var(--radius-full);
}

/* ===================================================
   FEATURES BAR
=================================================== */
.features-bar {
  padding: 30px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.feature-item:hover {
  transform: translateY(-3px);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.feature-text h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2px;
}
.feature-text p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===================================================
   CATEGORIES SECTION
=================================================== */
.section-padding {
  padding: 60px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 38px;
}
.section-tag {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.section-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}
.section-desc {
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-card:hover img {
  transform: scale(1.08);
}
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
}
.category-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.category-card-link {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===================================================
   FLASH DEALS BANNER
=================================================== */
.flash-banner {
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  padding: 40px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.flash-content {
  max-width: 600px;
  z-index: 2;
}
.flash-tag {
  background: var(--white);
  color: var(--primary);
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.flash-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.3;
}
.flash-desc {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 22px;
}
.countdown-box {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.countdown-unit {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 65px;
}
.countdown-num {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}
.countdown-label {
  font-size: 0.72rem;
  opacity: 0.9;
}

/* ===================================================
   PRODUCTS SECTION & FILTERS
=================================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.tab-btn {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover, .tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.sort-search-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 14px;
}
.search-box {
  position: relative;
  flex: 1;
  max-width: 360px;
}
.search-box input {
  width: 100%;
  padding: 10px 42px 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  background: var(--bg-soft);
}
.search-box .search-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--text-light);
}
.sort-box select {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.product-img-wrap {
  position: relative;
  height: 290px;
  overflow: hidden;
  background: #f8fafc;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}
.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.badge-bestseller {
  background: #f59e0b;
  color: var(--white);
}
.badge-featured {
  background: var(--primary);
  color: var(--white);
}
.badge-new {
  background: #10b981;
  color: var(--white);
}

.product-quick-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, transparent 100%);
  transition: var(--transition);
  z-index: 3;
}
.product-card:hover .product-quick-actions {
  bottom: 0;
}
.btn-action-round {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.btn-action-round:hover {
  background: var(--primary);
  color: var(--white);
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-cat {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 4px;
}
.product-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-title a:hover {
  color: var(--primary);
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: #f59e0b;
}
.product-rating .reviews-count {
  color: var(--text-light);
  font-size: 0.78rem;
}
.product-sizes-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.size-tag {
  background: var(--bg-soft);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 16px;
}
.price-current {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
}
.price-old {
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.discount-badge {
  background: #fee2e2;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.product-card-btns {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.btn-add-cart {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}
.btn-add-cart:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-whatsapp-order {
  background: #25d366;
  color: var(--white);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}
.btn-whatsapp-order:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* ===================================================
   VIP MOTHER'S CLUB NEWSLETTER
=================================================== */
.vip-club-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  margin: 60px 0;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.vip-club-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.35) 0%, transparent 70%);
  border-radius: 50%;
}
.vip-title {
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.vip-desc {
  max-width: 600px;
  margin: 0 auto 26px;
  color: #cbd5e1;
  font-size: 1rem;
}
.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 13px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.95rem;
}
.newsletter-form input::placeholder {
  color: #94a3b8;
}

/* ===================================================
   FOOTER
=================================================== */
.main-footer {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 20px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}
.footer-about p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-list a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links-list a:hover {
  color: var(--primary);
  transform: translateX(-4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}
.footer-contact-icon {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 14px;
}
.footer-policy-links {
  display: flex;
  gap: 20px;
}
.footer-policy-links a:hover {
  color: var(--primary);
}

/* ===================================================
   SLIDE-OUT CART DRAWER
=================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.cart-overlay.active .cart-drawer {
  transform: translateX(0);
}
.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
}
.btn-close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.cart-item-img {
  width: 75px;
  height: 75px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item-details {
  flex: 1;
}
.cart-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.cart-item-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 6px;
}
.cart-item-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1rem;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}
.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-soft);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}
.btn-checkout {
  width: 100%;
  padding: 14px;
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}
.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.4);
}
.btn-checkout-whatsapp {
  width: 100%;
  margin-top: 10px;
  padding: 13px;
  background: #25d366;
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ===================================================
   CHECKOUT MODAL
=================================================== */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.checkout-modal-overlay.active {
  display: flex;
}
.checkout-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

/* ===================================================
   PAGE HEADER (ABOUT, CONTACT, POLICY, SHOP)
=================================================== */
.page-hero {
  background: var(--bg-soft);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}
.page-hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
}
.breadcrumb a:hover {
  color: var(--primary);
}

/* ===================================================
   RESPONSIVE DESIGN
=================================================== */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero-slide {
    height: 380px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .flash-banner {
    padding: 24px;
    flex-direction: column;
    text-align: center;
  }
  .flash-title {
    font-size: 1.6rem;
  }
}


/* ===================================================
   MOBILE NAVIGATION DRAWER
=================================================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 290px;
  height: 100%;
  background: var(--white);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.mobile-nav-overlay.active .mobile-nav-drawer {
  transform: translateX(0);
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-nav-list a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.mobile-nav-list a:hover {
  color: var(--primary);
}

/* ===================================================
   TOAST NOTIFICATION
=================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--dark);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 4px solid var(--primary);
  pointer-events: all;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ===================================================
   PRODUCT DETAILS PAGE
=================================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 40px 0 60px;
  align-items: start;
}
.product-gallery {
  position: sticky;
  top: 100px;
}
.main-gallery-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: #f8fafc;
}
.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}
.gallery-thumb:hover, .gallery-thumb.active {
  border-color: var(--primary);
  transform: scale(1.05);
}

.product-detail-info h1 {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.product-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}
.product-detail-price .current {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
}
.product-detail-price .old {
  font-size: 1.3rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.product-detail-desc {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 26px;
  background: var(--bg-soft);
  padding: 20px;
  border-radius: var(--radius-md);
  border-right: 4px solid var(--primary);
}

.size-select-group {
  margin-bottom: 26px;
}
.size-select-group label {
  display: block;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--dark);
}
.size-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.size-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.size-btn:hover, .size-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.qty-action-row {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--white);
  overflow: hidden;
  height: 50px;
}
.qty-stepper button {
  width: 44px;
  height: 100%;
  border: none;
  background: none;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
}
.qty-stepper button:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.qty-stepper input {
  width: 50px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  background: transparent;
}
.btn-large-cart {
  flex: 1;
  min-width: 200px;
  height: 50px;
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}
.btn-large-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.4);
}
.btn-large-whatsapp {
  width: 100%;
  height: 50px;
  background: #25d366;
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  transition: var(--transition);
}
.btn-large-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.product-perks-box {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px dashed var(--border);
}
.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 600;
}
.perk-icon {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ===================================================
   SHOP / CATALOG PAGE
=================================================== */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  margin: 40px 0 60px;
}
.shop-sidebar {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: 100px;
}
.filter-widget {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.filter-widget:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.filter-widget-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
}
.category-filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.category-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}
.category-filter-item:hover, .category-filter-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}
.filter-count {
  background: var(--bg-soft);
  color: var(--text-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
}

/* ===================================================
   CONTACT & STATIC PAGES
=================================================== */
.static-page-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 40px;
  margin: 40px 0 60px;
  box-shadow: var(--shadow-sm);
}
.static-page-content h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark);
  margin: 26px 0 12px;
}
.static-page-content h2:first-child {
  margin-top: 0;
}
.static-page-content p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}
.static-page-content ul {
  margin: 12px 24px 20px;
  color: var(--text);
  line-height: 1.8;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin: 40px 0 60px;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

/* ===================================================
   ADMIN DASHBOARD STYLES
=================================================== */
.admin-body {
  background: #f8fafc;
}
.admin-navbar {
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-brand h2 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
}
.admin-brand span {
  background: #e2e8f0;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  color: var(--dark);
}
.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-admin-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  transition: var(--transition);
}
.btn-admin-primary {
  background: var(--primary-gradient);
  color: var(--white);
}
.btn-admin-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.btn-admin-outline {
  background: var(--white);
  border-color: #cbd5e1;
  color: var(--text);
}
.btn-admin-outline:hover {
  background: #f1f5f9;
}
.btn-admin-danger {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.admin-layout {
  display: flex;
  min-height: calc(100vh - 65px);
}
.admin-sidebar {
  width: 250px;
  background: var(--white);
  border-left: 1px solid #e2e8f0;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: var(--transition);
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: var(--primary-light);
  color: var(--primary);
}
.admin-main {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
}
.admin-tab-content {
  display: none;
}
.admin-tab-content.active {
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  padding: 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.stat-card-title {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 8px;
}
.stat-card-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}
.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.admin-card-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
}

.admin-table-wrap {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.92rem;
}
.admin-table th {
  background: #f8fafc;
  padding: 12px 16px;
  color: #64748b;
  font-weight: 800;
  border-bottom: 2px solid #e2e8f0;
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.admin-table tr:hover {
  background: #fdf2f4;
}
.table-img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

/* Modal styles for Admin */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.admin-modal-overlay.active {
  display: flex;
}
.admin-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .product-gallery {
    position: static;
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .admin-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
\n
/* ===================================================
   CMS PAGES EDITOR STYLES
=================================================== */
.cms-pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.cms-page-card {
  background: var(--white);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}
.cms-page-card:hover, .cms-page-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.cms-page-card-icon {
  font-size: 1.8rem;
}
.cms-page-card-title {
  font-weight: 800;
  color: var(--dark);
  font-size: 0.95rem;
}
.cms-page-card-sub {
  font-size: 0.78rem;
  color: var(--text-light);
}
.cms-section-group {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}
.cms-section-group h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}
@media (max-width: 768px) {
  .cms-pages-grid {
    grid-template-columns: 1fr;
  }
}
