:root {
  --brand: #b48c5a;
  --brand-dark: #a07a4a;
  --bg: #f8fafc;
  --text: #222;
  --muted: #666;
  --card: #fff;
  --shadow: 0 6px 18px rgba(180, 140, 90, 0.18);
}

* { box-sizing: border-box; }

body {
  font-family: 'Cairo', Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg) 0%, #f3e7e9 100%);
  margin: 0 auto;
  max-width: 1440px;
  color: var(--text);
}

header {
  background: #fff;
  box-shadow: 0 2px 8px #eee;
  padding: 18px 0 10px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.brand-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-word {
  white-space: nowrap;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

header h1 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--brand);
  letter-spacing: 1px;
}

nav { margin-top: 10px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 12px;
  font-weight: 700;
  transition: color 0.2s;
}
nav a:hover { color: var(--brand); }

.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero .slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero .slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.hero .slider-item {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.hero .slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero .slider-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero .slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero .slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero .slider-dot.active {
  background: var(--brand);
  border-color: #fff;
  transform: scale(1.3);
}

.hero .slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
}
.hero h2 {
  font-size: 2.1rem;
  margin: 0 0 10px 0;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  opacity: 0.95;
}
.hero p { 
  font-size: 1.1rem; 
  margin: 0 0 18px 0;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
  opacity: 0.9;
}
.hero .cta-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px #e2cdb0;
  transition: background 0.2s;
}
.hero .cta-btn:hover { background: var(--brand-dark); }

.discount-banner {
  max-width: 900px;
  margin: 16px auto 10px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #ffe9d6, #fff6ee);
  border: 1px solid #f2caa6;
  color: #8a4b16;
  font-weight: 700;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(180, 140, 90, 0.18);
}

.offers-grid {
  display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 16px;
}

.offer-card {
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(180, 140, 90, 0.22);
}

.offer-image {
  width: 100%;
  height: 180px;
  background: #f8f1e8;
}

.offer-image img {
  width: 100%;
  height: 100%;
}

.offer-content {
  padding: 14px 16px 16px;
  display: grid;
  gap: 8px;
}

.offer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.offer-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.offer-badge {
  background: #f9f1e6;
  color: #8a4b16;
  border: 1px solid #f2caa6;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  color: var(--brand);
  margin: 40px 0 20px 0;
  letter-spacing: 1px;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 30px;
}

.card {
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 2px 8px #eee;
  padding: 18px 16px 10px 16px;
  min-width: 120px;
  max-width: 180px;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px) scale(1.04);
}
.card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 2px solid #f3e7e9;
  background: #fafafa;
}
.card span {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #444;
}

.status {
  color: var(--muted);
  text-align: center;
  padding: 12px 0;
}

/* Collections */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 16px;
}

.collection-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(180, 140, 90, 0.3);
}

.collection-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f1e8, #e9d7c5);
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-info {
  padding: 14px 16px 18px;
  text-align: center;
}

.collection-info h3 {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 700;
}

.collection-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Perfume Types */
.perfume-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 0 16px;
}

.perfume-type-card {
  background: var(--card);
  border-radius: 14px;
  padding: 14px 12px 12px;
  text-align: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.perfume-type-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(180, 140, 90, 0.28);
}

.perfume-type-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 2px solid #f3e7e9;
  background: #fafafa;
}

.perfume-type-card span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #444;
}

/* Customer Reviews */
.reviews-section {
  max-width: 1100px;
  margin: 0 auto 50px;
  padding: 0 16px;
}

.reviews-slider {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(180, 140, 90, 0.2), rgba(255, 255, 255, 0.9));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(180, 140, 90, 0.35);
}

.reviews-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.reviews-slide {
  min-width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-slide img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.reviews-nav.prev { left: 14px; right: auto; inset-inline-start: 14px; inset-inline-end: auto; }
.reviews-nav.next { right: 14px; left: auto; inset-inline-end: 14px; inset-inline-start: auto; }

.reviews-nav:hover {
  background: var(--brand);
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.reviews-dot.active {
  background: var(--brand);
  transform: scale(1.1);
}

.reviews-empty {
  text-align: center;
  color: var(--muted);
  padding: 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .reviews-slide {
    padding: 16px;
  }
  .reviews-slide img {
    max-height: 320px;
  }
  .reviews-nav {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

/* Featured Products Slider */
.featured-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  overflow: hidden;
}

.featured-slider {
  display: flex;
  gap: 0;
  transition: transform 0.5s ease;
}

.featured-card {
  min-width: 33.3333%;
  max-width: 33.3333%;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(180, 140, 90, 0.3);
}

.featured-card-image {
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #f7f7f7);
  position: relative;
}

.premium-badge-overlay {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.95), rgba(231, 76, 60, 0.95));
  color: #fff;
  padding: 8px 12px;
  font-size: 0.6rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
  border-radius: 0 0 0 8px;
}

.featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  padding: 10px;
}

.featured-card:hover .featured-card-image img {
  transform: scale(1.1);
}

.featured-card-info {
  padding: 16px;
  text-align: center;
}

.featured-card-info h3 {
  margin: 0 0 8px 0;
  font-size: 0.7rem;
  color: var(--text);
  font-weight: 700;
}

.featured-card-info p {
  margin: 0;
  font-size: 0.7rem;
  color: var(--brand);
}


footer {
  background: #fff;
  padding: 30px 0 10px 0;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 -2px 8px #eee;
}

.contact-info-list {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}

.contact-icon-link {
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-icon-link:hover .contact-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.contact-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #b48c5a;
}

.contact-icon[data-type="phone"] { background: #2ecc71; }
.contact-icon[data-type="whatsapp"] { background: #25D366; }
.contact-icon[data-type="facebook"] { background: #1877f2; }
.contact-icon[data-type="instagram"] { background: #E1306C; }
.contact-icon[data-type="email"] { background: #f39c12; }

@media (max-width: 600px) {
  .grid { gap: 10px; }
  .card {
    min-width: 90px;
    max-width: 140px;
    padding: 10px 6px 6px 6px;
  }
  .card img { width: 100px; height: 100px; }
  
  .hero { min-height: 350px; }
  .hero-content h2 { font-size: 1.6rem; }
  .hero-content p { font-size: 0.95rem; }
  
  /* Featured slider responsive */
  .featured-slider-container {
    padding: 0 8px;
  }
  
  .featured-card {
    min-width: 33.3333%;
    max-width: 33.3333%;
  }
  
}

@media (max-width: 900px) and (min-width: 601px) {
  .featured-card {
    min-width: 33.3333%;
    max-width: 33.3333%;
  }
}
