/* BrightPathStudio — homepage visual repair + category card polish */
#shop-by-category .collection-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:34px}
#shop-by-category .collection-group{position:relative;overflow:hidden;padding:0;background:var(--paper-card);border:1px solid var(--line);box-shadow:0 14px 34px -28px rgba(32,41,31,.55);transition:transform .2s ease,box-shadow .2s ease}
#shop-by-category .collection-group:hover{transform:translateY(-4px);box-shadow:0 22px 40px -26px rgba(32,41,31,.5)}
#shop-by-category .collection-group::before{content:"";display:block;height:5px;background:linear-gradient(90deg,var(--c-adhd),var(--c-wellness),var(--c-wedding))}
#shop-by-category .collection-group:nth-child(2)::before{background:linear-gradient(90deg,var(--c-wedding),var(--c-pregnancy))}
#shop-by-category .collection-group:nth-child(3)::before{background:linear-gradient(90deg,var(--c-student),var(--c-halloween),var(--c-christmas))}
#shop-by-category .collection-group-head{padding:26px 26px 18px;border-bottom:1px solid var(--line);margin:0}
#shop-by-category .collection-kicker{display:inline-flex;align-items:center;justify-content:center;width:30px;height:22px;background:var(--paper);border:1px solid var(--line);font-family:var(--mono);font-size:10px;color:var(--accent-ink)}
#shop-by-category .collection-group h3{font-size:25px;line-height:1.15;margin:13px 0 7px}
#shop-by-category .collection-group-head p{font-size:13px;line-height:1.55;color:var(--ink-soft);margin:0}
#shop-by-category .collection-links{display:grid;padding:4px 26px 10px}
#shop-by-category .collection-links a{display:grid;grid-template-columns:1fr auto;grid-template-areas:"title arrow" "desc arrow";column-gap:14px;align-items:center;padding:17px 0;text-decoration:none;border-bottom:1px solid var(--line);transition:padding-left .18s ease,background .18s ease}
#shop-by-category .collection-links a:last-child{border-bottom:0}
#shop-by-category .collection-links a:hover{padding-left:7px}
#shop-by-category .collection-links strong{grid-area:title;font-family:var(--serif);font-size:17px;font-weight:500;line-height:1.25}
#shop-by-category .collection-links span{grid-area:desc;font-family:var(--mono);font-size:10.5px;line-height:1.45;color:var(--ink-soft);margin-top:4px}
#shop-by-category .collection-links a::after{content:"→";grid-area:arrow;font-family:var(--mono);font-size:17px;color:var(--accent-ink)}

/* Homepage hero slider — crisp local artwork, keyboard/touch friendly. */
.hero-slider{position:relative;width:100%;height:440px;overflow:hidden;background:var(--paper-card);border:1px solid var(--line);box-shadow:0 24px 50px -30px rgba(32,41,31,.55);isolation:isolate;border-radius:4px}
.hero-slider .hero-slide{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;opacity:0;visibility:hidden;pointer-events:none;overflow:hidden!important;text-decoration:none;color:var(--ink);transition:opacity .55s ease,visibility .55s ease;border-radius:0!important}
.hero-slider .hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:2}
.hero-slider .hero-slide-image{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;border-radius:0!important;filter:none!important;opacity:1!important;transform:none!important;z-index:0!important}
.hero-slider .hero-slide-overlay{display:block!important;position:absolute!important;inset:0!important;z-index:1!important;background:linear-gradient(180deg,rgba(255,255,255,.02) 25%,rgba(32,41,31,.76) 100%)!important;pointer-events:none!important}
.hero-slider .hero-slide-content{position:absolute!important;left:30px!important;right:30px!important;bottom:32px!important;z-index:4!important;max-width:82%!important;padding:0!important;border:0!important;background:none!important;text-shadow:0 1px 3px rgba(0,0,0,.28)!important;color:#fff!important}
.hero-slider .hero-slide-kicker{display:block;color:rgba(255,255,255,.9)!important;font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.hero-slider .hero-slide-content h2{color:#fff!important;margin:7px 0 4px!important;font-size:clamp(30px,4vw,48px)!important;line-height:1.02!important}
.hero-slider .hero-slide-content p{color:rgba(255,255,255,.9)!important;margin:0 0 12px!important;font-weight:500;font-size:15px}
.hero-slider .hero-slide-link{display:inline-block;color:#fff!important;font-family:var(--mono);font-size:12px;font-weight:600;border-bottom:1px solid rgba(255,255,255,.8);padding-bottom:2px}
.hero-slider .hero-slider-arrow{position:absolute!important;top:50%;z-index:8!important;transform:translateY(-50%);width:42px;height:42px;border:1px solid var(--line);background:rgba(248,249,242,.94);color:var(--ink);font-size:29px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%}
.hero-slider .hero-slider-prev{left:16px}.hero-slider .hero-slider-next{right:16px}.hero-slider .hero-slider-arrow:hover{background:var(--paper-card)}
.hero-slider .hero-slider-dots{position:absolute!important;z-index:9!important;left:50%;bottom:16px;right:auto;top:auto;transform:translateX(-50%);display:flex;gap:8px;padding:6px 9px;border-radius:999px;background:rgba(32,41,31,.34);backdrop-filter:blur(6px)}
.hero-slider .hero-slider-dots button{width:8px;height:8px;border:1px solid rgba(255,255,255,.8);background:transparent;border-radius:50%;padding:0;cursor:pointer}.hero-slider .hero-slider-dots button.is-active,.hero-slider .hero-slider-dots button.active{background:#fff}

/* Product cards — use the declared local/remote image variable rather than blank placeholders. */
.product-card .product-media{position:relative;min-height:190px;overflow:hidden;background-color:var(--paper-card)!important;background-image:var(--img)!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;filter:none!important}
.product-card .product-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(32,41,31,.22) 100%);pointer-events:none}
.product-card .product-cat{position:absolute;left:16px;bottom:14px;z-index:3;padding:5px 9px;background:var(--paper);border:1px solid var(--line);font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-ink)}
.product-card .badge{position:absolute;top:14px;left:14px;z-index:4;padding:6px 9px;background:var(--ink);color:var(--paper);font-family:var(--mono);font-size:10px;letter-spacing:.07em;text-transform:uppercase;box-shadow:0 5px 14px rgba(32,41,31,.18)}
.product-card .badge-free{background:var(--gold);color:var(--ink)}
.product-card .product-body{padding:22px 22px 24px}
.product-card .product-body h3{font-size:21px;line-height:1.2;margin-bottom:9px}
.product-card .product-body p{color:var(--ink-soft);font-size:13.5px;line-height:1.6;margin:0 0 14px}
.product-card .product-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding-top:12px;border-top:1px solid var(--line)}
.product-card .rating{font-family:var(--mono);font-size:12px;letter-spacing:2px;color:var(--gold);white-space:nowrap}
.product-card .price{font-family:var(--mono);font-size:12px;font-weight:600;color:var(--ink);white-space:nowrap}
.product-card .product-body::before{content:"DIGITAL • INSTANT DOWNLOAD";display:block;margin:0 0 12px;padding:7px 9px;background:rgba(198,154,73,.08);border-left:2px solid var(--gold);font-family:var(--mono);font-size:9.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-soft)}
.product-card.product-card-free .product-body::before{content:"FREE • DIGITAL • INSTANT ACCESS"}
.product-card .product-body .btn{width:100%;justify-content:center;margin-top:12px;font-size:11px;font-weight:600;letter-spacing:.04em}
.product-card .product-body .btn::after{content:"  ↗";font-size:13px}

/* Conversion + accessibility polish */
.hero-redesigned .hero-copy{max-width:640px}
.hero-redesigned .hero-slider{border-radius:18px}
.btn{min-height:46px}
.btn:focus-visible,.hero-slider button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.product-card{height:100%;display:flex;flex-direction:column}
.product-card .product-body{display:flex;flex-direction:column;flex:1}
.product-card .product-body .btn{margin-top:auto}

@media(max-width:900px){
  #shop-by-category .collection-groups{grid-template-columns:1fr 1fr}
  #shop-by-category .collection-group:last-child{grid-column:1/-1}
  .hero-redesigned .hero-grid{grid-template-columns:1fr;gap:34px}
  .hero-redesigned .hero-copy{max-width:760px;margin:0 auto!important;text-align:center!important}
  .hero-redesigned .hero-copy .eyebrow,.hero-redesigned .hero-ctas{justify-content:center!important}
  .hero-redesigned .hero-meta{text-align:center!important;justify-content:center}
  .hero-redesigned .hero-slider{height:420px;min-height:420px}
}
@media(max-width:600px){
  #shop-by-category .collection-groups{grid-template-columns:1fr;gap:16px}
  #shop-by-category .collection-group:last-child{grid-column:auto}
  #shop-by-category .collection-group-head{padding:23px 21px 17px}
  #shop-by-category .collection-links{padding:3px 21px 8px}
  .hero-redesigned .hero-slider{height:360px;min-height:360px;border-radius:14px}
  .hero-slider .hero-slide-content{left:20px!important;right:20px!important;bottom:28px!important;max-width:calc(100% - 40px)!important}
  .hero-slider .hero-slide-content h2{font-size:28px!important}
  .hero-slider .hero-slider-arrow{width:36px;height:36px;font-size:24px}
  .hero-slider .hero-slider-prev{left:10px}.hero-slider .hero-slider-next{right:10px}
  .product-card .product-body{padding:19px 18px 20px}
  .product-card .product-media{min-height:180px}
  .product-card .product-body h3{font-size:19px}
  .product-card .product-foot{align-items:flex-start;flex-direction:column;gap:7px}
  .product-card .product-body .btn{padding:12px 14px}
  .wrap{padding-left:18px;padding-right:18px}
}

/* The hero is rendered by main.js; do not hide it. */
.hero-redesigned .hero-grid{display:grid!important}
.hero-redesigned .hero-copy{width:auto!important;margin:0!important;text-align:left!important}
.hero-redesigned .hero-copy .eyebrow{justify-content:flex-start!important}
.hero-redesigned .hero-ctas{justify-content:flex-start!important}
.hero-redesigned .hero-meta{text-align:left!important}
.hero-redesigned .hero-slider{display:block!important}
@media(max-width:900px){.hero-redesigned .hero-copy{text-align:center!important}.hero-redesigned .hero-copy .eyebrow,.hero-redesigned .hero-ctas{justify-content:center!important}.hero-redesigned .hero-meta{text-align:center!important}}
