/* ===== GOOGLE FONTS (place at TOP of shop.css) ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@300;400;600&display=swap');

:root{
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Inter', sans-serif;
  --accent: #ff6a33;
  --accent-yellow: #ffd23f;
  --muted: #bdbdbd;
}

html, body {
  font-family: var(--body-font);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}



/* shop.css - shop page specific styles */

/* keep variables local for shop niceties */
:root{
  --accent: #ff6a33;
  --muted: #9aa1a8;
  --border: rgba(255,255,255,0.06);
  --card-radius: 14px;
}

















/* SECTION / GRID */
.shop-section { padding: 56px 0; background: transparent; }
.section-title { margin: 0 0 18px; font-size: 1.35rem; }

/* Product grid
   - keep it responsive using auto-fit
   - gap consistent
*/
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: start;
}

/* Card */
.product-card {
  background: linear-gradient(180deg, rgba(255,122,61,0.03), rgba(20,20,20,0.55));
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 340px; /* keeps cards consistent in height */
}

/* THUMB: unified approach
   - use aspect-ratio (modern browsers) for consistent 16:9 thumbs
   - let image cover the box (no letterbox)
*/
.thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, #0f0f0f, #0b0b0b);
  overflow: hidden;
  display: block;
}

/* remove any tall/short exception classes — keep it consistent */
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fills & crops — no shrink */
  display: block;
}

/* Body/content */
.body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.body h3 { font-size: 1rem; margin: 0; }
.meta { font-size: 0.9rem; color: var(--muted); }

/* Price and actions */
.price { margin-top: 6px; color: var(--accent); font-weight:700; }
.actions { margin-top: auto; }
.buy-btn {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, #ff6a33, #ff814d);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* small screen tweaks */
@media (max-width: 640px) {
  .product-card { min-height: 300px; }
  .shop-hero-inner { padding: 20px 0; }
  .shop-hero-inner h1 { font-size: 1.6rem; }
}

/* large desktop polish */
@media (min-width: 1400px) {
  .product-card { min-height: 360px; }
  .shop-hero-inner h1 { font-size: 2.6rem; }
}

/* ===============================
   PROFESSIONAL CHECKOUT MODAL
   =============================== */

.np-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
  font-family: Inter, system-ui, sans-serif;
}

.np-modal[aria-hidden="false"] {
  display: block;
}

.np-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.np-checkout {
  position: relative;
  max-width: 880px;
  margin: 8vh auto;
  background: #fff;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
}

.np-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}

.np-left {
  padding: 32px;
  background: #f8fafc;
}

.np-left .brand {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #1f63d6;
  margin-bottom: 12px;
}

.np-left h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.np-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 10px;
  column-gap: 14px;
  margin-bottom: 20px;
}

.np-meta .label {
  font-size: 13px;
  color: #6b7280;
}

.np-meta .value {
  font-weight: 600;
  color: #111;
}

.np-meta .price {
  color: #1f63d6;
}

.np-note {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.np-right {
  padding: 32px;
}

.np-right h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.np-field {
  margin-bottom: 14px;
}

.np-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #374151;
}

.np-field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.np-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.np-btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.np-btn.primary {
  background: #1f63d6;
  color: #fff;
}

.np-btn.ghost {
  background: #eef2f7;
  color: #374151;
}

.np-error {
  color: #c00;
  font-size: 13px;
  min-height: 18px;
  margin-top: 8px;
}



/* logo next to heading */
.shop-hero-inner .shop-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.shop-hero-inner .shop-logo img{
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(255,110,30,0.06);
}

/* gradient heading — orange to yellow */
.shop-hero-inner h1 {
  margin: 0;
  font-weight: 800;
  font-size: 2.4rem;
  background: linear-gradient(90deg, #ff6a33 0%, #ffd23f 65%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* small lead text under hero */
.shop-hero-inner .lead {
  width: 100%;
  max-width: 780px;
  margin-top: 8px;
  color: var(--muted);
}

/* ====== PRODUCT HOVER / ZOOM / YELLOW HIGHLIGHT ====== */
.product-card {
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease, border-color .28s ease;
  will-change: transform;
  transform-origin: center;
  position: relative;
}

/* thumbnail zoom */
.product-card .thumb img{
  transition: transform .4s cubic-bezier(.2,.9,.2,1);
  transform-origin: center;
}

/* overall card hover effect */
.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 2px 6px rgba(255,200,20,0.03) inset;
  border-color: rgba(255,210,0,0.08);
}

/* thumbnail scales on card hover */
.product-card:hover .thumb img {
  transform: scale(1.04);
}

/* yellow highlight — small underline / tag on hover near price */
.product-card .price {
  transition: box-shadow .28s ease, color .28s ease;
  display: inline-block;
}
.product-card:hover .price {
  color: #ffda5f;
  text-shadow: 0 2px 8px rgba(255,210,40,0.12);
}

/* view-details button style (replace Buy Now) */
.view-btn {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg,#ffb347,#ffd23f);
  color: #111;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255,160,30,0.12);
}

/* mobile tweaks */
@media (max-width:640px){
  .shop-hero-inner h1{ font-size:1.6rem; }
  .shop-hero-inner .shop-logo img{ width:44px;height:44px; }
}

/* Product detail page styles appended here (product.html uses this) */
.product-detail-wrap {
  padding: 28px 12px;
  max-width: 1100px;
  margin: 0 auto;
  color: #eaeaea;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
}
@media(max-width:900px){
  .product-detail-grid { grid-template-columns: 1fr; }
}

/* gallery */
.gallery {
  background: #0b0b0b;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.gallery img {
  width: 100%;
  display:block;
  object-fit:cover;
  height: 420px;
}
.gallery .thumb-row {
  display:flex;
  gap:8px;
  margin-top:8px;
  overflow-x:auto;
}
.gallery .thumb-row img {
  width:84px;height:56px;object-fit:cover;border-radius:8px;cursor:pointer;border:2px solid transparent;
}
.gallery .thumb-row img.active{ border-color:#ffd23f;}

/* video embed */
.course-video {
  margin-top: 16px;
  aspect-ratio: 16/9;
  width: 100%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

/* ===== GLOBAL FONTS + THEME ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@300;400;600&display=swap');

:root{
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Inter', sans-serif;
  --accent: #ff6a33;
  --accent-yellow: #ffd23f;
  --muted: #bdbdbd;
}

/* apply fonts globally */
html,body {
  font-family: var(--body-font);
  color: #e6e6e6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* headings */
h1,h2,h3,h4 { font-family: var(--heading-font); font-weight:800; color: #fff; }

/* ===== SHOP HERO (center + subtitle) ===== */
.shop-hero {
  text-align: center;
  padding: 48px 20px 28px;
}
.shop-hero h1 {
  font-size: 3.2rem;
  letter-spacing: .02em;
  margin: 0 0 8px;
  background: linear-gradient(90deg,var(--accent),var(--accent-yellow));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.shop-hero .hero-sub {
  margin-top:8px;
  color: var(--muted);
  font-size:1rem;
}

/* subtitle small text under hero (right under heading) */
.shop-hero .hero-note {
  display:block;
  margin-top:10px;
  font-size:.95rem;
  color:var(--muted);
}

/* product cards — entire card clickable look */
.product-card, .product-card * { cursor: default; }
.product-card .card-link {
  display:block;
  color:inherit;
  text-decoration:none;
  height:100%;
  width:100%;
}

/* hover effects unchanged but ensure consistent fonts */
.product-card .title, .product-card h3 {
  font-family: var(--heading-font);
  font-weight:700;
}
.product-card .price { color: var(--accent-yellow); font-weight:800; }

/* make the view button consistent */
.view-btn, .buy-now-full {
  font-family: var(--heading-font);
}

/* clickable card pointer */
.product-card { cursor: pointer; }

/* Small responsive tweaks */
@media(max-width:700px){
  .shop-hero h1{ font-size:2rem; }
}


.product-card .view-btn {
  background: transparent;
  color: #ff6a33;
  font-weight:700;
  padding:6px 0;
  display:inline-flex;
  gap:8px;
  align-items:center;
  border-radius:6px;
}

/* ===== HERO: centered stacked heading + subtitle ===== */
.shop-hero {
  text-align: center;
  padding: 64px 20px 36px;
  max-width: 1200px;
  margin: 0 auto;
}

.shop-hero .shop-hero-inner {
  display: block;
  max-width: 1100px;
  margin: 0 auto;
}

.shop-hero h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, var(--accent), var(--accent-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shop-hero .hero-sub {
  margin-top: 10px;
  font-size: 1.05rem;
  color: var(--muted);
}

.shop-hero .hero-note {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Shop grid fix */
#shop-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.product-card {
  max-width: 320px;
  margin: auto;
}

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


/* Mobile */
@media (max-width: 900px) {
  .np-checkout {
    grid-template-columns: 1fr;
  }
  .np-left {
    display: none;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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





