/* ===== GENERAL STYLES ===== */
:root {
  /* Primary Colors */
  --primary-color: #9f7a49;
  --primary-light: #c4a77d;
  --primary-dark: #7a5c36;

  /* Secondary Colors */
  --secondary-color: #2c3e50;
  --secondary-light: #34495e;
  --secondary-dark: #1a2530;

  /* Accent Colors */
  --accent-color: #e74c3c;
  --accent-light: #f86f61;
  --accent-dark: #c0392b;

  /* Neutral Colors */
  --white: #ffffff;
  --off-white: #f9f9f9;
  --light-gray: #f0f0f0;
  --medium-gray: #cccccc;
  --dark-gray: #666666;
  --black: #222222;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));

  /* Typography */
  --heading-font: "Playfair Display", serif;
  --body-font: "Poppins", sans-serif;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;

  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--secondary-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--spacing-md);
}

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

a:hover {
  color: var(--primary-dark);
}

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

ul,
ol {
  list-style: none;
}

button,
.btn {
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

input,
select,
textarea {
  font-family: var(--body-font);
  font-size: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-medium);
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

/* Enhanced Button Styles */
.primary-btn,
.secondary-btn,
.outline-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.primary-btn::before,
.secondary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
  z-index: -1;
}

.primary-btn:hover::before,
.secondary-btn:hover::before {
  left: 100%;
}

.outline-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.outline-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-btn {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(159, 122, 73, 0.3);
}

.primary-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  box-shadow: 0 6px 15px rgba(159, 122, 73, 0.4);
  transform: translateY(-2px);
  color: var(--white);
}

.secondary-btn {
  background: var(--gradient-secondary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(44, 62, 80, 0.3);
}

.secondary-btn:hover {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
  box-shadow: 0 6px 15px rgba(44, 62, 80, 0.4);
  transform: translateY(-2px);
  color: var(--white);
}

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

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
}

header.scrolled {
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
}

.logo h1 {
  font-size: 1.75rem;
  margin-bottom: 0;
  font-weight: 700;
  color: var(--secondary-dark);
}

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

.main-nav ul {
  display: flex;
  gap: var(--spacing-lg);
}

.main-nav a {
  color: var(--secondary-dark);
  font-weight: 500;
  position: relative;
  padding: var(--spacing-xs) 0;
}

/* Enhanced Navigation Styles */
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.action-btn {
  position: relative;
  color: var(--secondary-dark);
  font-size: 1.25rem;
  transition: color var(--transition-fast);
}

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

.count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent-color);
  color: var(--white);
  font-size: 0.75rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--secondary-dark);
  margin: 5px 0;
  transition: all var(--transition-fast);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--white);
  z-index: 1100;
  box-shadow: var(--shadow-xl);
  transition: right var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--light-gray);
}

.close-menu {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary-dark);
  cursor: pointer;
}

.mobile-menu nav {
  flex: 1;
  padding: var(--spacing-lg);
  overflow-y: auto;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.mobile-menu a {
  display: block;
  padding: var(--spacing-sm) 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--secondary-dark);
  border-bottom: 1px solid var(--light-gray);
}

.mobile-menu a.active {
  color: var(--primary-color);
}

.menu-footer {
  padding: var(--spacing-lg);
  border-top: 1px solid var(--light-gray);
}

.menu-social {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
}

.menu-social a {
  color: var(--secondary-dark);
  font-size: 1.25rem;
}

.menu-social a:hover {
  color: var(--primary-color);
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-content {
  width: 90%;
  max-width: 600px;
  position: relative;
}

.close-search {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.search-content form {
  display: flex;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.search-content input {
  flex: 1;
  padding: var(--spacing-lg);
  border: none;
  outline: none;
  font-size: 1.1rem;
}

.search-content button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0 var(--spacing-lg);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

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

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  /* Enhanced Hero Slider Styles */
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), visibility 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.slide-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 600px;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  /* Enhanced Hero Slider Styles */
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.slide-content p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0;
  transform: translateY(30px);
  /* Enhanced Hero Slider Styles */
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.slide-content .btn {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s, background-color var(--transition-fast), box-shadow
    var(--transition-fast);
  /* Enhanced Hero Slider Styles */
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.slide.active .animate-item {
  opacity: 1;
  transform: translateY(0);
}

.slider-controls {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
}

.slider-prev,
.slider-next {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-prev:hover,
.slider-next:hover {
  background-color: var(--primary-color);
}

.slider-dots {
  display: flex;
  gap: var(--spacing-sm);
}

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

.dot.active {
  background-color: var(--white);
  transform: scale(1.2);
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--off-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  /* Enhanced Feature Item Styles */
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1), box-shadow 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.feature-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  /* Enhanced Feature Item Styles */
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.feature-item:hover .feature-icon {
  transform: rotate(10deg) scale(1.1);
}

.feature-content h3 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--secondary-dark);
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 0;
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
  padding: var(--spacing-xxl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--spacing-sm);
}

/* Enhanced Section Styles */
.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.section-header p {
  color: var(--dark-gray);
  max-width: 600px;
  margin: var(--spacing-sm) auto 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.category-card {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  /* Enhanced Category Card Styles */
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1), box-shadow 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-image {
  height: 250px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-lg);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  color: var(--white);
  text-align: center;
  /* Enhanced Category Card Styles */
  transition: background 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.category-card:hover .category-content {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
}

.category-content h3 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  padding: var(--spacing-xxl) 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.product-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  /* Enhanced Product Card Styles */
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1), box-shadow 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

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

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Enhanced Product Card Styles */
  transition: transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

.discount-badge {
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  background-color: var(--accent-color);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.new-badge {
  background-color: #4caf50;
  color: var(--white);
}

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

.bestseller-badge {
  background-color: #2196f3;
  color: var(--white);
}

.product-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background-color: rgba(255, 255, 255, 0.9);
  /* Enhanced Product Card Styles */
  transition: bottom 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.product-card:hover .product-actions {
  bottom: 0;
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--secondary-dark);
  border: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

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

.product-info {
  padding: var(--spacing-md);
}

.product-name {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

.product-name a {
  color: var(--secondary-dark);
  transition: color var(--transition-fast);
}

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

.product-price {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
}

.old-price {
  color: var(--dark-gray);
  text-decoration: line-through;
  font-size: 0.9rem;
}

.current-price {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.product-rating i {
  color: #ffc107;
  font-size: 0.9rem;
}

.rating-count {
  color: var(--dark-gray);
  font-size: 0.8rem;
}

.section-footer {
  text-align: center;
  margin-top: var(--spacing-xl);
}

/* ===== COLLECTION BANNER ===== */
.collection-banner {
  padding: var(--spacing-xxl) 0;
  background-image: url("../images/collection-bg.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.collection-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.banner-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.banner-content h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.banner-content p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
}

/* ===== PRODUCTS TABS ===== */
.products-tabs {
  margin-top: var(--spacing-xl);
}

.tab-triggers {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.tab-trigger {
  background: none;
  border: none;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary-dark);
  position: relative;
  cursor: pointer;
}

/* Enhanced Form Elements */
.tab-trigger::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.tab-trigger:hover::after,
.tab-trigger.active::after {
  width: 100%;
}

.tab-trigger.active {
  color: var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--off-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  /* Enhanced Testimonial Card Styles */
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1), box-shadow 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  margin-bottom: var(--spacing-md);
}

.testimonial-rating i {
  color: #ffc107;
  font-size: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--secondary-dark);
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-left: var(--spacing-md);
  border-left: 3px solid var(--primary-light);
  /* Enhanced Testimonial Card Styles */
  transition: border-left 0.3s ease;
}

.testimonial-card:hover .testimonial-text {
  border-left: 3px solid var(--primary-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1rem;
  margin-bottom: 0;
}

.testimonial-author p {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 0;
}

/* ===== INSTAGRAM SECTION ===== */
.instagram-section {
  padding: var(--spacing-xxl) 0;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--spacing-sm);
}

.instagram-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  /* Enhanced Instagram Item Styles */
  overflow: hidden;
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  /* Enhanced Instagram Item Styles */
  transition: opacity 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Enhanced Instagram Item Styles */
  transition: transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

.instagram-overlay i {
  color: var(--white);
  font-size: 2rem;
}

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

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--secondary-dark);
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
}

.newsletter-text {
  flex: 1;
}

.newsletter-text h2 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.newsletter-text p {
  color: var(--light-gray);
  margin-bottom: 0;
}

.newsletter-form {
  flex: 1;
  display: flex;
  gap: var(--spacing-sm);
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem var(--spacing-md);
  border: none;
  border-radius: var(--border-radius-md);
  outline: none;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--secondary-dark);
  color: var(--light-gray);
  padding-top: var(--spacing-xxl);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h2 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

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

.social-icons {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  /* Enhanced Footer Styles */
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
}

.footer-column h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-column a {
  color: var(--light-gray);
  /* Enhanced Footer Styles */
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  display: inline-block;
}

.footer-column a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.contact-info li {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.contact-info i {
  color: var(--primary-light);
  margin-top: 5px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg) 0;
}

.copyright p {
  margin-bottom: 0;
}

/* ===== BACK TO TOP BUTTON ===== */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 900;
  box-shadow: var(--shadow-md);
  /* Enhanced Back to Top Button */
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

#back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 10px 20px rgba(159, 122, 73, 0.3);
}

/* ===== ANIMATIONS ===== */
.animate-section {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-section.hidden {
  opacity: 0;
  transform: translateY(50px);
}

.animate-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-item.hidden {
  opacity: 0;
  transform: translateY(30px);
}

/* ===== SHOP PAGE STYLES ===== */
.page-header {
  background-color: var(--off-white);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  color: var(--dark-gray);
}

.breadcrumb a {
  color: var(--secondary-dark);
}

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

.shop-section {
  padding: var(--spacing-xxl) 0;
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--spacing-xl);
}

.shop-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.shop-filters {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-lg);
}

.shop-filters h3 {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--light-gray);
}

.filter-group {
  margin-bottom: var(--spacing-lg);
}

.filter-group h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--medium-gray);
  border-radius: var(--border-radius-sm);
  position: relative;
}

.checkbox-label input {
  display: none;
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 1px;
}

.price-slider {
  margin-top: var(--spacing-md);
}

#price-range {
  width: 100%;
  margin-bottom: var(--spacing-sm);
}

#price-output {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.filter-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.promo-banner {
  background: var(--gradient-primary);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  color: var(--white);
  text-align: center;
}

.promo-banner h3 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.promo-banner p {
  margin-bottom: var(--spacing-md);
}

.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.shop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.product-count {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.view-options {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.sort-by {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.sort-by label {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.sort-by select {
  padding: 0.5rem var(--spacing-md);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  outline: none;
}

.view-switcher {
  display: flex;
  gap: var(--spacing-xs);
}

.view-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-button.active,
.view-button:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.shop-search {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.shop-search input {
  width: 100%;
  padding: 0.75rem var(--spacing-md);
  padding-right: 40px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-md);
  outline: none;
}

.shop-search button {
  position: absolute;
  top: 50%;
  right: var(--spacing-sm);
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--dark-gray);
  cursor: pointer;
}

.filter-toggle {
  display: none;
  align-items: center;
  gap: var(--spacing-sm);
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.5rem var(--spacing-md);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
}

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

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

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

.shop-footer {
  margin-top: var(--spacing-xl);
  text-align: center;
}

.load-more-btn {
  padding: 0.75rem 2rem;
}

/* ===== PRODUCT DETAIL STYLES ===== */
.product-detail-section {
  padding: var(--spacing-xxl) 0;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xxl);
}

.product-gallery {
  position: relative;
}

.main-image {
  width: 100%;
  height: 500px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

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

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-sm);
}
.thumb-item {
  height: 100px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.thumb-item.active {
  border-color: var(--primary-color);
}

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

.product-info-container {
  padding: var(--spacing-md) 0;
}

.product-info-container h1 {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.product-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  color: var(--dark-gray);
  font-size: 0.9rem;
}

.product-meta a {
  color: var(--dark-gray);
}

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

.product-price-detail {
  margin-bottom: var(--spacing-lg);
}

.product-price-detail .old-price {
  font-size: 1.1rem;
}

.product-price-detail .current-price {
  font-size: 1.5rem;
}

.product-rating-detail {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.product-rating-detail .stars {
  display: flex;
  gap: 2px;
}

.product-rating-detail .stars i {
  color: #ffc107;
}

.product-rating-detail .review-link {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

.product-description {
  margin-bottom: var(--spacing-lg);
  color: var(--dark-gray);
}

.product-variations {
  margin-bottom: var(--spacing-lg);
}

.variation-group {
  margin-bottom: var(--spacing-md);
}

.variation-group h4 {
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.variation-options {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.color-option.active {
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.size-option {
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.size-option.active, .size-option:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.product-actions-detail {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  background-color: var(--light-gray);
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.quantity-input {
  width: 60px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 1rem;
}

.add-to-cart-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

.product-meta-detail {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--light-gray);
}

.meta-item {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  font-size: 0.9rem;
}

.meta-label {
  font-weight: 600;
  color: var(--secondary-dark);
}

.meta-value {
  color: var(--dark-gray);
}

.meta-value a {
  color: var(--dark-gray);
}

.meta-value a:hover {
  color: var(--primary-color);
}

.product-share {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.product-share span {
  font-weight: 600;
  color: var(--secondary-dark);
}

.share-icons {
  display: flex;
  gap: var(--spacing-sm);
}

.share-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-dark);
  transition: all var(--transition-fast);
}

.share-icons a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

/* ===== PRODUCT TABS ===== */
.product-tabs {
  margin-bottom: var(--spacing-xxl);
}

.product-tabs .tab-triggers {
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.product-tabs .tab-content {
  padding: var(--spacing-lg) 0;
}

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

.product-description-content p {
  margin-bottom: var(--spacing-md);
}

.product-description-content ul {
  list-style: disc;
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.product-description-content li {
  margin-bottom: var(--spacing-xs);
}

.additional-info-table {
  width: 100%;
  border-collapse: collapse;
}

.additional-info-table th,
.additional-info-table td {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--light-gray);
  text-align: left;
}

.additional-info-table th {
  font-weight: 600;
  color: var(--secondary-dark);
  width: 30%;
}

.additional-info-table td {
  color: var(--dark-gray);
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  padding: var(--spacing-xl) 0;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.reviews-summary {
  display: flex;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.reviews-average {
  text-align: center;
}

.reviews-average .rating {
  font-size: 3rem;
  font-weight: 600;
  color: var(--secondary-dark);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.reviews-average .stars {
  margin-bottom: var(--spacing-xs);
}

.reviews-average .count {
  position: static;
  background: none;
  color: var(--dark-gray);
  font-size: 0.9rem;
  width: auto;
  height: auto;
}

.reviews-breakdown {
  flex: 1;
}

.review-bar {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xs);
}

.review-bar-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  width: 80px;
}

.review-bar-track {
  flex: 1;
  height: 8px;
  background-color: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
}

.review-bar-fill {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
}

.review-bar-count {
  width: 40px;
  text-align: right;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.reviews-list {
  margin-bottom: var(--spacing-xl);
}

.review-item {
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--light-gray);
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.review-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.review-author-info h4 {
  margin-bottom: 0;
}

.review-date {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.review-rating {
  margin-bottom: var(--spacing-sm);
}

.review-title {
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.review-content {
  margin-bottom: var(--spacing-md);
}

.review-photos {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.review-photo {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-actions {
  display: flex;
  gap: var(--spacing-md);
}

.review-action {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--dark-gray);
  font-size: 0.9rem;
  cursor: pointer;
}

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

.write-review-form {
  background-color: var(--off-white);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.rating-input {
  display: flex;
  flex-direction: row-reverse;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.rating-input input {
  display: none;
}

.rating-input label {
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--medium-gray);
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
  color: #ffc107;
}

.review-photos-upload {
  margin-bottom: var(--spacing-md);
}

.photos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.photo-preview {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-photo {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
}

/* ===== CART STYLES ===== */
.cart-section {
  padding: var(--spacing-xxl) 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.cart-title {
  font-size: 1.5rem;
}

.cart-actions {
  display: flex;
  gap: var(--spacing-md);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-xl);
}

.cart-table th {
  text-align: left;
  padding: var(--spacing-md);
  background-color: var(--light-gray);
  font-weight: 600;
}

.cart-table td {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--light-gray);
  vertical-align: middle;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.cart-product-image {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

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

.cart-product-info h3 {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
}

.cart-product-info p {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 0;
}

.cart-product-price {
  font-weight: 600;
  color: var(--primary-color);
}

.cart-quantity {
  width: 120px;
}

.cart-total {
  font-weight: 600;
  color: var(--primary-color);
}

.cart-remove {
  color: var(--dark-gray);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.cart-remove:hover {
  color: var(--accent-color);
}

.cart-summary {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--spacing-xl);
  align-items: start;
}

.cart-coupon {
  display: flex;
  gap: var(--spacing-sm);
}

.cart-coupon input {
  flex: 1;
  padding: 0.75rem var(--spacing-md);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-md);
  outline: none;
}

.cart-totals {
  background-color: var(--off-white);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
}

.cart-totals h3 {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--light-gray);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--light-gray);
}

.cart-total-row.final {
  font-weight: 600;
  color: var(--secondary-dark);
  border-bottom: none;
  margin-bottom: var(--spacing-lg);
}

.cart-checkout-btn {
  width: 100%;
}

.cart-continue-shopping {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--secondary-dark);
  margin-top: var(--spacing-md);
}

.cart-continue-shopping:hover {
  color: var(--primary-color);
}

.cart-empty {
  text-align: center;
  padding: var(--spacing-xxl) 0;
}

.cart-empty i {
  font-size: 4rem;
  color: var(--medium-gray);
  margin-bottom: var(--spacing-lg);
}

.cart-empty h2 {
  margin-bottom: var(--spacing-md);
}

.cart-empty p {
  margin-bottom: var(--spacing-lg);
  color: var(--dark-gray);
}

/* ===== CHECKOUT STYLES ===== */
.checkout-section {
  padding: var(--spacing-xxl) 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--spacing-xl);
}

.checkout-form-container {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
}

.checkout-form-container h2 {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--light-gray);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem var(--spacing-md);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-md);
  outline: none;
  transition: border-color var(--transition-fast);
}

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

.radio-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
  margin-bottom: var(--spacing-sm);
}

.radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--medium-gray);
  border-radius: 50%;
  position: relative;
}

.radio-label input {
  display: none;
}

.radio-label input:checked + .radio-custom::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.order-summary {
  background-color: var(--off-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.order-summary h2 {
  background-color: var(--secondary-dark);
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-lg);
  margin-bottom: 0;
}

.order-summary-content {
  padding: var(--spacing-lg);
}

.order-products {
  margin-bottom: var(--spacing-lg);
}

.order-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--light-gray);
  font-weight: 600;
  color: var(--secondary-dark);
}

.order-item {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--light-gray);
}

.order-item-name {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.order-item-quantity {
  color: var(--dark-gray);
}

.order-totals {
  margin-bottom: var(--spacing-lg);
}

.order-subtotal,
.order-shipping,
.order-tax,
.order-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--light-gray);
}

.order-total {
  font-weight: 600;
  color: var(--secondary-dark);
  border-bottom: none;
  margin-bottom: var(--spacing-lg);
}

.payment-methods {
  margin-bottom: var(--spacing-lg);
}

.payment-methods h3 {
  margin-bottom: var(--spacing-md);
}

.payment-method {
  margin-bottom: var(--spacing-md);
}

.payment-method-description {
  padding-left: 30px;
  margin-top: var(--spacing-xs);
}

.payment-method-description p {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: var(--spacing-sm);
}

.payment-logo {
  height: 30px;
  width: auto;
}

.checkout-actions {
  margin-top: var(--spacing-lg);
}

.checkout-actions button {
  width: 100%;
}

/* ===== RECEIPT MODAL ===== */
.receipt-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.receipt-modal.active {
  opacity: 1;
  visibility: visible;
}

.receipt-modal .modal-content {
  width: 90%;
  max-width: 600px;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.receipt-content {
  padding: var(--spacing-xl);
}

.receipt-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--light-gray);
}

.receipt-logo {
  margin-bottom: var(--spacing-md);
}

.receipt-logo h2 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.receipt-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.receipt-number {
  color: var(--dark-gray);
}

.receipt-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.receipt-info-group h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
}

.receipt-info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-xs);
}

.receipt-info-label {
  color: var(--dark-gray);
}

.receipt-items {
  margin-bottom: var(--spacing-lg);
}

.receipt-items-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr;
  gap: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--light-gray);
  font-weight: 600;
}

.receipt-item {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--light-gray);
}

.receipt-item-name {
  font-weight: 500;
}

.receipt-item-price,
.receipt-item-quantity,
.receipt-item-total {
  text-align: right;
}

.receipt-totals {
  margin-left: auto;
  width: 50%;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-xs);
  padding-bottom: var(--spacing-xs);
  border-bottom: 1px solid var(--light-gray);
}

.receipt-total-row.final {
  font-weight: 600;
  color: var(--secondary-dark);
  border-bottom: none;
  margin-bottom: var(--spacing-lg);
}

.receipt-footer {
  text-align: center;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--light-gray);
}

.receipt-footer p {
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
}

.receipt-actions {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-xl);
  background-color: var(--light-gray);
}

/* ===== QUICK VIEW MODAL ===== */
.quick-view-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.quick-view-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 90%;
  max-width: 900px;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.close-modal {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary-dark);
  cursor: pointer;
  z-index: 10;
}

.product-quick-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
}

.product-details h2 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.product-description {
  margin-bottom: var(--spacing-lg);
  color: var(--dark-gray);
}

.product-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  background-color: var(--light-gray);
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.quantity-input {
  width: 50px;
  height: 36px;
  border: none;
  text-align: center;
  font-size: 1rem;
}

.product-meta {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--light-gray);
}

.product-meta p {
  margin-bottom: var(--spacing-sm);
  font-size: 0.9rem;
}

/* ===== NOTIFICATION ===== */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-medium);
  z-index: 1400;
  /* Enhanced Notification */
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
  animation: notificationEntrance 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.notification.success {
  border-left: 4px solid #4caf50;
}

.notification.error {
  border-left: 4px solid #f44336;
}

.notification.info {
  border-left: 4px solid #2196f3;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  .features-grid,
  .categories-grid,
  .products-grid,
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

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

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

  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding: var(--spacing-lg);
    overflow-y: auto;
  }

  .shop-sidebar.active {
    display: block;
  }

  .shop-filters {
    max-width: 400px;
    margin: 0 auto;
  }

  .filter-toggle {
    display: flex;
  }

  .product-quick-view {
    grid-template-columns: 1fr;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    margin-top: var(--spacing-xl);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-slider {
    height: 500px;
  }

  .slide-content h2 {
    font-size: 2.25rem;
  }

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

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

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
  }

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

  .cart-table {
    display: block;
    overflow-x: auto;
  }

  .cart-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .header-inner {
    padding: var(--spacing-sm) 0;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .header-actions {
    gap: var(--spacing-sm);
  }

  .action-btn {
    font-size: 1.1rem;
  }

  .hero-slider {
    height: 400px;
  }

  .slide-content {
    max-width: 100%;
  }

  .slide-content h2 {
    font-size: 1.75rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .categories-grid,
  .products-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .products-grid.grid-4,
  .products-grid.grid-3,
  .products-grid.grid-2 {
    grid-template-columns: 1fr;
  }

  .shop-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .view-options {
    width: 100%;
    justify-content: space-between;
  }

  .shop-search {
    width: 100%;
    max-width: none;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
    margin-bottom: var(--spacing-sm);
  }

  .receipt-info {
    grid-template-columns: 1fr;
  }

  .receipt-items-header,
  .receipt-item {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .receipt-items-header div:nth-child(3),
  .receipt-item div:nth-child(3) {
    display: none;
  }

  .receipt-totals {
    width: 100%;
  }
}

/* ===== ANIMATIONS AND TRANSITIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes notificationEntrance {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

.slide-down {
  animation: slideDown 0.8s ease forwards;
}

.slide-left {
  animation: slideLeft 0.8s ease forwards;
}

.slide-right {
  animation: slideRight 0.8s ease forwards;
}

.pulse {
  animation: pulse 2s infinite;
}

/* Animation delays */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

/* Product Detail Page Styles */

/* Breadcrumb */
.breadcrumb-section {
  padding: var(--spacing-md) 0;
  background-color: var(--light-gray);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--secondary-dark);
  transition: color var(--transition-fast);
}

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

.breadcrumb span:not(:last-child) {
  color: var(--dark-gray);
}

/* Product Detail Section */
.product-detail-section {
  padding: var(--spacing-xl) 0;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

/* Product Gallery */
.product-gallery {
  position: relative;
}

.main-image {
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.main-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-sm);
}

.gallery-thumbnail {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.gallery-thumbnail.active {
  border-color: var(--primary-color);
}

.gallery-thumbnail:hover {
  opacity: 0.8;
}

.gallery-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Product Info */
.product-info h1 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  color: var(--secondary-dark);
}

.product-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.product-rating i {
  color: #ffc107;
}

.product-sku,
.product-availability {
  color: var(--dark-gray);
}

.in-stock {
  color: #4caf50;
}

.out-of-stock {
  color: #f44336;
}

.product-price {
  margin-bottom: var(--spacing-md);
}

.product-price .current-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.product-price .old-price {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--dark-gray);
  margin-right: var(--spacing-sm);
}

.product-description {
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

/* Product Variations */
.product-variations {
  margin-bottom: var(--spacing-lg);
}

.variation-colors,
.variation-sizes {
  margin-bottom: var(--spacing-md);
}

.variation-colors h4,
.variation-sizes h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
}

.color-options {
  display: flex;
  gap: var(--spacing-sm);
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.color-option.active {
  border-color: var(--primary-color);
}

.color-option.active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.size-option {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.9rem;
}

.size-option.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.size-option:hover:not(.active) {
  border-color: var(--primary-color);
}

/* Product Actions */
.product-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  background-color: var(--light-gray);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quantity-btn:hover {
  background-color: var(--medium-gray);
}

.quantity-input {
  width: 60px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 1rem;
  -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-actions .btn {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.wishlist-btn i {
  transition: all var(--transition-fast);
}

.wishlist-btn:hover i {
  color: var(--accent-color);
}

/* Product Share */
.product-share {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  color: var(--dark-gray);
}

.product-share .social-icons {
  display: flex;
  gap: var(--spacing-sm);
}

.product-share .social-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-dark);
  transition: all var(--transition-fast);
}

.product-share .social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

/* Product Categories and Tags */
.product-categories,
.product-tags {
  margin-bottom: var(--spacing-sm);
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.product-categories a,
.product-tags a {
  color: var(--secondary-dark);
  transition: color var(--transition-fast);
}

.product-categories a:hover,
.product-tags a:hover {
  color: var(--primary-color);
}

/* Product Tabs */
.product-tabs {
  margin-bottom: var(--spacing-xxl);
}

.tabs-container {
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.tab-triggers {
  display: flex;
  background-color: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
}

.tab-trigger {
  padding: var(--spacing-md) var(--spacing-lg);
  background: none;
  border: none;
  border-right: 1px solid var(--light-gray);
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-trigger:last-child {
  border-right: none;
}

.tab-trigger.active {
  background-color: var(--white);
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.tab-content {
  display: none;
  padding: var(--spacing-lg);
}

.tab-content.active {
  display: block;
}

/* Additional Info Tab */
.additional-info-table {
  width: 100%;
  border-collapse: collapse;
}

.additional-info-table th,
.additional-info-table td {
  padding: var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.additional-info-table th {
  width: 30%;
  font-weight: 600;
  color: var(--secondary-dark);
}

.additional-info-table tr:last-child th,
.additional-info-table tr:last-child td {
  border-bottom: none;
}

/* Reviews Tab */
.reviews-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.reviews-summary {
  display: flex;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--light-gray);
}

.reviews-average {
  text-align: center;
  min-width: 150px;
}

.reviews-average .rating {
  font-size: 3rem;
  font-weight: 600;
  color: var(--secondary-dark);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.reviews-average .stars {
  margin-bottom: var(--spacing-xs);
}

.reviews-average .count {
  position: static;
  background: none;
  color: var(--dark-gray);
  font-size: 0.9rem;
  width: auto;
  height: auto;
}

.reviews-breakdown {
  flex: 1;
}

.review-bar {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xs);
}

.review-bar-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  width: 80px;
}

.review-bar-label i {
  color: #ffc107;
}

.review-bar-track {
  flex: 1;
  height: 8px;
  background-color: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
}

.review-bar-fill {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
}

.review-bar-count {
  width: 40px;
  text-align: right;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.review-item {
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--light-gray);
}

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

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.review-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.review-author-info h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.review-date {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.review-rating {
  margin-bottom: var(--spacing-sm);
}

.review-title {
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.review-content {
  margin-bottom: var(--spacing-md);
}

.review-photos {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.review-photo {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-actions {
  display: flex;
  gap: var(--spacing-md);
}

.review-action {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--dark-gray);
  font-size: 0.9rem;
  cursor: pointer;
}

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

.no-reviews {
  text-align: center;
  padding: var(--spacing-lg) 0;
  color: var(--dark-gray);
}

.write-review {
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--light-gray);
}

.write-review h3 {
  margin-bottom: var(--spacing-lg);
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-group label {
  font-weight: 500;
}

.form-control {
  padding: 0.75rem var(--spacing-md);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.rating-input {
  display: flex;
  flex-direction: row-reverse;
  gap: var(--spacing-xs);
}

.rating-input input {
  display: none;
}

.rating-input label {
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--medium-gray);
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
  color: #ffc107;
}

.review-photos-upload {
  margin-top: var(--spacing-xs);
}

.photos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.photo-preview {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-photo {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  border: none;
}

/* Related Products Section */
.related-products-section,
.recently-viewed-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--off-white);
}

.related-products-section .section-header,
.recently-viewed-section .section-header {
  margin-bottom: var(--spacing-lg);
}

/* Error Message */
.error-message {
  text-align: center;
  padding: var(--spacing-xxl) 0;
}

.error-message i {
  font-size: 4rem;
  color: var(--accent-color);
  margin-bottom: var(--spacing-lg);
}

.error-message h2 {
  margin-bottom: var(--spacing-md);
}

.error-message p {
  margin-bottom: var(--spacing-lg);
  color: var(--dark-gray);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .reviews-summary {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .reviews-average {
    min-width: auto;
  }
}

@media (max-width: 767px) {
  .product-info h1 {
    font-size: 1.75rem;
  }

  .product-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }

  .product-actions {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .quantity-selector {
    width: 100%;
  }

  .product-actions .btn {
    width: 100%;
  }

  .tab-triggers {
    flex-direction: column;
  }

  .tab-trigger {
    border-right: none;
    border-bottom: 1px solid var(--light-gray);
  }

  .tab-trigger:last-child {
    border-bottom: none;
  }
}

@media (max-width: 575px) {
  .gallery-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-price .current-price {
    font-size: 1.25rem;
  }

  .product-price .old-price {
    font-size: 1rem;
  }

  .review-header {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}
/* ===== MOBILE PRODUCT IMAGE HOVER FIX ===== */

/* This section specifically targets mobile devices to remove the white hover effect on product images */

/* Target touch devices using the hover media query */
@media (hover: none) {
  /* Remove hover effects on product images for touch devices */
  .product-card:hover .product-image img {
    transform: none !important; /* Prevent image zoom/rotation on touch devices */
  }

  /* Ensure product actions are always visible without hover */
  .product-actions {
    bottom: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
  }

  /* Remove any white overlay or background that might appear on hover */
  .product-card:hover .product-image::before,
  .product-card:hover .product-image::after,
  .product-image::before,
  .product-image::after {
    opacity: 0 !important;
    background-color: transparent !important;
  }

  /* Prevent any transform effects on the product card itself */
  .product-card:hover {
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
  }

  /* Ensure any overlay content is visible without hover */
  .product-card .product-overlay,
  .product-card:hover .product-overlay {
    opacity: 0 !important; /* Hide overlays completely on mobile */
  }

  /* Fix for category cards as well, which might have similar hover effects */
  .category-card:hover .category-image img {
    transform: none !important;
  }

  .category-card:hover {
    transform: none !important;
  }

  /* Ensure quick view and other hover-triggered elements are accessible via tap */
  .product-actions .action-btn {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Mobile-specific fixes for product detail and cart pages */
  .cart-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
  }

  .cart-table table {
    width: 100%;
    min-width: 600px; /* Minimum width to ensure readability */
  }

  .cart-product {
    display: flex;
    align-items: center;
    max-width: 100%;
  }

  .cart-product-image {
    width: 80px;
    min-width: 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-right: var(--spacing-md);
  }

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

  .cart-product-info {
    flex: 1;
    min-width: 0; /* Allow text to truncate */
  }

  .cart-product-name {
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .cart-product-meta {
    font-size: 0.85rem;
    color: var(--dark-gray);
  }

  /* Quantity selector in cart */
  .cart-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cart-quantity .quantity-selector {
    width: 120px;
  }

  /* Cart summary section */
  .cart-summary {
    width: 100%;
    max-width: 100%;
  }
}

/* Additional specific fixes for small screens */
@media (max-width: 767px) {
  /* Ensure product images display properly */
  .product-image {
    position: relative;
    overflow: hidden;
    background-color: transparent; /* Remove any background color */
  }

  /* Make product actions more touch-friendly */
  .product-actions .action-btn {
    width: 40px !important;
    height: 40px !important;
    margin: 0 5px !important;
  }

  /* Ensure product cards have consistent appearance */
  .product-card {
    margin-bottom: 15px !important;
    transition: none !important; /* Disable transitions on mobile */
  }

  /* Fix for product image in product detail page */
  .main-image img {
    transition: none !important;
  }

  .gallery-thumbnail:hover {
    opacity: 1 !important;
  }

  /* Fix for any white flash effect that might occur on tap */
  .product-card:active,
  .product-image:active,
  .product-card:focus,
  .product-image:focus {
    background-color: transparent !important;
  }

  /* Ensure consistent product card appearance in grid views */
  .products-grid .product-card {
    box-shadow: var(--shadow-sm) !important;
  }

  /* Better form controls on mobile */
  .form-control, 
  .btn,
  .quantity-selector,
  .quantity-btn,
  .quantity-input {
    font-size: 16px; /* Prevent iOS zoom on focus */
  }
  
  /* Improve quantity selector */
  .quantity-selector {
    max-width: 100%;
  }
  
  .quantity-btn {
    width: 36px;
    height: 36px;
  }
  
  .quantity-input {
    width: 50px;
  }
  
  /* Better spacing for forms */
  .form-group {
    margin-bottom: var(--spacing-md);
  }
  
  /* Improve table readability */
  table th, 
  table td {
    padding: var(--spacing-sm);
  }
}

/* Ultra-specific fix for the white hover effect */
@media (max-width: 991px) {
  /* Target the specific hover effect that causes the white overlay */
  .product-image::after,
  .product-card:hover .product-image::after,
  .product-image::before,
  .product-card:hover .product-image::before {
    content: none !important; /* Remove any pseudo-elements that might create overlays */
    display: none !important;
    opacity: 0 !important;
    background: transparent !important;
  }

  /* Ensure product images maintain their original appearance */
  .product-image img {
    opacity: 1 !important;
    filter: none !important;
  }

  /* Fix for any animation or transition that might cause flickering */
  .product-card,
  .product-image,
  .product-image img,
  .product-actions {
    animation: none !important;
    transition: none !important;
  }
}

/* Fix for Instagram section which might have similar hover effects */
@media (hover: none) {
  .instagram-item:hover img {
    transform: none !important;
  }

  .instagram-overlay {
    opacity: 0.7 !important; /* Make overlay visible by default on touch devices */
  }
}

/* Ensure consistent appearance across all product displays */
@media (hover: none), (max-width: 991px) {
  /* Remove any hover-based style changes */
  .product-card:hover,
  .category-card:hover,
  .feature-item:hover,
  .testimonial-card:hover {
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
  }

  /* Ensure icons don't change on hover */
  .feature-item:hover .feature-icon {
    transform: none !important;
  }

  /* Fix for any white background or flash effect on tap */
  .product-card:active,
  .product-card:focus,
  .product-image:active,
  .product-image:focus {
    background-color: transparent !important;
  }

  /* Ensure product actions are always accessible */
  .product-actions {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    gap: var(--spacing-sm) !important;
    padding: var(--spacing-sm) !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Enhanced fixed action buttons for mobile */
@media (max-width: 575px) {
  .action-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: var(--spacing-md);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: flex;
    flex-direction: row;
    gap: var(--spacing-sm);
    transition: transform 0.3s ease;
  }
  
  /* Add animation for when buttons appear */
  .action-buttons.visible {
    transform: translateY(0);
  }
  
  .action-buttons.hidden {
    transform: translateY(100%);
  }
  
  /* Adjust button sizes for mobile */
  .product-actions .btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    height: auto;
    min-height: 44px; /* Better touch target */
  }
  
  /* Make the add to cart button larger */
  #add-to-cart-btn {
    flex: 2;
  }
  
  /* Make buy now and wishlist buttons smaller */
  #buy-now-btn,
  #wishlist-btn {
    flex: 1;
  }
  
  /* Add extra padding to the bottom of the page to account for fixed buttons */
  .product-tabs {
    margin-bottom: calc(var(--spacing-xxl) + 80px);
  }
  
  /* Ensure product info has enough space */
  .product-info {
    padding-bottom: var(--spacing-xl);
  }
  
  /* Improve tab content readability */
  .tab-content {
    padding: var(--spacing-md);
  }
}

/* For very small screens */
@media (max-width: 375px) {
  .action-buttons {
    flex-direction: column;
    padding: var(--spacing-sm);
  }
  
  .product-actions .btn {
    width: 100%;
    margin-bottom: var(--spacing-xs);
  }
  
  /* Add even more padding to the bottom of the page */
  .product-tabs {
    margin-bottom: calc(var(--spacing-xxl) + 150px);
  }
  
  /* Smaller thumbnails */
  .gallery-thumbnails {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }
  
  /* Adjust product meta spacing */
  .product-meta-bottom > div {
    margin-bottom: var(--spacing-md);
  }
}

/* Optimize touch targets */
@media (hover: none) {
  .btn,
  .tab-trigger,
  .quantity-btn,
  .action-btn,
  .gallery-thumbnail,
  .color-option,
  .size-option {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Add active state for touch */
  .btn:active,
  .tab-trigger:active,
  .action-btn:active {
    transform: scale(0.98);
  }
}

/* ===== ENHANCED RESPONSIVE STYLES ===== */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Desktops and Laptops (992px to 1199px) */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }

  /* Header */
  .header-inner {
    padding: var(--spacing-sm) 0;
  }

  /* Hero Slider */
  .hero-slider {
    height: 550px;
  }

  .slide-content h2 {
    font-size: 2.5rem;
  }

  /* Features Section */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  /* Categories Section */
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }

  /* Products Section */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }

  /* Testimonials Section */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }

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

  /* Footer */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  /* Product Detail Page */
  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }

  /* Checkout Page */
  .checkout-content {
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
  }
}

/* Tablets and Small Laptops (768px to 991px) */
@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }

  /* Header */
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    transition: all 0.3s ease;
  }

  /* Hero Slider */
  .hero-slider {
    height: 500px;
  }

  .slide-content h2 {
    font-size: 2.25rem;
  }

  .slide-content p {
    font-size: 1.1rem;
  }

  /* Features Section */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Categories Section */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Products Section */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials Section */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* Newsletter Section */
  .newsletter-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-lg);
  }

  /* Shop Page */
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding: var(--spacing-lg);
    overflow-y: auto;
    transition: left var(--transition-medium);
  }

  .shop-sidebar.active {
    left: 0;
  }

  .shop-filters {
    max-width: 400px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--box-shadow);
  }

  .filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
  }

  /* Product Quick View */
  .product-quick-view {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  /* Product Detail Page */
  .product-detail {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .product-gallery {
    max-width: 600px;
    margin: 0 auto;
  }

  /* Checkout Page */
  .checkout-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .checkout-sidebar {
    order: -1;
    margin-bottom: var(--spacing-lg);
  }

  /* About Page */
  .about-intro {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .about-intro-image {
    max-width: 100%;
  }

  /* Contact Page */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  /* Store Locations */
  .stores-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

/* Tablets and Large Phones (576px to 767px) */
@media (max-width: 767px) {
  .container {
    max-width: 540px;
    padding: 0 var(--spacing-md);
  }

  /* Typography */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Header */
  .logo h1 {
    font-size: 1.5rem;
  }

  .header-actions {
    gap: var(--spacing-sm);
  }

  .action-btn {
    font-size: 1.1rem;
  }

  /* Hero Slider */
  .hero-slider {
    height: 450px;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  /* Features Section */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  /* Categories Section */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  /* Products Section */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  /* Testimonials Section */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

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

  /* Footer */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }

  /* Shop Page */
  .shop-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .shop-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
    width: 100%;
  }

  .view-options {
    width: 100%;
    justify-content: space-between;
  }

  .shop-search {
    width: 100%;
    max-width: none;
  }

  /* Product List View */
  .product-list-item {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .product-list-image {
    max-width: 100%;
  }

  /* Product Detail Page */
  .product-detail {
    grid-template-columns: 1fr;
  }

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

  .product-actions {
    flex-wrap: wrap;
  }

  .quantity-selector {
    width: 100%;
    margin-bottom: var(--spacing-sm);
  }

  .tab-triggers {
    flex-wrap: wrap;
  }

  /* Checkout Page */
  .checkout-progress {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .progress-step {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .form-group {
    width: 100%;
  }

  /* About Page */
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline-item::before {
    left: -30px;
  }

  /* Contact Page */
  .contact-info-list {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .map-container {
    height: 300px;
  }
}

/* Small Phones (575px and down) */
@media (max-width: 575px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  /* Typography */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  /* Header - Enhanced Mobile Header */
  .header-inner {
    padding: var(--spacing-xs) 0;
  }

  .logo h1 {
    font-size: 1.25rem;
  }

  .header-actions {
    gap: var(--spacing-xs);
  }

  .action-btn {
    font-size: 1rem;
  }

  /* Hide less important header actions on very small screens */
  .header-actions .search-toggle,
  .header-actions .user-btn {
    display: none;
  }

  /* Mobile Menu - Enhanced */
  .mobile-menu {
    width: 85%;
  }

  .mobile-menu nav {
    padding: var(--spacing-md);
  }

  .mobile-menu a {
    padding: var(--spacing-md) 0;
    font-size: 1rem;
  }

  /* Hero Slider - Enhanced Mobile View */
  .hero-slider {
    height: 400px;
  }

  .slide-content {
    padding: 0 var(--spacing-md);
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }

  .slide-content h2 {
    font-size: 1.75rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .slider-controls {
    bottom: var(--spacing-md);
  }

  .slider-prev,
  .slider-next {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  /* Section Headers */
  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  /* Features Section - Enhanced Mobile Grid */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }

  .feature-item {
    padding: var(--spacing-sm);
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin-bottom: var(--spacing-sm);
  }

  /* Categories Section - Enhanced Mobile Grid */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }

  .category-image {
    height: 180px;
  }

  .category-content h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
  }

  /* Products Section - Enhanced Mobile Grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }

  .product-image {
    height: 180px;
  }

  .product-info {
    padding: var(--spacing-sm);
  }

  .product-name {
    font-size: 0.9rem;
  }

  .product-price {
    font-size: 0.9rem;
  }

  .current-price {
    font-size: 1rem;
  }

  .old-price {
    font-size: 0.8rem;
  }

  /* Testimonials Section - Enhanced Mobile Grid */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .testimonial-card {
    padding: var(--spacing-md);
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  /* Instagram Section - Enhanced Mobile Grid */
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xs);
  }

  /* Newsletter Form - Enhanced Mobile View */
  .newsletter-form {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .newsletter-form input {
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
  }

  /* Footer - Enhanced Mobile View */
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .footer-logo h2 {
    font-size: 1.5rem;
  }

  .footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
  }

  /* Shop Page - Enhanced Mobile View */
  .shop-filters {
    padding: var(--spacing-md);
  }

  .filter-group h4 {
    font-size: 0.9rem;
  }

  .checkbox-label {
    font-size: 0.9rem;
  }

  /* Product Card - Enhanced Mobile View */
  .product-card {
    margin-bottom: var(--spacing-sm);
  }

  .product-actions {
    gap: var(--spacing-xs);
  }

  .action-btn {
    width: 32px;
    height: 32px;
  }

  /* Product Quick View - Enhanced Mobile View */
  .modal-content {
    padding: var(--spacing-md);
  }

  .product-quick-view {
    padding: var(--spacing-md);
    gap: var(--spacing-md);
  }

  .product-details h2 {
    font-size: 1.25rem;
  }

  /* Product Detail Page - Enhanced Mobile View */
  .gallery-thumbnails {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }

  .product-info h1 {
    font-size: 1.5rem;
  }

  .product-meta-top {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
  }

  .product-price .current-price {
    font-size: 1.25rem;
  }

  .tab-triggers {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tab-trigger {
    flex: 1 0 auto;
    text-align: center;
    font-size: 0.9rem;
    padding: var(--spacing-sm);
  }

  .product-actions .action-buttons {
    flex-direction: column;
    width: 100%;
  }

  .product-actions .btn {
    width: 100%;
    margin-bottom: var(--spacing-xs);
  }

  /* Reviews Section */
  .reviews-summary {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .average-rating {
    margin-bottom: var(--spacing-md);
  }

  .review-item {
    padding: var(--spacing-sm);
  }

  .review-header {
    flex-direction: column;
    gap: var(--spacing-xs);
  }

  /* Checkout Page - Enhanced Mobile View */
  .checkout-step {
    padding: var(--spacing-md);
  }

  .shipping-method label,
  .payment-method label {
    flex-direction: column;
    align-items: flex-start;
  }

  .method-price {
    margin-top: var(--spacing-xs);
  }

  .form-actions {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .form-actions .btn {
    width: 100%;
  }

  /* About Page - Enhanced Mobile View */
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  /* Contact Page - Enhanced Mobile View */
  .contact-form-container {
    padding: var(--spacing-md);
  }

  /* Notification - Enhanced Mobile View */
  .notification {
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    bottom: 20px;
    font-size: 0.9rem;
  }

  /* WhatsApp Integration - Enhanced Mobile View */
  .whatsapp-floating-button {
    width: 50px;
    height: 50px;
    right: 15px;
    bottom: 15px;
  }

  .whatsapp-floating-button i {
    font-size: 1.5rem;
  }

  .customer-form-modal .modal-content {
    width: 90%;
    padding: var(--spacing-md);
  }
}

/* Extra Small Phones (375px and down) */
@media (max-width: 375px) {
  /* Typography */
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  /* Header - Extra Small Optimization */
  .logo h1 {
    font-size: 1.1rem;
  }

  .header-actions {
    gap: 8px;
  }

  .action-btn {
    font-size: 0.9rem;
  }

  /* Hero Slider - Extra Small Optimization */
  .hero-slider {
    height: 350px;
  }

  .slide-content h2 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 0.85rem;
  }

  .slide-content .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  /* Section Headers - Extra Small Optimization */
  .section-header h2 {
    font-size: 1.25rem;
  }

  .section-header p {
    font-size: 0.85rem;
  }

  /* Features Grid - Extra Small Optimization */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature-item {
    padding: 10px;
  }

  .feature-content h3 {
    font-size: 0.9rem;
  }

  .feature-content p {
    font-size: 0.8rem;
  }

  /* Product Card - Extra Small Optimization */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-image {
    height: 200px;
  }

  .product-name {
    font-size: 0.85rem;
  }

  .product-price {
    font-size: 0.85rem;
  }

  .product-rating {
    font-size: 0.75rem;
  }

  /* Categories Grid - Extra Small Optimization */
  .categories-grid {
    grid-template-columns: 2fr;
    gap: 8px;
  }

  .category-image {
    height: 180px;
  }

  .category-content {
    padding: var(--spacing-sm);
  }

  .category-content h3 {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  /* Shop Page - Extra Small Optimization */
  .shop-header {
    gap: var(--spacing-sm);
  }

  .product-count {
    font-size: 0.85rem;
  }

  .sort-by label {
    font-size: 0.85rem;
  }

  .sort-by select {
    font-size: 0.85rem;
    padding: 0.4rem var(--spacing-sm);
  }

  .view-button {
    width: 30px;
    height: 30px;
  }

  /* Product Detail Page - Extra Small Optimization */
  .gallery-thumbnails {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }

  .product-info h1 {
    font-size: 1.25rem;
  }

  .product-meta {
    font-size: 0.8rem;
  }

  .product-price .current-price {
    font-size: 1.1rem;
  }

  .product-price .old-price {
    font-size: 0.9rem;
  }

  .tab-trigger {
    padding: 8px;
    font-size: 0.8rem;
  }

  /* Buttons - Extra Small Optimization */
  .btn {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }

  /* Checkout Page - Extra Small Optimization */
  .checkout-progress .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .checkout-progress .step-label {
    font-size: 0.8rem;
  }

  /* About Page - Extra Small Optimization */
  .stats-grid {
    grid-template-columns: 2fr;
    gap: var(--spacing-md);
  }

  /* WhatsApp Integration - Extra Small Optimization */
  .whatsapp-floating-button {
    width: 45px;
    height: 45px;
    right: 10px;
    bottom: 10px;
  }
}

/* ===== TOUCH OPTIMIZATIONS ===== */
@media (hover: none) {
  /* Optimize for touch devices */
  .btn,
  .action-btn,
  .product-card,
  .category-card,
  .feature-item {
    transition: transform 0.3s ease;
  }

  .btn:active,
  .action-btn:active {
    transform: scale(0.95);
  }

  /* Make product actions always visible on touch devices */
  .product-actions {
    bottom: 0;
    opacity: 1;
    visibility: visible;
    background-color: rgba(255, 255, 255, 0.8);
  }

  /* Increase tap target sizes */
  .action-btn,
  .tab-trigger,
  .view-button,
  .quantity-btn {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Improve form elements for touch */
  input[type="checkbox"],
  input[type="radio"] {
    min-width: 20px;
    min-height: 20px;
  }

  select {
    min-height: 44px;
  }

  /* Improve mobile menu for touch */
  .mobile-menu a {
    padding: 12px 0;
    display: block;
  }

  .close-menu,
  .mobile-menu-toggle {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Improve form buttons for touch */
  .form-actions .btn {
    min-height: 44px;
  }

  /* Improve product card interactions */
  .product-card .product-actions {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 8px 0;
  }

  /* Improve slider controls for touch */
  .slider-prev,
  .slider-next {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dot {
    min-width: 12px;
    min-height: 12px;
    margin: 0 8px;
  }
}

/* ===== ORIENTATION SPECIFIC STYLES ===== */
@media (max-width: 767px) and (orientation: landscape) {
  /* Optimize for landscape mode on mobile */
  .hero-slider {
    height: 300px;
  }

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

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

  /* Product detail page in landscape */
  .product-detail {
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-md);
  }

  /* Checkout page in landscape */
  .checkout-content {
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-md);
  }

  /* About page in landscape */
  .about-intro {
    flex-direction: row;
    gap: var(--spacing-lg);
  }

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

  /* Contact page in landscape */
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }
}

/* ===== CUSTOMER FORM MODAL STYLES ===== */
.customer-form-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.customer-form-modal.active {
  opacity: 1;
  visibility: visible;
}

.customer-form-modal .modal-content {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  width: 500px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.customer-form-modal.active .modal-content {
  transform: translateY(0);
}

.customer-form-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.customer-form-modal .modal-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.customer-form-modal .close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #777;
  transition: color 0.3s ease;
}

.customer-form-modal .close-modal:hover {
  color: #333;
}

.customer-form-modal .form-group {
  margin-bottom: 15px;
}

.customer-form-modal label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.customer-form-modal input,
.customer-form-modal textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.customer-form-modal textarea {
  resize: vertical;
  min-height: 80px;
}

.customer-form-modal .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 575px) {
  .customer-form-modal .modal-content {
    padding: 20px;
  }

  .customer-form-modal .modal-title {
    font-size: 1.2rem;
  }

  .customer-form-modal .form-actions {
    flex-direction: column;
  }

  .customer-form-modal .form-actions .btn {
    width: 100%;
  }
}

/* Mobile Responsive CSS for Shop Page */

/* General responsive adjustments */
@media (max-width: 340px) {
  .container {
    max-width: 960px;
  }

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

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

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

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
  }

  .shop-sidebar.active {
    display: block;
  }

  .shop-filters {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
  }

  .filter-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
  }
}

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

  .shop-header {
    flex-direction: column;
    gap: 15px;
  }

  .shop-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }

  .view-options {
    width: 100%;
    justify-content: space-between;
  }

  .shop-search {
    width: 100%;
  }

  .products-grid.grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* Mobile styles (575px and below) */
@media (max-width: 575px) {
  /* Header adjustments */
  .header-inner {
    padding: 10px 0;
  }

  .logo h1 {
    font-size: 1.2rem;
  }

  .header-actions {
    gap: 8px;
  }

  .action-btn {
    font-size: 0.9rem;
  }

  /* Hide search toggle on very small screens */
  .search-toggle {
    display: none;
  }

  /* Page header */
  .page-header h1 {
    font-size: 1.5rem;
  }

  /* Shop section */
  .shop-section {
    padding: 20px 0;
  }

  /* Shop header */
  .shop-header {
    margin-bottom: 15px;
  }

  .product-count {
    font-size: 0.9rem;
  }

  .sort-by {
    width: 100%;
  }

  .sort-by select {
    width: 100%;
    padding: 8px;
  }

  .view-switcher {
    display: none;
  }

  /* Products grid - Two column layout */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Product card adjustments for mobile */
  .product-card {
    margin-bottom: 0;
  }

  .product-image {
    height: 150px;
  }

  .product-info {
    padding: 10px;
  }

  .product-name {
    font-size: 0.85rem;
    margin-bottom: 5px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 2.6em;
  }

  .product-price {
    font-size: 0.85rem;
  }

  .current-price {
    font-size: 0.95rem;
  }

  .old-price {
    font-size: 0.8rem;
  }

  .product-rating {
    font-size: 0.75rem;
  }

  /* Product actions */
  .product-actions {
    opacity: 1;
    visibility: visible;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
  }

  .action-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  /* Shop footer */
  .shop-footer {
    margin-top: 20px;
    text-align: center;
  }

  .load-more-btn {
    width: 100%;
    padding: 10px;
  }

  /* Recently viewed section */
  .recently-viewed-section {
    padding: 20px 0;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  /* Footer adjustments */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* Back to top button */
  #back-to-top {
    width: 40px;
    height: 40px;
    right: 15px;
    bottom: 15px;
  }
}

/* Extra small devices (375px and below) */
@media (max-width: 375px) {
  .products-grid {
    gap: 8px;
  }

  .product-image {
    height: 130px;
  }

  .product-info {
    padding: 8px;
  }

  .product-name {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
    height: 2.4em;
  }

  .product-price {
    font-size: 0.8rem;
  }

  .current-price {
    font-size: 0.9rem;
  }

  .old-price {
    font-size: 0.75rem;
  }

  .product-rating {
    font-size: 0.7rem;
  }

  .action-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}

/* Mobile filter drawer */
.mobile-filter-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-filter-drawer.active {
  transform: translateY(0);
}

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

.drawer-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-gray);
}

.drawer-content {
  padding: 15px;
}

.drawer-footer {
  padding: 15px;
  border-top: 1px solid var(--medium-gray);
  display: flex;
  justify-content: space-between;
}

.drawer-footer button {
  padding: 10px 0;
  border-radius: 4px;
  font-weight: 500;
  width: 48%;
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile category navigation */
.mobile-category-nav {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 0;
  margin-bottom: 15px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.mobile-category-nav::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.category-pill {
  display: inline-block;
  padding: 8px 15px;
  margin-right: 8px;
  background-color: var(--light-gray);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--dark-gray);
  transition: all 0.3s ease;
}

.category-pill.active {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Product badges */
.product-card .discount-badge,
.product-card .badge {
  font-size: 0.7rem;
  padding: 3px 6px;
}

/* Touch optimizations */
@media (hover: none) {
  .btn,
  .action-btn,
  .product-card,
  .category-pill {
    transition: transform 0.3s ease;
  }

  .btn:active,
  .action-btn:active,
  .category-pill:active {
    transform: scale(0.95);
  }

  /* Increase tap target sizes */
  .action-btn,
  .filter-toggle,
  .drawer-close,
  #back-to-top {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Improve form elements for touch */
  input[type="checkbox"],
  input[type="radio"] {
    min-width: 20px;
    min-height: 20px;
  }

  select {
    min-height: 44px;
  }
}

/* Additional responsive fixes for cart page */
@media (max-width: 768px) {
  .cart-table {
    width: 100%;
    overflow-x: auto;
    display: block;
  }

  .cart-table th,
  .cart-table td {
    min-width: 100px; /* Ensure columns don't get too narrow */
  }

  .cart-table th:first-child,
  .cart-table td:first-child {
    min-width: 150px; /* Product column needs more space */
  }
}

/* Additional responsive fixes for product detail page */
@media (max-width: 576px) {
  .product-detail {
    display: flex;
    flex-direction: column;
  }

  .product-gallery {
    margin-bottom: var(--spacing-lg);
  }

  .product-variations {
    margin-bottom: var(--spacing-xl);
  }

  .product-meta-bottom {
    margin-bottom: var(--spacing-xxl); /* Extra space to prevent overlap with fixed buttons */
  }

  /* Ensure product tabs don't get covered by fixed action buttons */
  .product-tabs {
    margin-bottom: var(--spacing-xxl);
    padding-bottom: var(--spacing-xl);
  }
}

/* ===== ADVANCED ANIMATIONS ===== */

/* Page Loading Animation */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}

.loading-overlay.fade-out {
  opacity: 0;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  margin-bottom: var(--spacing-lg);
  transform: scale(1.2);
}

.loading-logo h1 {
  font-size: 2.5rem;
  color: var(--secondary-dark);
}

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

.loading-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-lg);
}

.spinner-circle {
  width: 100%;
  height: 100%;
  border: 2px solid var(--light-gray);
  border-radius: 50%;
}

.spinner-line-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transform-origin: center right;
  animation: spinner-rotate 1.5s linear infinite;
}

.spinner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  border: 2px solid transparent;
  border-top-color: var(--primary-color);
  border-radius: 50%;
}

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

.loading-text {
  font-size: 1rem;
  color: var(--dark-gray);
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
}

.loading-progress {
  color: var(--primary-color);
  font-weight: 600;
}

/* Remove the page transition styles */
/* Page Transitions */
.page-transition {
  display: none;
}

body.transition-in::after {
  display: none;
}

@keyframes pageTransitionIn {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* Parallax Effects */
.parallax {
  background-attachment: fixed;
  transition: background-position 0.1s ease-out;
}

.has-parallax {
  position: relative;
  overflow: hidden;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: transform 0.1s ease-out;
}

.floating-element {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.floating-element:nth-child(odd) {
  width: 15px;
  height: 15px;
  background-color: rgba(255, 255, 255, 0.1);
}

.floating-element:nth-child(3n) {
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.15);
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(30px, 30px);
  }
  50% {
    transform: translate(10px, 50px);
  }
  75% {
    transform: translate(-20px, 20px);
  }
}

/* Scroll Animations */
.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animation.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.stagger-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Different animation types */
.fade-animation {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-animation.in-view {
  opacity: 1;
}

.slide-left-animation {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left-animation.in-view {
  opacity: 1;
  transform: translateX(0);
}

.slide-right-animation {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right-animation.in-view {
  opacity: 1;
  transform: translateX(0);
}

.scale-animation {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-animation.in-view {
  opacity: 1;
  transform: scale(1);
}

/* Hover Effects */
.hover-effect {
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1), box-shadow 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hover-effect:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hover-zoom {
  overflow: hidden;
}

.hover-zoom img {
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

.hover-underline {
  position: relative;
  padding-bottom: 5px;
}

.hover-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hover-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Text Animations */
.text-animated {
  overflow: hidden;
}

.text-animated .word-wrapper {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.25em;
}

.text-animated .letter {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.animate-text .letter {
  transform: translateY(0);
}

/* Product Animations */
.animated-modal .modal-content {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.animated-modal .modal-content.animate-in {
  opacity: 1;
  transform: scale(1);
}

.animated-notification {
  animation: notificationPulse 0.5s ease;
}

@keyframes notificationPulse {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Custom Cursor */
.cursor-none {
  cursor: none;
}

.cursor-none * {
  cursor: none;
}

.cursor-outer,
.cursor-inner {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(0, 0);
  border-radius: 50%;
}

.cursor-outer {
  width: 40px;
  height: 40px;
  border: 1px solid var(--primary-color);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
  margin-left: -20px;
  margin-top: -20px;
}

.cursor-inner {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  margin-left: -4px;
  margin-top: -4px;
  transition: width 0.1s ease, height 0.1s ease, background-color 0.1s ease;
}

.cursor-outer.hover {
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  background-color: rgba(159, 122, 73, 0.1);
  border-color: transparent;
}

.cursor-inner.hover {
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
}

/* Image Reveal Animation */
.img-reveal-container {
  position: relative;
  overflow: hidden;
}

.img-reveal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transform: translateX(-100%);
  z-index: 1;
}

.img-reveal-container img {
  transform: scale(1.2);
  transition: transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.img-reveal-container.reveal img {
  transform: scale(1);
}

.img-reveal-container.reveal .img-reveal-overlay {
  animation: revealImage 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

@keyframes revealImage {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Button Animations */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
  width: 300%;
  height: 300%;
}

/* Magnetic Effect */
.magnetic-effect {
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive Animations */
@media (max-width: 768px) {
  .cursor-outer,
  .cursor-inner {
    display: none;
  }

  .cursor-none {
    cursor: auto;
  }

  .cursor-none * {
    cursor: auto;
  }

  .magnetic-effect {
    transition: none;
  }

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

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .page-transition,
  .loading-overlay,
  .cursor-outer,
  .cursor-inner {
    display: none;
  }
}

/* Import the CSS file provided by the user */
@import url('style-EhInkaikgz5s6RXnzxAOEBPypMxuKO.css');

/* Additional styles for new elements */

/* Receipt Modal */
.receipt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.receipt-modal.active {
    opacity: 1;
    visibility: visible;
}

.receipt-modal .modal-content {
    width: 90%;
    max-width: 800px;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--spacing-xl);
}

.receipt-modal .close-modal {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-dark);
    cursor: pointer;
    z-index: 10;
}

.receipt-content {
    margin-bottom: var(--spacing-lg);
}

.receipt-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

/* Receipt Styles */
.receipt {
    font-family: var(--body-font);
    color: var(--black);
    background-color: var(--white);
    padding: var(--spacing-lg);
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--light-gray);
}

.receipt-logo h2 {
    font-size: 1.75rem;
    margin-bottom: 0;
    font-weight: 700;
    color: var(--secondary-dark);
}

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

.receipt-info h3 {
    margin-bottom: var(--spacing-xs);
}

.receipt-info p {
    margin-bottom: var(--spacing-xs);
}

.status-paid {
    color: #4caf50;
}

.status-pending {
    color: #ff9800;
}

.receipt-customer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.customer-billing,
.customer-shipping {
    background-color: var(--off-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
}

.customer-billing h4,
.customer-shipping h4 {
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--light-gray);
}

.receipt-items {
    margin-bottom: var(--spacing-lg);
}

.receipt-items h4 {
    margin-bottom: var(--spacing-md);
}

.items-table {
    width: 100%;
    border-collapse: collapse;
}

.items-table th,
.items-table td {
    padding: var(--spacing-sm);
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.items-table th {
    background-color: var(--light-gray);
    font-weight: 600;
}

.receipt-totals {
    margin-bottom: var(--spacing-lg);
}

.totals-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--light-gray);
}

.totals-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--secondary-dark);
}

.receipt-payment {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: var(--off-white);
    border-radius: var(--border-radius-md);
}

.receipt-payment h4 {
    margin-bottom: var(--spacing-sm);
}

.receipt-footer {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--light-gray);
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    
    .receipt,
    .receipt * {
        visibility: visible;
    }
    
    .receipt {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    
    .receipt-actions {
        display: none;
    }
}

/* Responsive Styles for Receipt */
@media (max-width: 768px) {
    .receipt-customer {
        grid-template-columns: 1fr;
    }
    
    .receipt-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .receipt-info {
        margin-top: var(--spacing-md);
    }
}

/* Fix the 'add to cart' and 'add to wishlist' buttons at the right place inside the product on mobile */
@media (max-width: 575px) {
  .product-card {
    position: relative;
    padding-bottom: 56px; /* Space for fixed action buttons */
  }
  .product-actions {
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 35% !important;
    display: flex !important;
    justify-content: center !important;
    gap: var(--spacing-xs) !important;
    padding: 8px 0 !important;
    background: rgba(255,255,255,0.95) !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2;
  }
  .product-actions .btn,
  .product-actions .action-btn {
    flex: 1 1 0;
    min-width: 0;
    margin: 0 2px;
    font-size: 0.9rem;
    padding: 0.5rem 0.5rem;
    height: 36px;
  }
}
