/* Start custom CSS *//* ===========================
   JWS — Custom Page CSS
   (For page-level Custom CSS or Appearance -> Additional CSS)
   =========================== */

/* 1) Reset / base */
.jws-page, .jws-container {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 2) Header / top bar */
.jws-page .site-header, .jws-page header {
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff;
  padding: 18px 24px;
  border-bottom: 4px solid rgba(255,255,255,0.04);
  box-shadow: 0 6px 20px rgba(12, 24, 48, 0.08);
}
.jws-page .site-header a, .jws-page header a {
  color: #fff;
  text-decoration: none;
}
.jws-page .site-header .logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.2px;
}

/* 3) Hero section with optional uploaded background image */
/* Example uses your uploaded image path — replace with your public URL if hosted */
.jws-page .hero {
  padding: 70px 20px;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  margin-bottom: 24px;
  /* Use the local path you uploaded (will be transformed when published) */
  background-image: url("/mnt/data/17638196267701417304391197580407.jpg");
  /* If you need a color overlay */
  position: relative;
  overflow: hidden;
}
.jws-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 26, 0.45);
  pointer-events: none;
}
.jws-page .hero .hero-inner {
  position: relative; /* above overlay */
  z-index: 2;
}
.jws-page .hero h1 {
  font-size: 2rem;
  margin: 0 0 8px;
}
.jws-page .hero p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.95;
}

/* 4) Products grid */
.jws-page .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 12px 0 32px;
}
.jws-page .product-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(20, 30, 60, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jws-page .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(12,18,35,0.12);
}
.jws-page .product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.jws-page .product-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #0f172a;
}
.jws-page .product-card .price {
  font-weight: 700;
  color: #1e3a8a;
  font-size: 1.05rem;
}
.jws-page .product-card .btn {
  margin-top: auto;
  background: #1e88e5;
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* 5) Cart drawer (simple style) */
.jws-page .cart-drawer {
  background: #fff;
  border-left: 1px solid rgba(0,0,0,0.04);
  padding: 16px;
  max-width: 360px;
  width: 100%;
}
.jws-page .cart-drawer h4 { margin: 0 0 8px; }
.jws-page .cart-drawer .checkout-btn {
  background: #ff9800;
  color: #111;
  padding: 10px;
  border-radius: 8px;
  width: 100%;
  font-weight: 600;
  border: none;
}

/* 6) Footer */
.jws-page footer {
  margin-top: 36px;
  padding: 18px;
  background: #0b1220;
  color: #cbd5e1;
  border-radius: 8px;
  text-align: center;
}

/* 7) Responsive tweaks */
@media (max-width: 768px) {
  .jws-page .hero { padding: 36px 16px; }
  .jws-page .hero h1 { font-size: 1.5rem; }
  .jws-page .product-card img { height: 160px; }
}

/* 8) RTL support (if your page uses RTL) */
html[dir="rtl"] .jws-page .product-card {
  text-align: right;
}
html[dir="rtl"] .jws-page .site-header {
  direction: rtl;
}

/* 9) Utility helpers */
.jws-text-muted { color: rgba(15,23,42,0.6); font-size: 0.95rem; }
.jws-badge { display:inline-block; padding:4px 8px; background:#e6f0ff; color:#1e3a8a; border-radius:999px; font-size:0.8rem; }

/* =========================
   END of JWS Custom CSS
   ========================= *//* End custom CSS */