/* Shop Page Modern Adjustments */

/* 1. Sidebar Styles */
.sf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.sf-clear-all {
  background: none;
  border: none;
  color: #5a7b6b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.sf-clear-all:hover {
  text-decoration: underline;
}
.shop-filters__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
  cursor: pointer;
}
.shop-filters__heading i {
  font-size: 12px;
  color: #888;
  transition: transform 0.3s;
}
.shop-filters__group:not(.is-open) .shop-filters__list,
.shop-filters__group:not(.is-open) .sf-search-input,
.shop-filters__group:not(.is-open) .sf-show-more,
.shop-filters__group:not(.is-open) .sf-price-slider {
  display: none;
}
.shop-filters__group:not(.is-open) .shop-filters__heading i {
  transform: rotate(-90deg);
}
.sf-count {
  color: #888;
  font-size: 12px;
  margin-left: 4px;
}
.sf-search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 15px;
  background-color: #f8fafc;
}
.sf-show-more {
  background: none;
  border: none;
  color: #5a7b6b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 5px;
}

/* Color Swatches */
.sf-color-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sf-color-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4a5568;
}
.sf-color-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid #e2e8f0;
}

/* Price Slider Custom */
.sf-price-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #4a5568;
  margin-top: 15px;
}
.sf-price-labels span {
  color: #0b3b24;
}

/* 2. Product Grid (4 Columns) */
.modern-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 1200px) {
  .modern-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .modern-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .modern-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* 3. Modern Product Card */
.modern-product-card {
  background: #fdfdfd;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 15px;
  position: relative;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.modern-product-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.mpc-wishlist {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #a0aec0;
  font-size: 18px;
  z-index: 2;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.mpc-wishlist:hover { color: #e53e3e; }
.mpc-image-wrap {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  position: relative;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
}
.mpc-image-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.mpc-colors {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.mpc-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
}
.mpc-title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.mpc-subtitle {
  font-size: 12px;
  color: #718096;
  margin: 0 0 8px 0;
}
.mpc-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 11px;
  color: #a0aec0;
}
.mpc-stars {
  color: #f6ad55;
  font-size: 10px;
}
.mpc-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}
.mpc-price-wrap {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
}
.mpc-price {
  font-size: 16px;
  font-weight: 800;
  color: #111;
}
.mpc-old-price {
  font-size: 12px;
  color: #a0aec0;
  text-decoration: line-through;
}
.mpc-add-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0b3b24;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s;
}
.mpc-add-btn:hover {
  background: #1a5638;
}

/* 4. Promo Banner */
.shop-promo-banner {
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 40px 60px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.shop-promo-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(245,247,245,0.9) 0%, rgba(245,247,245,0.4) 60%, transparent 100%);
  z-index: 1;
}
.spb-content {
  position: relative;
  z-index: 2;
  max-width: 400px;
}
.spb-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0b3b24;
  line-height: 1.2;
  margin-bottom: 20px;
}
.spb-content h2 span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  color: #D4AF37;
  font-size: 32px;
}
.spb-btn {
  display: inline-flex;
  align-items: center;
  background: #d39859;
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.spb-btn:hover {
  background: #b27331;
  color: #fff;
}
@media (max-width: 768px) {
  .shop-promo-banner { padding: 30px; text-align: center; }
  .shop-promo-banner::before { background: rgba(245,247,245,0.85); }
  .spb-content { max-width: 100%; margin: 0 auto; }
}

/* 5. Trust Badges */
.shop-trust-badges {
  background: #f8fafc;
  border-top: 1px solid #edf2f7;
  padding: 40px 0;
  margin-bottom: -40px; /* offset to attach to footer */
}
.stb-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stb-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.stb-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #0b3b24;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stb-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px 0;
  font-family: 'Inter', sans-serif;
}
.stb-text p {
  font-size: 12px;
  color: #718096;
  margin: 0;
  font-family: 'Inter', sans-serif;
}
@media (max-width: 991px) {
  .stb-container { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 576px) {
  .stb-container { grid-template-columns: 1fr; padding: 0 20px; }
}

/* ======== NEW SHOP LAYOUT CSS ======== */
/* Grid & Layout Adjustments */
.container-fluid.shop-page__layout {
  padding-left: 1% !important;
  padding-right: 1% !important;
  max-width: 100% !important;
}
@media (min-width: 992px) {
  .shop-page__layout {
    grid-template-columns: 240px 1fr !important;
    gap: 16px !important;
  }
}

.modern-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1400px) {
  .modern-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .modern-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .modern-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* Sidebar Shape Filter */
.sf-shape-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.sf-shape-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 5px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
}
.sf-shape-item:hover, .sf-shape-item:has(input:checked) {
  border-color: #D4AF37;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.sf-shape-item img {
  width: 30px;
  height: 20px;
  object-fit: contain;
  margin-bottom: 5px;
}
.sf-shape-item span {
  display: block;
  font-size: 10px;
  color: #333;
  font-family: 'Inter', sans-serif;
}

/* Product Card */
.sc-card {
  background: #fff;
  border-radius: 16px;
  border: none;
  padding: 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.sc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.sc-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  background: #fcfcfc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.sc-img-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-img-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sc-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 10px;
  z-index: 2;
}
.badge-gold { background: #D4AF37; color: #fff; }
.badge-dark { background: #0b3b24; color: #fff; }
.sc-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  cursor: pointer;
  z-index: 2;
  font-size: 13px;
}
.sc-info {
  padding: 10px 10px 14px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.sc-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 2px 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.3;
}
.sc-title a { color: #111; text-decoration: none; }
.sc-subtitle {
  font-size: 11px;
  color: #888;
  margin: 0 0 8px 0;
}
.sc-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
}
.sc-stars {
  color: #d39859;
  font-size: 9px;
}
.sc-rating-text {
  font-size: 10px;
  color: #888;
}
.sc-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.sc-price {
  font-size: 15px;
  font-weight: 800;
  color: #111;
}
.sc-old-price {
  font-size: 11px;
  color: #aaa;
  text-decoration: line-through;
}
.sc-discount {
  font-size: 9px;
  font-weight: 700;
  color: #D4AF37;
  background: rgba(183,121,53,0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.sc-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
}
.sc-card:hover .sc-actions {
  transform: translateY(0);
  opacity: 1;
}
.sc-btn-outline {
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background: #fff;
  border: 1px solid #d39859;
  color: #D4AF37;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.sc-btn-outline:hover {
  background: #d39859;
  color: #fff;
}
.sc-btn-buy {
  width: auto;
  text-align: center;
  padding: 6px 14px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 20px;
  border: none;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}
.sc-btn-buy:hover {
  background: #333;
  color: #fff;
}
.sc-btn-cart {
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background: #0b3b24;
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
  display: none; /* hidden since we are not using this anymore, we have sc-btn-outline and sc-btn-buy */
}
.sc-btn-cart:hover {
  opacity: 0.9;
}

/* Arrow Cart Icon */
.sc-arrow-cart {
  width: 32px;
  height: 32px;
  background: #D4AF37; /* Website Logo Color */
  color: #fff;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}
.sc-arrow-cart:hover {
  background: #B3922E;
  transform: scale(1.1);
}

/* Top Right Cart Icon */
.sc-cart-top {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: #fff;
  color: #888;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.sc-cart-top:hover {
  color: #111;
  transform: scale(1.1);
}
