/* Global Styles */
/* Global Styles */
:root {
  --primary: #478f07;
  --secondary: #620063;
  --accent: #478f07;
  --light: #ecf0f1;
  --dark: #34495e;
  --success: #478f07;
  --white: #fff;
  --font-main: "Winky Rough", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

body {
  font-family: var(--font-main);
  background-color: #f9f9f9;
  color: var(--dark);
  line-height: 1.6;
}

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

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #620063;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: #1a252f;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

.section-title p {
  color: #777;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed; /* Changed from sticky to fixed */
  top: 0;
  width: 100%; /* Added width */
  z-index: 1000;
}

.header-top {
  background-color: var(--secondary);
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
}

.contact-info {
  display: flex;
  gap: 20px;
}

.user-actions {
  display: flex;
  gap: 20px;
}

.user-actions a:hover {
  color: var(--primary);
}

.main-header {
  padding: 15px 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary);
}

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

.search-bar {
  flex: 1;
  max-width: 500px;
  margin: 0 30px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 16px;
}

.search-bar button {
  position: absolute;
  right: 10px;
  top: 8px;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 20px;
}

.cart-icon {
  position: relative;
  font-size: 24px;
  margin-right: 20px;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--accent);
  color: white;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-overlay {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 25px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
  z-index: 10002;
  display: flex;
  flex-direction: column;
}

.cart-overlay.active {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  background: var(--primary);
}

.cart-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: white;
  display: flex;
}

.close-cart {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.close-cart:hover {
  background: #f0f0f0;
  color: #333;
}

.cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  max-height: calc(100vh - 200px);

}
  /* Hide scrollbar for Chrome, Safari and Opera */
.cart-content::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.cart-content {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.cart-item {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
  gap: 15px;
  transition: background 0.2s ease;
}

.cart-item:hover {
  background: #f8f9fa;
}

.cart-item:last-child {
  border-bottom: none;
}

.item-image {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.item-details {
  flex: 1;
  min-width: 0;
}

.item-details h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: #333;
  line-height: 1.3;
}

.item-size {
  font-size: 12px;
  color: #666;
  margin: 0 0 8px 0;
}

.item-price {
  font-size: 15px;
  font-weight: 600;
  color: #d35400;
  margin: 0;
}

.original-price {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-left: 8px;
}

.item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fa;
  border-radius: 20px;
  padding: 5px;
}

.quantity-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #333;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  background: #d35400;
  color: white;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-display {
  min-width: 25px;
  text-align: center;
  font-weight: 600;
  color: #333;
}

.remove-item {
  background: #ef4444;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 11px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.remove-item:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

.cart-footer {
  border-top: 1px solid #eee;
  background: #f8f9fa;
}

.cart-summary {
  padding: 20px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.cart-summary-row.total {
  border-top: 1px solid #ddd;
  padding-top: 10px;
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.cart-actions {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-actions .btn {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  border: none;
  font-size: 14px;
}

.btn {
  background: #d35400;
  color: white;
}

.btn:hover:not(:disabled) {
  background: #bf4f36;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #478f07;
  color: white;
}

.btn-secondary:hover:not(:disabled) {
  background: #478f07;
}

.btn-outline {
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
}

.btn-outline:hover:not(:disabled) {
  background: #f0f0f0;
  border-color: #ccc;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  text-align: center;
  color: #666;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #d35400;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .cart-overlay {
    width: 100vw;
    right: -100vw;
  }
  
  .cart-overlay.active {
    right: 0;
  }
}

/* Cart Badge Styles */
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  animation: bounce 0.3s ease;
  text-align: center;
  line-height: 25px;
}

.cart-count.show {
  display: flex;
}

@keyframes bounce {
  0%, 20%, 60%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  80% {
    transform: translateY(-5px);
  }
}
/* Hide scrollbar for Chrome, Safari and Opera */
.scrol::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrol {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
/* Navigation */
nav {
  background-color: var(--primary);
  padding: 15px 0;
  position: fixed; /* Changed from static to fixed */
  top: 80px; /* Added to position below the header */
  width: 100%; /* Added width */
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  color: white;
  font-weight: bold;
  padding: 8px 0;
  text-transform: capitalize;
  letter-spacing: 1px;
  font-size: 14px;
  position: relative;
}

.nav-list a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.nav-list a:hover:after {
  width: 100%;
}

/* Dropdown menu styles - Added */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.nav-list li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  display: block;
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: var(--dark); /* Added to ensure text is visible on white background */
  border-bottom: 1px solid #f1f1f1;
}

.dropdown-menu a:hover {
  background-color: #f8f8f8;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 85dvh;
  overflow: hidden;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
  padding-top: 120px;
}

.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.slide-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 0 100px;
  max-width: 700px;
}

.slide-subtitle {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary);
  letter-spacing: 2px;
}

.slide-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.slide-description {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: var(--primary);
  transform: scale(1.3);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 2;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background-color: var(--primary);
}

/* Categories Showcase */
.categories-showcase {
  padding: 80px 0;
}

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

.category-card {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.category-card:hover img {
  transform: scale(1.1);
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  transition: all 0.3s ease;
}

.category-card:hover .category-content {
  background: linear-gradient(to top, rgba(230, 126, 34, 0.9), transparent);
}

.category-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.category-count {
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 0.8;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: #f5f5f5;
}

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

.feature-card {
  background-color: white;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

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

.feature-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--secondary);
}

.feature-description {
  font-size: 14px;
  color: #777;
}

/* New Arrivals */
.new-arrivals {
  padding: 80px 0;
}

.products-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.product-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

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

.product-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
}

.product-tag {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 3px;
  font-weight: bold;
}

.tag-new {
  background-color: var(--primary);
  color: white;
}

.tag-sale {
  background-color: var(--accent);
  color: white;
}

.quick-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .quick-actions {
  opacity: 1;
}

.action-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.action-btn:hover {
  background-color: var(--primary);
  color: white;
}

.product-info {
  padding: 15px;
}

.product-category {
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
}

.product-title {
  font-size: 16px;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

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

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}

.discount {
  background-color: #620063;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
}

.add-to-cart {
  width: 100%;
  padding: 10px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: bold;
  font-size: 14px;
}

.add-to-cart:hover {
  background-color: #620063;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.view-all {
  font-weight: bold;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

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

/* Best Sellers */
.best-sellers {
  padding: 80px 0;
  background-color: #f5f5f5;
}

/* Sale Banner */
.sale-banner {
  padding: 80px 0;
  background-color: #2c3e50;
  color: white;
  text-align: center;
}

.banner-content {
  max-width: 800px;
  margin: 0 auto;
}

.banner-subtitle {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.banner-title {
  font-size: 48px;
  margin-bottom: 20px;
}

.banner-description {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--primary);
  padding: 15px;
  border-radius: 5px;
  min-width: 80px;
}

.countdown-number {
  font-size: 28px;
  font-weight: bold;
}

.countdown-label {
  font-size: 14px;
  opacity: 0.8;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slide {
  text-align: center;
  padding: 20px;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
}

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 5px solid #f1f1f1;
}

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

.testimonial-quote {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-quote:before,
.testimonial-quote:after {
  content: '"';
  font-size: 60px;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
}

.testimonial-quote:before {
  top: -30px;
  left: -20px;
}

.testimonial-quote:after {
  bottom: -60px;
  right: -20px;
}

.testimonial-author {
  font-weight: bold;
  font-size: 18px;
  color: var(--secondary);
}

.testimonial-role {
  font-size: 14px;
  color: #777;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background-color: var(--primary);
  transform: scale(1.3);
}

/* Newsletter */
.newsletter {
  padding: 80px 0;
  background-color: #f5f5f5;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-size: 30px;
  margin-bottom: 15px;
  color: var(--secondary);
}

.newsletter-description {
  margin-bottom: 30px;
  color: #777;
}

.newsletter-form {
  display: flex;
  height: 50px;
  max-width: 500px;
  margin: 0 auto;
  margin-top: 15px; /* Added for consistency with new footer styles */
}

.newsletter-input {
  flex: 1;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 16px;
}

.newsletter-btn {
  padding: 0 30px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-weight: bold;
}

/* Instagram Feed */
.instagram-feed {
  padding: 80px 0;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.instagram-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

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

.instagram-item:hover img {
  transform: scale(1.1);
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-icon {
  font-size: 24px;
}

/* Payment methods - Added */
.payment-methods {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center; /* Added to center the payment icons */
  flex-direction: column;
}

.payment-icon {
  width: 40px;
  height: 25px;
  background-color: #e1e1e1;
  border-radius: 4px;
}

/* Footer Styles */
footer {
  padding: 40px 0;
  border-top: 1px solid #e5e5e5;
  background-color: #fff;
}

.footer-container {
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-md-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
}

.col-md-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

strong {
  font-weight: 600;
}

.social-icons {
  display: flex;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 50%;
  color: #333;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: #f5f5f5;
}

.newsletter {
  margin-top: 20px;
}

.newsletter p {
  margin-bottom: 10px;
  font-weight: 500;
}

.newsletter input[type="email"] {
  width: 100%;
  padding: 10px;
  /* margin-bottom: 10px; */
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 14px;
}

.checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.checkbox input {
  margin-right: 8px;
}

.checkbox label {
  font-size: 13px;
  color: #666;
}

.subscribe-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #888;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
  background-color: #777;
}

.mt-5 {
  margin-top: 50px;
}

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.currency-selector select {
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 14px;
  color: #666;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 8px) center;
  padding-right: 25px;
  cursor: pointer;
}

/* Icon placeholders */
.phone-icon,
.email-icon,
.whatsapp-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  background-color: #666;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  vertical-align: middle;
}

.phone-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z'/%3E%3C/svg%3E");
}

.email-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555zM0 4.697v7.104l5.803-3.558L0 4.697zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757zm3.436-.586L16 11.801V4.697l-5.803 3.546z'/%3E%3C/svg%3E");
}

.whatsapp-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z'/%3E%3C/svg%3E");
}

/* Social media icons */
.instagram-icon,
.pinterest-icon,
.youtube-icon,
.facebook-icon,
.twitter-icon,
.tiktok-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #666;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.instagram-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z'/%3E%3C/svg%3E");
}

.pinterest-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 0 0-2.915 15.452c-.07-.633-.134-1.606.027-2.297.146-.625.938-3.977.938-3.977s-.239-.479-.239-1.187c0-1.113.645-1.943 1.448-1.943.682 0 1.012.512 1.012 1.127 0 .686-.437 1.712-.663 2.663-.188.796.4 1.446 1.185 1.446 1.422 0 2.515-1.5 2.515-3.664 0-1.915-1.377-3.254-3.342-3.254-2.276 0-3.612 1.707-3.612 3.471 0 .688.265 1.425.595 1.826a.24.24 0 0 1 .056.23c-.061.252-.196.796-.222.907-.035.146-.116.177-.268.107-1-.465-1.624-1.926-1.624-3.1 0-2.523 1.834-4.84 5.286-4.84 2.775 0 4.932 1.977 4.932 4.62 0 2.757-1.739 4.976-4.151 4.976-.811 0-1.573-.421-1.834-.919l-.498 1.902c-.181.695-.669 1.566-.995 2.097A8 8 0 1 0 8 0z'/%3E%3C/svg%3E");
}

.youtube-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.007 2.007 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.007 2.007 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31.4 31.4 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.007 2.007 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A99.788 99.788 0 0 1 7.858 2h.193zM6.4 5.209v4.818l4.157-2.408L6.4 5.209z'/%3E%3C/svg%3E");
}

.facebook-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z'/%3E%3C/svg%3E");
}

.twitter-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M5.026 15c6.038 0 9.341-5.003 9.341-9.334 0-.14 0-.282-.006-.422A6.685 6.685 0 0 0 16 3.542a6.658 6.658 0 0 1-1.889.518 3.301 3.301 0 0 0 1.447-1.817 6.533 6.533 0 0 1-2.087.793A3.286 3.286 0 0 0 7.875 6.03a9.325 9.325 0 0 1-6.767-3.429 3.289 3.289 0 0 0 1.018 4.382A3.323 3.323 0 0 1 .64 6.575v.045a3.288 3.288 0 0 0 2.632 3.218 3.203 3.203 0 0 1-.865.115 3.23 3.23 0 0 1-.614-.057 3.283 3.283 0 0 0 3.067 2.277A6.588 6.588 0 0 1 .78 13.58a6.32 6.32 0 0 1-.78-.045A9.344 9.344 0 0 0 5.026 15z'/%3E%3C/svg%3E");
}

.tiktok-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M9 0h1.98c.144.715.54 1.617 1.235 2.512C12.895 3.389 13.797 4 15 4v2c-1.753 0-3.07-.814-4-1.829V11a5 5 0 1 1-5-5v2a3 3 0 1 0 3 3V0Z'/%3E%3C/svg%3E");
}

/* Enhanced Responsive styling */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }

  .col-md-3,
  .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 30px;
  }

  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  footer {
    padding: 30px 0;
  }

  .mt-5 {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 540px;
  }

  .col-md-3,
  .col-md-4,
  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .copyright {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .currency-selector {
    margin-top: 15px;
  }

  .mt-5 {
    margin-top: 30px;
  }

  h4 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  footer {
    padding: 25px 0;
  }

  .social-icons {
    justify-content: center;
  }

  .social-icons a {
    margin: 0 5px 10px;
  }
}

@media (max-width: 575px) {
  .container {
    padding: 0 20px;
  }

  footer {
    padding: 20px 0;
  }

  .row {
    margin-right: 0;
    margin-left: 0;
  }

  .col-md-3,
  .col-md-4,
  .col-md-6 {
    padding: 0;
  }

  .social-icons {
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    margin-right: 0;
  }

  .newsletter input[type="email"] {
    padding: 8px;
  }

  .subscribe-btn {
    padding: 10px;
  }

  .copyright {
    margin-top: 30px;
    padding-top: 15px;
  }

  .mt-5 {
    margin-top: 25px;
  }
}

/* Add touch-friendly sizing for mobile */
@media (max-width: 480px) {
  .social-icons a {
    width: 40px;
    height: 40px;
  }

  .checkbox label {
    font-size: 12px;
  }

  .currency-selector select {
    padding: 8px;
    padding-right: 30px;
  }

  .subscribe-btn {
    padding: 12px;
    font-size: 15px;
  }
}
/* Responsive Styles */
@media (max-width: 1200px) {
  .products-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.main-header {
  flex-wrap: wrap;
}

.search-bar {
  /* order: 2; */
  max-width: 100%;
  margin: 15px 0 0;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 75dvh;
  }

  .slide-content {
    padding: 0 50px;
  }

  .slide-title {
    font-size: 36px;
  }

  .products-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-overlay {
    width: 100%;
    right: -100%;
  }
}

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

  .products-row {
    grid-template-columns: 1fr;
  }

  .slide-content {
    padding: 0 30px;
  }

  .slide-title {
    font-size: 28px;
  }

  .nav-list {
    gap: 10px;
  }
}
