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

:root {
  --primary: #FFE8B8;
  --secondary: #D4A373;
  --accent: #ffffff;
  --bg-light: #FFF5E6;
  --border-light: #FFE0CC;
  --text-dark: #1b2340;
  --text-light: #5f6b94;
  --price-color: #7a2e0c;
  --price-bg: #fff1dd;
  --cta-dark: #17203d;
  --cta-dark-hover: #0f1730;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--accent);
  color: var(--text-dark);
  line-height: 1.6;
}

/* HEADER */
.header {
  background: var(--accent);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  cursor: pointer;
}

.logo-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  color: var(--primary);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

.nav-link.active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.currency-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--accent);
  color: var(--text-dark);
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.currency-select:hover,
.currency-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(91, 91, 214, 0.1);
  outline: none;
}

.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

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

.cart-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--accent);
  padding: 6rem 2rem;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-btn {
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* HOME CONTEXT */
.home-context {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding: 0 2rem;
}

.home-context-inner {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.25rem;
}

.home-context-inner h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.home-context-inner > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.home-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.home-highlight-card {
  background: var(--accent);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem;
}

.home-highlight-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.home-highlight-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.home-assurance-strip {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.home-assurance-strip span {
  background: rgba(91, 91, 214, 0.08);
  border: 1px solid rgba(91, 91, 214, 0.15);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

/* GALLERY SECTION */
.gallery {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.9rem;
  color: var(--text-dark);
}

.gallery-header p {
  max-width: 760px;
  margin: 0 auto 1.8rem;
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.8;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: var(--bg-light);
  color: var(--text-dark);
  border: 2px solid transparent;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  animation: fadeIn 0.5s ease;
}

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

.product-card {
  background: var(--accent);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 14px 30px rgba(14, 23, 54, 0.12);
  transform: translateY(-4px);
  border-color: rgba(91, 91, 214, 0.25);
}

.product-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-light);
}

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

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.product-card:hover .product-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.product-info {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-card .product-info {
  gap: 0.55rem;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.8px;
  margin-bottom: 0.35rem;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
  min-height: 2.8rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--price-color);
  background: var(--price-bg);
  border: 1px solid rgba(212, 163, 115, 0.35);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  box-shadow: 0 8px 20px rgba(122, 46, 12, 0.08);
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.product-card-add-btn {
  width: auto;
  margin-left: auto;
  min-height: 48px;
  padding: 0.82rem 1.1rem;
  border: none;
  border-radius: 999px;
  background: var(--cta-dark);
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 14px 24px rgba(23, 32, 61, 0.18);
}

.product-card-add-btn:hover {
  background: var(--cta-dark-hover);
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(23, 32, 61, 0.22);
}

.product-card-add-btn:disabled {
  background: #c8cedf;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* MODALS */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--accent);
  border-radius: 12px;
  max-height: 90vh;
  overflow-y: auto;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.product-detail .modal-content {
  max-width: 800px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-dark);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.close-btn:hover {
  background: var(--bg-light);
  border-radius: 50%;
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.5rem;
}

/* CART MODAL */
.cart-items {
  padding: 2rem;
  min-height: 200px;
}

.cart-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--border-light);
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cart-item-price {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.cart-item-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

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

.quantity-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-dark);
  transition: background 0.2s ease;
}

.quantity-btn:hover {
  background: var(--border-light);
}

.quantity-input {
  width: 40px;
  text-align: center;
  border: none;
  background: none;
}

.remove-btn {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.remove-btn:hover {
  color: #c0392b;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-light);
}

.cart-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-light);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.checkout-btn,
.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-btn:hover,
.submit-btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91, 91, 214, 0.3);
}

.checkout-btn:disabled,
.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* PRODUCT DETAIL */
.product-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-light);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

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

.thumbnail-images {
  display: flex;
  gap: 0.75rem;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

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

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

.product-info {
  padding: 0;
}

.product-info h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.product-detail .product-price {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  padding: 0.7rem 1rem;
  margin-bottom: 0.75rem;
}

.product-meta {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin: 1.5rem 0;
}

.stock-status {
  font-weight: 600;
  margin-left: 0.5rem;
}

.stock-status.in-stock {
  color: #27ae60;
}

.stock-status.low-stock {
  color: #f39c12;
}

.stock-status.out-of-stock {
  color: #e74c3c;
}

.add-to-cart-btn {
  width: auto;
  align-self: flex-start;
  min-height: 56px;
  padding: 0.95rem 1.35rem;
  background: var(--cta-dark);
  color: var(--accent);
  border: none;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  box-shadow: 0 18px 32px rgba(23, 32, 61, 0.22);
}

.add-to-cart-btn:hover {
  background: var(--cta-dark-hover);
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(23, 32, 61, 0.28);
}

.add-to-cart-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* CHECKOUT */
.checkout-form .modal-content {
  max-width: 900px;
  padding: 2rem;
}

.checkout-page {
  max-width: 1100px;
  margin: 2.5rem auto 4rem;
  padding: 0 2rem;
}

.checkout-page-content {
  background: var(--accent);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 2rem;
}

.checkout-page-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.checkout-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.form-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(91, 91, 214, 0.1);
}

.payment-info {
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 6px;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.order-summary {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
}

.order-summary h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.summary-items {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.summary-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

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

.summary-item-image {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--accent);
}

.summary-item-details {
  flex: 1;
  font-size: 0.9rem;
}

.summary-item-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.summary-item-qty {
  color: var(--text-light);
  font-size: 0.85rem;
}

.summary-item-price {
  font-weight: 600;
  color: var(--primary);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-light);
}

.summary-total-secondary {
  color: var(--text-light);
}

.summary-total-grand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  border-top: 2px solid var(--border-light);
  margin-top: 0.25rem;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 6px;
  display: none;
  text-align: center;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* PAGES */
.page {
  display: none;
  animation: fadeIn 0.5s ease;
}

.page.active {
  display: block;
}

.about-hero,
.contact-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--accent);
  padding: 3rem 2rem;
  text-align: center;
}

.about-hero h1,
.contact-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.about-hero p,
.contact-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.about-content {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.about-section {
  margin-bottom: 3rem;
  text-align: center;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.mission-box,
.vision-box {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  text-align: left;
}

.mission-box h3,
.vision-box h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.mission-box p,
.vision-box p {
  line-height: 1.8;
}

.values-section {
  margin-top: 3rem;
  text-align: center;
}

.values-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.value-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* CONTACT PAGE */
.contact-content {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.info-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 12px;
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
}

.contact-form h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* FOOTER */
.footer {
  background: var(--secondary);
  color: var(--accent);
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-section p {
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--accent);
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-supported-countries {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
  text-align: right;
}

.footer-supported-label {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.footer-flag {
  font-size: 1.3rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header.menu-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--accent);
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
    gap: 1rem;
  }

  .hero {
    padding: 3rem 1rem;
    min-height: 350px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .gallery {
    padding: 0 1rem;
  }

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

  .product-info {
    padding: 0.95rem 1rem 1rem;
  }

  .product-name {
    font-size: 0.98rem;
    min-height: 2.5rem;
  }

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

  .product-card-add-btn,
  .add-to-cart-btn {
    min-height: 52px;
  }

  .add-to-cart-btn {
    width: 100%;
    justify-content: center;
  }

  .product-detail .modal-content {
    grid-template-columns: 1fr;
    max-width: 100%;
    width: 95%;
    gap: 1rem;
    padding: 1rem;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
  }

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

  .two-column {
    grid-template-columns: 1fr;
  }

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

  .modal-content {
    width: 95%;
    max-width: 100%;
    max-height: 95vh;
  }

  .about-hero h1,
  .contact-hero h1,
  .gallery-header h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .header-content {
    gap: 0.5rem;
    padding: 0.75rem;
  }

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

  .currency-select {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
  }

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

  .gallery-header h2 {
    font-size: 1.5rem;
  }

  .filter-buttons {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .footer-content {
    padding: 2rem 1rem;
  }

  .footer-bottom {
    padding: 1.5rem 1rem;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-supported-countries {
    justify-content: center;
    text-align: center;
  }

  .footer-section h4 {
    font-size: 1.1rem;
  }

  .product-card {
    margin: 0;
    border-radius: 14px;
  }

  .product-image-container {
    aspect-ratio: 4 / 3;
  }
}

@media (hover: none) {
  .product-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-light);
  }

  .product-card:hover .product-image {
    transform: none;
  }
}
