/* CosOra Hero Skin 2.1 — only affects the CosOra homepage shortcode. */
:root {
  --cosora-navy: #101827;
  --cosora-navy-deep: #0b1120;
  --cosora-red: #d52d43;
  --cosora-red-hover: #b92137;
  --cosora-gold: #eab75a;
  --cosora-ink: #202a39;
  --cosora-muted: #657184;
  --cosora-paper: #f5f7fb;
  --cosora-line: #e6eaf1;
  --cosora-radius: 10px;
  --cosora-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Optional shortcode homepage. */
.cosora-hero-home, .cosora-hero-home * { box-sizing: border-box; }
.cosora-hero-home { width: 100%; overflow: clip; background: #fff; color: var(--cosora-ink); font-family: var(--cosora-font); }
.cosora-hero-home .cosora-home-container { width: min(1300px, calc(100% - 60px)); margin-inline: auto; }
.cosora-hero-home a { text-decoration: none; }
.cosora-hero-home a:focus-visible { outline: 3px solid #79aefa; outline-offset: 4px; }
.cosora-home-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 65% 140% at 88% 44%, #263957 0%, transparent 68%), linear-gradient(120deg, var(--cosora-hero-gradient-start, #0a1120) 0%, #101b32 56%, var(--cosora-hero-gradient-end, #1d2337) 100%); color: white; isolation: isolate; }
.cosora-hero-glow { position: absolute; inset: 0; pointer-events: none; opacity: .8; background: linear-gradient(116deg, transparent 62%, rgba(232,53,75,.10) 62.3%, transparent 73%), repeating-linear-gradient(150deg, transparent 0, transparent 145px, rgba(255,255,255,.018) 146px, transparent 148px); }
.cosora-hero-columns { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 530px; align-items: center; gap: 48px; position: relative; z-index: 1; padding-block: 58px; }
.cosora-hero-copy { max-width: 650px; padding-block: 30px; }
.cosora-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .22em; font-weight: 800; color: #f5c875; }
.cosora-eyebrow-dot { width: 7px; height: 7px; background: var(--cosora-red); border-radius: 50%; box-shadow: 0 0 15px rgba(213,45,67,.55); }
.cosora-hero-copy h1 { margin: 19px 0 22px; font-size: clamp(46px, 5.3vw, 82px); line-height: 1.04; letter-spacing: -.055em; font-weight: 900; text-transform: uppercase; max-width: 750px; color: #fff; }
.cosora-hero-copy p { max-width: 530px; color: #cbd4e0; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.76; margin: 0 0 29px; }
.cosora-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 25px 0; }
.cosora-hero-home .cosora-action { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: 18px; border-radius: 7px; padding: 12px 22px; font-size: 13px; font-weight: 800; letter-spacing: .012em; transition: background .17s ease, transform .17s ease; }
.cosora-hero-home .cosora-action:hover { transform: translateY(-1px); }
.cosora-action-primary { background: var(--cosora-red); color: #fff; border: 1px solid var(--cosora-red); }
.cosora-action-primary:hover { background: var(--cosora-red-hover); color: #fff; }
.cosora-action-ghost { border: 1px solid #677183; color: #fff; background: rgba(255,255,255,.035); }
.cosora-action-ghost:hover { background: rgba(255,255,255,.11); color: #fff; }
.cosora-hero-proof { display: flex; flex-wrap: wrap; gap: 18px; color: #98acc5; font-size: 11px; letter-spacing: .015em; }
.cosora-hero-feature { height: min(480px, 38vw); min-height: 390px; border: 1px solid rgba(223,233,250,.17); position: relative; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at 50% 45%, #344b68, var(--cosora-feature-bg, #1b2942) 62%, #131d31 100%); box-shadow: 0 22px 80px rgba(0,0,0,.22); }
.cosora-hero-feature::before { content: ''; width: 430px; height: 430px; position: absolute; border: 1px solid rgba(234,183,90,.16); border-radius: 50%; transform: translateY(-11%); pointer-events: none; }
.cosora-hero-feature::after { content: ''; position: absolute; inset: auto -50px -220px; height: 270px; background: var(--cosora-red); opacity: .19; filter: blur(90px); pointer-events: none; }
.cosora-feature-side-label { position: absolute; right: 16px; top: 17px; font-size: 9px; letter-spacing: .19em; color: #a7bad6; font-weight: 800; z-index: 2; }
.cosora-feature-image { position: absolute; inset: 16px 16px 55px; display: flex; justify-content: center; align-items: center; }
.cosora-feature-image img { max-width: 100%; height: 100%; width: 100%; display: block; object-fit: contain; filter: drop-shadow(0 16px 30px rgba(0,0,0,.25)); }
.cosora-feature-meta { position: absolute; inset: auto 18px 16px; z-index: 3; padding: 11px 13px; display: flex; flex-direction: column; max-width: calc(100% - 36px); border: 1px solid rgba(255,255,255,.20); background: rgba(9,15,29,.86); backdrop-filter: blur(7px); border-radius: 7px; color: #fff; gap: 3px; }
.cosora-feature-meta > span:first-child { color: #f5c875; font-size: 9px; letter-spacing: .16em; font-weight: 800; }
.cosora-feature-meta strong { font-size: 12px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cosora-feature-meta .cosora-feature-view { font-size: 10px; color: #b7c8df; }
.cosora-feature-fallback { display: grid; place-items: center; gap: 5px; color: white; position: relative; z-index: 1; text-align: center; transform: rotate(-6deg); }
.cosora-feature-fallback b { font-weight: 950; font-size: clamp(82px, 11vw, 150px); line-height: 1; letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.75); }
.cosora-feature-fallback span { color: var(--cosora-gold); letter-spacing: .22em; font-weight: 800; font-size: 10px; }
.cosora-feature-fallback i { font-style: normal; font-size: 55px; line-height: 1; color: var(--cosora-red); }
.cosora-feature-note { position: absolute; bottom: 16px; left: 18px; right: 18px; font-size: 10px; color: #b7c8df; text-align: center; }
.cosora-benefits { border-bottom: 1px solid var(--cosora-line); background: #fff; }
.cosora-benefits-inner { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; min-height: 76px; gap: 18px; }
.cosora-benefits-inner > div { font-size: 11px; display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 750; color: #47556a; letter-spacing: .02em; }
.cosora-benefit-symbol { font-size: 20px; color: var(--cosora-red); font-weight: 400; line-height: 1; }
.cosora-home-section { padding-block: 73px 83px; }
.cosora-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 29px; }
.cosora-section-kicker { display: inline-block; color: var(--cosora-red); font-size: 10px; letter-spacing: .18em; font-weight: 850; margin-bottom: 10px; }
.cosora-section-heading h2 { font-size: clamp(29px, 3.3vw, 41px); font-weight: 860; letter-spacing: -.036em; color: #172335; margin: 0 0 9px; line-height: 1.12; }
.cosora-section-heading p { font-size: 14px; color: #6d7a8b; line-height: 1.7; margin: 0; }
.cosora-hero-home .cosora-text-link { color: #2c3949; font-size: 12px; font-weight: 800; white-space: nowrap; }
.cosora-hero-home .cosora-text-link:hover { color: var(--cosora-red); }
.cosora-character-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.cosora-character-card { min-height: 205px; overflow: hidden; border-radius: 11px; position: relative; display: flex; align-items: end; padding: 20px 22px; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); transition: transform .18s, box-shadow .18s; }
.cosora-character-card:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(20,34,58,.13); }
.cosora-character-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(4,11,26,.94), rgba(4,11,26,.10)), repeating-linear-gradient(-50deg, transparent 0px, transparent 37px, rgba(255,255,255,.055) 38px, transparent 40px); z-index: -1; }
.cosora-character-card::after { content: ''; border: 1px solid rgba(255,255,255,.13); width: 170px; height: 170px; border-radius: 50%; position: absolute; right: -15px; top: -25px; }
.cosora-card-red { background: linear-gradient(135deg, #172951, #9b2335); }
.cosora-card-ruby { background: linear-gradient(135deg, #341225, #a3314e); }
.cosora-card-dark { background: linear-gradient(135deg, #080e19, #34415a); }
.cosora-card-gold { background: linear-gradient(135deg, #172847, #8c6b21); }
.cosora-card-blue { background: linear-gradient(135deg, #0e284e, #356897); }
.cosora-card-green { background: linear-gradient(135deg, #142d2c, #47765b); }
.cosora-character-img { position: absolute; inset: -10% 0 -12% auto; height: 122%; width: 59%; object-fit: contain; object-position: right center; z-index: -1; opacity: .93; mask-image: linear-gradient(to right, transparent, black 26%); }
.cosora-character-caption { z-index: 2; display: flex; flex-direction: column; gap: 6px; max-width: 85%; color: white; }
.cosora-character-caption strong { color: #fff; font-size: clamp(18px, 1.9vw, 25px); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
.cosora-character-caption small { font-size: 11px; color: #d4dce8; font-weight: 550; }
.cosora-character-mark { position: absolute; right: 28px; top: 14px; font-size: 85px; color: rgba(255,255,255,.14); transform: rotate(-12deg); }
.cosora-character-arrow { color: #fff; font-size: 20px; position: absolute; right: 20px; bottom: 15px; opacity: .75; }
.cosora-products-section { background: var(--cosora-paper); }
.cosora-products-section .woocommerce ul.products { margin-bottom: 0; }
.cosora-products-section .woocommerce ul.products li.product { background: white; border-radius: 9px; padding: 9px 9px 15px; box-shadow: 0 1px 4px rgba(20,34,58,.04); transition: box-shadow .18s, transform .18s; }
.cosora-products-section .woocommerce ul.products li.product:hover { box-shadow: 0 12px 30px rgba(20,34,58,.09); transform: translateY(-2px); }
.cosora-products-section .woocommerce ul.products li.product img { width: 100%; max-height: 315px; object-fit: contain; }
.cosora-type-section { background: #fff; }
.cosora-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cosora-hero-home .cosora-type-link { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 16px 20px; border: 1px solid var(--cosora-line); background: var(--cosora-paper); border-radius: 8px; font-size: 14px; font-weight: 800; color: #263349; }
.cosora-hero-home .cosora-type-link:hover { border-color: #b6bdcb; background: #ecf0f7; color: var(--cosora-red); }
.cosora-type-link span { font-size: 20px; font-weight: 400; color: var(--cosora-red); }
.cosora-home-outro { position: relative; padding: 62px 0; overflow: hidden; background: radial-gradient(ellipse at 100% 50%, #30425e, transparent 59%), var(--cosora-navy); }
.cosora-outro-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cosora-outro-inner h2 { font-size: clamp(31px, 3.5vw, 46px); color: white; letter-spacing: -.035em; margin: 4px 0 10px; line-height: 1.17; font-weight: 850; }
.cosora-outro-inner p { font-size: 13px; color: #c9d4e4; max-width: 540px; margin: 0; line-height: 1.75; }
.cosora-home-outro .cosora-action { flex-shrink: 0; }
@media (max-width: 1024px) {
  .cosora-hero-home .cosora-home-container { width: min(100% - 44px, 1300px); }
  .cosora-hero-columns { gap: 25px; min-height: 440px; }
  .cosora-hero-feature { min-height: 330px; }
  .cosora-character-card { min-height: 175px; }
  .cosora-benefits-inner > div { gap: 7px; font-size: 10px; }
}
@media (max-width: 767px) {
  .cosora-hero-home .cosora-home-container { width: calc(100% - 32px); }
  .cosora-hero-columns { padding-block: 37px 30px; display: flex; flex-direction: column; align-items: stretch; min-height: auto; gap: 24px; }
  .cosora-hero-copy { padding: 0; }
  .cosora-hero-copy h1 { font-size: clamp(42px, 10.6vw, 61px); margin-block: 15px 17px; line-height: 1.03; }
  .cosora-hero-copy p { font-size: 13px; margin-bottom: 21px; }
  .cosora-hero-actions { gap: 9px; margin: 20px 0 17px; }
  .cosora-hero-home .cosora-action { min-height: 44px; padding: 11px 14px; gap: 7px; font-size: 11px; }
  .cosora-hero-proof { font-size: 10px; gap: 10px; }
  .cosora-hero-feature { width: 100%; height: 320px; min-height: 0; }
  .cosora-feature-fallback b { font-size: 95px; }
  .cosora-benefits-inner { grid-template-columns: repeat(2, 1fr); padding-block: 15px; gap: 12px; min-height: 0; }
  .cosora-benefits-inner > div { justify-content: start; }
  .cosora-home-section { padding-block: 48px 57px; }
  .cosora-section-heading { align-items: start; gap: 13px; flex-wrap: wrap; margin-bottom: 21px; }
  .cosora-section-heading h2 { font-size: 29px; }
  .cosora-section-heading p { font-size: 12px; }
  .cosora-character-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cosora-character-card { min-height: 158px; padding: 15px 12px; }
  .cosora-character-caption strong { font-size: 17px; }
  .cosora-character-caption small { font-size: 10px; }
  .cosora-character-arrow { right: 11px; bottom: 10px; font-size: 16px; }
  .cosora-character-img { width: 66%; }
  .cosora-type-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .cosora-hero-home .cosora-type-link { min-height: 62px; padding: 12px; font-size: 12px; }
  .cosora-home-outro { padding: 47px 0; }
  .cosora-outro-inner { align-items: start; flex-direction: column; }
  .cosora-outro-inner h2 { font-size: 32px; }
  body .woocommerce ul.products li.product h2, body .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 12px; }
}
@media (max-width: 380px) {
  .cosora-hero-home .cosora-action { width: 100%; }
  .cosora-character-caption strong { font-size: 15px; }
  .cosora-character-card { min-height: 147px; }
}
@media (prefers-reduced-motion: reduce) {
  .cosora-hero-home .cosora-action,
  .cosora-character-card,
  .cosora-products-section .woocommerce ul.products li.product { transition: none !important; }
}

/* v2.1: unified vertical rhythm, no stacked 73px + 83px section padding. */
.cosora-hero-home > .cosora-home-section { padding: 0; margin-top: var(--cosora-section-gap, 52px); }
.cosora-hero-home > .cosora-products-section { margin-top: var(--cosora-section-gap, 52px); padding-block: var(--cosora-section-gap, 52px); }
.cosora-hero-home > .cosora-home-outro { margin-top: var(--cosora-section-gap, 52px); margin-bottom: 0; }
.cosora-hero-home .cosora-section-heading { margin-bottom: var(--cosora-heading-gap, 24px); }
.cosora-hero-home .cosora-hero-copy h1:empty { display: none; }
/* Native rendering keeps Shoptimizer header and footer, but bypasses page/Elementor padding. */
body.cosora-direct-home #content.site-content { padding: 0; margin: 0; }
body.cosora-direct-home #content.site-content > .col-full { max-width: none; width: 100%; padding: 0; margin: 0; }
body.cosora-direct-home #content.site-content #primary.content-area,
body.cosora-direct-home #content.site-content #main.site-main { width: 100%; max-width: none; float: none; clear: both; margin: 0; padding: 0; }
body.cosora-direct-home #content.site-content .cosora-hero-home { margin: 0; }
@media (max-width: 767px) {
 .cosora-hero-home > .cosora-home-section { margin-top: var(--cosora-section-gap-mobile, 32px); }
 .cosora-hero-home > .cosora-products-section { margin-top: var(--cosora-section-gap-mobile, 32px); padding-block: var(--cosora-section-gap-mobile, 32px); }
 .cosora-hero-home > .cosora-home-outro { margin-top: var(--cosora-section-gap-mobile, 32px); }
}

/* v2.2 — classic editor flexible rows: all styling scoped to the CosOra homepage. */
.cosora-rows-home > .cosora-flex-row{padding-top:var(--cosora-row-top,0);padding-bottom:var(--cosora-row-bottom,0);margin:0;position:relative}
.cosora-rows-home > .cosora-flex-row > .cosora-home-section{padding:0;margin:0}
.cosora-rows-home > .cosora-flex-row--products{background:var(--cosora-paper)}
.cosora-rows-home > .cosora-flex-row--products > .cosora-home-section{background:transparent}
.cosora-rows-home > .cosora-flex-row--hero,
.cosora-rows-home > .cosora-flex-row--promo{background:var(--cosora-navy)}
.cosora-rows-home .cosora-flex-hero .cosora-hero-copy h2{margin:19px 0 22px;font-size:clamp(42px,5.3vw,82px);line-height:1.04;letter-spacing:-.055em;font-weight:900;text-transform:uppercase;color:#fff}
.cosora-rows-home .cosora-flex-hero .cosora-hero-feature{min-height:350px}
.cosora-rows-home .cosora-flex-hero .cosora-feature-image{inset:0;align-items:center}
.cosora-rows-home .cosora-flex-hero .cosora-feature-image img{object-fit:contain;max-height:100%;height:100%;width:100%}
.cosora-rows-home .cosora-character-grid,
.cosora-rows-home .cosora-type-grid,
.cosora-rows-home .cosora-category-tile-grid{grid-template-columns:repeat(var(--cosora-grid-columns,4),minmax(0,1fr))}
.cosora-rows-home .cosora-character-card{min-height:240px;isolation:isolate}
.cosora-rows-home .cosora-character-img{width:100%;height:100%;inset:0;object-fit:cover;object-position:center;mask-image:none;z-index:-2;opacity:.97}
.cosora-rows-home .cosora-character-card::before{background:linear-gradient(0deg,rgba(3,11,26,.93) 1%,rgba(3,11,26,.03) 78%);z-index:-1}
.cosora-rows-home .cosora-character-card::after{display:none}
.cosora-rows-home .cosora-character-caption{max-width:90%}
.cosora-rows-home .cosora-character-caption strong{font-size:clamp(15px,1.65vw,23px)}
.cosora-rows-home .cosora-category-tile-grid{display:grid;gap:16px}
.cosora-rows-home .cosora-category-tile{display:block;min-width:0;height:275px;overflow:hidden;position:relative;background:linear-gradient(140deg,#1c304b,#111c30);border-radius:10px;isolation:isolate;color:#fff;box-shadow:0 1px 6px rgba(13,27,46,.08);transition:transform .18s,box-shadow .18s}
.cosora-rows-home .cosora-category-tile:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(18,35,61,.18);color:#fff}
.cosora-rows-home .cosora-category-tile::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(4,10,22,.94),rgba(4,10,22,.0) 80%)}
.cosora-rows-home .cosora-category-tile-image{display:block;height:100%;width:100%;object-fit:cover;position:absolute;inset:0;z-index:-2}
.cosora-rows-home .cosora-category-tile-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.14);font-size:100px;z-index:-2}
.cosora-rows-home .cosora-category-tile-copy{position:absolute;left:17px;right:38px;bottom:17px;display:flex;flex-direction:column;gap:5px}
.cosora-rows-home .cosora-category-tile-copy strong{font-size:clamp(17px,1.7vw,23px);color:#fff;line-height:1.2}
.cosora-rows-home .cosora-category-tile-copy small{font-size:12px;color:#d4deeb}
.cosora-rows-home .cosora-category-arrow{position:absolute;bottom:17px;right:15px;font-size:22px;color:#fff}
.cosora-rows-home .cosora-link-thumbnail{width:44px;height:44px;object-fit:contain;margin-right:8px;flex-shrink:0}
.cosora-rows-home .cosora-type-link strong{flex:1;font-size:inherit}
.cosora-rows-home .cosora-type-link span{font-size:20px}
.cosora-rows-home .cosora-flex-promo{isolation:isolate;background:linear-gradient(110deg,var(--cosora-promo-a,#101827),var(--cosora-promo-b,#273e5b))}
.cosora-rows-home .cosora-flex-promo .cosora-promo-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;z-index:-2}
.cosora-rows-home .cosora-flex-promo::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(9,15,28,.97) 0,rgba(10,16,29,.84) 40%,rgba(10,16,29,.03) 92%)}
.cosora-rows-home .cosora-flex-text{padding-block:0}
.cosora-rows-home .cosora-flex-text--dark{background:var(--cosora-navy);color:#fff;padding-block:50px}
.cosora-rows-home .cosora-flex-text--dark h2,.cosora-rows-home .cosora-flex-text--dark .cosora-section-heading h2{color:#fff}
.cosora-rows-home .cosora-flex-text--dark .cosora-section-heading p{color:#cbd5e1}
.cosora-rows-home .cosora-flex-rich-text{font-size:15px;line-height:1.8;max-width:860px;color:inherit}
.cosora-rows-home .cosora-flex-rich-text p{margin:0 0 14px}
/* Override Shoptimizer/WooCommerce archive floats, but only inside the flexible products row. */
.cosora-rows-home .cosora-flex-products .woocommerce ul.products,
.cosora-rows-home .cosora-flex-products ul.products{display:grid!important;grid-template-columns:repeat(var(--cosora-grid-columns,4),minmax(0,1fr))!important;gap:17px!important;margin:0!important;padding:0!important}
.cosora-rows-home .cosora-flex-products .woocommerce ul.products li.product,
.cosora-rows-home .cosora-flex-products ul.products li.product{width:100%!important;float:none!important;clear:none!important;margin:0!important;min-width:0}
.cosora-rows-home .cosora-flex-products .woocommerce ul.products:before,
.cosora-rows-home .cosora-flex-products .woocommerce ul.products:after{display:none!important}
/* Apply layout resets only to pages using this shortcode, never to product or checkout pages. */
body.cosora-shortcode-page #content.site-content{padding-top:0;padding-bottom:0}
body.cosora-shortcode-page #content.site-content #primary.content-area{margin-bottom:0;padding-bottom:0}
body.cosora-shortcode-page .entry-content:has(> .cosora-hero-home){margin:0;padding:0}
body.cosora-shortcode-page .entry-content > .cosora-hero-home{margin:0}
@media(max-width:950px){
  .cosora-rows-home .cosora-character-grid,.cosora-rows-home .cosora-category-tile-grid{grid-template-columns:repeat(var(--cosora-grid-tablet,3),minmax(0,1fr))}
  .cosora-rows-home .cosora-flex-products .woocommerce ul.products,.cosora-rows-home .cosora-flex-products ul.products{grid-template-columns:repeat(var(--cosora-grid-tablet,3),minmax(0,1fr))!important}
}
@media(max-width:767px){
  .cosora-rows-home .cosora-flex-row{padding-top:min(var(--cosora-row-top,0px),42px);padding-bottom:min(var(--cosora-row-bottom,0px),42px)}
  .cosora-rows-home .cosora-character-grid,.cosora-rows-home .cosora-category-tile-grid,.cosora-rows-home .cosora-type-grid{grid-template-columns:repeat(var(--cosora-grid-mobile,2),minmax(0,1fr))}
  .cosora-rows-home .cosora-flex-products .woocommerce ul.products,.cosora-rows-home .cosora-flex-products ul.products{grid-template-columns:repeat(var(--cosora-grid-mobile,2),minmax(0,1fr))!important;gap:11px!important}
  .cosora-rows-home .cosora-category-tile{height:200px}
  .cosora-rows-home .cosora-character-card{min-height:185px}
  .cosora-rows-home .cosora-flex-hero .cosora-hero-copy h2{font-size:clamp(38px,10vw,60px)}
  .cosora-rows-home .cosora-flex-text--dark{padding-block:30px}
}
@media(max-width:380px){
  .cosora-rows-home .cosora-category-tile{height:165px}
  .cosora-rows-home .cosora-character-card{min-height:162px}
}

/* v2.3 — curated product showcases. Scoped to the Classic Editor shortcode. */
.cosora-rows-home > .cosora-flex-row--showcase {background:#fff}
.cosora-rows-home .cosora-showcase-grid{
  display:grid;grid-template-columns:repeat(var(--cosora-sc-columns,4),minmax(0,1fr));
  gap:clamp(12px,1.9vw,25px);margin:0;padding:0;
}
.cosora-rows-home .cosora-showcase-card{min-width:0;margin:0;position:relative;text-align:center}
.cosora-rows-home .cosora-showcase-card-link{display:block;color:var(--cosora-ink);height:auto;text-decoration:none}
.cosora-rows-home .cosora-showcase-media{
  position:relative;display:grid;place-items:center;overflow:hidden;width:100%;max-width:var(--cosora-sc-image-width,100%);
  height:var(--cosora-sc-image-height,auto);aspect-ratio:var(--cosora-sc-image-ratio,3/4);
  margin-inline:auto;background:var(--cosora-sc-image-background,#f5f7fb);border-radius:9px;
  transition:box-shadow .18s ease, transform .18s ease;isolation:isolate;
}
.cosora-rows-home .cosora-showcase-photo{display:block;width:100%;height:100%;object-fit:var(--cosora-sc-image-fit,contain);object-position:center center;margin:0!important;transform:scale(1);transition:transform .25s ease}
.cosora-rows-home .cosora-showcase-card-link:hover .cosora-showcase-photo{transform:scale(1.025)}
.cosora-rows-home .cosora-showcase-card-link:hover .cosora-showcase-media{box-shadow:0 14px 30px rgba(18,34,54,.15);transform:translateY(-2px)}
.cosora-rows-home .cosora-showcase-card-link:focus-visible{outline:3px solid #2861a7;outline-offset:3px;border-radius:9px}
.cosora-rows-home .cosora-showcase-copy{display:block;max-width:100%;margin:13px auto 0;text-align:center}
.cosora-rows-home .cosora-showcase-copy strong{display:block;color:#1b2535;font-size:clamp(14px,1.18vw,18px);line-height:1.4;font-weight:800;letter-spacing:-.018em;overflow-wrap:anywhere}
.cosora-rows-home .cosora-showcase-subtitle{display:block;color:#64748b;font-size:12px;line-height:1.5;margin-top:4px}
.cosora-rows-home .cosora-showcase-card-link:hover .cosora-showcase-copy strong{color:var(--cosora-red)}
.cosora-rows-home .cosora-showcase-price{margin:7px 0 0;font-size:14px;font-weight:700;color:#273449}
.cosora-rows-home .cosora-showcase-price del{color:#79879a;font-weight:500;margin-right:5px}
.cosora-rows-home .cosora-showcase-price ins{color:#b92137;text-decoration:none}
.cosora-rows-home .cosora-showcase-badge{position:absolute;z-index:1;top:12px;left:12px;background:#d52d43;color:#fff;font-size:10px;font-weight:800;letter-spacing:.06em;line-height:1.3;border-radius:3px;padding:7px 9px;text-transform:uppercase;max-width:calc(100% - 52px);overflow-wrap:anywhere}
.cosora-rows-home .cosora-showcase-arrow{position:absolute;z-index:1;bottom:11px;right:11px;width:30px;height:30px;display:grid;place-items:center;background:rgba(16,24,39,.83);border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:50%;font-size:19px;line-height:1;opacity:0;transform:translateY(4px);transition:opacity .18s,transform .18s}
.cosora-rows-home .cosora-showcase-card-link:hover .cosora-showcase-arrow,.cosora-rows-home .cosora-showcase-card-link:focus-visible .cosora-showcase-arrow{opacity:1;transform:translateY(0)}
.cosora-rows-home .cosora-showcase-no-image{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(140deg,#e5eaf2,#f7f8fb);color:#a5b3c5;font-size:68px}
.cosora-rows-home .cosora-showcase--framed .cosora-showcase-card{padding:9px 9px 13px;border:1px solid #e6ebf2;border-radius:11px;background:#fff;box-shadow:0 2px 8px rgba(20,35,54,.045)}
.cosora-rows-home .cosora-showcase--cinematic .cosora-showcase-card{padding:10px 10px 15px;border:1px solid #26344a;border-radius:11px;background:#101827}
.cosora-rows-home .cosora-showcase--cinematic .cosora-showcase-card-link,.cosora-rows-home .cosora-showcase--cinematic .cosora-showcase-copy strong{color:#fff}
.cosora-rows-home .cosora-showcase--cinematic .cosora-showcase-subtitle{color:#cbd5e1}
.cosora-rows-home .cosora-showcase--cinematic .cosora-showcase-price{color:#fff}
.cosora-rows-home .cosora-showcase--cinematic .cosora-showcase-card-link:hover .cosora-showcase-copy strong{color:#eab75a}
.cosora-rows-home .cosora-showcase--left .cosora-showcase-card,.cosora-rows-home .cosora-showcase--left .cosora-showcase-copy{text-align:left}
@media(max-width:950px){.cosora-rows-home .cosora-showcase-grid{grid-template-columns:repeat(min(var(--cosora-sc-columns,4),3),minmax(0,1fr))}}
@media(max-width:767px){
  .cosora-rows-home .cosora-showcase-grid{grid-template-columns:repeat(var(--cosora-sc-mobile,2),minmax(0,1fr));gap:12px}
  .cosora-rows-home .cosora-showcase-copy{margin-top:10px}
  .cosora-rows-home .cosora-showcase-copy strong{font-size:14px}
  .cosora-rows-home .cosora-showcase-badge{top:7px;left:7px;font-size:9px;padding:5px 6px}
  .cosora-rows-home .cosora-showcase-arrow{opacity:1;transform:none;width:24px;height:24px;font-size:16px;bottom:7px;right:7px}
}
@media(prefers-reduced-motion:reduce){.cosora-rows-home .cosora-showcase-media,.cosora-rows-home .cosora-showcase-photo,.cosora-rows-home .cosora-showcase-arrow{transition:none!important;transform:none!important}}


/* v2.4 — image-first Costume Essentials cards. Scoped only to flexible shortcode rows. */
.cosora-rows-home .cosora-essentials-grid{display:grid;gap:var(--cosora-essential-gap,18px);align-items:stretch}
.cosora-rows-home .cosora-essentials-card{
  display:flex;flex-direction:column;position:relative;min-width:0;overflow:hidden;
  background:#fff;color:#1b2535;text-decoration:none!important;border-radius:11px;
  border:1px solid #e5e9f1;box-shadow:0 3px 14px rgba(12,24,45,.035);
  transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease
}
.cosora-rows-home .cosora-essentials-card:hover,
.cosora-rows-home .cosora-essentials-card:focus-visible{
  color:#1b2535;border-color:#d6dce6;transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(13,27,46,.13)
}
.cosora-rows-home .cosora-essentials-card:focus-visible{outline:3px solid #d52d43;outline-offset:3px}
.cosora-rows-home .cosora-essentials-media{
  display:block;position:relative;aspect-ratio:var(--cosora-essential-ratio,3 / 4);
  height:var(--cosora-essential-height,auto);width:100%;overflow:hidden;
  background:var(--cosora-essential-bg,#f5f7fb);isolation:isolate
}
.cosora-rows-home .cosora-essentials-media .cosora-essentials-photo{
  display:block!important;position:absolute!important;inset:0;width:100%!important;
  height:100%!important;max-width:100%!important;max-height:none!important;
  object-fit:var(--cosora-essential-fit,contain)!important;object-position:center!important;
  margin:0!important;padding:0!important;transition:transform .28s ease
}
.cosora-rows-home .cosora-essentials-card:hover .cosora-essentials-photo{transform:scale(1.025)}
.cosora-rows-home .cosora-essentials-fallback{display:grid;place-items:center;width:100%;height:100%;font-size:clamp(50px,8vw,98px);color:#c3cbd8;
  background:linear-gradient(145deg,#f6f8fc,#e9edf4)}
.cosora-rows-home .cosora-essentials-copy{display:flex;flex-direction:column;gap:5px;padding:14px 36px 17px 16px;min-height:62px;text-align:var(--cosora-essential-align,left)}
.cosora-rows-home .cosora-essentials-copy strong{font-size:clamp(14px,1.25vw,18px);font-weight:750;line-height:1.35;color:#1b2535;overflow-wrap:anywhere}
.cosora-rows-home .cosora-essentials-copy small{color:#69788d;font-size:12px;line-height:1.4}
.cosora-rows-home .cosora-essentials-arrow{position:absolute;right:14px;bottom:18px;display:grid;place-items:center;
  font-size:20px;font-weight:500;line-height:1;color:#d52d43;transition:transform .2s ease}
.cosora-rows-home .cosora-essentials-card:hover .cosora-essentials-arrow{transform:translate(2px,-2px)}
/* Film-poster option: imagery stays full size, with a readable overlaid caption. */
.cosora-rows-home .cosora-essentials-grid--cinematic .cosora-essentials-card{border:0;background:#101827;color:#fff}
.cosora-rows-home .cosora-essentials-grid--cinematic .cosora-essentials-media{height:var(--cosora-essential-height,auto)}
.cosora-rows-home .cosora-essentials-grid--cinematic .cosora-essentials-card:before{
  content:'';position:absolute;z-index:1;inset:25% 0 0;
  background:linear-gradient(to bottom,transparent,rgba(4,11,24,.90));pointer-events:none}
.cosora-rows-home .cosora-essentials-grid--cinematic .cosora-essentials-copy{
  position:absolute;z-index:2;left:0;right:0;bottom:0;min-height:0;padding:30px 42px 19px 18px;background:transparent}
.cosora-rows-home .cosora-essentials-grid--cinematic .cosora-essentials-copy strong{color:#fff;font-size:clamp(16px,1.6vw,22px)}
.cosora-rows-home .cosora-essentials-grid--cinematic .cosora-essentials-copy small{color:#d5dfe9}
.cosora-rows-home .cosora-essentials-grid--cinematic .cosora-essentials-arrow{z-index:3;color:#fff;bottom:21px}
/* Compact is opt-in, not the default for an apparel showcase. */
.cosora-rows-home .cosora-essentials-grid--compact .cosora-essentials-card{flex-direction:row;align-items:center;min-height:118px}
.cosora-rows-home .cosora-essentials-grid--compact .cosora-essentials-media{
  width:108px;min-width:108px;height:112px;aspect-ratio:auto;flex:none;border-radius:7px;margin:5px}
.cosora-rows-home .cosora-essentials-grid--compact .cosora-essentials-copy{flex:1;padding:12px 29px 12px 12px;min-height:0}
@media(max-width:950px){.cosora-rows-home .cosora-essentials-grid{gap:min(var(--cosora-essential-gap,18px),13px)}}
@media(max-width:767px){
  .cosora-rows-home .cosora-essentials-grid{grid-template-columns:repeat(var(--cosora-grid-mobile,2),minmax(0,1fr));gap:min(var(--cosora-essential-gap,18px),12px)}
  .cosora-rows-home .cosora-essentials-copy{padding:11px 27px 13px 11px;min-height:53px}
  .cosora-rows-home .cosora-essentials-copy strong{font-size:14px}
  .cosora-rows-home .cosora-essentials-copy small{font-size:11px}
  .cosora-rows-home .cosora-essentials-arrow{right:10px;bottom:14px;font-size:17px}
  .cosora-rows-home .cosora-essentials-grid--cinematic .cosora-essentials-copy{padding:24px 27px 13px 12px}
  .cosora-rows-home .cosora-essentials-grid--compact .cosora-essentials-card{flex-direction:column}
  .cosora-rows-home .cosora-essentials-grid--compact .cosora-essentials-media{width:100%;min-width:0;aspect-ratio:1 / 1;height:auto;margin:0;border-radius:0}
}
@media(prefers-reduced-motion:reduce){
  .cosora-rows-home .cosora-essentials-card,.cosora-rows-home .cosora-essentials-photo,
  .cosora-rows-home .cosora-essentials-arrow{transition:none!important;transform:none!important}
}
