/* ==========================================================================
   ShopNova storefront — merchandising blocks: hero, trust strip, section heads,
   carousels, category tiles, product cards, flash sale, banners, brands,
   testimonials, newsletter, blog cards
   ========================================================================== */

/* ---------------------------------------------------------------- hero */
.hero { padding-top: 22px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; }
.hero-grid.is-full { grid-template-columns: minmax(0, 1fr); }
.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); min-height: 480px; isolation: isolate; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-media { position: absolute; inset: 0; z-index: -1; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; object-position: right bottom; transform: scale(1.04); transform-origin: right bottom; transition: transform 7s ease-out; }
.slide.is-active .slide-media img { transform: scale(1); }
.slide-content { position: relative; max-width: min(540px, 52%); padding: 48px 0 48px 56px; }
.slide.align-center { justify-content: center; text-align: center; }
.slide.align-center .slide-content { margin: 0 auto; }
.slide.align-right { justify-content: flex-end; }
.slide .eyebrow { height: 30px; padding: 0 14px; border-radius: 99px; background: rgba(255, 255, 255, .8); color: var(--text); backdrop-filter: blur(6px); margin-bottom: 18px; }
.slide-title { font-size: clamp(30px, 3.7vw, 54px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; margin: 0 0 16px; }
.slide-text { font-size: 17px; color: var(--muted); margin: 0 0 28px; max-width: 400px; line-height: 1.55; }
.slide.align-center .slide-text { margin-left: auto; margin-right: auto; }
.slide.text-light, .slide.text-light .slide-title { color: #fff; }
.slide.text-light .slide-text { color: rgba(255, 255, 255, .82); }
.slide.text-light .eyebrow { background: rgba(255, 255, 255, .16); color: #fff; }
.slide-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.slide.align-center .slide-actions { justify-content: center; }
.slide-content > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.slide.is-active .slide-content > * { opacity: 1; transform: none; }
.slide.is-active .slide-content > *:nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide-content > *:nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide-content > *:nth-child(4) { transition-delay: .24s; }
.slider-dots { position: absolute; left: 56px; bottom: 28px; z-index: 3; display: flex; gap: 8px; }
.slider-dots button { width: 34px; height: 4px; border-radius: 99px; border: 0; padding: 0; background: rgba(20, 26, 36, .18); overflow: hidden; position: relative; }
.slider-dots button::after { content: ''; position: absolute; inset: 0; width: 0; background: var(--text); }
.slider-dots button.is-active::after { animation: dotfill var(--slide-ms, 6000ms) linear forwards; }
.slider.text-light-dots .slider-dots button { background: rgba(255, 255, 255, .3); }
.slider.text-light-dots .slider-dots button::after { background: #fff; }
@keyframes dotfill { to { width: 100%; } }
.slider-arrows { position: absolute; right: 22px; bottom: 20px; z-index: 3; display: flex; gap: 8px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); display: grid; place-items: center; color: var(--text); transition: all .2s var(--ease); flex: none; }
.round-btn:hover:not([disabled]) { background: var(--primary); color: var(--primary-contrast); border-color: var(--primary); }
.round-btn[disabled] { opacity: .35; cursor: default; }
.round-btn .icon { width: 18px; height: 18px; }
.slider-arrows .round-btn { border: 0; background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.side-banner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); min-height: 230px; isolation: isolate; }
.side-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s var(--ease); }
.side-banner:hover img { transform: scale(1.04); }
.side-banner .eyebrow { margin-bottom: 4px; }
.side-banner h3 { font-size: 20px; margin: 0 0 10px; max-width: 54%; line-height: 1.18; }
.side-banner.text-light { color: #fff; }
.side-banner.text-light h3 { color: #fff; }
.side-banner.text-light .eyebrow, .promo.text-light .eyebrow { color: rgba(255, 255, 255, .88); }
@media (max-width: 1280px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; } .slider { min-height: 520px; } }
/* Tablets: the artwork sits in the lower part of the slide, copy above it. */
@media (min-width: 641px) and (max-width: 860px) {
  .slider { min-height: 620px; }
  .slide { align-items: flex-start; }
  .slide-content { max-width: 560px; padding: 40px 40px 0; }
  .slide-media { top: auto; height: 60%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 24%); mask-image: linear-gradient(to bottom, transparent, #000 24%); }
}
@media (max-width: 640px) {
  .hero { padding-top: 12px; }
  .slider { min-height: 520px; border-radius: var(--radius); }
  .slide { align-items: flex-start; }
  .slide-content { max-width: none; padding: 28px 22px; }
  .slide .eyebrow { margin-bottom: 14px; }
  .slide-title { font-size: 30px; }
  .slide-text { display: none; }
  .slide-media img { object-position: center bottom; transform-origin: center bottom; }
  .slider-dots { left: 22px; bottom: 26px; }
  .slider-arrows { display: none; }
  .hero-side { grid-template-columns: 1fr; }
  .side-banner { min-height: 180px; padding: 20px; }
  .side-banner h3 { font-size: 18px; max-width: 56%; }
}

/* ---------------------------------------------------------------- trust strip */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-item .ic { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.trust-item .ic .icon { width: 23px; height: 23px; }
.trust-item b { display: block; font-size: 15px; line-height: 1.3; }
.trust-item span { font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust-item:nth-child(3) { border-left: 0; } .trust-item:nth-child(n+3) { border-top: 1px solid var(--border); } }
@media (max-width: 560px) { .trust-item { padding: 16px 14px; gap: 10px; flex-direction: column; align-items: flex-start; } .trust-item .ic { width: 40px; height: 40px; } .trust-item b { font-size: 14px; } .trust-item span { font-size: 12px; } }

/* ---------------------------------------------------------------- section head */
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.shead h2 { margin: 4px 0 0; }
.shead p { color: var(--muted); margin: 6px 0 0; font-size: 14.5px; }
.shead-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.shead-arrows { display: flex; gap: 8px; }
@media (max-width: 640px) { .shead { align-items: center; } .shead-arrows { display: none; } .shead p { display: none; } .shead:has(.ptabs) { flex-direction: column; align-items: stretch; gap: 12px; } .shead:has(.ptabs) .shead-actions { min-width: 0; } .ptabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; } .ptabs button { flex: none; } }

/* ---------------------------------------------------------------- carousel */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per, 5) - 1) * 20px) / var(--per, 5)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 10px; margin: -4px -2px -10px; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; min-width: 0; }
@media (max-width: 1200px) { .carousel-track { --per: 4 !important; } }
@media (max-width: 900px) { .carousel-track { --per: 3 !important; } }
@media (max-width: 640px) { .carousel-track { --per: 2.2 !important; gap: 12px; grid-auto-columns: calc((100% - 1.2 * 12px) / 2.2); } }

/* ---------------------------------------------------------------- category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(var(--cols, 8), minmax(0, 1fr)); gap: 18px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.cat-tile-img { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--tile, var(--surface)); display: grid; place-items: center; overflow: hidden; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cat-tile-img img { width: 82%; height: 82%; object-fit: contain; transition: transform .45s var(--ease); }
.cat-tile:hover .cat-tile-img { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--text); }
.cat-tile:hover .cat-tile-img img { transform: scale(1.08) rotate(-2deg); }
.cat-tile-img .icon { width: 36%; height: 36%; color: var(--muted); stroke-width: 1.3; }
.cat-tile b { font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.cat-tile small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.cat-cards { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 18px; }
.cat-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; padding: 22px; border-radius: var(--radius-lg); background: var(--tile, var(--surface)); overflow: hidden; isolation: isolate; }
.cat-card img { position: absolute; right: -8%; bottom: -8%; width: 72%; z-index: -1; transition: transform .5s var(--ease); }
.cat-card:hover img { transform: scale(1.06) rotate(-3deg); }
.cat-card h3 { font-size: 21px; margin: 0; max-width: 60%; }
.cat-card small { color: var(--muted); font-weight: 600; }
.cat-card .link-arrow { margin-top: auto; }
@media (max-width: 1100px) { .cat-tiles { --cols: 6 !important; } .cat-cards { --cols: 3 !important; } }
@media (max-width: 760px) { .cat-tiles { --cols: 4 !important; gap: 14px 10px; } .cat-cards { --cols: 2 !important; } .cat-card { min-height: 190px; padding: 16px; } .cat-card h3 { font-size: 17px; } }
@media (max-width: 420px) { .cat-tiles { --cols: 3 !important; } .cat-tile b { font-size: 13px; } }

/* ---------------------------------------------------------------- product grid & card */
.pgrid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 32px 20px; }
.pgrid.cols-5 { --cols: 5; }
.pgrid.cols-3 { --cols: 3; }
@media (max-width: 1200px) { .pgrid.cols-5 { --cols: 4; } }
@media (max-width: 980px) { .pgrid, .pgrid.cols-5 { --cols: 3; } }
@media (max-width: 700px) { .pgrid, .pgrid.cols-5, .pgrid.cols-3 { --cols: 2; gap: 24px 12px; } }

.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pcard-media { position: relative; display: block; aspect-ratio: var(--img-ratio, 1/1); border-radius: var(--radius); overflow: hidden; background: var(--surface); isolation: isolate; }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform .7s var(--ease); }
.pcard-media .img-hover { opacity: 0; }
.pcard:hover .pcard-media .img-hover { opacity: 1; }
.pcard:hover .pcard-media .img-main { transform: scale(1.04); }
.pcard:hover .pcard-media .img-main.has-hover { opacity: 0; }
.pcard-badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pcard-tools { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.tool-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--text); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(16, 24, 40, .1); transition: all .25s var(--ease); }
.tool-btn:hover { background: var(--primary); color: var(--primary-contrast); }
.tool-btn .icon { width: 17px; height: 17px; }
.tool-btn.is-on { color: var(--accent); }
.tool-btn.is-on .icon { fill: currentColor; }
.tool-btn.is-on:hover { background: var(--accent); color: #fff; }
.pcard-tools .tool-btn:not(.wish-btn) { opacity: 0; transform: translateX(8px); }
.pcard:hover .pcard-tools .tool-btn { opacity: 1; transform: none; }
.pcard-tools .tool-btn:nth-child(2) { transition-delay: .04s; }
.pcard-tools .tool-btn:nth-child(3) { transition-delay: .08s; }
.pcard-cta { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; opacity: 0; transform: translateY(10px); transition: all .3s var(--ease); }
.pcard:hover .pcard-cta, .pcard:focus-within .pcard-cta { opacity: 1; transform: none; }
.pcard-cta .btn { width: 100%; height: 42px; font-size: 13.5px; box-shadow: 0 8px 20px -10px rgba(16, 24, 40, .5); }
.pcard-soldout { position: absolute; inset: 0; z-index: 1; background: rgba(255, 255, 255, .45); }
.pcard-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pcard-brand { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.pcard-title { font-size: 14.5px; font-weight: 600; line-height: 1.38; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pcard-rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.pcard-rating .stars { --size: 13px; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 2px; }
.price { font-weight: 800; font-size: 16.5px; letter-spacing: -.02em; color: var(--text); }
.price.is-sale { color: var(--accent); }
.compare { font-size: 13.5px; color: var(--muted); text-decoration: line-through; }
.save { font-size: 12px; font-weight: 800; color: var(--success); }
.swatches { display: flex; align-items: center; gap: 5px; margin-top: 4px; }
.swatches span { width: 15px; height: 15px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.swatches small { font-size: 12px; color: var(--muted); margin-left: 2px; }
.claim { margin-top: 8px; }
.claim-track { height: 7px; border-radius: 99px; background: var(--accent-soft); overflow: hidden; }
.claim-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #FFB020, var(--accent)); }
.claim small { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; font-weight: 600; }
@media (hover: none) {
  .pcard-cta { display: none; }
  .pcard-tools .tool-btn:not(.wish-btn) { display: none; }
  .pcard-quick-mobile { display: grid !important; }
}
.pcard-quick-mobile { display: none; position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--primary); color: var(--primary-contrast); place-items: center; box-shadow: var(--shadow-md); }
.pcard-quick-mobile .icon { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .pcard-body { padding-top: 10px; gap: 3px; }
  .pcard-title { font-size: 13.5px; }
  .price { font-size: 15px; }
  .pcard-badges { top: 8px; left: 8px; }
  .tool-btn { width: 34px; height: 34px; }
  .pcard-tools { top: 6px; right: 6px; }
}

/* ---------------------------------------------------------------- flash sale */
.flash { border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--accent-soft), #FFF7E6); padding: 26px 26px 30px; position: relative; overflow: hidden; }
.flash::before { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 176, 32, .35), transparent 70%); pointer-events: none; }
.flash .shead { position: relative; }
.flash-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.flash-title h2 { margin: 0; }
.flash-bolt { width: 46px; height: 46px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px var(--accent); flex: none; }
.flash-bolt .icon { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.countdown { display: inline-flex; align-items: center; gap: 6px; }
.countdown-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.countdown .unit { min-width: 44px; height: 44px; padding: 0 6px; border-radius: 10px; background: var(--primary); color: var(--primary-contrast); display: grid; place-items: center; text-align: center; line-height: 1; }
.countdown .unit b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.countdown .unit small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.countdown .sep { font-weight: 800; color: var(--muted); }
.countdown-sm .unit { min-width: 34px; height: 34px; border-radius: 8px; }
.countdown-sm .unit b { font-size: 14px; }
.countdown-sm .unit small { display: none; }
.flash .pcard-media { background: #fff; }
@media (max-width: 640px) { .flash { padding: 18px 14px 22px; border-radius: var(--radius); } .flash-bolt { width: 38px; height: 38px; } .countdown .unit { min-width: 38px; height: 38px; } .countdown-label { display: none; } .flash .shead { flex-direction: column; align-items: flex-start; } }

/* ---------------------------------------------------------------- promo banners */
.promo-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 18px; }
.promo { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 250px; padding: 28px 30px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); isolation: isolate; }
.promo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .7s var(--ease); }
.promo:hover > img { transform: scale(1.05); }
.promo .eyebrow { margin-bottom: 6px; }
.promo h3 { font-size: 24px; line-height: 1.12; margin: 0 0 8px; max-width: 52%; letter-spacing: -.03em; }
.promo p { font-size: 14px; color: var(--muted); margin: 0 0 16px; max-width: 48%; }
.promo.text-light, .promo.text-light h3 { color: #fff; }
.promo.text-light p { color: rgba(255, 255, 255, .8); }
.promo.align-right { align-items: flex-end; text-align: right; }
.promo-wide { min-height: 220px; padding: 36px 48px; }
.promo-wide > img { object-position: right bottom; }
.promo-wide h3 { font-size: clamp(24px, 3vw, 36px); max-width: min(560px, 55%); }
.promo-wide p { max-width: min(460px, 50%); font-size: 15px; }
@media (max-width: 980px) { .promo-grid { --cols: 2 !important; } }
@media (max-width: 640px) { .promo-grid { --cols: 1 !important; } .promo { min-height: 200px; padding: 22px; } .promo h3 { font-size: 21px; } .promo-wide { padding: 26px 22px; } }

/* ---------------------------------------------------------------- brands */
.brand-strip { display: grid; grid-template-columns: repeat(var(--cols, 7), minmax(0, 1fr)); gap: 14px; }
.brand-tile { height: 92px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); display: grid; place-items: center; padding: 16px 22px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.brand-tile img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s; }
.brand-tile span { font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--muted); letter-spacing: -.02em; }
.brand-tile:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.brand-tile:hover img { filter: none; opacity: 1; }
@media (max-width: 1100px) { .brand-strip { --cols: 5 !important; } }
@media (max-width: 700px) { .brand-strip { --cols: 3 !important; gap: 10px; } .brand-tile { height: 72px; padding: 12px; } }

/* ---------------------------------------------------------------- product tabs */
.ptabs { display: flex; gap: 6px; flex-wrap: wrap; }
.ptabs button { height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--border); background: var(--bg); font-weight: 700; font-size: 13.5px; color: var(--muted); transition: all .2s; }
.ptabs button:hover { color: var(--text); border-color: var(--border-strong); }
.ptabs button.is-active { background: var(--primary); color: var(--primary-contrast); border-color: var(--primary); }
.ptab-pane { display: none; }
.ptab-pane.is-active { display: block; animation: fadeIn .35s var(--ease); }

/* ---------------------------------------------------------------- testimonials */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tcard { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); display: flex; flex-direction: column; gap: 16px; position: relative; }
.tcard .quote-mark { position: absolute; right: 24px; top: 16px; font-family: Georgia, serif; font-size: 88px; line-height: 1; color: var(--accent); opacity: .16; }
.tcard p { margin: 0; font-size: 15.5px; line-height: 1.65; flex: 1; }
.tcard .stars { --size: 16px; }
.tperson { display: flex; align-items: center; gap: 12px; }
.tperson img, .tperson .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.tperson .avatar { background: var(--primary); color: var(--primary-contrast); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.tperson b { display: block; font-size: 14.5px; }
.tperson small { color: var(--muted); font-size: 13px; }
@media (max-width: 980px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tgrid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- newsletter band */
.news-band { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; padding: 44px 52px; border-radius: var(--radius-lg); background: var(--primary); color: var(--primary-contrast); position: relative; overflow: hidden; }
.news-band::after { content: ''; position: absolute; width: 360px; height: 360px; right: -80px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, var(--accent), transparent 70%); opacity: .45; pointer-events: none; }
.news-band h2 { color: inherit; margin: 6px 0 8px; }
.news-band p { opacity: .75; margin: 0; }
.news-band form { position: relative; z-index: 1; display: flex; gap: 10px; }
.news-band input { flex: 1; min-width: 0; height: 54px; border-radius: var(--btn-radius); border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: #fff; padding: 0 18px; font-size: 15px; outline: none; }
.news-band input::placeholder { color: rgba(255, 255, 255, .55); }
.news-band input:focus { border-color: rgba(255, 255, 255, .5); }
.news-band .btn { height: 54px; }
.news-band small { display: block; margin-top: 10px; opacity: .6; font-size: 12.5px; position: relative; z-index: 1; }
@media (max-width: 860px) { .news-band { grid-template-columns: 1fr; padding: 32px 24px; } .news-band form { flex-direction: column; } }

/* ---------------------------------------------------------------- blog cards */
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bcard { display: flex; flex-direction: column; gap: 12px; }
.bcard-img { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: var(--surface); display: block; }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bcard:hover .bcard-img img { transform: scale(1.05); }
.bcard-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.bcard-meta .pill { height: 24px; font-size: 12px; padding: 0 10px; }
.bcard h3 { font-size: 18px; line-height: 1.3; margin: 0; }
.bcard h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bcard p { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 980px) { .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bgrid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- collections showcase */
.coll-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 18px; }
.coll-card { position: relative; display: flex; align-items: flex-end; min-height: 320px; padding: 24px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); color: #fff; isolation: isolate; }
.coll-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.coll-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(12, 16, 23, .72)); }
.coll-card:hover img { transform: scale(1.05); }
.coll-card h3 { color: #fff; font-size: 23px; margin: 0 0 4px; }
.coll-card small { opacity: .8; font-weight: 600; }
@media (max-width: 860px) { .coll-grid { --cols: 2 !important; } .coll-card { min-height: 240px; } }
@media (max-width: 560px) { .coll-grid { --cols: 1 !important; } }

/* ---------------------------------------------------------------- rich text block */
.richblock { border-radius: var(--radius-lg); background: var(--surface); padding: 44px; }
.richblock.is-plain { background: none; padding: 0; }
