/* =====================================================
   SAVARI SAREES - Products CSS
   ===================================================== */

/* =====================================================
   PRODUCT CARDS
   ===================================================== */

.products-section {
  padding: var(--space-4xl) 0;
}

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.products-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
}

.products-tabs {
  display: flex;
  gap: var(--space-sm);
  background: var(--white);
  padding: var(--space-xs);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.product-tab {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-walnut);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-tab:hover {
  color: var(--primary-gold);
}

.product-tab.active {
  background: var(--primary-gold);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(201, 151, 58, 0.15);
}

.product-card-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

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

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

.product-card-badges {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.product-card-wishlist {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-walnut);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
}

.product-card:hover .product-card-wishlist {
  opacity: 1;
  transform: translateY(0);
}

.product-card-wishlist:hover {
  color: var(--error);
  transform: scale(1.1);
}

.product-card-wishlist.active {
  color: var(--error);
}

.product-card-wishlist.active svg {
  fill: var(--error);
}

.product-card-wishlist svg {
  width: 20px;
  height: 20px;
  transition: fill 0.3s ease;
}

.product-card-content {
  padding: var(--space-lg);
}

.product-card-category {
  font-family: var(--font-accent);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: var(--space-xs);
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-walnut);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.product-card-name a:hover {
  color: var(--primary-gold);
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.product-card-stars {
  display: flex;
  gap: 2px;
  color: var(--primary-gold);
}

.product-card-stars svg {
  width: 14px;
  height: 14px;
}

.product-card-stars .empty {
  color: var(--border-sand);
}

.product-card-reviews {
  font-size: 0.75rem;
  color: var(--text-walnut);
  opacity: 0.6;
}

.product-card-price {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.product-card-price-current {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-walnut);
}

.product-card-price-original {
  font-size: 0.875rem;
  color: var(--text-walnut);
  opacity: 0.5;
  text-decoration: line-through;
}

.product-card-price-discount {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
}

.product-card-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-sand);
}

.product-card-btn {
  flex: 1;
  padding: 0.75rem;
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.product-card-btn svg {
  width: 16px;
  height: 16px;
}

.product-card-btn-wishlist {
  background: transparent;
  border: 1px solid var(--border-sand);
  color: var(--text-walnut);
}

.product-card-btn-wishlist:hover {
  border-color: var(--error);
  color: var(--error);
}

.product-card-btn-whatsapp {
  background: #25D366;
  border: 1px solid #25D366;
  color: var(--white);
}

.product-card-btn-whatsapp:hover {
  background: #1FB855;
}

/* =====================================================
   COLLECTIONS PAGE - FILTERS
   ===================================================== */

.collections-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding: var(--space-4xl) 0;
}

.collections-sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + var(--space-xl));
  height: fit-content;
}

.filter-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-sand);
}

.filter-title {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-walnut);
}

.filter-clear {
  font-size: 0.75rem;
  color: var(--primary-gold);
  cursor: pointer;
  background: none;
  border: none;
}

.filter-clear:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: var(--space-lg);
}

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

.filter-label {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-walnut);
  opacity: 0.7;
  margin-bottom: var(--space-sm);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.filter-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-sand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.filter-option:hover .filter-checkbox {
  border-color: var(--primary-gold);
}

.filter-option input {
  display: none;
}

.filter-option input:checked + .filter-checkbox {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
}

.filter-option input:checked + .filter-checkbox svg {
  display: block;
}

.filter-option svg {
  width: 12px;
  height: 12px;
  color: var(--white);
  display: none;
}

.filter-option-text {
  font-size: 0.875rem;
  color: var(--text-walnut);
}

.filter-option-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-walnut);
  opacity: 0.5;
}

/* Color Filter */
.filter-colors {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.filter-color {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.filter-color:hover {
  transform: scale(1.1);
}

.filter-color.active {
  border-color: var(--text-walnut);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--text-walnut);
}

/* Price Range Slider */
.filter-price-inputs {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.filter-price-inputs input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  text-align: center;
}

.filter-price-inputs span {
  color: var(--text-walnut);
  opacity: 0.5;
}

.price-range-slider {
  position: relative;
  height: 6px;
  background: var(--border-sand);
  border-radius: var(--radius-full);
}

.price-range-track {
  position: absolute;
  height: 100%;
  background: var(--primary-gold);
  border-radius: var(--radius-full);
}

.price-range-thumb {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 2px solid var(--primary-gold);
  border-radius: var(--radius-full);
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: grab;
  transition: box-shadow 0.2s ease;
}

.price-range-thumb:hover {
  box-shadow: 0 0 0 4px rgba(201, 151, 58, 0.2);
}

.price-range-thumb:active {
  cursor: grabbing;
}

/* Mobile Filter Drawer */
.filter-drawer-toggle {
  display: none;
  width: 100%;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-md);
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-walnut);
  cursor: pointer;
  margin-bottom: var(--space-lg);
}

.filter-drawer-toggle svg {
  width: 20px;
  height: 20px;
  margin-right: var(--space-sm);
}

.filter-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-cream);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.filter-drawer.active {
  transform: translateX(0);
}

.filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-sand);
  background: var(--white);
}

.filter-drawer-title {
  font-family: var(--font-accent);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.filter-drawer-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}

.filter-drawer-close svg {
  width: 24px;
  height: 24px;
}

.filter-drawer-content {
  padding: var(--space-lg);
}

.filter-drawer-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--border-sand);
  background: var(--white);
  display: flex;
  gap: var(--space-md);
}

.filter-drawer-footer button {
  flex: 1;
  padding: 1rem;
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  cursor: pointer;
}

/* =====================================================
   COLLECTIONS TOOLBAR
   ===================================================== */

.collections-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.collections-count {
  font-size: 0.875rem;
  color: var(--text-walnut);
  opacity: 0.7;
}

.collections-search {
  position: relative;
  max-width: 300px;
}

.collections-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  background: var(--white);
}

.collections-search input:focus {
  outline: none;
  border-color: var(--primary-gold);
}

.collections-search svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-walnut);
  opacity: 0.5;
}

.collections-sort {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.collections-sort label {
  font-size: 0.875rem;
  color: var(--text-walnut);
  opacity: 0.7;
}

.collections-sort select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232C1A0E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

.collections-sort select:focus {
  outline: none;
  border-color: var(--primary-gold);
}

/* =====================================================
   PAGINATION
   ===================================================== */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-3xl);
}

.pagination-btn {
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-md);
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  color: var(--text-walnut);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.pagination-btn.active {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--white);
}

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

.pagination-btn svg {
  width: 20px;
  height: 20px;
}

/* =====================================================
   PRODUCT DETAIL PAGE
   ===================================================== */

.product-detail {
  padding: var(--space-4xl) 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--navbar-height) + var(--space-xl));
}

.product-gallery-main {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
  background: var(--white);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.product-gallery-zoom {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.product-gallery-zoom svg {
  width: 20px;
  height: 20px;
}

.product-gallery-thumbs {
  display: flex;
  gap: var(--space-md);
}

.product-gallery-thumb {
  width: 80px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.product-gallery-thumb.active {
  border-color: var(--primary-gold);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info {
  padding: var(--space-lg) 0;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--text-walnut);
  opacity: 0.6;
  margin-bottom: var(--space-lg);
}

.product-breadcrumb a:hover {
  color: var(--primary-gold);
  opacity: 1;
}

.product-breadcrumb svg {
  width: 14px;
  height: 14px;
}

.product-category {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: var(--space-sm);
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.product-stars {
  display: flex;
  gap: 2px;
}

.product-stars svg {
  width: 18px;
  height: 18px;
  color: var(--primary-gold);
}

.product-stars .empty {
  color: var(--border-sand);
}

.product-rating-text {
  font-size: 0.875rem;
  color: var(--text-walnut);
}

.product-rating-text a {
  color: var(--primary-gold);
  text-decoration: underline;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-sand);
}

.product-price-current {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-walnut);
}

.product-price-original {
  font-size: 1.25rem;
  color: var(--text-walnut);
  opacity: 0.5;
  text-decoration: line-through;
}

.product-price-discount {
  font-size: 1rem;
  font-weight: 600;
  color: var(--success);
}

.product-options {
  margin-bottom: var(--space-xl);
}

.product-option-group {
  margin-bottom: var(--space-xl);
}

.product-option-label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-walnut);
  margin-bottom: var(--space-md);
}

.product-option-label span {
  color: var(--primary-gold);
}

/* Color Swatches */
.product-colors {
  display: flex;
  gap: var(--space-md);
}

.product-color-swatch {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-sand);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.product-color-swatch:hover {
  border-color: var(--text-walnut);
}

.product-color-swatch.active {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary-gold);
}

/* Size Options */
.product-sizes {
  display: flex;
  gap: var(--space-sm);
}

.product-size {
  min-width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-md);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-walnut);
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-size:hover {
  border-color: var(--primary-gold);
}

.product-size.active {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--white);
}

.product-size-guide {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  color: var(--primary-gold);
  margin-top: var(--space-md);
  cursor: pointer;
}

.product-size-guide svg {
  width: 16px;
  height: 16px;
}

/* Quantity Selector */
.product-quantity {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.product-quantity-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-quantity-btn:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.product-quantity-btn svg {
  width: 18px;
  height: 18px;
}

.product-quantity-value {
  width: 60px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

/* Add to Cart / WhatsApp */
.product-actions {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-2xl) 0;
}

.product-actions .btn {
  flex: 1;
  padding: 1rem 2rem;
  font-size: 0.875rem;
}

.product-wishlist-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-sand);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-wishlist-btn:hover {
  border-color: var(--error);
  color: var(--error);
}

.product-wishlist-btn.active {
  background: var(--error);
  border-color: var(--error);
  color: var(--white);
}

.product-wishlist-btn svg {
  width: 24px;
  height: 24px;
}

/* Product Meta */
.product-meta {
  margin-bottom: var(--space-xl);
}

.product-meta-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-sand);
}

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

.product-meta-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-meta-item p {
  font-size: 0.875rem;
  margin: 0;
}

/* Product Tabs */
.product-tabs {
  margin-top: var(--space-4xl);
}

.product-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-sand);
  margin-bottom: var(--space-2xl);
}

.product-tab-btn {
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-walnut);
  opacity: 0.6;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.product-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product-tab-btn:hover {
  opacity: 1;
}

.product-tab-btn.active {
  opacity: 1;
  color: var(--primary-gold);
}

.product-tab-btn.active::after {
  transform: scaleX(1);
}

.product-tab-content {
  display: none;
}

.product-tab-content.active {
  display: block;
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid var(--border-sand);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  cursor: pointer;
}

.accordion-title {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--text-walnut);
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.accordion-item.open .accordion-body {
  max-height: 500px;
}

.accordion-content {
  padding-bottom: var(--space-lg);
}

.accordion-content p {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.accordion-content p:last-child {
  margin-bottom: 0;
}

/* Reviews */
.reviews-summary {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.reviews-average {
  text-align: center;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
}

.reviews-average-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-walnut);
  line-height: 1;
}

.reviews-average-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin: var(--space-md) 0;
}

.reviews-average-stars svg {
  width: 24px;
  height: 24px;
  color: var(--primary-gold);
}

.reviews-average-count {
  font-size: 0.875rem;
  color: var(--text-walnut);
  opacity: 0.6;
}

.reviews-breakdown {
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
}

.review-bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.review-bar-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  min-width: 60px;
}

.review-bar-label svg {
  width: 14px;
  height: 14px;
  color: var(--primary-gold);
}

.review-bar-track {
  flex: 1;
  height: 8px;
  background: var(--border-sand);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.review-bar-fill {
  height: 100%;
  background: var(--primary-gold);
  border-radius: var(--radius-full);
}

.review-bar-count {
  font-size: 0.75rem;
  color: var(--text-walnut);
  opacity: 0.6;
  min-width: 30px;
  text-align: right;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.review-card {
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.review-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.review-date {
  font-size: 0.8125rem;
  color: var(--text-walnut);
  opacity: 0.6;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  color: var(--primary-gold);
}

.review-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-walnut);
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .collections-layout {
    grid-template-columns: 1fr;
  }

  .collections-sidebar {
    display: none;
  }

  .filter-drawer-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .product-gallery {
    position: relative;
    top: 0;
  }

  .reviews-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .product-card-wishlist {
    opacity: 1;
    transform: translateY(0);
  }

  .product-gallery-thumbs {
    overflow-x: auto;
    padding-bottom: var(--space-sm);
  }

  .product-gallery-thumb {
    min-width: 60px;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-wishlist-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}