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

:root {
  --primary: #c0392b;
  --primary-dark: #a93226;
  --gold: #d4a017;
  --gold-light: #f0d68a;
  --dark: #1a1a2e;
  --text: #333;
  --text-light: #666;
  --bg: #fff;
  --bg-gray: #f8f8f8;
  --bg-dark: #1a1a2e;
  --border: #e0e0e0;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 5px 25px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --transition: 0.3s ease;
  --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

/* Announcement Bar */
.announcement {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 8px 15px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.announcement span {
  color: var(--gold-light);
  font-weight: 600;
}

/* Top Bar */
.top-bar {
  background: var(--bg-gray);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-left i {
  margin-right: 5px;
  color: var(--primary);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-right a {
  color: var(--text-light);
  transition: color var(--transition);
}

.top-bar-right a:hover {
  color: var(--primary);
}

.top-bar-right .social-links a {
  margin-left: 10px;
  font-size: 15px;
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

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

/* Search Bar */
.search-container {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.search-container form {
  display: flex;
  border: 2px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.search-container form:focus-within {
  border-color: var(--primary);
}

.search-container select {
  border: none;
  padding: 10px 15px;
  background: var(--bg-gray);
  font-size: 13px;
  color: var(--text);
  outline: none;
  cursor: pointer;
  min-width: 100px;
}

.search-container input {
  flex: 1;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  outline: none;
}

.search-container button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  transition: background var(--transition);
}

.search-container button:hover {
  background: var(--primary-dark);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  position: relative;
  transition: color var(--transition);
}

.header-action:hover {
  color: var(--primary);
}

.header-action i {
  font-size: 20px;
}

.header-action .badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Navigation */
.nav-bar {
  background: var(--dark);
  border-top: 3px solid var(--primary);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  background: var(--primary);
}

.nav-menu > li > a i {
  font-size: 12px;
}

.nav-menu > li.has-mega {
  position: static;
}

/* Mega Menu */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 100;
  padding: 30px;
  border-top: 3px solid var(--primary);
}

.nav-menu > li:hover .mega-menu {
  display: block;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.mega-col h4 {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.mega-col ul li a {
  color: var(--text);
  font-size: 14px;
  transition: color var(--transition), padding-left var(--transition);
  display: block;
}

.mega-col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* Dropdown Menu */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 100;
  min-width: 220px;
  border-top: 3px solid var(--primary);
}

.nav-menu > li:hover .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), padding-left var(--transition);
}

.dropdown li a:hover {
  background: var(--bg-gray);
  padding-left: 25px;
  color: var(--primary);
}

.dropdown li:last-child a {
  border-bottom: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* Mobile Nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
}

.mobile-nav-overlay.open {
  display: block;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 2001;
  overflow-y: auto;
  transition: left var(--transition);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-nav.open {
  left: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-header .logo-text {
  font-size: 20px;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  padding: 5px;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
}

.mobile-nav-item > a .toggle {
  transition: transform var(--transition);
}

.mobile-nav-item > a .toggle.open {
  transform: rotate(90deg);
}

.mobile-sub {
  display: none;
  background: var(--bg-gray);
  padding: 10px 0;
}

.mobile-sub.open {
  display: block;
}

.mobile-sub li a {
  display: block;
  padding: 10px 30px;
  font-size: 13px;
  color: var(--text-light);
}

.mobile-sub li a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  display: none;
  position: relative;
  min-height: 500px;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.hero-slide.active {
  display: flex;
}

.hero-slide:nth-child(1) {
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%), url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?w=1400&q=85') center/cover;
}

.hero-slide:nth-child(2) {
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%), url('https://images.unsplash.com/photo-1544027993-37dbfe43562a?w=1400&q=85') center/cover;
}

.hero-slide:nth-child(3) {
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%), url('https://images.unsplash.com/photo-1612817159949-195b6eb9e31a?w=1400&q=85') center/cover;
}

.hero-content {
  max-width: 700px;
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  padding: 5px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  border-radius: 3px;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -1px;
}

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

.hero-content .subtitle {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-content .price {
  font-size: 48px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 25px;
}

.hero-content .price small {
  font-size: 20px;
  font-weight: 400;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 14px 35px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 4px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(192, 57, 43, 0.4);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}

.btn-gold:hover {
  background: #c59400;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 160, 23, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--dark);
  transform: translateY(-2px);
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--transition);
}

.hero-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.2);
}

/* Hero Banners */
.hero-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.hero-banner {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 30px;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-banner:nth-child(1) {
  background: url('https://images.unsplash.com/photo-1602751584556-8ba73a1f0e8c?w=800&q=80') center/cover;
}

.hero-banner:nth-child(2) {
  background: url('https://images.unsplash.com/photo-1513885535751-8b9238bd345a?w=800&q=80') center/cover;
}

.hero-banner:nth-child(3) {
  background: url('https://images.unsplash.com/photo-1544027993-37dbfe43562a?w=800&q=80') center/cover;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-banner .tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--gold-light);
}

.hero-banner h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 5px;
}

.hero-banner .discount {
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 15px;
}

.hero-banner .btn {
  font-size: 12px;
  padding: 10px 25px;
}

/* Section Styling */
.section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.section-header h2 span {
  color: var(--primary);
}

.section-header p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.section-subtitle {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* Deals of the Day */
.deals-section {
  background: var(--bg-gray);
}

.deals-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.deals-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
}

.deals-header h2 i {
  color: var(--primary);
}

.countdown {
  display: flex;
  gap: 15px;
  align-items: center;
}

.countdown-item {
  text-align: center;
  background: var(--dark);
  color: #fff;
  padding: 10px 15px;
  border-radius: var(--radius);
  min-width: 60px;
}

.countdown-item .num {
  font-size: 24px;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.countdown-item .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-top: 3px;
  display: block;
}

.deals-header .view-all {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}

.deals-header .view-all:hover {
  gap: 10px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-gray);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  z-index: 2;
}

.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition);
  z-index: 2;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-actions a {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all var(--transition);
}

.product-actions a:hover {
  background: var(--primary);
  color: #fff;
}

.product-info {
  padding: 18px;
}

.product-category {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.product-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-info h3 a {
  color: var(--text);
  transition: color var(--transition);
}

.product-info h3 a:hover {
  color: var(--primary);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.product-price .current {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.product-price .old {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-add-btn {
  width: 100%;
  padding: 10px;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-add-btn:hover {
  background: var(--primary);
}

/* Promo Banners */
.promo-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Shop Banner */
.shop-banner {
  background: var(--bg-gray);
  padding: 30px 0;
}

.shop-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 40px 50px;
  gap: 30px;
}

.shop-banner-content {
  color: #fff;
  flex: 1;
}

.shop-banner-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.shop-banner-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.shop-banner-content p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.shop-banner-content p strong {
  color: var(--gold);
  font-size: 20px;
}

.shop-banner-content .btn {
  font-size: 13px;
  padding: 12px 28px;
}

.shop-banner-image {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
}

.shop-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .shop-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .shop-banner-content h2 {
    font-size: 24px;
  }
  .shop-banner-image {
    width: 120px;
    height: 120px;
  }
}

.promo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  padding: 35px;
  transition: transform var(--transition);
}

.promo-card:hover {
  transform: translateY(-5px);
}

.promo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
}

.promo-card:nth-child(1) {
  background: url('https://images.unsplash.com/photo-1612817159949-195b6eb9e31a?w=600&q=80') center/cover;
}

.promo-card:nth-child(2) {
  background: url('https://images.unsplash.com/photo-1607083206968-13611e3d76db?w=600&q=80') center/cover;
}

.promo-card:nth-child(3) {
  background: url('https://images.unsplash.com/photo-1523275335684-37898b6baf30?w=600&q=80') center/cover;
}

.promo-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.promo-content .tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 5px;
  display: block;
}

.promo-content h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 5px;
  line-height: 1.2;
}

.promo-content .promo-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 15px;
}

.promo-content .btn {
  font-size: 12px;
  padding: 10px 25px;
}

/* Top Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.category-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.category-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  transition: border-color var(--transition);
}

.category-card:hover .category-icon {
  border-color: var(--primary);
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}

.category-card .count {
  font-size: 13px;
  color: var(--text-light);
}

.category-card a {
  display: block;
}

/* Features */
.features {
  background: var(--dark);
  padding: 50px 0;
  color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  text-align: center;
}

.feature-item {
  padding: 20px;
}

.feature-icon {
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 15px;
}

.feature-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 5px;
}

.feature-item p {
  font-size: 13px;
  opacity: 0.7;
}

/* Newsletter */
.newsletter {
  background: var(--primary);
  padding: 60px 0;
  color: #fff;
}

.newsletter .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.newsletter-content h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 5px;
}

.newsletter-content p {
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.newsletter-form input {
  padding: 14px 20px;
  border: none;
  outline: none;
  font-size: 14px;
  min-width: 300px;
  border-radius: 4px 0 0 4px;
}

.newsletter-form button {
  padding: 14px 30px;
  background: var(--dark);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0 4px 4px 0;
  transition: background var(--transition);
}

.newsletter-form button:hover {
  background: #2a2a4a;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: #ccc;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col.about-col .logo-text {
  color: #fff;
  margin-bottom: 15px;
  display: block;
}

.footer-col.about-col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.footer-contact {
  margin-bottom: 15px;
}

.footer-contact div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-contact i {
  color: var(--gold);
  margin-top: 3px;
  min-width: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: background var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
}

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

.footer-col ul li a {
  color: #999;
  font-size: 14px;
  transition: color var(--transition), padding-left var(--transition);
  display: block;
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-bottom {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
  color: #777;
}

.payment-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.payment-icons img {
  height: 35px;
  filter: grayscale(1) brightness(2);
  opacity: 0.7;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #fff;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7); }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 25px;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  color: #fff;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-header.has-bg {
  background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.6) 100%);
  background-size: cover;
  background-position: center;
}

.page-header h1 {
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb a {
  color: var(--gold);
}

.page-header .breadcrumb span {
  color: #fff;
}

/* Shop Page */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  padding: 40px 0;
}

.shop-sidebar {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px;
  align-self: start;
  position: sticky;
  top: 150px;
}

.sidebar-widget {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border);
}

.sidebar-widget:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-widget h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-widget ul li {
  margin-bottom: 8px;
}

.sidebar-widget ul li a {
  font-size: 14px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
  padding: 5px 0;
}

.sidebar-widget ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.sidebar-widget ul li a .count {
  color: var(--text-light);
  font-size: 13px;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex-wrap: wrap;
  gap: 15px;
}

.shop-toolbar .result-count {
  font-size: 14px;
  color: var(--text-light);
}

.shop-toolbar .sort-by {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.shop-toolbar .sort-by select {
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  background: var(--bg-gray);
}

.shop-content .product-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
  transition: all var(--transition);
}

.pagination a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-weight: 600;
}

/* About Page */
.about-section {
  padding: 70px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  display: block;
}

.about-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.about-content h2 span {
  color: var(--primary);
}

.about-content .lead {
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 25px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.stat-item:hover {
  background: var(--primary);
  color: #fff;
}

.stat-item .num {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.stat-item:hover .num {
  color: #fff;
}

.stat-item .label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 5px;
}

.stat-item:hover .label {
  color: rgba(255, 255, 255, 0.8);
}

/* Contact Page */
.contact-section {
  padding: 70px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.contact-card:hover {
  background: var(--dark);
  color: #fff;
}

.contact-card:hover .contact-card-icon {
  background: var(--primary);
  color: #fff;
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  transition: all var(--transition);
}

.contact-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact-card p {
  font-size: 14px;
  color: inherit;
  opacity: 0.8;
}

.contact-card:hover p {
  opacity: 1;
}

.contact-form-wrap {
  background: #fff;
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--dark);
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

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

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background var(--transition);
}

.submit-btn:hover {
  background: var(--primary-dark);
}

/* Map placeholder */
.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* Cookie / Popup */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.popup-overlay.open {
  display: flex;
}

.popup-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: popIn 0.4s ease;
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
  transition: color var(--transition);
}

.popup-close:hover {
  color: var(--primary);
}

.popup-box h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 5px;
}

.popup-box .discount-text {
  font-size: 48px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 10px;
}

.popup-box p {
  color: var(--text-light);
  margin-bottom: 25px;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-form input {
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}

.popup-form input:focus {
  border-color: var(--primary);
}

.popup-form button {
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background var(--transition);
}

.popup-form button:hover {
  background: var(--primary-dark);
}

.popup-skip {
  margin-top: 15px;
  font-size: 13px;
  color: var(--text-light);
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .shop-content .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-banners {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .promo-banners {
    grid-template-columns: repeat(2, 1fr);
  }
  .mega-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    text-align: center;
  }
  .top-bar-left, .top-bar-right {
    justify-content: center;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .search-container {
    order: 3;
    max-width: 100%;
    flex-basis: 100%;
  }
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content .price {
    font-size: 36px;
  }
  .hero-slide {
    min-height: 400px;
    padding: 60px 20px;
  }
  .hero-banners {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .promo-banners {
    grid-template-columns: 1fr;
  }
  .section-header h2 {
    font-size: 26px;
  }
  .newsletter-form {
    width: 100%;
  }
  .newsletter-form input {
    min-width: 0;
    flex: 1;
  }
  .newsletter .container {
    flex-direction: column;
    text-align: center;
  }
  .mega-grid {
    grid-template-columns: 1fr;
  }
  .countdown {
    gap: 8px;
  }
  .countdown-item {
    min-width: 50px;
    padding: 8px 12px;
  }
  .countdown-item .num {
    font-size: 20px;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
  .shop-content .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-header h1 {
    font-size: 30px;
  }
  .contact-form-wrap {
    padding: 25px;
  }
  .deals-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .shop-content .product-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 26px;
  }
  .hero-content .price {
    font-size: 30px;
  }
  .header-actions .header-action span {
    display: none;
  }
  .logo-text {
    font-size: 18px;
  }
}
