/*
Theme Name: Start la Distractie
Theme URI: https://startladistractie.ro
Author: ADC Creative Agency
Description: Tema WooCommerce pentru startladistractie.ro (fara Avada / page builder). Magazin curat si prietenos: header compact cu meniu mare de categorii, carduri albe cu pret clar, plachete foto de categorii, filtre laterale.
Version: 2.0.0
Requires PHP: 7.4
Text Domain: sld
*/

/* ---------- font (self-hosted) ---------- */
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(assets/fonts/nunitosans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(assets/fonts/nunitosans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: #1f4fb8;
  --blue-d: #173d92;
  --blue-l: #eaf0fd;
  --navy: #12264f;
  --orange: #ef6a16;
  --orange-d: #d95a0b;
  --red: #e0283f;
  --green: #12843f;
  --amber-bg: #fff3d6;
  --amber: #8a5a00;
  --ink: #1b2233;
  --muted: #5d6879;
  --line: #e1e6ef;
  --bg: #f2f4f8;
  --card: #fff;
  --r: 12px;
  --r-s: 8px;
  --shadow: 0 2px 10px rgba(18, 38, 79, .08);
  --shadow-h: 0 8px 24px rgba(18, 38, 79, .14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--ink); line-height: 1.5; font-size: 16px; min-height: 100vh; display: flex; flex-direction: column; }
body.no-scroll { overflow: hidden; }
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
ul { list-style: none; }
button { font-family: inherit; }
.ico { flex: none; vertical-align: middle; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
main > .wrap { padding-top: 14px; padding-bottom: 48px; }
.hide-sm { }

/* ---------- bara de sus ---------- */
.topbar { background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; }
.topbar .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; min-height: 36px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header-main { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.logo { display: block; flex: none; }
.logo img { height: 56px; width: auto; display: block; }
.icon-btn { background: none; border: 0; cursor: pointer; color: var(--ink); display: inline-flex; padding: 6px; border-radius: var(--r-s); }
.menu-toggle { display: none; }
.cats-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; border: 0; font-weight: 700; font-size: 15px; padding: 11px 16px; border-radius: var(--r-s); cursor: pointer; flex: none; }
.cats-btn:hover, .cats-btn.open { background: var(--blue-d); }
.cats-btn .ico:last-child { transition: transform .15s; }
.cats-btn.open .ico:last-child { transform: rotate(180deg); }

.search-wrap { position: relative; flex: 1; min-width: 0; }
.search { display: flex; background: #fff; border: 2px solid var(--line); border-radius: var(--r-s); overflow: hidden; transition: border-color .15s; }
.search:focus-within { border-color: var(--blue); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; font-family: inherit; font-size: 15px; padding: 11px 16px; color: var(--ink); background: transparent; }
.search input::placeholder { color: #8b95a6; }
.search button { border: 0; background: var(--blue); color: #fff; width: 52px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search button:hover { background: var(--blue-d); }
.live-search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-h); z-index: 95; max-height: 420px; overflow-y: auto; padding: 6px; }
.live-search-results[hidden] { display: none; }
.live-search-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-s); text-decoration: none; color: var(--ink); }
.live-search-item:hover { background: var(--bg); }
.live-search-item img { width: 46px; height: 46px; object-fit: contain; border-radius: 6px; background: #fff; flex: none; }
.live-search-name { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.3; }
.live-search-price { font-weight: 800; font-size: 14px; white-space: nowrap; }
.live-search-empty { padding: 14px; text-align: center; color: var(--muted); font-size: 14px; }

.actions { display: flex; gap: 6px; flex: none; }
.act { display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: 0; cursor: pointer; color: var(--ink); text-decoration: none; padding: 6px 12px; border-radius: var(--r-s); font-size: 12px; font-weight: 700; min-width: 64px; }
.act:hover { background: var(--bg); color: var(--blue); }
.ico-wrap { position: relative; display: inline-flex; }
.badge { position: absolute; top: -6px; right: -10px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; min-width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 9px; padding: 0 5px; }

.main-nav { border-top: 1px solid var(--line); background: #fff; }
.main-nav ul { display: flex; gap: 2px; flex-wrap: wrap; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 11px 14px; font-weight: 700; font-size: 14.5px; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.main-nav li:hover > a, .main-nav li.current-menu-item > a, .main-nav li.current-menu-ancestor > a { color: var(--blue); border-bottom-color: var(--blue); }
.main-nav .menu-item-has-children > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6; }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow-h); padding: 8px; min-width: 240px; z-index: 60; flex-direction: column; flex-wrap: nowrap; gap: 0; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.main-nav .sub-menu a { padding: 9px 12px; font-weight: 600; font-size: 14px; border: 0; border-radius: 6px; }
.main-nav .sub-menu a:hover { background: var(--blue-l); }

/* ---------- meniul mare "Categorii" ---------- */
.overlay { position: fixed; left: 0; right: 0; bottom: 0; top: var(--ov-top, 0); background: rgba(18, 38, 79, .45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; }
.overlay.open { opacity: 1; pointer-events: auto; }
.mega { position: fixed; left: 0; right: 0; top: var(--mega-top, 120px); background: #fff; z-index: 70; border-top: 1px solid var(--line); box-shadow: var(--shadow-h); max-height: calc(100vh - var(--mega-top, 120px) - 16px); overflow-y: auto; }
.mega[hidden] { display: none; }
.mega-inner { display: grid; grid-template-columns: 300px 1fr; min-height: 340px; padding-top: 0; padding-bottom: 0; }
.mega-left { border-right: 1px solid var(--line); padding: 10px 0; }
.mega-left a { display: flex; align-items: center; justify-content: space-between; padding: 11px 18px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.mega-left a.on, .mega-left a:hover { background: var(--blue-l); color: var(--blue); }
.mega-right { padding: 22px 28px; }
.mega-pane { display: none; }
.mega-pane.on { display: block; }
.pane-title { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; color: var(--ink); text-decoration: none; margin-bottom: 14px; }
.pane-title:hover { color: var(--blue); }
.pane-cols { columns: 3 220px; column-gap: 28px; }
.pane-cols li { break-inside: avoid; }
.pane-cols a { display: block; padding: 7px 0; color: var(--ink); text-decoration: none; font-size: 15px; }
.pane-cols a:hover { color: var(--blue); text-decoration: underline; }
.pane-note { color: var(--muted); }

/* ---------- meniu mobil ---------- */
.mobile-nav { position: fixed; top: 0; left: 0; bottom: 0; width: 340px; max-width: 90vw; background: #fff; z-index: 80; transform: translateX(-100%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-h); }
.mobile-nav.open { transform: none; }
.mn-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 18px; }
.mn-body { overflow-y: auto; flex: 1; padding: 6px 0 24px; }
.mn-body summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-weight: 700; cursor: pointer; list-style: none; border-bottom: 1px solid var(--line); }
.mn-body summary::-webkit-details-marker { display: none; }
.mn-body details[open] summary .ico { transform: rotate(180deg); }
.mn-body details > a { display: block; padding: 11px 18px 11px 32px; color: var(--ink); text-decoration: none; font-size: 15px; background: #f8f9fc; border-bottom: 1px solid var(--line); }
.mn-link { display: block; padding: 14px 18px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mn-link.muted { font-weight: 600; color: var(--muted); }

/* ---------- butoane ---------- */
.btn, .button, button.button, a.button, input[type=submit].button, .woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: #fff; border: 0; font-family: inherit; font-size: 15px; font-weight: 800;
  padding: 12px 22px; border-radius: var(--r-s); cursor: pointer; text-decoration: none; transition: background .12s, transform .08s; line-height: 1.2; text-align: center;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--orange-d); color: #fff; }
.btn:active, .button:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-l); color: var(--blue); }
.button.disabled, .button:disabled, .woocommerce button.button:disabled, .loading { opacity: .6; pointer-events: none; }
.button.loading::after, .woocommerce a.button.loading::after { display: none; }

/* ---------- titluri / breadcrumb ---------- */
.page-title, .woocommerce-products-header__title { font-size: 28px; font-weight: 800; line-height: 1.2; color: var(--ink); margin: 6px 0 16px; }
.woocommerce-breadcrumb { font-size: 13.5px; color: var(--muted); margin: 4px 0 8px; }
.woocommerce-breadcrumb a { color: var(--muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.woocommerce-breadcrumb .sep { margin: 0 7px; opacity: .6; }
.woocommerce-products-header { margin-bottom: 4px; }
.term-description { color: var(--muted); font-size: 15px; margin-bottom: 8px; }

/* ---------- prima pagina: bannere ---------- */
.hero { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; margin: 6px 0 28px; }
.banner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 32px; border-radius: var(--r); color: #fff; text-decoration: none; overflow: hidden; min-height: 190px; transition: box-shadow .15s, transform .15s; }
.banner:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }
.banner-main { grid-row: 1 / 3; background: linear-gradient(120deg, #173d92, #2f6be0); padding: 40px 44px; }
.banner-a { background: linear-gradient(120deg, #12264f, #264a8c); }
.banner-b { background: linear-gradient(120deg, #e8590c, #f58a2d); }
.banner-text { position: relative; z-index: 1; max-width: 360px; }
.banner h2 { font-size: 22px; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.banner-main h2 { font-size: 34px; margin-bottom: 12px; }
.banner p { font-size: 15px; opacity: .92; margin-bottom: 16px; }
.banner-main p { font-size: 17px; margin-bottom: 22px; }
.banner-img { flex: none; width: 38%; max-width: 330px; aspect-ratio: 1; background: #fff; border-radius: var(--r); padding: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); transform: rotate(3deg); }
.banner-main .banner-img { width: 42%; max-width: 380px; }
.banner-a .banner-img, .banner-b .banner-img { width: 110px; border-radius: 10px; }
.banner-img img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 8px; }

/* ---------- sectiuni ---------- */
.section { margin: 0 0 32px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.sec-head h2 { font-size: 24px; font-weight: 800; }
.sec-head .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.sec-head .more:hover { text-decoration: underline; }

.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cat-tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.cat-tile:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }
.cat-img { display: block; aspect-ratio: 4 / 3; background: #fff; padding: 10px; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cat-name { background: var(--navy); color: #fff; font-weight: 700; font-size: 14.5px; padding: 10px 14px; line-height: 1.25; min-height: 44px; display: flex; align-items: center; }
.cat-tile:hover .cat-name { background: var(--blue); }

.promo { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, #173d92, #2f6be0); color: #fff; border-radius: var(--r); padding: 28px 34px; margin: 0 0 32px; }
.promo h2 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.promo p { opacity: .92; }

/* ---------- carduri produs ---------- */
ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; float: none; }
ul.products::before, ul.products::after { display: none !important; }
.shop-main ul.products { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
ul.products li.product, li.card { float: none !important; width: auto !important; margin: 0 !important; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 10px; position: relative; transition: box-shadow .15s, transform .15s, border-color .15s; }
ul.products li.product:hover, li.card:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); border-color: transparent; }
.card-link { display: flex; flex-direction: column; gap: 8px; flex: 1; text-decoration: none; color: var(--ink); }
.card-img { position: relative; aspect-ratio: 1; background: #fff; border-radius: var(--r-s); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; display: block; margin: 0; }
.badge-pct { position: absolute; top: 6px; left: 6px; z-index: 2; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.card-title, ul.products li.product .woocommerce-loop-product__title { font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--ink); padding: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-meta { min-height: 18px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--green); }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.low { color: var(--amber); }
.price, .woocommerce .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-weight: 800; font-size: 20px; line-height: 1.2; }
.price del { color: var(--muted); font-weight: 600; font-size: 14px; opacity: 1; margin-right: 6px; }
.price ins { text-decoration: none; background: none; color: var(--red); }
.card .button { width: 100%; padding: 10px 12px; font-size: 14px; }
.card .added_to_cart { display: none; }

/* ---------- pagina de magazin: filtre + produse ---------- */
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.shop-side { position: sticky; top: 140px; }
.filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 16px 14px; }
.filters > summary { display: flex; align-items: center; gap: 8px; font-weight: 800; padding: 12px 0; cursor: pointer; list-style: none; }
.filters > summary::-webkit-details-marker { display: none; }
.f-block { padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px; }
.f-block h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.cat-list a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; margin: 0 -8px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 14.5px; }
.cat-list a:hover { background: var(--blue-l); color: var(--blue); }
.cat-list .on a { background: var(--blue-l); color: var(--blue); font-weight: 800; }
.cat-list .up a { font-weight: 800; }
.cat-list .cnt { color: var(--muted); font-size: 13px; font-weight: 600; }
.price-filter .range { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.price-filter input[type=number] { width: 100%; min-width: 0; font-family: inherit; font-size: 14px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; }
.price-filter .btn { width: 100%; }
.price-filter .reset { display: block; text-align: center; margin-top: 8px; font-size: 13.5px; }

.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.woocommerce-result-count { font-size: 14px; color: var(--muted); margin: 0; float: none; }
.woocommerce-ordering { margin: 0; float: none; }
.woocommerce-ordering select { font-family: inherit; font-size: 14px; padding: 9px 12px; border-radius: var(--r-s); border: 1px solid var(--line); background: #fff; color: var(--ink); }
.woocommerce nav.woocommerce-pagination { margin: 28px 0 0; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); padding: 9px 14px; color: var(--ink); font-weight: 700; min-width: 0; }
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- pagina de produs ---------- */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; margin-top: 12px; align-items: start; position: relative; }
.woocommerce div.product div.images { float: none; width: auto; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; position: relative; }
.woocommerce div.product div.images img { border-radius: var(--r-s); }
.woocommerce div.product div.images.woocommerce-product-gallery { opacity: 1 !important; } /* WooCommerce il ascunde pana porneste JS - evitam blocul gol */
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 9; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 16px; }
.woocommerce-product-gallery__trigger img.emoji { width: 1em !important; height: 1em !important; }
ol.flex-control-nav, ol.flex-control-thumbs { list-style: none; padding: 0; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 72px; float: none; cursor: pointer; }
.woocommerce div.product div.images .flex-control-thumbs img { border: 2px solid var(--line); border-radius: 8px; opacity: .85; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active, .woocommerce div.product div.images .flex-control-thumbs img:hover { border-color: var(--blue); opacity: 1; }
.woocommerce div.product div.summary { float: none; width: auto; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; }
.woocommerce div.product .product_title { font-size: 26px; font-weight: 800; line-height: 1.22; margin-bottom: 8px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 34px; margin: 10px 0 4px; }
.woocommerce div.product p.price del { font-size: 19px; }
.woocommerce span.onsale { position: absolute; top: 14px; left: 14px; z-index: 5; margin: 0; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 6px; min-height: 0; min-width: 0; line-height: 1.4; }
.stock-line { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 800; font-size: 14.5px; margin: 2px 0 6px; }
.stock-line.low { color: var(--amber); }
.woocommerce-product-details__short-description { margin: 12px 0; line-height: 1.6; color: var(--muted); }
.woocommerce div.product form.cart { display: flex; gap: 12px; margin: 18px 0 16px; align-items: stretch; flex-wrap: wrap; }
.woocommerce .quantity .qty { width: 78px; height: 100%; min-height: 50px; font-family: inherit; font-size: 17px; font-weight: 700; padding: 8px; border-radius: var(--r-s); border: 1px solid var(--line); text-align: center; background: #fff; }
.woocommerce div.product form.cart .button { flex: 1; min-width: 180px; font-size: 17px; padding: 14px 22px; }
.pdp-benefits { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pdp-benefits li { display: flex; gap: 10px; align-items: flex-start; }
.pdp-benefits .ico { color: var(--blue); margin-top: 1px; }
.product_meta { font-size: 13.5px; color: var(--muted); margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.product_meta a { font-weight: 700; text-decoration: none; }
.woocommerce div.product .woocommerce-tabs, .related.products, .upsells.products { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0; display: flex; gap: 4px; border-bottom: 2px solid var(--line); overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; margin: 0 0 -2px; padding: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 20px; font-weight: 800; color: var(--muted); text-decoration: none; display: block; border-bottom: 3px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--blue); border-bottom-color: var(--blue); }
.woocommerce div.product .woocommerce-tabs .panel { background: var(--card); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); padding: 24px 28px; line-height: 1.7; margin: 0; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 20px; margin-bottom: 10px; }
table.shop_attributes { border-collapse: collapse; width: 100%; border: 0; }
table.shop_attributes th, table.shop_attributes td { text-align: left; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); font-size: 15px; font-style: normal; background: none; }
table.shop_attributes tr:nth-child(odd) th, table.shop_attributes tr:nth-child(odd) td { background: #f8f9fc; }
table.shop_attributes th { font-weight: 700; width: 38%; color: var(--ink); }
table.shop_attributes td p { margin: 0; padding: 0; }
.related.products > h2, .upsells.products > h2 { font-size: 24px; font-weight: 800; margin: 12px 0 14px; }

/* ---------- mesaje + formulare ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--blue-l); border: 1px solid #c9d8f7; border-left: 4px solid var(--blue); border-radius: var(--r-s); padding: 12px 18px; margin: 14px 0; font-weight: 600; list-style: none; color: var(--ink); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-error { background: #fdecef; border-color: #f6c3cb; border-left-color: var(--red); }
.woocommerce-message .button, .woocommerce-info .button { float: right; font-size: 13.5px; padding: 7px 14px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container--default .select2-selection--single {
  font-family: inherit; font-size: 15.5px; padding: 11px 14px; border-radius: var(--r-s); border: 1px solid #cfd6e3; background: #fff; height: auto;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 1.4; padding: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-l); }
.woocommerce form .form-row label { font-weight: 700; font-size: 14.5px; }
.woocommerce form .form-row .required { color: var(--red); }

/* cos + checkout */
.woocommerce-cart-form, .woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review, .woocommerce-checkout .woocommerce-billing-fields, .woocommerce-checkout .woocommerce-shipping-fields, .woocommerce-checkout .woocommerce-additional-fields { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; }
.woocommerce table.shop_table { border: 0; border-collapse: collapse; width: 100%; border-radius: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border: 0; border-bottom: 1px solid var(--line); padding: 12px 8px; }
.woocommerce table.shop_table .product-thumbnail img { width: 64px; border-radius: 8px; }
.woocommerce table.shop_table .product-name a { font-weight: 700; text-decoration: none; color: var(--ink); }
.woocommerce a.remove { color: var(--red) !important; font-size: 22px; }
.woocommerce a.remove:hover { background: var(--red); color: #fff !important; }
.woocommerce-cart .cart-collaterals { display: flex; justify-content: flex-end; margin-top: 24px; }
.woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 440px; }
.cart_totals h2, #order_review_heading, .woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.woocommerce-cart table.cart td.actions .coupon { display: inline-flex; gap: 8px; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 170px; padding: 10px 14px; border-radius: var(--r-s); border: 1px solid #cfd6e3; font-family: inherit; }
.woocommerce a.checkout-button { display: block; text-align: center; font-size: 17px; padding: 14px 24px; }
.woocommerce-checkout #customer_details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 18px; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; max-width: none; }
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 24px; align-items: start; }
.woocommerce-checkout #order_review_heading { grid-column: 2; margin: 0; }
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
.woocommerce-checkout #order_review { grid-column: 2; position: sticky; top: 140px; }
.woocommerce-checkout #payment { background: var(--bg); border-radius: var(--r-s); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--line); padding: 14px 16px; }
.woocommerce-checkout #payment div.payment_box { background: #fff; border-radius: var(--r-s); color: var(--ink); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment #place_order { width: 100%; font-size: 17px; padding: 14px 24px; }
.woocommerce-account .woocommerce-MyAccount-navigation { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: var(--r-s); text-decoration: none; color: var(--ink); font-weight: 700; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a, .woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: var(--blue-l); color: var(--blue); }
.woocommerce-account .woocommerce-MyAccount-content { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.woocommerce-order-received .woocommerce-order, .woocommerce-order-received ul.order_details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; }

/* progres cos (comanda minima / transport gratuit) */
.sld-progress { font-size: 13.5px; font-weight: 700; }
.sld-progress .min-note { background: #fff3d6; color: var(--amber); border-radius: var(--r-s); padding: 9px 12px; margin-bottom: 10px; }
.sld-progress .progress-msg { margin-bottom: 6px; }
.sld-progress .track { height: 8px; background: var(--line); border-radius: 999px; margin: 6px 0 14px; overflow: hidden; }
.sld-progress .fill { height: 100%; background: var(--green); border-radius: 999px; transition: width .3s; }

/* ---------- cos sertar ---------- */
.cart-drawer { position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: 420px; max-width: 94vw; background: #fff; z-index: 80; box-shadow: -8px 0 30px rgba(18, 38, 79, .2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; }
.cart-drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; font-weight: 800; }
.cart-drawer > .sld-progress { padding: 14px 20px 0; }
.cart-drawer .widget_shopping_cart_content { flex: 1; overflow-y: auto; padding: 14px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.cart-drawer ul.woocommerce-mini-cart { display: flex; flex-direction: column; gap: 14px; padding: 0; margin: 0; }
.cart-drawer ul.woocommerce-mini-cart li { position: relative; display: block; padding: 0 30px 0 0; font-size: 14px; font-weight: 700; }
.cart-drawer ul.woocommerce-mini-cart li a:not(.remove) { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); line-height: 1.3; }
.cart-drawer ul.woocommerce-mini-cart li img { width: 58px; height: 58px; flex: none; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; float: none; margin: 0; background: #fff; }
.cart-drawer ul.woocommerce-mini-cart li a.remove { position: absolute; right: 0; top: 0; font-size: 18px; width: 24px; height: 24px; line-height: 22px; text-align: center; border-radius: 50%; text-decoration: none; }
.cart-drawer ul.woocommerce-mini-cart li .quantity { display: block; margin: 4px 0 0 70px; color: var(--muted); font-weight: 700; font-size: 13.5px; }
.cart-drawer .woocommerce-mini-cart__total { border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; margin: 0; }
.cart-drawer .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.cart-drawer .woocommerce-mini-cart__buttons .button { display: flex; width: 100%; }
.cart-drawer .woocommerce-mini-cart__buttons .button:not(.checkout) { background: #fff; color: var(--blue); border: 2px solid var(--blue); padding: 10px 22px; }
.cart-drawer .woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: var(--blue-l); }
.cart-drawer .woocommerce-mini-cart__empty-message { text-align: center; padding: 40px 0; font-size: 17px; color: var(--muted); }

/* ---------- pagini de continut ---------- */
.legal-page, .entry-content { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 36px; line-height: 1.75; max-width: 860px; }
.legal-page h2, .entry-content h2 { font-size: 20px; font-weight: 800; margin: 22px 0 8px; }
.legal-page p, .entry-content p { margin-bottom: 10px; }
.legal-page ul, .entry-content ul { margin: 0 0 10px 22px; list-style: disc; }
.entry-content.wide { max-width: none; background: none; border: 0; padding: 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-card, .contact-form-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.contact-card { line-height: 2; }
.contact-form-box { display: flex; flex-direction: column; gap: 14px; }
.contact-form-box h2 { font-size: 20px; font-weight: 800; }
.contact-form-box label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14.5px; }
.contact-form-box input, .contact-form-box textarea { font-family: inherit; font-size: 15.5px; padding: 11px 14px; border-radius: var(--r-s); border: 1px solid #cfd6e3; }
.contact-form-box input:focus, .contact-form-box textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-l); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flash { background: var(--blue-l); border-left: 4px solid var(--blue); border-radius: var(--r-s); padding: 12px 18px; font-weight: 600; }
.flash.err { background: #fdecef; border-left-color: var(--red); }
.notfound { text-align: center; padding: 70px 0; }
.notfound h1 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.notfound p { color: var(--muted); margin-bottom: 20px; }
.empty { padding: 30px 0; color: var(--muted); }

/* ---------- beneficii + footer ---------- */
.benefits { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.benefit { display: flex; gap: 14px; align-items: center; }
.benefit .ico { color: var(--blue); }
.benefit strong { display: block; font-size: 15px; line-height: 1.25; }
.benefit span { font-size: 13.5px; color: var(--muted); }

.site-footer { background: var(--navy); color: rgba(255, 255, 255, .82); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px; padding-top: 44px; padding-bottom: 32px; }
.site-footer h3 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 10px; margin-bottom: 14px; }
.f-logo img { display: block; height: 56px; width: auto; }
.f-about p { margin-bottom: 12px; line-height: 1.6; }
.f-contact a { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.f-col li { margin-bottom: 8px; }
.f-news p { margin-bottom: 12px; line-height: 1.5; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; min-width: 0; font-family: inherit; font-size: 14.5px; padding: 11px 14px; border-radius: var(--r-s); border: 0; }
.newsletter-form button { font-family: inherit; font-size: 14.5px; font-weight: 800; padding: 11px 16px; border-radius: var(--r-s); border: 0; background: var(--orange); color: #fff; cursor: pointer; }
.newsletter-form button:hover { background: var(--orange-d); }
.nl-msg { font-weight: 700; }
.nl-msg.ok { color: #7be0a3; }
.nl-msg.err { color: #ffb4be; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; padding-bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.odr-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.odr-row > a { display: inline-flex; background: #fff; border-radius: 8px; padding: 6px 10px; }
.odr-row > a:hover { text-decoration: none; }
.odr-logo { height: 30px; width: auto; display: block; }
.netopia-seal { display: inline-flex; align-items: center; }
.copy { font-size: 13px; opacity: .75; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .banner-main { grid-row: auto; grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .cats-btn, .main-nav { display: none; }
  .header-main { flex-wrap: wrap; gap: 8px 12px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .logo img { height: 46px; }
  .logo { margin-right: auto; }
  .search-wrap { order: 10; flex: 1 1 100%; }
  .act { min-width: 0; padding: 6px 8px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-side { position: static; }
  .woocommerce div.product { grid-template-columns: 1fr; gap: 16px; }
  .woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
  .woocommerce-checkout #order_review_heading, .woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 14px; }
  .topbar .wrap { justify-content: center; }
  .topbar .hide-sm, .topbar a { display: none; }
  .act .lbl { display: none; }
  .hero { grid-template-columns: 1fr; gap: 12px; }
  .banner, .banner-main { padding: 22px 20px; min-height: 0; }
  .banner-main h2 { font-size: 26px; }
  .banner-a p, .banner-b p { display: none; }
  .banner-a, .banner-b { padding: 18px 20px; }
  .banner-img, .banner-main .banner-img, .banner-a .banner-img, .banner-b .banner-img { width: 96px; transform: none; }
  ul.products, .shop-main ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  ul.products li.product, li.card { padding: 8px; gap: 8px; }
  .card-title { font-size: 13.5px; }
  .price, .woocommerce .price { font-size: 17px; }
  .card .button { font-size: 13px; padding: 9px 6px; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sec-head h2, .promo h2 { font-size: 20px; }
  .promo { padding: 22px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .woocommerce div.product div.summary { padding: 18px; }
  .woocommerce div.product .product_title { font-size: 22px; }
  .woocommerce div.product p.price { font-size: 28px; }
  .legal-page, .entry-content { padding: 20px; }
  .cart-drawer { width: 100vw; max-width: 100vw; }
  .woocommerce-cart-form, .woocommerce-checkout #order_review, .woocommerce-checkout .woocommerce-billing-fields { padding: 14px; }
}
