/* AEVA Premium Storefront Styling System */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --forest: #1E3E28;
  --forest-light: #2E543B;
  --gold: #B49A5A;
  --gold-light: #D4C49A;
  --gold-dark: #8E753E;
  --cream: #F2EFE4;
  --cream-dark: #E2DFD5;
  --charcoal: #1E3E28;
  --white: #ffffff;
  --neutral-bg: #FAF9F5;
  --shadow-subtle: 0 4px 20px rgba(30, 62, 40, 0.05);
  --shadow-premium: 0 10px 30px rgba(30, 62, 40, 0.08);
  --shadow-premium-hover: 0 20px 40px rgba(30, 62, 40, 0.15);
  --radius: 8px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--neutral-bg);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Store Header Styling */
.shop-header {
  background: var(--forest);
  padding: 1.2rem 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shop-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-letter {
  width: 38px;
  height: 38px;
  background: var(--gold);
  color: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.shop-nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.shop-nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 6px 0;
  transition: var(--transition);
  position: relative;
}

.shop-nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: var(--transition);
}

.shop-nav-links a:hover,
.shop-nav-links a.active {
  color: var(--gold);
}

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

.cart-toggle {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-toggle:hover {
  background: var(--gold);
  color: var(--forest);
  box-shadow: 0 0 10px rgba(180, 154, 90, 0.4);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #e74c3c;
  color: white;
  font-size: 0.68rem;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Storefront Main Area */
.shop-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 5%;
}

.storefront-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Sidebar Filters */
.shop-sidebar {
  position: sticky;
  top: 120px;
  background: var(--white);
  border: 1px solid rgba(180, 154, 90, 0.2);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-subtle);
}

.filter-section {
  margin-bottom: 35px;
}

.filter-section:last-child {
  margin-bottom: 0;
}

.filter-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 18px;
  border-bottom: 1.5px solid rgba(180, 154, 90, 0.15);
  padding-bottom: 8px;
}

/* Categories List Styling */
.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-item {
  color: var(--charcoal);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(30, 62, 40, 0.05);
  transition: var(--transition);
}

.category-item:hover {
  color: var(--gold);
  padding-left: 5px;
}

.category-item.active {
  color: var(--forest);
  font-weight: 600;
  border-bottom-color: var(--gold);
  padding-left: 5px;
}

.category-count {
  font-size: 0.82rem;
  color: #888;
  font-weight: 400;
}

/* Price Range Slider */
.price-slider-wrap {
  padding: 10px 0;
}

.price-range-input {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--cream-dark);
  border-radius: 2px;
  outline: none;
  margin: 15px 0 10px;
}

.price-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--forest);
  cursor: pointer;
  transition: var(--transition);
}

.price-range-input::-webkit-slider-thumb:hover {
  background: var(--forest);
  border-color: var(--gold);
  transform: scale(1.15);
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #666;
  margin-top: 5px;
}

.price-current {
  font-weight: 600;
  color: var(--forest);
}

/* Weight Checkbox Filters */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--charcoal);
  position: relative;
  user-select: none;
}

.checkbox-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-custom {
  height: 18px;
  width: 18px;
  background-color: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
}

.checkbox-label:hover input ~ .checkbox-custom {
  border-color: var(--forest);
}

.checkbox-label input:checked ~ .checkbox-custom {
  background-color: var(--forest);
  border-color: var(--forest);
}

.checkbox-custom::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkbox-custom::after {
  display: block;
}

.checkbox-text {
  transition: var(--transition);
}

.checkbox-label input:checked ~ .checkbox-text {
  color: var(--forest);
  font-weight: 500;
}

/* Main Catalog Grid */
.shop-content {
  flex: 1;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}

.no-products-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: #888;
  font-size: 1.1rem;
}

/* Product Card Architecture */
.product-card {
  background: var(--white);
  border: 1px solid rgba(180, 154, 90, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium-hover);
  border-color: var(--gold);
}

.product-image-container {
  width: 100%;
  height: 260px;
  position: relative;
  background: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: var(--transition);
}

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

/* Out of Stock Overlay Badge */
.stock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 62, 40, 0.65);
  backdrop-filter: blur(2px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
  opacity: 0.95;
  pointer-events: none;
}

.stock-overlay.small {
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.product-info-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 8px;
  min-height: 48px;
  display: flex;
  align-items: flex-start;
}

.product-price-range {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.product-action-wrap {
  margin-top: auto;
}

.card-cta-btn {
  width: 100%;
  padding: 10px 16px;
  border-radius: 4px;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

/* Button Variants */
.card-cta-btn.add-to-cart {
  background: var(--forest);
  color: var(--white);
  border: 1px solid var(--forest);
}

.card-cta-btn.add-to-cart:hover {
  background: transparent;
  color: var(--forest);
}

.card-cta-btn.select-options {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}

.card-cta-btn.select-options:hover {
  background: var(--forest);
  color: var(--white);
}

.card-cta-btn.disabled-btn {
  background: #e0e0e0;
  color: #888;
  border: 1px solid #e0e0e0;
  cursor: not-allowed;
}

.card-cta-btn.disabled-btn:hover {
  background: #d4d4d4;
}

/* Cart Panel (Slide-Over) */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}

.cart-panel.open {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  background: var(--forest);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
}

.cart-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gold);
  padding: 0.25rem;
  display: flex;
  align-items: center;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-empty {
  text-align: center;
  color: #999;
  padding: 3rem 0;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.cart-item:first-child {
  padding-top: 0;
}

.cart-item-image {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--cream);
  padding: 4px;
}

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

.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--forest);
}

.cart-item-variant {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 0.6rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.cart-item-qty {
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}

.cart-item-price {
  font-weight: 600;
  color: var(--forest);
  margin-left: auto;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
}

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

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--forest);
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  background: var(--gold);
  color: var(--forest);
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.checkout-btn:hover:not(:disabled) {
  background: transparent;
  color: var(--forest);
}

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

/* Modals Overlay Base */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 62, 40, 0.4);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 2rem;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 8px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.open .modal {
  transform: scale(1);
}

.modal-large {
  max-width: 960px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--cream);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: var(--forest);
  color: var(--white);
  transform: rotate(90deg);
}

/* Single Product Detail Modal Split Layout */
.modal-main-row {
  display: flex;
  gap: 3.5rem;
  margin-bottom: 40px;
}

.modal-gallery-col {
  width: 48%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-large-img-wrap {
  width: 100%;
  height: 360px;
  background: var(--cream);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(180, 154, 90, 0.15);
}

.modal-large-img-wrap img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: var(--transition);
}

.modal-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.modal-thumb {
  width: 65px;
  height: 65px;
  background: var(--cream);
  border-radius: 4px;
  object-fit: contain;
  padding: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.modal-thumb:hover,
.modal-thumb.active {
  border-color: var(--gold);
  transform: scale(1.05);
}

.modal-details-col {
  width: 52%;
  display: flex;
  flex-direction: column;
}

.modal-category-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--forest);
  margin-bottom: 6px;
  line-height: 1.2;
}

.modal-sku {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 18px;
}

.modal-sku span {
  font-weight: 500;
  color: #444;
}

.modal-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 20px;
  border-top: 1px solid rgba(180, 154, 90, 0.15);
  border-bottom: 1px solid rgba(180, 154, 90, 0.15);
  padding: 10px 0;
}

.modal-desc-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-bullets {
  list-style: none;
  margin-bottom: 25px;
}

.modal-bullets li {
  font-size: 0.9rem;
  color: #444;
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.modal-bullets li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.modal-swatches-section {
  margin-bottom: 30px;
}

.section-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 10px;
}

.swatches-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.weight-swatch {
  padding: 8px 18px;
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: var(--transition);
}

.weight-swatch:hover:not(.disabled-swatch) {
  border-color: var(--forest);
  color: var(--forest);
}

.weight-swatch.active {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.weight-swatch.disabled-swatch {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f5f5f5;
  text-decoration: line-through;
}

.modal-action-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.qty-selector {
  display: flex;
  border: 1.5px solid var(--cream-dark);
  border-radius: 4px;
  overflow: hidden;
  height: 44px;
}

.modal-qty-btn {
  width: 36px;
  background: var(--cream);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
}

.modal-qty-btn:hover {
  background: var(--forest);
  color: var(--white);
}

#modalQtyVal {
  width: 44px;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--forest);
  outline: none;
}

.modal-submit-btn {
  flex: 1;
  height: 44px;
  background: var(--forest);
  color: var(--white);
  border: 1px solid var(--forest);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.modal-submit-btn:hover:not(.disabled) {
  background: transparent;
  color: var(--forest);
}

.modal-submit-btn.disabled {
  background: #e0e0e0;
  color: #888;
  border-color: #e0e0e0;
  cursor: not-allowed;
}

/* Related Products Slider Grid */
.modal-related-section {
  border-top: 1.5px solid rgba(180, 154, 90, 0.2);
  padding-top: 35px;
  margin-top: 10px;
}

.modal-related-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--forest);
  margin-bottom: 20px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.related-card {
  background: var(--white);
  border: 1px solid rgba(180, 154, 90, 0.1);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-premium);
}

.related-img-wrap {
  width: 100%;
  height: 120px;
  background: var(--cream);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.related-img-wrap img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.related-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--forest);
  margin-bottom: 6px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-card p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
}

/* Checkout Modal */
.checkout-modal {
  max-width: 500px;
}

.checkout-modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--forest);
  margin-bottom: 1.5rem;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--forest);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 10px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--forest);
}

.order-summary {
  background: var(--cream);
  padding: 15px;
  border-radius: 6px;
  margin-top: 10px;
}

.order-summary h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--forest);
}

.order-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 5px 0;
  color: #555;
}

.order-total-line {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--cream-dark);
  color: var(--forest);
}

.place-order-btn {
  padding: 12px;
  background: var(--gold);
  color: var(--forest);
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 10px;
}

.place-order-btn:hover {
  background: transparent;
  color: var(--forest);
}

/* Toast Message */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--forest);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  z-index: 400;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  border: 1.5px solid var(--gold);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* RESPONSIVE DESIGN - BREAKPOINTS */

/* Tablet layout */
@media (max-width: 1024px) {
  .storefront-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .shop-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 20px;
  }

  .filter-section {
    margin-bottom: 0;
  }

  .modal-large {
    max-width: 720px;
  }

  .modal-main-row {
    flex-direction: column;
    gap: 2rem;
  }

  .modal-gallery-col,
  .modal-details-col {
    width: 100%;
  }

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

/* Mobile layout */
@media (max-width: 768px) {
  .shop-header {
    padding: 1rem 5%;
  }

  .shop-nav {
    display: none; /* Hide wide navbar links on mobile */
  }

  .shop-main {
    padding: 1.5rem 5%;
  }

  .shop-sidebar {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .modal {
    padding: 20px;
  }

  .modal-large-img-wrap {
    height: 260px;
  }

  .modal-title {
    font-size: 1.6rem;
  }

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