/* Add custom CSS styles below */

/* Root colors */
:root {
  --color-primary: #a66634;
}

/* Body background */
body {
  background: white;
}

/* Header icons */
.header-btn__icon {
  color: var(--color-primary);
}

/* Navbar logo */
.navbar-brand img {
  max-height: 1rem;
}

.main-nav-container.fixed-pinned .navbar-brand img {
  max-height: 20px;
}

/* ---- Grid of products ---- */
/* Default for mobile screens (2 products) */
.s-products-list-horizontal-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* For tablets (3 products) */
@media (min-width: 768px) {
  .s-products-list-horizontal-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* For large screens / desktops (4 products) */
@media (min-width: 1024px) {
  .s-products-list-horizontal-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Product card layout */
.s-product-card-entry {
  flex-direction: column;
}

.s-product-card-horizontal .s-product-card-image {
  width: 100%;
}

/* Buttons styling */
.s-button-primary {
  color: white;
}

.s-button-primary:hover {
  background-color: var(--color-primary);
}

/* Banner */
.banner--fixed img {
  background: transparent;
  max-height: 800px; /* زي القالب الأصلي */
}

/* Product images */
.s-product-card-image {
  background: transparent;
}

/* Navbar fix */
#mainnav {
  height: auto;
}

/* -------------------- */
/* Mobile adjustments */
/* -------------------- */
@media (max-width: 768px) {
  .s-products-list-horizontal-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s-product-card-horizontal .s-product-card-image {
    width: 100%;
  }

  .s-button-primary {
    width: 100%;
  }
}

/* ===================================== */
/* MIM ART – Luxury Art Styling (Raed) */
/* ===================================== */

/* تثبيت أبعاد صور اللوحات – يمنع CLS */
.s-product-card-image img,
.s-product-card-horizontal img,
.product-details__image img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background-color: #f5f5f5;
}

/* كروت المنتجات – إحساس معرض */
.s-product-card-entry {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover فخم */
.s-product-card-entry:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* اسم اللوحة */
.s-product-card-name {
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.5;
}

/* السعر */
.s-product-card-price {
  font-weight: 700;
  font-size: 1.1rem;
}

/* زر الإضافة */
.s-button-primary {
  border-radius: 40px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.s-button-primary:hover {
  transform: scale(1.04);
  opacity: 0.92;
}

/* صفحة المنتج */
.product-details__image {
  border-radius: 18px;
  overflow: hidden;
}

/* موبايل */
@media (max-width: 768px) {
  .s-product-card-image img {
    aspect-ratio: 4 / 5;
  }

  .s-button-primary {
    width: 100%;
  }
}

/* ===== COLORS ===== */
.wall-colors{
  margin: 18px 0;
  padding: 14px;
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
}
.wall-colors h3{
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 800;
}
.wall-colors .color-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}
.wall-colors .color-item{
  display: flex;
  align-items: center;
  gap: 10px;
}
.wall-colors .swatch{
  width: 18px; height: 18px;
  border-radius: 999px;
  border: 1px solid #ddd;
  flex: 0 0 18px;
}
.wall-colors .color-text{ display:flex; flex-direction:column; line-height:1.2; }
.wall-colors .color-name{ font-weight:700; }
.wall-colors .color-hex{ font-size:12px; opacity:.7; margin-top:3px; }
@media (max-width:480px){
  .wall-colors .color-grid{ grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq-wrap{ margin-top: 14px; }
details.faq-item{
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0;
  background: #fff;
}
details.faq-item > summary{
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
details.faq-item > summary::-webkit-details-marker{ display:none; }
details.faq-item > .faq-answer{ margin-top:10px; line-height:1.9; }
/* Add custom CSS styles below */