/*
Theme Name: Velmero UW
Theme URI: https://velmero.shop
Author: Velmero
Description: Магазин за мъжки боксерки — чист модерен дизайн (Inter), WooCommerce, конверсионен.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: velmero-uw
*/

:root{
  --indigo:#ff4d1c; --indigo-d:#e63c0c;
  --ink:#111111; --ink-2:#0f0f0f;
  --gray:#6b7280; --line:#e5e7eb; --soft:#f7f7f8; --bg:#ffffff;
  --sale:#d7263d; --star:#f5b301; --ok:#16a34a;
  --max:1280px;
  --font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --shadow:0 6px 24px rgba(17,17,17,.08);
  --shadow-lg:0 20px 50px rgba(17,17,17,.14);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.6;overflow-x:hidden;font-size:15px}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,h5{font-family:var(--font);font-weight:700;letter-spacing:-.01em;line-height:1.15;margin:0 0 .4em}
.container{max-width:var(--max);margin:0 auto;padding:0 24px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;font-weight:600;font-size:.95rem;padding:14px 28px;border-radius:999px;cursor:pointer;border:2px solid transparent;transition:.2s;letter-spacing:.01em}
.btn--primary{background:var(--indigo);color:#fff}.btn--primary:hover{background:var(--indigo-d);transform:translateY(-1px)}
.btn--dark{background:var(--ink);color:#fff}.btn--dark:hover{background:#000;transform:translateY(-1px)}
.btn--ghost{background:#fff;border-color:var(--line);color:var(--ink)}.btn--ghost:hover{border-color:var(--ink)}

/* Topbar */
.topbar{background:var(--ink);color:#fff;font-size:.82rem}
.topbar__inner{display:flex;gap:26px;justify-content:center;flex-wrap:wrap;padding:9px 0}
.topbar__inner span{opacity:.92}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--line)}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px}
.brand{display:inline-flex;flex-direction:column;align-items:center;line-height:1;white-space:nowrap;text-decoration:none}
.brand__row{font-weight:800;font-size:1.65rem;letter-spacing:-.02em;text-transform:uppercase}
.brand__name{color:var(--ink)}.brand__sub{color:var(--indigo)}
.brand__tld{display:flex;align-items:center;gap:7px;margin-top:4px;font-size:.6rem;font-weight:700;letter-spacing:.32em;color:var(--ink);padding-left:.32em}
.brand__line{height:2px;width:30px;background:var(--ink);border-radius:2px}
.brand--light .brand__name,.brand--light .brand__tld{color:#fff}
.brand--light .brand__line{background:#fff}
@media(max-width:560px){.brand__row{font-size:1.45rem}.brand__line{width:22px}}
.main-nav .nav-list{list-style:none;display:flex;gap:30px;margin:0;padding:0}
.main-nav a{font-weight:500;font-size:.92rem;color:var(--ink);position:relative}
.main-nav a:hover{color:var(--indigo)}
.header-actions{display:flex;align-items:center;gap:14px}
.cart-btn{position:relative;display:inline-flex;color:var(--ink)}
.cart-count{position:absolute;top:-7px;right:-9px;background:var(--indigo);color:#fff;font-size:.66rem;font-weight:700;min-width:17px;height:17px;border-radius:999px;display:grid;place-items:center;padding:0 4px}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px}
.nav-toggle span{width:24px;height:2px;background:var(--ink);display:block}

/* Hero slider */
.hero-slider{position:relative;overflow:hidden;background:#0c0c0e}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .6s ease;background-size:cover;background-position:center}
.hero-slide.is-active{position:relative;opacity:1;visibility:visible}
.hero-slide__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,10,12,.86) 0%,rgba(10,10,12,.62) 42%,rgba(10,10,12,.28) 100%)}
.hero-slide__inner{position:relative;min-height:520px;display:flex;align-items:center}
.hero-slide__box{max-width:560px;color:#fff;padding:40px 0}
.hero-eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.2em;font-size:.76rem;font-weight:600;color:#fff;background:rgba(255,255,255,.12);padding:6px 14px;border-radius:999px;margin-bottom:20px}
.hero-title{font-size:clamp(2.2rem,4.6vw,3.6rem);font-weight:800;line-height:1.05;margin:0 0 16px;letter-spacing:-.02em}
.hero-sub{font-size:1.1rem;color:#d7d9de;max-width:34em;margin:0 0 28px}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:48px;height:48px;border-radius:999px;border:0;background:rgba(255,255,255,.9);color:var(--ink);font-size:1.6rem;line-height:1;cursor:pointer;display:grid;place-items:center;transition:.2s}
.hero-arrow:hover{background:#fff}
.hero-arrow--prev{left:22px}.hero-arrow--next{right:22px}
.hero-dots{position:absolute;bottom:22px;left:0;right:0;display:flex;gap:9px;justify-content:center;z-index:3}
.hero-dot{width:10px;height:10px;border-radius:999px;border:0;background:rgba(255,255,255,.45);cursor:pointer;transition:.2s}
.hero-dot.is-active{background:#fff;width:26px}

/* Section head */
.section-head{text-align:center;max-width:640px;margin:0 auto 34px}
.section-eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;font-weight:600;color:var(--gray);margin-bottom:10px}
.section-head h2{font-size:clamp(1.6rem,3vw,2rem);font-weight:700;color:var(--ink);margin:0 0 8px;letter-spacing:-.01em}
.section-head p{color:var(--gray);margin:0}
.collection{padding:64px 0}
.collection__more{text-align:center;margin-top:36px}

/* Product grid */
.woocommerce ul.products,ul.products.vel-grid{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:0;padding:0}
.woocommerce ul.products li.product,ul.products.vel-grid li.product{position:relative;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px;text-align:left;transition:.22s;float:none!important;width:auto!important;margin:0!important;overflow:hidden}
.woocommerce ul.products li.product:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product a img,ul.products.vel-grid li.product a img{border-radius:8px;aspect-ratio:1/1;object-fit:cover;width:100%;margin:0 0 12px}
.woocommerce ul.products li.product a{color:inherit}
/* SALE badge (top-right) */
.woocommerce span.onsale,.woocommerce ul.products li.product .onsale,ul.products.vel-grid li.product .onsale{position:absolute;top:16px;right:16px;left:auto;background:var(--sale);color:#fff;font-weight:700;letter-spacing:.04em;padding:4px 10px;border-radius:4px;font-size:.72rem;min-height:auto;min-width:auto;line-height:1.3;margin:0;z-index:4}
/* Countdown timer (top-left) */
.vel-timer{position:absolute;top:16px;left:16px;z-index:4;display:inline-flex;align-items:center;gap:6px;background:rgba(17,17,17,.72);color:#fff;font-weight:700;font-size:.78rem;padding:5px 10px;border-radius:6px;backdrop-filter:blur(3px)}
.vel-timer svg{width:14px;height:14px}
.vel-timer__t{font-variant-numeric:tabular-nums}
.woocommerce ul.products li.product.outofstock .onsale,.woocommerce ul.products li.product.outofstock .vel-timer,ul.products.vel-grid li.product.outofstock .onsale,ul.products.vel-grid li.product.outofstock .vel-timer{display:none}
.woocommerce ul.products li.product.outofstock::after,ul.products.vel-grid li.product.outofstock::after{content:"ИЗЧЕРПАНО";position:absolute;top:16px;right:16px;background:#6b7280;color:#fff;font-weight:700;font-size:.7rem;padding:4px 10px;border-radius:4px;z-index:4}
/* Card texts */
.woocommerce ul.products li.product .woocommerce-loop-product__title,ul.products.vel-grid li.product .woocommerce-loop-product__title{font-size:.95rem;font-weight:600;color:var(--ink);padding:0 4px;margin:2px 0 6px;line-height:1.35;min-height:2.7em;display:block}
.vel-rating{display:flex;align-items:center;gap:6px;font-size:.82rem;padding:0 4px;margin-bottom:8px}
.vel-rating .stars{color:var(--star);letter-spacing:1px}
.vel-rating .rc{color:var(--gray)}
.woocommerce ul.products li.product .price,ul.products.vel-grid li.product .price{color:var(--ink);font-size:1.05rem;display:block;padding:0 4px 6px;font-weight:700}
.woocommerce ul.products li.product .price del,ul.products.vel-grid li.product .price del{color:var(--gray);font-weight:400;font-size:.9rem;opacity:1;margin-right:6px}
.woocommerce ul.products li.product .price ins,ul.products.vel-grid li.product .price ins{color:var(--indigo);font-weight:700;text-decoration:none}
.price .per{color:var(--gray);font-size:.78rem;font-weight:400;white-space:nowrap}

/* Value band */
.valueband{background:var(--soft);border-top:1px solid var(--line);padding:50px 0}
.valueband__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.vb{text-align:center}
.vb__ico{font-size:1.7rem;margin-bottom:8px}
.vb h4{font-size:1rem;font-weight:700;margin:0 0 4px}
.vb p{color:var(--gray);font-size:.86rem;margin:0}

/* Footer */
.site-footer{background:var(--ink-2);color:rgba(255,255,255,.7)}
.site-footer__grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:32px;padding:54px 24px 40px}
.foot-brand .brand{font-size:1.2rem}
.foot-brand p{margin:14px 0 0;max-width:30em;font-size:.9rem;line-height:1.7}
.foot-col h5{color:#fff;font-size:.82rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700;margin:0 0 14px}
.foot-col ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.foot-col a{font-size:.9rem}.foot-col a:hover{color:#fff}
.site-footer__bottom{border-top:1px solid rgba(255,255,255,.1)}
.site-footer__bottom-inner{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 24px;font-size:.84rem}

/* Generic */
.site-main{padding:48px 0;min-height:40vh}
.woo-main{padding-top:36px}
.page-title{font-size:1.9rem;margin-bottom:22px}
.woocommerce .woocommerce-result-count{color:var(--gray);font-size:.9rem}
.woocommerce .woocommerce-ordering select{padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:#fff}
.woocommerce nav.woocommerce-pagination ul,.pagination{display:flex;gap:8px;list-style:none;padding:0;justify-content:center;margin-top:30px}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span,.pagination .page-numbers{border:1px solid var(--line);background:#fff;padding:9px 15px;border-radius:8px}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--indigo);color:#fff;border-color:var(--indigo)}

/* ===== Single product ===== */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:50px;align-items:start;max-width:1120px;margin:18px auto 0}
.woocommerce div.product .woocommerce-product-gallery,.woocommerce div.product .summary,.woocommerce div.product .entry-summary{width:100%!important;float:none!important;margin:0!important}
.woocommerce div.product .woocommerce-product-gallery{position:static!important;top:auto!important}
.woocommerce div.product .woocommerce-product-gallery__wrapper,.woocommerce div.product .woocommerce-product-gallery__image img{width:100%}
.woocommerce div.product .woocommerce-product-gallery img{border-radius:14px;box-shadow:var(--shadow)}
.woocommerce div.product .entry-summary,.woocommerce div.product .summary{position:relative}
.woocommerce div.product .product_title{font-size:clamp(1.5rem,2.3vw,1.9rem);font-weight:700;line-height:1.18;margin-bottom:12px;padding-right:86px}
.vel-sale-chip{position:absolute;top:4px;right:0;background:var(--sale);color:#fff;font-weight:700;letter-spacing:.04em;font-size:.78rem;padding:5px 12px;border-radius:4px}
.vel-rating--single{margin:0 0 14px;font-size:.92rem}
.vel-rating--single .stars{font-size:1.05rem}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:1.8rem;font-weight:700;margin:0 0 6px;color:var(--ink)}
.woocommerce div.product p.price del{font-size:1.15rem;color:var(--gray);opacity:1}
.woocommerce div.product p.price ins{color:var(--indigo);text-decoration:none;font-weight:700}
.woocommerce div.product .woocommerce-product-details__short-description{color:#444a52;border-top:1px solid var(--line);padding-top:18px;margin-top:6px}
/* Countdown bar */
.vel-countdown{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fdecec;border:1px solid #f6c9c6;color:var(--sale);border-radius:12px;padding:12px 18px;margin:20px 0 6px;font-weight:600}
.vel-countdown__l{display:inline-flex;align-items:center;gap:8px;font-size:.95rem}
.vel-countdown__l svg{width:18px;height:18px}
.vel-countdown__t{font-size:1.3rem;font-weight:700;letter-spacing:.02em;font-variant-numeric:tabular-nums}
/* Size pills */
.vel-variation{margin:22px 0 4px}
.vel-variation__label{font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.82rem;color:var(--ink);margin-bottom:10px}
.vel-pills{display:flex;flex-wrap:wrap;gap:12px}
.vel-pill{min-width:72px;padding:14px 18px;border:2px solid var(--line);background:#fff;border-radius:10px;font-weight:700;font-size:1rem;color:var(--ink);cursor:pointer;transition:.15s;text-align:center}
.vel-pill:hover:not(.is-oos){border-color:var(--ink)}
.vel-pill.is-active{border-color:var(--indigo);background:var(--indigo);color:#fff;box-shadow:0 6px 16px rgba(79,70,229,.3)}
.vel-pill.is-oos{color:#b9bcc2;background:#f4f4f6;border-color:#ececed;cursor:not-allowed}
.vel-pill.is-oos span{text-decoration:line-through}
/* Missing-size nudge */
.vel-size-hint{display:none;margin:0 0 10px;color:#ff4d1c;font-weight:700;font-size:.95rem}
.vel-pills--nudge .vel-pill:not(.is-oos){border-color:#ff4d1c;animation:velShake .4s ease}
@keyframes velShake{0%,100%{transform:translateX(0)}20%,60%{transform:translateX(-5px)}40%,80%{transform:translateX(5px)}}
.woocommerce div.product .single_variation .price{display:none}
.woocommerce div.product .single_variation .stock{margin-top:6px;color:var(--ok)}
.woocommerce div.product form.cart{margin-top:22px}
.woocommerce div.product form.cart .quantity{display:none!important}
.woocommerce div.product .single_variation_wrap,.woocommerce div.product .woocommerce-variation-add-to-cart{width:100%}
.vel-buy{width:100%!important;display:flex!important;align-items:center;justify-content:space-between;gap:16px;background:var(--indigo)!important;color:#fff!important;border-radius:12px!important;padding:0 26px!important;height:60px;font-weight:700;font-size:1.02rem;border:0;text-transform:none;letter-spacing:.01em}
.vel-buy:hover{background:var(--indigo-d)!important}
.vel-buy__total{background:rgba(255,255,255,.18);padding:7px 16px;border-radius:9px;font-size:1.05rem;min-width:92px;text-align:center}
.woocommerce div.product form.cart .button.disabled,.woocommerce div.product form.cart .button:disabled{opacity:.5;cursor:not-allowed}
.vel-assurance{list-style:none;margin:20px 0 0;padding:16px 20px;border:1px solid var(--line);border-radius:14px;display:grid;gap:11px;background:#fff;box-shadow:var(--shadow)}
.vel-assurance li{display:flex;align-items:center;gap:12px;font-size:.92rem;color:#3f444b;font-weight:500}
.vel-assurance li svg{width:18px;height:18px;color:var(--indigo);flex:0 0 auto}
body.single-product span.onsale{display:none}
/* Woo buttons (cart/checkout) */
.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce button.button.alt{background:var(--indigo);color:#fff;border-radius:999px;font-weight:600;border:0;padding:12px 24px}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover{background:var(--indigo-d)}
.woocommerce-message,.woocommerce-info{border-top:3px solid var(--indigo);background:#fff;box-shadow:var(--shadow);border-radius:10px}
.woocommerce .woocommerce-tabs ul.tabs{list-style:none;padding:0;display:flex;gap:18px;border-bottom:1px solid var(--line);margin:40px 0 18px}
.woocommerce .woocommerce-tabs ul.tabs li a{font-weight:600;color:var(--gray)}
.woocommerce .woocommerce-tabs ul.tabs li.active a{color:var(--ink)}

/* Responsive */
@media(max-width:1080px){
  .woocommerce ul.products,ul.products.vel-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:860px){
  .hero-slide__inner{min-height:420px}
  .valueband__grid{grid-template-columns:repeat(2,1fr)}
  .site-footer__grid{grid-template-columns:1fr 1fr}
  .woocommerce div.product{display:block}
  .woocommerce div.product .woocommerce-product-gallery{position:static!important;top:auto!important;float:none!important;width:100%!important;margin:0 0 28px!important}
  .woocommerce div.product .summary,.woocommerce div.product .entry-summary{width:100%!important;margin:0!important;float:none!important}
  .woocommerce div.product .product_title{font-size:1.5rem;padding-right:72px}
  .woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related,.woocommerce div.product .upsells{margin-top:40px}
  /* Full-width dropdown mega menu */
  .main-nav{position:fixed;top:0;left:0;right:0;width:100%;max-height:100dvh;overflow-y:auto;background:#fff;transform:translateY(-102%);transition:transform .34s cubic-bezier(.4,0,.2,1);padding:82px 0 26px;box-shadow:0 24px 50px rgba(0,0,0,.14);z-index:40;visibility:hidden}
  body.nav-open .main-nav{transform:translateY(0);visibility:visible}
  body.nav-open{overflow:hidden}
  .main-nav .nav-list{display:block;margin:0;padding:0}
  .main-nav .nav-list li{border-top:1px solid var(--line)}
  .main-nav .nav-list li:first-child{border-top:0}
  .main-nav .nav-list li a{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;font-size:1.3rem;font-weight:700;color:var(--ink)}
  .main-nav .nav-list li a::after{content:"›";color:var(--indigo);font-size:1.4rem;font-weight:400}
  .nav-extra{display:block}
  .nav-toggle{display:flex}
}
@media(max-width:620px){
  .woocommerce ul.products,ul.products.vel-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .site-footer__grid{grid-template-columns:1fr 1fr}
  .topbar__inner span:nth-child(n+4){display:none}
  .hero-arrow{display:none}
}

/* ===== Bundle offers ===== */
.vel-offers{margin:24px 0 4px}
.vel-offers__label{font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.82rem;color:var(--gray);margin-bottom:12px}
.vel-offer{position:relative;display:flex;align-items:center;gap:14px;border:1.5px solid var(--line);border-radius:14px;padding:16px 20px;margin-bottom:12px;cursor:pointer;background:#fff;transition:.15s}
.vel-offer:hover{border-color:#c7c9cf}
.vel-offer input{position:absolute;opacity:0;pointer-events:none}
.vel-offer__radio{flex:0 0 auto;width:22px;height:22px;border:2px solid #cbd5e1;border-radius:50%;position:relative;transition:.15s}
.vel-offer__info{display:flex;flex-direction:column;line-height:1.3}
.vel-offer__n{font-size:1.1rem;color:var(--ink)}
.vel-offer__n b{font-size:1.35rem;font-weight:800;margin-right:2px}
.vel-offer__sub{font-size:.85rem;color:var(--gray)}
.vel-offer__price{margin-left:auto;font-size:1.35rem;font-weight:800;color:var(--ink)}
.vel-offer__badge{position:absolute;top:-11px;right:18px;font-size:.72rem;font-weight:700;letter-spacing:.03em;padding:4px 12px;border-radius:999px;color:#fff;white-space:nowrap}
.vel-offer__badge--save{background:var(--ink)}
.vel-offer__badge--best{background:var(--indigo)}
.vel-offer.is-selected{border-color:var(--indigo);border-width:2px;background:#f5f5ff;padding:15px 19px}
.vel-offer.is-selected .vel-offer__radio{border-color:var(--indigo)}
.vel-offer.is-selected .vel-offer__radio::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--indigo)}
.vel-offer.is-disabled{opacity:.45;cursor:not-allowed}
.vel-offer.is-disabled .vel-offer__price{text-decoration:line-through}
.vel-offer.is-disabled .vel-offer__badge{display:none}

/* ===== Single product: tabs & related span full width (not inside the 2-col grid) ===== */
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells{grid-column:1 / -1;margin-top:56px}
.woocommerce div.product .related,
.woocommerce div.product .upsells{border-top:1px solid var(--line);padding-top:40px}

/* Clean tabs (kill default notched style) */
.woocommerce div.product .woocommerce-tabs ul.tabs{list-style:none;margin:0 0 26px;padding:0;display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--line);position:static}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;position:relative}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none!important;border:0!important;content:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:block;padding:12px 20px;font-weight:600;font-size:.95rem;color:var(--gray);border-bottom:2px solid transparent;margin-bottom:-1px;transition:.15s}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{color:var(--ink)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ink);border-bottom-color:var(--indigo)}
.woocommerce div.product .woocommerce-tabs .panel{margin:0;padding:0;max-width:820px}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:1.5rem;margin:0 0 14px}
.woocommerce div.product .woocommerce-tabs .panel h3{font-size:1.1rem;margin:22px 0 10px}
.woocommerce div.product .woocommerce-tabs .panel ul,
.woocommerce div.product .woocommerce-tabs .panel ol{padding-left:1.2em}
.woocommerce div.product .woocommerce-tabs .panel li{margin:6px 0}

/* Related products heading */
.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2{font-size:1.5rem;font-weight:700;margin:0 0 24px;color:var(--ink)}

/* ================= NIKE-STYLE: orange + dynamic ================= */

/* --- Trust bar: orange infinite marquee (right -> left) --- */
.topbar{background:var(--indigo);color:#111;overflow:hidden;padding:0}
.topbar__marquee{overflow:hidden;white-space:nowrap;width:100%}
.topbar__track{display:inline-flex;align-items:center;animation:velMarquee 36s linear infinite;will-change:transform}
.topbar__item{display:inline-flex;align-items:center;gap:7px;padding:10px 22px;font-size:.85rem;font-weight:700;color:#111;letter-spacing:.01em}
.topbar__sep{color:#111;opacity:.35;font-size:.55rem;padding:0 2px}
.topbar:hover .topbar__track{animation-play-state:paused}
@keyframes velMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* --- Product cards: frameless, full-bleed image, dynamic hover --- */
.woocommerce ul.products li.product,ul.products.vel-grid li.product{border:0!important;padding:0!important;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 2px 16px rgba(17,17,17,.07)}
.woocommerce ul.products li.product a img,ul.products.vel-grid li.product a img{border-radius:0!important;margin:0!important;width:100%;aspect-ratio:1/1;object-fit:cover;transition:transform .5s ease}
.woocommerce ul.products li.product:hover a img,ul.products.vel-grid li.product:hover a img{transform:scale(1.07)}
.woocommerce ul.products li.product:hover,ul.products.vel-grid li.product:hover{transform:translateY(-6px);box-shadow:0 22px 46px rgba(255,77,28,.22)}
.woocommerce ul.products li.product .woocommerce-loop-product__title,ul.products.vel-grid li.product .woocommerce-loop-product__title{padding:14px 14px 0!important;margin:0 0 6px;min-height:2.6em}
.vel-rating{padding:0 14px!important}
.woocommerce ul.products li.product .price,ul.products.vel-grid li.product .price{padding:0 14px 16px!important}

/* --- Single product: NO zoom, plain static image --- */
.woocommerce div.product .woocommerce-product-gallery__trigger{display:none!important}
.woocommerce div.product .woocommerce-product-gallery img,
.woocommerce div.product .woocommerce-product-gallery__image,
.woocommerce div.product .woocommerce-product-gallery a{cursor:default!important}

/* --- Orange accents --- */
.section-eyebrow{color:var(--indigo)}
.section-head h2{text-transform:uppercase;letter-spacing:-.005em}
.section-head h2::after{content:"";display:block;width:54px;height:4px;background:var(--indigo);border-radius:2px;margin:14px auto 0}
.hero-eyebrow{background:var(--indigo);color:#111;font-weight:700}
.hero-title{text-transform:uppercase;font-style:italic}
.hero-dot.is-active{background:var(--indigo)}
.vel-offer.is-selected{background:#fff4f0}
.vel-pill.is-active{box-shadow:0 6px 16px rgba(255,77,28,.3)}

/* --- Dynamic motion --- */
.vel-reveal{opacity:0;transform:translateY(26px);transition:opacity .6s ease,transform .6s ease}
.vel-reveal.is-in{opacity:1;transform:none}
.hero-slide.is-active .hero-slide__box{animation:velUp .75s ease both}
@keyframes velUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.btn{transition:.2s}
.btn--primary:hover{box-shadow:0 12px 28px rgba(255,77,28,.42)}
.btn--dark:hover{box-shadow:0 12px 28px rgba(17,17,17,.3)}
.vel-buy:hover{box-shadow:0 12px 30px rgba(255,77,28,.42)}
.main-nav a{transition:color .15s}

@media(prefers-reduced-motion:reduce){
  .topbar__track{animation:none}
  .vel-reveal{opacity:1!important;transform:none!important;transition:none}
  .hero-slide.is-active .hero-slide__box{animation:none}
  .woocommerce ul.products li.product:hover a img,ul.products.vel-grid li.product:hover a img{transform:none}
}

/* Sold-out cards: clearly marked (dimmed image + bold badge) */
.woocommerce ul.products li.product.outofstock a img,ul.products.vel-grid li.product.outofstock a img{filter:grayscale(.45);opacity:.72}
.woocommerce ul.products li.product.outofstock .price,ul.products.vel-grid li.product.outofstock .price{opacity:.55}
.woocommerce ul.products li.product.outofstock:hover a img,ul.products.vel-grid li.product.outofstock:hover a img{transform:none}
.woocommerce ul.products li.product.outofstock::after,ul.products.vel-grid li.product.outofstock::after{background:#111;font-weight:800;letter-spacing:.04em;padding:5px 12px}

/* Nicer order button with icon */
.vel-buy{background:linear-gradient(135deg,#ff6a3d 0%,#ff4d1c 55%,#ef3c0a 100%)!important;box-shadow:0 8px 22px rgba(255,77,28,.3)}
.vel-buy__label{display:inline-flex;align-items:center;gap:10px}
.vel-buy__ico{width:20px;height:20px;flex:0 0 auto;transition:transform .2s ease}
.vel-buy:hover .vel-buy__ico{transform:translateY(-1px) scale(1.06)}
.vel-buy:hover{box-shadow:0 12px 30px rgba(255,77,28,.45);filter:brightness(1.03)}

/* Size guide table */
.vel-size__intro{font-size:1.08rem;color:var(--ink);margin:0 0 20px}
.vel-size{width:100%;max-width:860px;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.vel-size th{text-align:left;background:#f6f6f7;color:var(--gray);text-transform:uppercase;letter-spacing:.06em;font-size:.8rem;font-weight:700;padding:16px 24px}
.vel-size td{padding:20px 24px;border-top:1px solid var(--line);font-size:1.05rem;color:var(--ink)}
.vel-size tbody tr:nth-child(even){background:#fcfbfa}
.vel-size__sz{font-weight:800;font-size:1.15rem}
.vel-size__note{color:var(--gray);margin:20px 0 0;font-size:1rem}
.vel-size__note strong{color:var(--ink)}
@media(max-width:560px){.vel-size th,.vel-size td{padding:13px 14px;font-size:.92rem}}

/* No image zoom on card hover (keep the lift + shadow) */
.woocommerce ul.products li.product:hover a img,ul.products.vel-grid li.product:hover a img{transform:none!important}
/* "от" price prefix */
.vel-from__pre{font-weight:500;font-size:.72em;color:var(--gray);margin-right:1px}
.woocommerce div.product p.price .vel-from__pre,.woocommerce div.product span.price .vel-from__pre{font-size:.55em;vertical-align:middle}

/* Mobile menu — extra useful block (hidden on desktop) */
@media(min-width:861px){.nav-extra{display:none}}
.nav-extra__cta{display:flex;align-items:center;justify-content:center;gap:9px;background:var(--indigo);color:#fff;font-weight:700;padding:15px;border-radius:999px;margin:22px 24px 24px;font-size:1.02rem;box-shadow:0 8px 22px rgba(255,77,28,.3)}
.nav-extra__cta svg{width:20px;height:20px}
.nav-extra__trust{display:grid;gap:4px;border-top:1px solid var(--line);padding:18px 24px 8px}
.nav-extra__trust-title{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--gray);margin-bottom:10px}
.nav-extra__trust li{display:flex;align-items:center;gap:12px;padding:9px 0;font-weight:600;color:#2b2f36;list-style:none}
.nav-extra__trust ul{margin:0;padding:0}
.nav-extra__trust svg{width:21px;height:21px;color:var(--indigo);flex:0 0 auto}
.nav-extra__contact{border-top:1px solid var(--line);margin-top:10px;padding:16px 24px 0;display:flex;flex-direction:column;gap:6px;color:var(--gray);font-size:.92rem}
.nav-extra__contact a{color:var(--ink);font-weight:600}
.nav-extra__pay{display:inline-flex;align-items:center;gap:8px;margin-top:6px;font-weight:600;color:var(--ink)}

/* ===== Added-to-cart modal + upsell carousel ===== */
body.vel-modal-open{overflow:hidden}
.vel-modal{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:20px}
.vel-modal.is-open{display:flex}
.vel-modal__overlay{position:absolute;inset:0;background:rgba(10,10,12,.55);animation:velFade .2s ease}
.vel-modal__box{position:relative;background:#fff;border-radius:18px;width:min(560px,100%);max-height:90vh;overflow:auto;box-shadow:0 30px 70px rgba(0,0,0,.3);animation:velPop .25s ease}
@keyframes velFade{from{opacity:0}to{opacity:1}}
@keyframes velPop{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
.vel-modal__head{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}
.vel-modal__check{width:30px;height:30px;border-radius:50%;background:#1aa260;color:#fff;display:grid;place-items:center;flex:0 0 auto}
.vel-modal__check svg{width:17px;height:17px}
.vel-modal__htitle{font-weight:700;font-size:1.1rem;flex:1;color:var(--ink)}
.vel-modal__close{background:none;border:0;cursor:pointer;color:#111;padding:4px;line-height:0}
.vel-modal__close svg{width:22px;height:22px}
.vel-modal__body{display:flex;gap:16px;padding:18px 20px}
.vel-modal__img{width:92px;height:92px;object-fit:cover;border-radius:10px;border:1px solid var(--line);flex:0 0 auto;background:#f5f5f5}
.vel-modal__name{font-weight:700;font-size:1.05rem;color:var(--ink)}
.vel-modal__size{color:var(--gray);margin:4px 0 8px}
.vel-modal__price{font-weight:800;font-size:1.3rem;color:var(--indigo)}
.vel-modal__actions{padding:4px 20px 18px;display:grid;gap:10px}
.vel-modal__checkout{display:block;text-align:center;background:var(--indigo);color:#fff;font-weight:700;padding:16px;border-radius:999px;font-size:1.02rem;text-transform:uppercase;letter-spacing:.02em}
.vel-modal__checkout:hover{background:var(--indigo-d)}
.vel-modal__continue{display:block;width:100%;text-align:center;background:#fff;color:#111;border:1.5px solid var(--line);font-weight:700;padding:15px;border-radius:999px;cursor:pointer;font-size:1rem;text-transform:uppercase;letter-spacing:.02em}
.vel-modal__continue:hover{border-color:#111}
.vel-modal__upsell{border-top:1px solid var(--line);padding:18px 20px 22px}
.vel-modal__upsell-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.vel-modal__upsell-head span{font-weight:700;font-size:1rem;color:var(--ink)}
.vel-carousel__arrows{display:flex;gap:8px}
.vel-carousel__arrow{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:1.3rem;line-height:1;color:#111}
.vel-carousel__arrow:hover{border-color:var(--indigo);color:var(--indigo)}
.vel-carousel__track{display:flex;gap:12px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:6px}
.vel-carousel__track::-webkit-scrollbar{height:6px}
.vel-carousel__track::-webkit-scrollbar-thumb{background:#ddd;border-radius:3px}
.vel-cc{flex:0 0 150px;scroll-snap-align:start;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:.15s;color:inherit}
.vel-cc:hover{border-color:var(--indigo);box-shadow:0 10px 24px rgba(255,77,28,.15)}
.vel-cc__imgwrap{display:block;aspect-ratio:1/1;background:#f5f5f5}
.vel-cc__imgwrap img{width:100%;height:100%;object-fit:cover}
.vel-cc__name{font-size:.82rem;font-weight:600;color:#111;padding:8px 10px 4px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.vel-cc__price{padding:0 10px;font-size:.82rem}
.vel-cc__price del{color:var(--gray);margin-right:4px;font-size:.78rem}
.vel-cc__price ins{color:var(--indigo);text-decoration:none;font-weight:700}
.vel-cc__btn{margin:8px 10px 10px;text-align:center;background:#111;color:#fff;border-radius:999px;padding:7px;font-size:.8rem;font-weight:600}
.vel-cc:hover .vel-cc__btn{background:var(--indigo)}
@media(max-width:560px){.vel-cc{flex-basis:140px}}

/* Mobile menu: header stays on top, hamburger -> X */
@media(max-width:860px){
  .main-nav{padding-top:98px}
  .nav-toggle{z-index:70;position:relative}
  .nav-toggle span{transition:transform .25s ease,opacity .2s ease}
  body.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  body.nav-open .nav-toggle span:nth-child(2){opacity:0}
  body.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .nav-extra__trust{border-top:0;padding-top:4px}
}

/* Keep logo + cart visible above the open menu panel */
@media(max-width:860px){
  .brand,.header-actions{position:relative;z-index:70}
}

/* Selected size pill: orange border always (fix black border on hover/focus) */
.vel-pill:hover:not(.is-oos):not(.is-active){border-color:var(--ink)}
.vel-pill.is-active,.vel-pill.is-active:hover,.vel-pill.is-active:focus{border-color:var(--indigo)!important;background:var(--indigo)!important;color:#fff!important}
.vel-pill:focus,.vel-pill:focus-visible{outline:none}
.vel-pill.is-active:focus-visible{box-shadow:0 0 0 3px rgba(255,77,28,.35),0 6px 16px rgba(255,77,28,.3)}

/* Mobile menu: no slide animation — just appear */
@media(max-width:860px){
  .main-nav{transform:none!important;transition:none!important}
}

/* No scroll-reveal animation on products/sections — show directly */
.vel-reveal{opacity:1!important;transform:none!important;transition:none!important}

/* Hide WooCommerce notices on product page (modal gives feedback instead) */
.single-product .woocommerce-notices-wrapper,
.single-product .woocommerce-message,
.single-product .woocommerce-error,
.single-product .woocommerce-info{display:none!important}

/* Stock availability "Налични N" — visible to admins only */
.woocommerce div.product .single_variation .stock,
.woocommerce div.product .stock{display:none}
body.vel-admin .woocommerce div.product .single_variation .stock,
body.vel-admin .woocommerce div.product .stock{display:block;color:var(--ok)}

/* Mobile menu: breathing room before "Защо Velmero" so the last link reads as a row */
@media(max-width:860px){
  .nav-extra{margin-top:18px}
  .nav-extra__trust{border-top:1px solid var(--line);padding-top:20px}
}

/* Empty cart page */
.vel-empty{text-align:center;padding:24px 0 10px;max-width:1120px;margin:0 auto}
.vel-empty__ico{width:88px;height:88px;border-radius:50%;background:#fff4f0;color:var(--indigo);display:grid;place-items:center;margin:0 auto 22px}
.vel-empty__ico svg{width:42px;height:42px}
.vel-empty__title{font-size:1.9rem;margin:0 0 10px}
.vel-empty__text{color:var(--gray);max-width:36em;margin:0 auto 24px;font-size:1.05rem}
.vel-empty__btn{margin-bottom:12px}
.vel-empty__sugg{margin-top:50px}
.vel-empty__sugg h3{font-size:1.4rem;text-align:center;margin-bottom:26px}

/* Fix: WooCommerce clearfix pseudo-elements become grid items (empty first cell) on cart/other pages without the .woocommerce body class */
ul.products::before, ul.products::after,
.vel-grid::before, .vel-grid::after{display:none!important;content:none!important}

/* Cookie consent banner */
.vel-cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:1200;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,.2);padding:18px 20px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;max-width:960px;margin:0 auto}
.vel-cookie__txt{flex:1 1 320px;font-size:.92rem;color:#2b2f36;line-height:1.5}
.vel-cookie__txt a{color:var(--indigo);font-weight:600;text-decoration:underline}
.vel-cookie__btns{display:flex;gap:10px;flex:0 0 auto}
.vel-cookie__btn{border-radius:999px;padding:11px 20px;font-weight:700;font-size:.92rem;cursor:pointer;border:1.5px solid var(--line);background:#fff;color:#111}
.vel-cookie__btn--ghost:hover{border-color:#111}
.vel-cookie__btn--accept{background:var(--indigo);border-color:var(--indigo);color:#fff}
.vel-cookie__btn--accept:hover{background:var(--indigo-d)}
@media(max-width:560px){.vel-cookie{padding:16px;left:10px;right:10px;bottom:10px}.vel-cookie__btns{flex:1 1 100%}.vel-cookie__btn{flex:1}}

/* Cookie banner must actually hide when dismissed ([hidden] was overridden by display:flex) */
.vel-cookie[hidden]{display:none!important}
