/* =======================================
   ZEN SPA – Complete Store Styling
   Colors: #c86f4d – Cairo Font
======================================== */

/* Import Google Font Cairo */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #c86f4d;
  --dark: #1f1f1f;
  --light-bg: #f8f6f4;
  --border: #e7e5e3;
}

/* =================
   Global Styles
================= */

body,
html {
  font-family: 'Cairo', sans-serif;
  background: var(--light-bg);
  color: var(--dark);
  margin: 0;
  padding: 0;
}

/* =================
   Header
================= */

.store-header {
  padding: 15px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

div#mainnav {
  background: transparent !important;
}

.main-menu li > a,
.topnav-link-item,
.text-store-text-primary {
  color: var(--dark) !important;
  font-weight: 500;
  text-transform: uppercase;
}

/* Header Icons */
.header-btn__icon.icon,
.header-btn__icon.sicon-user {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

/* =================
   Banner Styling
================= */

.s-block--banner,
.s-block--fixed-banner {
  border-radius: 18px;
  overflow: hidden;
}

.s-block--banner img,
.s-block--fixed-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: 0.3s ease;
}

.s-block--banner img:hover {
  transform: scale(1.05);
}

/* =================
   Product Grid Layout
================= */

.products-grid { /* الحاوي لكل البطاقات */
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(6, 1fr); /* 6 بطاقات في الديسكتوب */
  padding: 20px 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 بطاقات في التابلت */
  }
}

/* Mobile */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 بطاقات في الجوال */
  }
}

/* صغير جدًا */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 بطاقة فقط */
  }
}

/* =================
   Product Cards
================= */

.product-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.product-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

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

.product-card__title a {
  font-weight: 600;
  color: var(--dark);
  font-size: 15px;
}

.product-card__price {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

/* Add to Cart Button */
.product-card__addToCart__btn button {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 30px !important;
  border: none !important;
  padding: 10px 18px;
  font-weight: 600;
  transition: 0.3s ease;
}

.product-card__addToCart__btn button:hover {
  opacity: 0.9;
}

/* Small Circular Buttons */
.product-card__buttons button {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  border: 1.5px solid var(--primary) !important;
  background: transparent !important;
  color: var(--primary) !important;
  transition: 0.3s ease;
}

.product-card__buttons button:hover {
  background: var(--primary) !important;
  color: #c86f4d !important;
  transform: translateY(-2px);
}

/* =================
   Footer Styling – Updated
================= */

footer.store-footer {
  background: var(--dark) !important;
  color: #c86f4d !important;
  padding: 30px 0;
  font-family: 'Cairo', sans-serif;
}

footer.store-footer p,
footer.store-footer span,
footer.store-footer li {
  color: #c86f4d !important;
}

footer.store-footer a {
  color: rgba(255,255,255,0.8) !important;
  transition: 0.3s ease;
}

footer.store-footer a:hover {
  color: #c86f4d !important;
  opacity: 1;
}


/* =================
   Forms & Inputs
================= */

input,
textarea,
select {
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  padding: 8px;
  font-family: 'Cairo', sans-serif;
}

/* =================
   Responsive
================= */

@media (max-width:768px) {
  .product-card__addToCart__btn button {
    width: 90% !important;
    margin: auto;
  }
}