/* 
   Gloss and Run - Premium Styling System
   Theme: Luxury Body Care (Pink, Nude, Rose Gold, Warm Charcoal)
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Pinyon+Script&display=swap');

:root {
  --primary-pink: #f6d1c9;
  --primary-pink-rgb: 246, 209, 201;
  --accent-gold: #d49c93;
  --bg-nude: #FAD2D3;
  --text-dark: #4a3c3b;
  --text-muted: #8c7876;
  --white: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.9);
  --shadow-sm: 0 2px 8px rgba(74, 60, 59, 0.05);
  --shadow-md: 0 8px 24px rgba(74, 60, 59, 0.08);
  --shadow-lg: 0 16px 40px rgba(74, 60, 59, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font: 'Poppins', sans-serif;
}

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

body, input, select, textarea, button {
  font-family: var(--font);
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-nude);
  color: var(--text-dark);
  line-height: 1.6;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-nude);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-pink);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--accent-gold);
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}
.announcement-bar .close-announcement {
  position: absolute;
  right: 16px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
  font-size: 16px;
}

/* Header Styles */
header {
  background-color: rgba(250, 210, 211, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 156, 147, 0.15);
  transition: var(--transition);
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  position: relative;
}
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.logo-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dark);
  text-transform: lowercase;
  position: relative;
  display: inline-block;
}
.logo-title::after {
  content: '✦';
  font-size: 10px;
  position: absolute;
  top: -2px;
  right: -14px;
  color: var(--accent-gold);
}
.logo-title::before {
  content: '✦';
  font-size: 10px;
  position: absolute;
  bottom: 2px;
  left: -14px;
  color: var(--accent-gold);
}
.logo-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: -2px;
}

/* Search Bar */
.search-container {
  display: none !important;
  position: absolute;
  top: 100%;
  right: 20px;
  width: 320px;
  background-color: var(--white);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 156, 147, 0.2);
  box-shadow: var(--shadow-md);
  z-index: 1001;
  margin: 0;
}
.search-container.open {
  display: block !important;
}
.search-form {
  display: flex;
  background: var(--white);
  border: 1px solid rgba(212, 156, 147, 0.3);
  border-radius: 30px;
  overflow: hidden;
  padding: 2px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.search-form:focus-within {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 156, 147, 0.2);
}
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
}
.search-btn {
  background: var(--primary-pink);
  border: none;
  color: var(--text-dark);
  padding: 0 20px;
  cursor: pointer;
  border-radius: 30px;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
}
.search-btn:hover {
  background: var(--accent-gold);
  color: var(--white);
}

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.lang-switch-btn {
  background: transparent;
  border: 1px solid rgba(212, 156, 147, 0.35);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.lang-switch-btn:hover {
  background-color: var(--primary-pink);
  border-color: var(--accent-gold);
  transform: translateY(-1px);
}
.header-action-btn {
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 20px;
  cursor: pointer;
  position: relative;
  padding: 5px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-action-btn:hover {
  color: var(--accent-gold);
  transform: translateY(-2px);
}
.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--text-dark);
  color: var(--primary-pink);
  font-size: 10px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Category Navigation Bar */
.nav-bar {
  border-top: 1px solid rgba(212, 156, 147, 0.1);
  background-color: rgba(250, 210, 211, 0.6);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 10px 20px;
  list-style: none;
  gap: 30px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  padding: 5px 10px;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}
.nav-link:hover {
  color: var(--accent-gold);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Category Filter Section */
.categories-filter {
  max-width: 1200px;
  margin: 40px auto 20px;
  padding: 0 20px;
  text-align: center;
}
.filter-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.filter-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
}
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.filter-btn {
  background-color: var(--white);
  border: 1px solid rgba(212, 156, 147, 0.25);
  color: var(--text-dark);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-pink);
  border-color: var(--accent-gold);
  transform: translateY(-1px);
}

/* Products Section */
.products-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 20px;
}

/* Product Card */
.product-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(74, 60, 59, 0.05);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(74, 60, 59, 0.12);
  border-color: rgba(212, 156, 147, 0.5);
}
.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent-gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 30px;
  z-index: 5;
  box-shadow: var(--shadow-sm);
}
.product-card-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}
.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateX(0);
}
.card-action-btn {
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1px solid rgba(212, 156, 147, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-dark);
}
.card-action-btn:hover {
  background: var(--primary-pink);
  color: var(--text-dark);
  transform: scale(1.1);
}

.product-image-wrapper {
  position: relative;
  height: 300px;
  width: 100%;
  overflow: hidden;
  background-color: #FAD2D3;
}
.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-image-secondary {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.product-card:hover .product-image-primary {
  opacity: 0;
}
.product-card:hover .product-image-secondary {
  opacity: 1;
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  height: auto;
  min-height: 48px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #ffb800;
}
.product-rating span {
  color: var(--text-muted);
  font-size: 11px;
  margin-left: 5px;
}

/* Shade Selector in Card */
.shade-selector-container {
  margin-bottom: 15px;
}
.shade-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 5px;
  display: block;
}
.shade-select {
  width: 100%;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(212, 156, 147, 0.3);
  font-size: 12px;
  outline: none;
  background-color: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}
.shade-select:focus {
  border-color: var(--accent-gold);
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.price-container {
  display: flex;
  flex-direction: column;
}
.price-original {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 2px;
}
.price-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}
.price-currency {
  font-size: 12px;
  font-weight: 500;
  margin-left: 2px;
}

.add-to-cart-btn {
  background-color: var(--accent-gold);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.add-to-cart-btn:hover {
  background-color: #b88078;
  transform: scale(1.05);
}

/* Sliding Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(74, 60, 59, 0.4);
  backdrop-filter: blur(4px);
  z-index: 10100;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 10200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-header {
  padding: 20px;
  border-bottom: 1px solid rgba(212, 156, 147, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}
.cart-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition);
}
.cart-close-btn:hover {
  color: var(--accent-gold);
}

/* Shipping Progress Bar */
.shipping-progress-container {
  padding: 15px 20px;
  background-color: var(--bg-nude);
  border-bottom: 1px solid rgba(212, 156, 147, 0.1);
}
.shipping-progress-text {
  font-size: 12px;
  margin-bottom: 8px;
}
.shipping-progress-bar {
  height: 6px;
  background-color: rgba(212, 156, 147, 0.2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.shipping-progress-fill {
  height: 100%;
  background-color: var(--accent-gold);
  width: 0;
  transition: width 0.5s ease;
}

/* Cart Items List */
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.empty-cart-message {
  text-align: center;
  color: var(--text-muted);
  margin-top: 50px;
  font-size: 14px;
}
.cart-item {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid rgba(212, 156, 147, 0.1);
  padding-bottom: 15px;
}
.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: var(--bg-nude);
}
.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.cart-item-shade {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: auto;
}
.cart-item-qty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.qty-selectors {
  display: flex;
  align-items: center;
  border: 1px solid rgba(212, 156, 147, 0.3);
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--white);
}
.qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}
.qty-btn:hover {
  background-color: var(--bg-nude);
}
.qty-val {
  width: 25px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #c94b4b;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}
.cart-item-remove:hover {
  transform: scale(1.1);
}

/* Cart Footer */
.cart-footer {
  padding: 20px;
  border-top: 1px solid rgba(212, 156, 147, 0.15);
  background-color: rgba(250, 210, 211, 0.5);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}
.cart-summary-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 5px;
  margin-bottom: 20px;
  border-top: 1px dashed rgba(212, 156, 147, 0.3);
  padding-top: 10px;
}
.checkout-btn {
  width: 100%;
  height: 48px;
  background-color: var(--accent-gold);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-btn:hover {
  background-color: #b88078;
}

/* Modals General */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(74, 60, 59, 0.4);
  backdrop-filter: blur(4px);
  z-index: 10300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-container {
  background-color: var(--white);
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(60px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}
.modal-overlay.open .modal-container {
  transform: translateY(0);
  opacity: 1;
}
.modal-header {
  padding: 20px;
  background-color: var(--bg-nude);
  border-bottom: 1px solid rgba(212, 156, 147, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-title {
  font-size: 18px;
  font-weight: 600;
}
.modal-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.modal-body {
  padding: 20px;
}

/* Form Styles */
.form-group {
  margin-bottom: 15px;
}
.form-group.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--text-dark);
}
.form-control {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid rgba(212, 156, 147, 0.3);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 156, 147, 0.15);
}
textarea.form-control {
  resize: vertical;
  min-height: 80px;
}
.submit-btn {
  width: 100%;
  height: 48px;
  background-color: var(--accent-gold);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.submit-btn:hover {
  background-color: #b88078;
}

/* Order Success Notification */
.order-success-card {
  text-align: center;
  padding: 30px 20px;
}
.success-icon {
  font-size: 50px;
  color: #55a630;
  margin-bottom: 15px;
}
.success-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.success-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 25px;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #25d366;
  color: var(--white);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}
.whatsapp-widget:hover {
  transform: translateY(-5px);
  background-color: #128c7e;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Back to Top Widget */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--text-dark);
  color: var(--white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background-color: var(--accent-gold);
  transform: translateY(-3px);
}

/* Footer Section */
footer {
  background-color: var(--primary-pink);
  border-top: 1px solid rgba(212, 156, 147, 0.3);
  padding: 60px 0 20px;
  color: var(--text-dark);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-logo-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dark);
  margin-bottom: 10px;
  text-transform: lowercase;
}
.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 350px;
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.footer-social-link:hover {
  background-color: var(--text-dark);
  color: var(--primary-pink);
  transform: translateY(-2px);
}
.footer-heading {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(74, 60, 59, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsiveness */
@media (max-width: 992px) {
}

@media (max-width: 768px) {
  header {
    background-color: var(--bg-nude) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    box-shadow: var(--shadow-sm);
  }
  .header-top {
    padding: 10px 15px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-section {
    margin: 0 !important;
    padding: 0 !important;
  }
  .search-container {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 10px 15px;
    box-sizing: border-box;
    background-color: rgba(250, 210, 211, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 156, 147, 0.15);
    box-shadow: 0 4px 12px rgba(74, 60, 59, 0.08);
    z-index: 1001;
  }
  .search-container.open {
    display: block !important;
  }
  .search-form {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .nav-bar {
    display: none; /* In production a drawer menu would open */
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  /* Mobile Grid Overrides for Neat 2-Column Layout */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    row-gap: 25px; /* Add vertical spacing between rows */
  }
  .product-image-wrapper {
    height: 160px;
  }
  .product-info {
    padding: 12px;
  }
  .product-name {
    font-size: 13px;
    height: auto !important;
    min-height: 38px;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    margin-bottom: 4px;
  }
  .product-rating {
    font-size: 10px;
    margin-bottom: 8px;
    gap: 2px;
  }
  .product-rating span {
    font-size: 9px;
    margin-left: 2px;
  }
  .price-current {
    font-size: 14px;
  }
  .price-original {
    font-size: 10px;
  }
  .add-to-cart-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .shade-label {
    font-size: 9px;
    margin-bottom: 2px;
  }
  .shade-select {
    font-size: 10px;
    padding: 4px 8px;
  }
  .product-badge {
    top: 10px;
    left: 10px;
    font-size: 9px;
    padding: 2px 8px;
  }
}

/* Amazon-Style Modal Styling */
.modal-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}
.modal-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.modal-gallery-main {
  position: relative;
  width: 100%;
  height: 380px;
  background-color: var(--bg-nude);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(212, 156, 147, 0.2);
}
.modal-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
  cursor: zoom-in;
}
.modal-gallery-main img:hover {
  transform: scale(1.02);
}

/* Lightbox Overlay */
#lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.94);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}
#lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
#lightbox-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  touch-action: none;
}
#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform-origin: center center;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: lightbox-zoom-in 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#lightbox-img.zoomed {
  cursor: grab;
}
#lightbox-img.zoomed:active {
  cursor: grabbing;
}
@keyframes lightbox-zoom-in {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
#lightbox-controls {
  position: fixed;
  top: 20px;
  left: 24px;
  display: flex;
  gap: 12px;
  z-index: 100000;
}
.lightbox-btn {
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}
#lightbox-close-btn {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 100000;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
#lightbox-close-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}
.modal-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 5;
}
.modal-gallery-arrow:hover {
  background-color: var(--white);
  color: var(--accent-gold);
}
.modal-gallery-arrow.left {
  left: 15px;
}
.modal-gallery-arrow.right {
  right: 15px;
}
.modal-gallery-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.modal-gallery-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background-color: var(--bg-nude);
  transition: var(--transition);
}
.modal-gallery-thumb:hover,
.modal-gallery-thumb.active {
  border-color: var(--accent-gold);
}
.modal-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-container {
  display: flex;
  flex-direction: column;
}
.modal-info-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.modal-info-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.modal-info-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #ffb800;
  margin-bottom: 15px;
}
.modal-info-rating span {
  color: var(--text-muted);
  margin-left: 5px;
}
.modal-info-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(212, 156, 147, 0.15);
}
.modal-info-price-current {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
}
.modal-info-price-original {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.modal-info-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.6;
}
.modal-info-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(212, 156, 147, 0.15);
}
.modal-qty-container {
  display: flex;
  align-items: center;
  gap: 15px;
}
.modal-qty-label {
  font-size: 13px;
  font-weight: 500;
}
.modal-add-to-cart-btn {
  background-color: var(--accent-gold);
  color: var(--white);
  border: none;
  height: 48px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.modal-add-to-cart-btn:hover {
  background-color: #b88078;
}

@media (max-width: 768px) {
  .modal-container {
    width: 96% !important;
    margin: 10px auto;
  }
  .modal-body {
    padding: 0 12px 12px 12px !important;
  }
  .modal-detail-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .modal-gallery-main {
    height: 240px;
  }
  .modal-gallery-thumbs {
    gap: 6px;
  }
  .modal-gallery-thumb {
    width: 45px;
    height: 45px;
  }
  .modal-info-title {
    font-size: 18px;
    margin-bottom: 4px;
  }
  .modal-info-category {
    font-size: 10px;
  }
  .modal-info-rating {
    font-size: 11px;
    margin-bottom: 6px;
  }
  .modal-info-price-row {
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
  .modal-info-price-current {
    font-size: 20px;
  }
  .modal-info-price-original {
    font-size: 13px;
  }
  .modal-info-desc {
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  .modal-info-actions {
    gap: 8px;
    padding-top: 8px;
  }
  .modal-qty-container {
    gap: 8px;
  }
  .modal-add-to-cart-btn {
    padding: 10px;
    font-size: 13px;
  }
}

/* Image Preview Thumbnails in Admin */
.image-preview-thumb {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(212, 156, 147, 0.3);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-nude);
}
.image-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-preview-thumb .remove-preview-btn {
  position: absolute;
  top: 3px;
  right: 3px;
  background-color: rgba(201, 42, 42, 0.85);
  color: var(--white);
  border: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: var(--transition);
}
.image-preview-thumb .remove-preview-btn:hover {
  background-color: #c92a2a;
  transform: scale(1.1);
}

/* RTL Support Overrides */
html[dir="rtl"] {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html[dir="rtl"] body {
  text-align: right;
}
html[dir="rtl"] .product-price-row,
html[dir="rtl"] .modal-info-price-row {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
html[dir="rtl"] .qty-selectors {
  flex-direction: row-reverse;
}
html[dir="rtl"] .price-original,
html[dir="rtl"] .modal-info-price-original {
  margin-left: 0;
  margin-right: 10px;
}
html[dir="rtl"] .logo-container,
html[dir="rtl"] .footer-container > div,
html[dir="rtl"] .cart-summary-row {
  text-align: right;
}
html[dir="rtl"] .announcement-bar {
  flex-direction: row-reverse;
}
html[dir="rtl"] .close-announcement {
  margin-left: 0;
  margin-right: auto;
}
html[dir="rtl"] .mobile-menu-toggle {
  order: 1;
}
html[dir="rtl"] .logo-container {
  order: 2;
}
html[dir="rtl"] .search-container {
  right: auto;
  left: 20px;
}
html[dir="rtl"] .header-actions {
  order: 4;
}
html[dir="rtl"] .modal-close-btn {
  margin-left: 0;
  margin-right: auto;
}
html[dir="rtl"] .success-icon {
  margin: 0 auto 15px auto;
}

/* Responsive Mobile-First adjustments (max-width: 480px) */
@media (max-width: 480px) {
  /* Prevent overflow */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Category Horizontal Scroll */
  .filter-buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 5px 15px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-buttons::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex: 0 0 auto !important;
    font-size: 11px !important;
    padding: 6px 14px !important;
  }

  /* Compact Product Grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 8px !important;
    row-gap: 20px !important;
    padding: 0 5px !important;
  }

  /* Compact Product Card */
  .product-card {
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 1px 4px rgba(74, 60, 59, 0.05) !important;
  }
  .product-image-wrapper {
    height: 140px !important;
  }
  .product-info {
    padding: 8px !important;
  }
  .product-category {
    font-size: 9px !important;
  }
  .product-name {
    font-size: 12px !important;
    height: auto !important;
    min-height: 36px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    margin-bottom: 2px !important;
  }
  .product-rating {
    font-size: 9px !important;
    margin-bottom: 6px !important;
  }
  .product-rating span {
    font-size: 8px !important;
  }
  .shade-selector-container {
    margin-bottom: 8px !important;
  }
  .shade-label {
    font-size: 8px !important;
    margin-bottom: 1px !important;
  }
  .shade-select {
    font-size: 9px !important;
    padding: 3px 6px !important;
  }
  .product-badge {
    top: 5px !important;
    left: 5px !important;
    font-size: 8px !important;
    padding: 1px 6px !important;
  }
  .price-current {
    font-size: 13px !important;
  }
  .price-original {
    font-size: 9px !important;
  }
  .add-to-cart-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 10px !important;
  }

  /* Compact Amazon-Style Modal Details */
  .modal-container {
    width: 95% !important;
    max-height: 90vh !important;
    border-radius: var(--radius-md) !important;
  }
  .modal-body {
    padding: 0 10px 10px 10px !important;
  }
  .modal-gallery-main {
    height: 200px !important;
  }
  .modal-gallery-arrow {
    width: 30px !important;
    height: 30px !important;
    font-size: 14px !important;
  }
  .modal-gallery-thumbs {
    gap: 4px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding-bottom: 5px !important;
    width: 100% !important;
  }
  .modal-gallery-thumb {
    width: 40px !important;
    height: 40px !important;
  }
  .modal-info-title {
    font-size: 16px !important;
    margin-bottom: 2px !important;
  }
  .modal-info-category {
    font-size: 9px !important;
  }
  .modal-info-rating {
    font-size: 10px !important;
    margin-bottom: 4px !important;
  }
  .modal-info-price-row {
    margin-bottom: 8px !important;
    padding-bottom: 4px !important;
  }
  .modal-info-price-current {
    font-size: 18px !important;
  }
  .modal-info-price-original {
    font-size: 12px !important;
  }
  .modal-info-desc {
    font-size: 11px !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
  }
  .modal-info-actions {
    gap: 6px !important;
    padding-top: 6px !important;
  }
  .modal-qty-container {
    gap: 6px !important;
  }
  .modal-add-to-cart-btn {
    padding: 8px !important;
    font-size: 12px !important;
  }
  
  /* Language button mobile */
  .lang-switch-btn {
    padding: 4px 8px !important;
    font-size: 10px !important;
    gap: 4px !important;
  }

}



/* Green Order Success Modal Premium Styling */
.order-success-card {
  text-align: center;
  padding: 40px 30px !important;
  background: linear-gradient(135deg, #f4fbf7 0%, #e8f7ed 100%) !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid #c3e6cb !important;
  box-shadow: 0 10px 30px rgba(43, 138, 62, 0.08) !important;
}
.success-icon {
  font-size: 60px !important;
  color: #2b8a3e !important;
  margin-bottom: 20px !important;
  display: inline-block !important;
  filter: drop-shadow(0 4px 6px rgba(43, 138, 62, 0.15));
}
.success-title {
  color: #1e5c29 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  font-family: var(--font) !important;
}
.success-desc {
  font-size: 14px !important;
  color: #4a5c4e !important;
  margin-bottom: 25px !important;
  line-height: 1.6 !important;
}

/* Bottom Navigation Bar for Mobile */
.bottom-nav {
  display: none;
}
.bottom-nav.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px !important;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 156, 147, 0.2);
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    padding: 6px 0;
    box-shadow: 0 -3px 12px rgba(74, 60, 59, 0.05);
  }
  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 10px;
    font-weight: 500;
    gap: 4px;
    transition: var(--transition);
    height: 100%;
  }
  .bottom-nav-item i {
    font-size: 20px;
    transition: transform 0.2s ease;
  }
  .bottom-nav-item.active {
    color: var(--accent-gold);
  }
  .bottom-nav-item.active i {
    transform: scale(1.15);
  }
  .badge-count-nav {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #e03131;
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--white);
  }
  .whatsapp-widget, .back-to-top {
    bottom: 80px !important;
  }
}

/* Category visual index cards styles */
.categories-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 600px;
  margin: 30px auto;
  padding: 0 15px;
}
.category-index-card {
  background: var(--white);
  border: 1px solid rgba(212, 156, 147, 0.15);
  border-radius: var(--radius-md);
  padding: 25px 15px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.category-index-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}
.category-index-icon {
  font-size: 26px;
  color: var(--accent-gold);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(212, 156, 147, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-index-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

/* Account screen styles */
.account-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212, 156, 147, 0.15);
}
.account-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background-color: rgba(212, 156, 147, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 12px;
}
.account-card {
  background: var(--white);
  border: 1px solid rgba(212, 156, 147, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.account-setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
}
.user-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.user-order-card {
  background: var(--bg-nude);
  border: 1px solid rgba(212, 156, 147, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.user-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
}
.user-order-id {
  font-family: monospace;
  color: var(--text-muted);
}
.user-order-status {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 600;
}
.user-order-status.status-pending {
  background-color: #ffe8cc;
  color: #d9480f;
}
.user-order-status.status-shipped {
  background-color: #d3f9d8;
  color: #2b8a3e;
}

/* Micro-animations */
@keyframes badge-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.badge-pulse-active {
  animation: badge-pulse 0.35s ease-out;
}

@keyframes shake {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-6px); }
  40%  { transform: translateX(6px); }
  60%  { transform: translateX(-4px); }
  80%  { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

