:root {
  --primary: #8b7355;
  --primary-dark: #6b5340;
  --dark: #1a1817;
  --light: #fdfcfb;
  --gray: #8b8581;
  --border-light: #e8e4e0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Montserrat", sans-serif;
  color: var(--dark);
  background: var(--light);
}
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 252, 251, 0.98);
  border-bottom: 1px solid var(--border-light);
}
.header-top {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
}
.header-main {
  position: relative;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  text-decoration: none;
}
.logo h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--dark);
}
.logo span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
}
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 40px;
}
.nav-menu a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.nav-menu a:hover {
  color: var(--primary);
}
.nav-menu .dropdown {
  position: static;
}
.nav-menu .dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-menu .dropdown > a i {
  font-size: 12px;
  transition: transform 0.2s;
}
.nav-menu .dropdown:hover > a i {
  transform: rotate(180deg);
}
.nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  padding: 30px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 1000;
  border-top: 1px solid var(--border-light);
}
.nav-menu .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.dropdown-grid li {
  list-style: none;
}
.dropdown-grid a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 400;
  transition: all 0.2s;
}
.dropdown-grid a:hover {
  color: var(--primary);
  padding-left: 8px;
}
.dropdown-grid .view-all {
  grid-column: 1/-1;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}
.dropdown-grid .view-all a {
  display: inline-block;
  padding: 8px 24px;
  background: var(--primary);
  color: white;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-actions a {
  color: var(--dark);
  font-size: 20px;
  text-decoration: none;
}
.cart-btn {
  position: relative;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.user-menu {
  position: relative;
  display: inline-block;
}
.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-size: 15px;
  color: var(--dark);
  cursor: pointer;
  padding: 8px 12px;
}
.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  padding: 10px 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    visibility 0.2s;
  z-index: 1000;
}
.user-menu:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
}
.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  color: var(--dark);
  text-decoration: none;
  font-size: 14px;
}
.user-dropdown a:hover {
  background: var(--light);
  color: var(--primary);
}
.user-dropdown .divider {
  height: 1px;
  background: var(--border-light);
  margin: 8px 0;
}

.breadcrumb {
  margin-top: 120px;
  padding: 15px 0;
  font-size: 13px;
  color: var(--gray);
  border-bottom: 1px solid var(--border-light);
}
.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--primary);
}

.product-detail {
  padding: 40px 0 60px;
}
.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.product-gallery {
  position: relative;
}
.main-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f3f1;
  cursor: zoom-in;
}
.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.main-image:hover img {
  transform: scale(1.03);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
  z-index: 10000;
}
.lightbox-close:hover {
  opacity: 1;
}
.thumbnail-list {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.thumbnail {
  width: 80px;
  height: 100px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #f5f3f1;
  flex-shrink: 0;
}
.thumbnail.active {
  border-color: var(--primary);
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-subtitle {
  color: var(--gray);
  font-size: 15px;
  font-style: italic;
  margin-bottom: 12px;
  min-height: 0;
}
.product-rating-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  cursor: pointer;
}
.stars-display {
  display: flex;
  gap: 2px;
}
.rating-count {
  font-size: 13px;
  color: var(--gray);
  text-decoration: underline;
}
.product-price-container {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}
.current-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 600;
}
.old-price {
  color: var(--gray);
  text-decoration: line-through;
  font-size: 18px;
}
.discount-badge {
  background: #c45c5c;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.product-description {
  margin-bottom: 25px;
  line-height: 1.7;
  color: #444;
}
.product-meta {
  margin-bottom: 25px;
}
.meta-item {
  display: flex;
  margin-bottom: 10px;
}
.meta-label {
  width: 120px;
  font-weight: 500;
  font-size: 13px;
}
.meta-value {
  color: var(--gray);
  font-size: 13px;
}
.stock-status {
  color: #2e8b57;
  font-weight: 500;
}
.stock-status.low {
  color: #daa520;
}
.stock-status.out {
  color: #cd5c5c;
}

.purchase-section {
  background: #f8f6f4;
  padding: 25px;
  border-radius: 8px;
}
.variations-section {
  margin-bottom: 20px;
}
.variation-group {
  margin-bottom: 16px;
}
.variation-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
  display: flex;
  gap: 6px;
}
.variation-label span {
  color: var(--dark);
  font-weight: 600;
}
.variation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.var-btn {
  padding: 8px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  background: white;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  min-width: 44px;
  text-align: center;
}
.var-btn:hover {
  border-color: var(--primary);
}
.var-btn.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}
.var-btn.color-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  position: relative;
}
.var-btn.color-btn.selected::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.stock-warning {
  font-size: 12px;
  color: #c47c2a;
  margin-top: 8px;
  display: none;
}
.stock-warning.visible {
  display: block;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background: white;
}
.quantity-control button {
  width: 40px;
  height: 40px;
  border: none;
  background: white;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
}
.quantity-control button:hover {
  background: var(--primary);
  color: white;
}
.quantity-control input {
  width: 60px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 16px;
  outline: none;
}
.btn-add-cart {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.2s;
}
.btn-add-cart:hover {
  background: var(--primary-dark);
}
.btn-add-cart:disabled {
  background: var(--gray);
  cursor: not-allowed;
}
.btn-wishlist {
  width: 100%;
  padding: 14px;
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.2s;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-wishlist:hover {
  background: var(--dark);
  color: white;
}
.btn-wishlist.active {
  border-color: #c45c5c;
  color: #c45c5c;
}
.btn-wishlist.active:hover {
  background: #c45c5c;
  color: white;
}
.btn-wishlist i {
  font-size: 16px;
}

.product-description-section {
  padding: 50px 0 10px;
  border-top: 1px solid var(--border-light);
}
.product-desc-inner {
  max-width: 820px;
}
.desc-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark);
}
.desc-body {
  line-height: 1.8;
  color: #444;
  font-size: 15px;
}
.desc-body p {
  margin-bottom: 14px;
}
.desc-body p:last-child {
  margin-bottom: 0;
}

.reviews-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-light);
}
.reviews-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 40px;
}
.reviews-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
}
.reviews-stats {
  background: #f8f6f4;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}
.stats-score {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
}
.stats-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 8px 0;
}
.stats-total {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 20px;
}
.stats-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.bar-row span:first-child {
  width: 40px;
  color: var(--gray);
  white-space: nowrap;
}
.bar-track {
  flex: 1;
  height: 6px;
  background: #e8e4e0;
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: #daa520;
  border-radius: 3px;
  transition: width 0.6s ease;
}
.bar-count {
  width: 20px;
  color: var(--gray);
  text-align: right;
}
.btn-write-review {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-write-review:hover {
  background: var(--primary);
  color: white;
}
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px 22px;
  transition: box-shadow 0.2s;
}
.review-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.review-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-author {
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
}
.review-date {
  font-size: 11px;
  color: var(--gray);
  margin-top: 2px;
}
.review-card-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-stars {
  display: flex;
  gap: 2px;
}
.btn-delete-review {
  background: none;
  border: none;
  color: #ddd;
  cursor: pointer;
  font-size: 13px;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.2s;
  line-height: 1;
}
.btn-delete-review:hover {
  color: #c45c5c;
}
.review-comment {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.75;
  padding-left: 52px;
}
.review-images {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-left: 52px;
}
.review-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s;
  flex-shrink: 0;
}
.review-thumb:hover {
  border-color: var(--primary);
  transform: scale(1.04);
}
.review-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.review-lightbox.open {
  display: flex;
}
.review-lightbox-img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
}
.review-lightbox-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  max-width: 90vw;
  padding-bottom: 4px;
}
.review-lightbox-thumbs img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s;
  flex-shrink: 0;
}
.review-lightbox-thumbs img.active {
  border-color: #fff;
  opacity: 1;
}
.review-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.review-lb-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}
.review-lb-prev {
  left: 16px;
}
.review-lb-next {
  right: 16px;
}
.review-lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.review-lb-counter {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-family: "Montserrat", sans-serif;
}
.reviews-empty {
  text-align: center;
  padding: 40px;
  color: var(--gray);
  font-size: 14px;
}
.reviews-empty i {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
  opacity: 0.3;
}
.review-form-wrap {
  display: none;
  background: #f8f6f4;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 30px;
}
.review-form-wrap.visible {
  display: block;
}
.review-form-wrap h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  margin-bottom: 20px;
}
.review-img-upload {
  margin-top: 16px;
}
.review-img-upload > label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 8px;
}
.review-img-dropzone {
  border: 2px dashed var(--border-light);
  border-radius: 10px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.review-img-dropzone:hover,
.review-img-dropzone.drag-over {
  border-color: var(--primary);
  background: #faf8f5;
}
.review-img-dropzone i {
  font-size: 26px;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}
.review-img-dropzone span {
  font-size: 13px;
  color: var(--dark);
  font-weight: 500;
  display: block;
}
.review-img-dropzone small {
  font-size: 11px;
  color: var(--gray);
  margin-top: 4px;
  display: block;
}
.review-img-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.review-img-preview-item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid var(--border-light);
}
.review-img-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-img-preview-item .remove-img {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-img-preview-item .upload-progress {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--primary);
}
.star-picker {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.star-picker input {
  display: none;
}
.star-picker label {
  font-size: 28px;
  color: #ddd;
  cursor: pointer;
  transition: color 0.1s;
}
.star-picker label:hover,
.star-picker label:hover ~ label,
.star-picker input:checked ~ label {
  color: #daa520;
}
.rf-group {
  margin-bottom: 16px;
}
.rf-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}
.rf-group input,
.rf-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  background: white;
}
.rf-group input:focus,
.rf-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.rf-group textarea {
  resize: vertical;
  min-height: 100px;
}
.review-form-actions {
  display: flex;
  gap: 12px;
}
.btn-submit-review {
  padding: 12px 28px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}
.btn-submit-review:hover {
  background: var(--primary-dark);
}
.btn-cancel-review {
  padding: 12px 20px;
  background: transparent;
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  cursor: pointer;
}
.review-msg {
  font-size: 13px;
  margin-top: 10px;
  display: none;
}

.footer {
  background: var(--dark);
  color: white;
  margin-top: 40px;
}
.footer-main {
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-logo h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
}
.footer-col p {
  margin: 20px 0;
  opacity: 0.7;
  font-size: 14px;
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
}
.footer-col ul li i {
  margin-right: 10px;
  width: 18px;
  color: rgba(255, 255, 255, 0.7);
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
}
.social-links a:hover {
  background: var(--primary);
}
.payment-methods {
  display: flex;
  gap: 15px;
  font-size: 22px;
  opacity: 0.7;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  opacity: 0.6;
  font-size: 13px;
}

.mobile-menu-btn {
  display: none;
}
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .product-container {
    grid-template-columns: 1fr;
  }
  .reviews-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
  }
  .nav-menu.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 999;
  }
  .nav-menu.active ul {
    flex-direction: column;
    gap: 0;
  }
  .nav-menu.active ul li {
    border-bottom: 1px solid var(--border-light);
  }
  .nav-menu.active ul li a {
    display: block;
    padding: 12px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .main-image {
    aspect-ratio: unset !important;
    overflow: visible !important;
    height: auto !important;
  }
  .main-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: fill !important;
    border-radius: 8px;
    display: block;
  }
  .product-info {
    margin-top: 24px;
  }
  .product-gallery {
    margin-bottom: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
