/* Base Styles */
:root {
  --primary-color: #5D4037;
  --secondary-color: #8D6E63;
  --accent-color: #D7CCC8;
  --light-color: #EFEBE9;
  --dark-color: #3E2723;
  --white: #ffffff;
  --black: #000000;
  --gray-light: #f5f5f5;
  --gray-medium: #e0e0e0;
  --gray-dark: #bdbdbd;
  --success-color: #4CAF50;
  --error-color: #f44336;
  --warning-color: #FF9800;
  --buy-now-color: #795548;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-color);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.btn:hover {
  background-color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-image {
  height: 50px;
  width: auto;
}

.navigation ul {
  display: flex;
  list-style: none;
}

.navigation li {
  margin: 0 15px;
}

.navigation a {
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.navigation a:hover::after,
.navigation a.active::after {
  width: 100%;
}

.header-icons {
  display: flex;
  align-items: center;
}

.search-container {
  position: relative;
  margin-right: 20px;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-color);
  font-size: 18px;
  transition: var(--transition);
}

.search-btn:hover {
  color: var(--primary-color);
}

.search-input {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right;
  width: 200px;
  padding: 8px 15px;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

.search-input.active {
  transform: translateY(-50%) scaleX(1);
  opacity: 1;
  pointer-events: all;
}

.wishlist-btn, .cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-color);
  font-size: 18px;
  margin-left: 15px;
  position: relative;
  transition: var(--transition);
}

.wishlist-btn:hover, .cart-btn:hover {
  color: var(--primary-color);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary-color);
  color: var(--white);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--dark-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--gray-light);
}

.close-menu {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--dark-color);
  cursor: pointer;
}

.mobile-navigation ul {
  list-style: none;
  padding: 20px;
}

.mobile-navigation li {
  margin-bottom: 15px;
}

.mobile-navigation a {
  font-weight: 500;
  font-size: 18px;
  transition: var(--transition);
}

.mobile-navigation a:hover {
  color: var(--primary-color);
}

.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid var(--gray-light);
  margin-top: auto;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--dark-color);
  font-size: 20px;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary-color);
}

/* Rapunzel Hero Section */
.hero-rapunzel {
  position: relative;
  margin-top: 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: #F8F4F1;
  overflow: hidden;
}

.hero-container {
  display: flex;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  flex: 1;
  padding: 40px 0;
  text-align: center;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: #FEF3C7;
  color: #92400E;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-badge i {
  margin-right: 8px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #1F2937;
}

.hero-content p {
  font-size: 1.125rem;
  color: #6B7280;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.btn-primary {
  background-color: #1F2937;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  padding: 14px 28px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #374151;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #D1D5DB;
  color: #1F2937;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  padding: 14px 28px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: white;
  transform: translateY(-2px);
}

.hero-footer {
  border-top: 1px solid rgba(209, 213, 219, 0.4);
  padding-top: 24px;
}

.hero-footer p {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 16px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

.stat i {
  color: #6B7280;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  max-height: 400px;
  object-fit: contain;
  z-index: 2;
  position: relative;
  animation: fadeInSlideUp 1.2s ease-out forwards;
}

.hero-bg-text {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 180px;
  font-weight: bold;
  color: rgba(31, 41, 55, 0.05);
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  z-index: 1;
}

@keyframes fadeInSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact Popup */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.contact-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  width: 90%;
  max-width: 400px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 24px;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.popup-header h3 {
  font-size: 20px;
  font-weight: 700;
}

.popup-header button {
  background: none;
  border: none;
  color: #6B7280;
  cursor: pointer;
  font-size: 18px;
}

.popup-header button:hover {
  color: #374151;
}

.popup-content {
  margin-bottom: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: #F9FAFB;
  border-radius: 12px;
  margin-bottom: 12px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
}

.contact-icon.whatsapp {
  background-color: #D1FAE5;
  color: #065F46;
}

.contact-icon.phone {
  background-color: #DBEAFE;
  color: #1E40AF;
}

.contact-icon.email {
  background-color: #FEF3C7;
  color: #92400E;
}

.contact-info {
  flex: 1;
}

.method-name {
  font-size: 14px;
  color: 6B7280;
  margin-bottom: 4px;
}

.method-detail {
  font-size: 16px;
  font-weight: 600;
  color: #1F2937;
}

.contact-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.contact-action.whatsapp {
  background-color: #10B981;
}

.contact-action.whatsapp:hover {
  background-color: #059669;
}

.contact-action.phone {
  background-color: #3B82F6;
}

.contact-action.phone:hover {
  background-color: #2563EB;
}

.contact-action.email {
  background-color: #F59E0B;
}

.contact-action.email:hover {
  background-color: #D97706;
}

.popup-footer {
  text-align: center;
  color: #6B7280;
  font-size: 14px;
  margin-top: 16px;
}

/* Improved Search Bar */
.search-bar {
  position: relative;
  max-width: 600px;
  margin: 0 auto 40px;
  width: 100%;
}

.search-bar input {
  width: 100%;
  padding: 15px 25px;
  border: 2px solid var(--gray-medium);
  border-radius: 50px;
  font-size: 16px;
  font-family: var(--font-primary);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.search-bar i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-color);
}

/* Category Filter */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.category-btn {
  padding: 8px 16px;
  background-color: var(--light-color);
  color: var(--dark-color);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}

.category-btn:hover {
  background-color: var(--accent-color);
}

.category-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Main Content */
.main-content {
  padding: 80px 0;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  position: relative;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  z-index: 1;
}

.out-of-stock-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--error-color);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  z-index: 1;
}

.product-image {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
}

.category-tag {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--dark-color);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-top: 5px;
}

.product-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px 20px;
  transition: var(--transition);
  opacity: 0;
}

.product-card:hover .product-actions {
  bottom: auto;
  opacity: 1;
}

.wishlist-btn {
  background: none;
  border: none;
  color: var(--dark-color);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.wishlist-btn:hover {
  color: var(--error-color);
}

.wishlist-btn.active {
  color: var(--error-color);
}

/* Product Modal */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
}

.product-modal.active {
  display: block;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2001;
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  z-index: 2002;
  display: flex;
  flex-direction: column;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--dark-color);
  cursor: pointer;
  z-index: 1;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.modal-body {
  display: flex;
  overflow-y: auto;
}

.product-images {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.main-image {
  width: 100%;
  height: 400px;
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.thumbnail-images {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.thumbnail:hover {
  border-color: var(--primary-color);
}

.thumbnail.active {
  border-color: var(--primary-color);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details {
  flex: 1;
  padding: 40px;
  border-left: 1px solid var(--gray-light);
}

.product-title {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.product-price {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.availability-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.availability-in-stock {
  background-color: var(--success-color);
  color: white;
}

.availability-out-of-stock {
  background-color: var(--error-color);
  color: white;
}

.product-description {
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.product-details-content {
  margin-bottom: 20px;
  white-space: pre-line;
  color: var(--secondary-color);
}

.quantity-selection {
  margin: 20px 0;
}

.quantity-selection h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--dark-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-decrease, .quantity-increase {
  width: 30px;
  height: 30px;
  border: 1px solid var(--gray-medium);
  background: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.quantity-decrease:hover, .quantity-increase:hover {
  background-color: var(--gray-light);
}

.quantity-input {
  width: 50px;
  height: 30px;
  text-align: center;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
}

.product-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  opacity: 1;
  position: static;
  padding: 0;
  justify-content: flex-start;
}

.product-modal .btn {
  flex: 1;
  min-width: 120px;
}

.product-modal .add-to-cart {
  background-color: var(--primary-color);
  color: white;
}

.product-modal .buy-now {
  background-color: var(--buy-now-color);
  color: white;
}

.product-modal .whatsapp-btn {
  background-color: #144426;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  z-index: 2000;
  transition: var(--transition);
}

.cart-sidebar.active {
  right: 0;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2001;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.cart-sidebar.active .cart-overlay {
  opacity: 1;
  pointer-events: all;
}

.cart-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 2002;
  display: flex;
  flex-direction: column;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-cart {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.close-cart:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-items {
  display: none;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-light);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-quantity button {
  width: 25px;
  height: 25px;
  border: 1px solid var(--gray-medium);
  background: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-item-quantity button:hover {
  background-color: var(--gray-light);
}

.cart-item-quantity input {
  width: 40px;
  height: 25px;
  text-align: center;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
}

.cart-item-remove {
  margin-top: 5px;
}

.cart-item-remove button {
  background: none;
  border: none;
      color: var(--error-color);
      font-size: 12px;
      cursor: pointer;
      transition: var(--transition);
    }

    .cart-item-remove button:hover {
      text-decoration: underline;
    }

    .cart-empty {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      text-align: center;
      padding: 40px;
    }

    .cart-empty p {
      font-size: 18px;
      margin-bottom: 20px;
      color: var(--secondary-color);
    }

    .cart-footer {
      padding: 20px;
      border-top: 1px solid var(--gray-light);
    }

    .cart-summary {
      margin-bottom: 20px;
    }

    .summary-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
    }

    .summary-row.total {
      font-weight: 600;
      font-size: 18px;
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid var(--gray-light);
    }

    .checkout-btn {
      width: 100%;
    }

    /* Checkout Modal */
    .checkout-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 3000;
      display: none;
    }

    .checkout-modal.active {
      display: block;
    }

    .checkout-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(5px);
      z-index: 3001;
    }

    .checkout-content {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%;
      max-width: 800px;
      max-height: 90vh;
      background-color: var(--white);
      border-radius: var(--border-radius);
      overflow: hidden;
      z-index: 3002;
      display: flex;
      flex-direction: column;
    }

    .close-checkout {
      position: absolute;
      top: 20px;
      right: 20px;
      background: none;
      border: none;
      font-size: 24px;
      color: var(--dark-color);
      cursor: pointer;
      z-index: 1;
      transition: var(--transition);
    }

    .close-checkout:hover {
      color: var(--primary-color);
      transform: rotate(90deg);
    }

    .checkout-header {
      padding: 20px;
      border-bottom: 1px solid var(--gray-light);
      text-align: center;
    }

    .checkout-header h3 {
      font-size: 24px;
      margin-bottom: 10px;
    }

    .checkout-steps {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-top: 15px;
    }

    .checkout-steps span {
      position: relative;
      color: var(--secondary-color);
      font-size: 14px;
    }

    .checkout-steps span.active {
      color: var(--primary-color);
      font-weight: 500;
    }

    .checkout-steps span.active::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: var(--primary-color);
    }

    .checkout-form {
      flex: 1;
      overflow-y: auto;
      padding: 30px;
    }

    .form-step {
      display: none;
    }

    .form-step.active {
      display: block;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
    }

    .form-group input, .form-group textarea, .form-group select {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid var(--gray-medium);
      border-radius: var(--border-radius);
  font-family: var(--font-primary);
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.payment-method input {
  display: none;
}

.payment-method:hover {
  border-color: var(--primary-color);
}

.payment-method input:checked + label {
  border-color: var(--primary-color);
  background-color: rgba(93, 64, 55, 0.1);
}

.payment-method label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  cursor: pointer;
}

.bank-details {
  margin-top: 20px;
  padding: 15px;
  background-color: var(--gray-light);
  border-radius: var(--border-radius);
}

.bank-details p {
  margin-bottom: 5px;
  font-size: 14px;
}

.order-summary {
  margin-bottom: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.order-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-light);
}

.order-item:last-child {
  border-bottom: none;
}

.order-item-image {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item-details {
  flex: 1;
}

.order-item-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}

.order-item-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

.summary-totals {
  margin-top: 20px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.btn-back, .btn-next, .btn-submit {
  min-width: 120px;
}

.btn-back {
  background-color: var(--gray-light);
  color: var(--dark-color);
}

.btn-back:hover {
  background-color: var(--gray-medium);
}

.btn-back:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Buy Now Modal (EmailJS) */
.buynow-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  display: none;
}

.buynow-modal.active {
  display: block;
}

.buynow-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 3001;
}

.buynow-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  z-index: 3002;
  display: flex;
  flex-direction: column;
}

.close-buynow {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--dark-color);
  cursor: pointer;
  z-index: 1;
  transition: var(--transition);
}

.close-buynow:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.buynow-header {
  padding: 20px;
  border-bottom: 1px solid var(--gray-light);
  text-align: center;
}

.buynow-header h3 {
  font-size: 24px;
}

.buynow-form {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
}

.buynow-summary {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-light);
}

.buynow-product {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.buynow-product-image {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.buynow-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buynow-product-details {
  flex: 1;
}

.buynow-product-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
}

.buynow-product-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
}

.summary-totals {
  margin-top: 20px;
}

/* Order Confirmation Modal */
.confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4000;
  display: none;
}

.confirmation-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirmation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 4001;
}

.confirmation-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px;
  text-align: center;
  z-index: 4002;
  animation: fadeInUp 0.5s ease;
}

.confirmation-icon {
  font-size: 60px;
  color: var(--success-color);
  margin-bottom: 20px;
}

.confirmation-content h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.confirmation-content p {
  font-size: 16px;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.confirmation-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.home-btn {
  background-color: var(--gray-light);
  color: var(--dark-color);
}

.home-btn:hover {
  background-color: var(--gray-medium);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 15px 25px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  z-index: 5000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background-color: var(--success-color);
}

.toast.error {
  background-color: var(--error-color);
}

.toast.warning {
  background-color: var(--warning-color);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #183121;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: #11312d;
  transform: scale(1.1);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: var(--transition);
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--gray-light);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0,0,0,.1);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

.loading-container {
  display: flex;
  justify-content: center;
  padding: 40px;
}

/* Error Message */
.error-message {
  color: #d32f2f;
  padding: 20px;
  text-align: center;
  background-color: #ffebee;
  border-radius: var(--border-radius);
}

/* Previous Orders Modal */
.orders-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
}

.orders-modal.active {
  display: block;
}

.orders-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2001;
}

.orders-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  z-index: 2002;
  display: flex;
  flex-direction: column;
}

.close-orders {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--dark-color);
  cursor: pointer;
  z-index: 1;
  transition: var(--transition);
}

.close-orders:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.orders-header {
  padding: 20px;
  border-bottom: 1px solid var(--gray-light);
  text-align: center;
}

.orders-header h3 {
  font-size: 24px;
}

.orders-body {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
}

/* Premium Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--font-secondary);
}

.footer-about p {
  margin-bottom: 20px;
  color: var(--accent-color);
}

.footer-links h4, .footer-contact h4 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--accent-color);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.footer-contact i {
  font-size: 18px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
  font-size: 14px;
}

/* Bank Deposit Instructions Modal */
.bank-instructions-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
}

.bank-instructions-modal.active {
  display: flex;
}

.bank-instructions-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 5001;
}

.bank-instructions-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  z-index: 5002;
  animation: fadeInUp 0.5s ease;
}

.close-bank-instructions {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--dark-color);
  cursor: pointer;
  transition: var(--transition);
}

.close-bank-instructions:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.bank-instructions-header {
  margin-bottom: 20px;
  text-align: center;
}

.bank-instructions-header h3 {
  font-size: 24px;
  color: var(--primary-color);
}

.bank-instructions-body {
  margin-bottom: 30px;
}

.bank-instructions-body h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.bank-instructions-body p {
  margin-bottom: 10px;
  font-size: 16px;
}

.reference-number {
  background-color: var(--gray-light);
  padding: 15px;
  border-radius: var(--border-radius);
  text-align: center;
  margin: 20px 0;
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
}

.bank-details-list {
  list-style-type: none;
  margin: 20px 0;
}

.bank-details-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.bank-details-list li::before {
  content: "•";
  position: absolute;
  left: 10px;
  color: var(--primary-color);
  font-size: 20px;
}

.bank-instructions-footer {
  text-align: center;
}

/* Confirmation Dialog */
.confirmation-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.confirmation-dialog.active {
  opacity: 1;
  pointer-events: all;
}

.dialog-content {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.dialog-content h3 {
  margin-bottom: 20px;
  color: var(--dark-color);
}

.dialog-content p {
  margin-bottom: 25px;
  color: var(--secondary-color);
}

.dialog-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-cancel {
  background-color: var(--gray-light);
  color: var(--dark-color);
}

.btn-cancel:hover {
  background-color: var(--gray-medium);
}

.btn-confirm {
  background-color: var(--error-color);
  color: white;
}

.btn-confirm:hover {
  background-color: #d32f2f;
}

/* Animations */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Loading Overlay */
.form-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none;
}

.form-loading-overlay.active {
  display: flex;
}

/* Disable form when loading */
.form-loading {
  pointer-events: none;
  opacity: 0.7;
}

/* Visually hidden for accessibility */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Developer Information Styles */
.developer-info {
  width: 100%;
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.developer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.developer-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
}

.developer-details {
  text-align: left;
}

.developer-details p {
  margin: 5px 0;
  color: #f7f7f7;
  font-size: 14px;
}

.developer-details a {
  color: #c7c7c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.developer-details a:hover {
  color: #c5c5c5;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
  }
  
  .hero-content {
    order: 2;
    padding: 40px 0;
  }
  
  .hero-image {
    order: 1;
    padding-top: 40px;
  }
  
  .hero-bg-text {
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .modal-body {
    flex-direction: column;
  }
  
  .product-images {
    padding: 20px;
  }
  
  .product-details {
    padding: 20px;
    border-left: none;
    border-top: 1px solid var(--gray-light);
  }
  
  .main-image {
    height: 300px;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .navigation {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .header-icons {
    margin-left: auto;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .cart-sidebar {
    max-width: 100%;
    height: 70vh;
    top: auto;
    bottom: -100%;
    right: 0;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }
  
  .cart-sidebar.active {
    bottom: 0;
  }
  
  .cart-overlay {
    background-color: rgba(0, 0, 0, 0.3);
  }
  
  .product-modal .modal-content {
    width: 95%;
    max-height: 85vh;
  }
  
  .checkout-content, .buynow-content {
    width: 95%;
    max-height: 85vh;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
  
  /* Mobile-specific hero background text size */
  .hero-bg-text {
    font-size: 80px !important;
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .product-image {
    height: 200px;
  }

  .product-title {
    font-size: 16px;
  }

  .product-price {
    font-size: 16px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 12px;
  }
  
  .product-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .form-actions, .confirmation-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-back, .btn-next, .btn-submit {
    width: 100%;
  }
  
  .bank-instructions-content {
    padding: 20px;
  }
  
  .bank-instructions-header h3 {
    font-size: 20px;
  }
  
  .reference-number {
    font-size: 18px;
  }

  .dialog-actions {
    flex-direction: column;
  }

  .btn-cancel, .btn-confirm {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  /* Mobile-specific hero background text size */
  .hero-bg-text {
    font-size: 60px !important;
  }
}

/* Responsive adjustments for developer info */
@media (max-width: 768px) {
  .developer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .developer-details {
    text-align: center;
  }
}