/* evaursu.ro – design system (storefront). Roșu #E30613 (promoții, CTA), albastru #003A8C (navigare, titluri), alb. */
:root {
  --red: #E30613; --red-dark: #b80510; --red-50: #FFE5E8;
  --blue: #003A8C; --blue-dark: #002a66; --blue-600: #1d55ad; --blue-100: #cfdff7; --blue-50: #E6F0FF;
  --bg: #FFFFFF; --bg-soft: #F4F6F8;
  --ink: #222222; --muted: #666666; --line: #E5E5E5;
  --ok: #1d7a3a; --warn: #a15c00; --danger: #c0141c;
  --radius: 6px; --radius-lg: 10px;
  --shadow: 0 2px 10px rgba(0, 0, 0, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, sans-serif;
  --wrap: 1520px;
  --green-900: var(--blue-dark); --green-700: var(--blue); --green-600: var(--blue-600); --green-100: var(--blue-100); --green-50: var(--blue-50);
  --apricot: var(--red); --apricot-dark: var(--red-dark); --apricot-50: var(--red-50); --sand: #fff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.45; font-size: 14px; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--blue); font-weight: 800; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1rem; font-weight: 700; }
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); } .small { font-size: .82rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[x-cloak] { display: none !important; }
.ico { width: 22px; height: 22px; flex-shrink: 0; }

/* Header nivel 1 */
.utility { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .78rem; }
.utility .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 32px; }
.utility .promo { color: var(--red); font-weight: 600; }
.utility nav { display: flex; gap: 18px; }
.utility nav a { color: var(--muted); }
.utility nav a:hover { color: var(--blue); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; flex-shrink: 0; }
.logo-img { max-height: 54px; width: auto; }
.logo-mark { width: 54px; height: 54px; flex-shrink: 0; }
.logo-word { position: relative; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; letter-spacing: -.03em; line-height: 1; padding-bottom: 8px; white-space: nowrap; }
.logo-word .w-red { color: var(--red); } .logo-word .w-blue { color: var(--blue); }
.logo-swoosh { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 9px; }
.logo.light .w-red, .logo.light .w-blue { color: #fff; } .logo.light .logo-swoosh path { stroke: #fff; }

/* Header nivel 2 */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; }
.mainbar { border-bottom: 1px solid var(--line); }
.mainbar .container { display: flex; align-items: center; gap: 32px; height: 84px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--blue); padding: 6px; cursor: pointer; }
.search-wrap { flex: 1; max-width: 720px; position: relative; }
.search { display: flex; align-items: stretch; border: 2px solid var(--blue); border-radius: var(--radius); overflow: hidden; background: #fff; height: 46px; }
.search input { flex: 1; border: 0; padding: 0 16px; font: inherit; font-size: .95rem; outline: none; min-width: 0; box-shadow: none !important; }
.search button { border: 0; background: var(--blue); color: #fff; padding: 0 22px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.search button:hover { background: var(--blue-dark); }
.suggest { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 80; display: grid; grid-template-columns: 220px 1fr; max-height: 70vh; overflow: auto; }
.suggest .col { padding: 12px 14px; }
.suggest .col + .col { border-left: 1px solid var(--line); }
.suggest h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 8px 0 6px; font-family: var(--font); font-weight: 700; }
.suggest h4:first-child { margin-top: 0; }
.suggest a { display: block; color: var(--ink); padding: 4px 0; }
.suggest a:hover { color: var(--red); }
.suggest .prod { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.suggest .prod .th { width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.suggest .prod .th img { max-height: 40px; object-fit: contain; }
.suggest .prod .th .ico { width: 20px; color: var(--blue); opacity: .3; }
.suggest .prod b { font-weight: 700; color: var(--blue); white-space: nowrap; }
.suggest .all { margin-top: 8px; font-weight: 700; color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hact { display: flex; align-items: center; gap: 8px; padding: 6px 10px; color: var(--blue); border-radius: var(--radius); position: relative; background: none; border: 0; cursor: pointer; }
.hact:hover { background: var(--blue-50); color: var(--blue); }
.hact .ico { width: 26px; height: 26px; }
.hact .t { display: flex; flex-direction: column; line-height: 1.15; font-size: .76rem; color: var(--muted); text-align: left; }
.hact .t b { color: var(--blue); font-size: .85rem; }
.count { position: absolute; top: 0; left: 28px; background: var(--red); color: #fff; border-radius: 999px; font-size: .66rem; font-weight: 700; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; }

/* Header nivel 3 + mega meniu */
.navbar { background: var(--blue); position: relative; }
.navbar > .container { display: flex; align-items: stretch; }
.navbar ul.top { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; flex-wrap: wrap; height: 44px; overflow: hidden; }
.navbar ul.top > li > a { display: flex; align-items: center; height: 44px; padding: 0 13px; color: #fff; font-weight: 600; font-size: .86rem; white-space: nowrap; }
.navbar ul.top > li:hover > a, .navbar ul.top > li.open > a, .navbar ul.top > li.active > a { background: var(--blue-dark); color: #fff; }
.navbar .offers { display: flex; align-items: center; }
.navbar .offers a { background: var(--red); color: #fff; font-weight: 700; padding: 0 20px; height: 44px; display: flex; align-items: center; gap: 6px; }
.navbar .offers a:hover { background: var(--red-dark); color: #fff; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 3px solid var(--blue); box-shadow: 0 12px 24px rgba(0,0,0,.12); z-index: 70; }
.mega .container { display: grid; grid-template-columns: 1fr 280px; gap: 28px; padding-top: 22px; padding-bottom: 24px; }
.mega .cols { columns: 4 190px; column-gap: 24px; }
.mega .grp { break-inside: avoid; margin-bottom: 16px; }
.mega .grp > a { font-family: var(--font-head); font-weight: 700; color: var(--blue); display: block; margin-bottom: 4px; }
.mega .grp ul { list-style: none; margin: 0; padding: 0; }
.mega .grp li a { display: block; color: var(--ink); padding: 2px 0; font-size: .86rem; }
.mega .grp li a:hover { color: var(--red); }
.mega aside { border-left: 1px solid var(--line); padding-left: 24px; }
.mega aside h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-family: var(--font); margin: 0 0 8px; }
.mega .brand-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.mega .brand-chips a { border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; font-size: .8rem; color: var(--ink); }
.mega .mini-prod { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; margin-bottom: 10px; color: var(--ink); font-size: .82rem; }
.mega .mini-prod .th { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 4px; display: grid; place-items: center; overflow: hidden; }
.mega .mini-prod .th img { max-height: 44px; object-fit: contain; }
.mega .mini-prod .th .ico { width: 22px; opacity: .3; color: var(--blue); }
.mega .mini-prod b { display: block; color: var(--red); }
.mega .promo-box { background: var(--red-50); border-radius: var(--radius); padding: 12px 14px; display: block; color: var(--ink); }
.mega .promo-box b { display: block; color: var(--red); font-family: var(--font-head); }

/* Mesaje, butoane, formulare */
.flash { padding: 11px 14px; border-radius: var(--radius); margin: 14px 0; font-weight: 600; }
.flash.success { background: #e8f5ec; color: var(--ok); } .flash.error { background: var(--red-50); color: var(--danger); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius); border: 0; font-weight: 700; cursor: pointer; background: var(--blue); color: #fff; transition: background .12s; line-height: 1.2; text-align: center; }
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn.red, .btn.accent { background: var(--red); } .btn.red:hover, .btn.accent:hover { background: var(--red-dark); }
.btn.ghost { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.btn.ghost:hover { background: var(--blue-50); color: var(--blue); }
.btn.block { width: 100%; } .btn.sm { padding: 6px 12px; font-size: .82rem; } .btn.lg { padding: 13px 26px; font-size: 1rem; }
.btn .ico { width: 18px; height: 18px; }
.btn:disabled { background: #b8bfcc; cursor: not-allowed; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; padding: 0; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=search], input[type=date], input[type=datetime-local], select, textarea {
  font: inherit; padding: 9px 11px; border: 1px solid #cfd4dc; border-radius: var(--radius); background: #fff; width: 100%; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }
input[type=checkbox], input[type=radio] { accent-color: var(--blue); width: 16px; height: 16px; }
.field { margin-bottom: 12px; } .field label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .86rem; }
.field .error, .error-text { color: var(--danger); font-size: .8rem; margin-top: 3px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; } .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 14px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.auth-box { max-width: 440px; margin: 36px auto; }

/* Homepage */
.section { margin: 34px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--line); padding-bottom: 8px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; white-space: nowrap; }
.hero-carousel { position: relative; margin-top: 18px; border-radius: var(--radius-lg); overflow: hidden; }
.hero-track { display: flex; transition: transform .4s ease; }
.hero-slide { flex: 0 0 100%; aspect-ratio: 3 / 1; position: relative; display: grid; align-items: center; overflow: hidden; }
.hero-slide picture, .hero-slide picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide .txt { position: relative; z-index: 1; padding: 0 7%; max-width: 860px; }
.hero-slide.has-img .txt { background: rgba(255,255,255,.9); padding: 26px 30px; margin-left: 5%; border-radius: var(--radius); }
.hero-slide h2 { font-size: clamp(1.4rem, 3vw, 2.6rem); margin-bottom: 10px; }
.hero-slide p { font-size: 1.05rem; color: var(--ink); margin: 0 0 18px; }
.hero-slide .valid { display: block; font-size: .8rem; color: var(--muted); margin-top: 10px; }
.hero-deco { position: absolute; right: 7%; top: 50%; transform: translateY(-50%); width: 24%; max-width: 280px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--blue); box-shadow: var(--shadow); cursor: pointer; z-index: 2; display: grid; place-items: center; font-size: 1.3rem; }
.hero-arrow.prev { left: 14px; } .hero-arrow.next { right: 14px; }
.hero-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(0,58,140,.25); cursor: pointer; padding: 0; }
.hero-dots button.on { background: var(--red); }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 7 * 12px) / 8); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 4px; }
.scroller > * { scroll-snap-align: start; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--ink); font-weight: 600; font-size: .86rem; }
.cat-tile .img { width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--bg-soft); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.cat-tile .img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile .img .ico { width: 42%; height: 42%; color: var(--blue); }
.cat-tile:nth-child(3n+2) .img { background: var(--red-50); } .cat-tile:nth-child(3n+2) .img .ico { color: var(--red); }
.cat-tile:nth-child(3n) .img { background: var(--blue-50); }
.cat-tile:hover { color: var(--red); } .cat-tile:hover .img { border-color: var(--blue); }
.campaigns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.campaign { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; background: #fff; color: var(--ink); }
.campaign .img { aspect-ratio: 16 / 7; background: linear-gradient(110deg, var(--red-50), #fff 75%); display: grid; place-items: center; position: relative; }
.campaign:nth-child(2) .img { background: linear-gradient(110deg, var(--blue-50), #fff 75%); }
.campaign .img img { width: 100%; height: 100%; object-fit: cover; }
.campaign .badge { position: absolute; left: 12px; top: 12px; background: var(--red); color: #fff; font-weight: 800; font-family: var(--font-head); padding: 5px 10px; border-radius: 4px; font-size: .86rem; }
.campaign .img .big { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--blue); padding: 0 20px; text-align: center; }
.campaign .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.campaign .body h3 { margin: 0; font-size: 1.05rem; }
.campaign .body .btn { align-self: flex-start; margin-top: 8px; }
.banner-grid { display: grid; gap: 16px; }
.banner-grid.cols-2 { grid-template-columns: 1fr 1fr; } .banner-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 170px; display: flex; align-items: center; padding: 26px; color: var(--ink); }
.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner .txt { position: relative; z-index: 1; max-width: 72%; }
.banner h3 { font-size: 1.3rem; margin-bottom: 6px; }
.banner p { margin: 0 0 12px; color: var(--muted); }
.banner:hover h3 { color: var(--red); }
.banner .deco { position: absolute; right: 22px; bottom: 50%; transform: translateY(50%); width: 96px; height: 96px; color: var(--blue); opacity: .22; }
.brand-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.brand-logo { height: 72px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; padding: 10px; font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 1rem; text-align: center; }
.brand-logo img { max-height: 48px; object-fit: contain; }
.brand-logo:hover { border-color: var(--blue); color: var(--red); }
.coupons { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.coupon { display: grid; grid-template-columns: 110px 1fr; border: 1px dashed var(--red); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.coupon .val { background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; display: grid; place-items: center; text-align: center; padding: 10px; line-height: 1.1; }
.coupon .info { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.coupon .info b { color: var(--blue); }
.coupon .info .btn { align-self: flex-start; margin-top: 6px; }
.coupon.active { border-style: solid; border-color: var(--ok); } .coupon.active .val { background: var(--ok); }
.loyalty-box { background: var(--blue-50); border-radius: var(--radius-lg); padding: 18px 20px; display: flex; gap: 16px; align-items: center; }
.loyalty-box .ico { width: 40px; height: 40px; color: var(--blue); }
.catalogue-box { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; background: var(--blue-50); border-radius: var(--radius-lg); padding: 22px; }
.catalogue-box .cover { aspect-ratio: 3 / 4; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden; }
.catalogue-box .cover img { width: 100%; height: 100%; object-fit: cover; }
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.article-card .img { aspect-ratio: 16 / 9; background: var(--bg-soft); border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center; }
.article-card .img img { width: 100%; height: 100%; object-fit: cover; }
.article-card .img .ico { width: 54px; height: 54px; color: var(--blue); opacity: .3; }
.article-card h3 { margin: 0; }
.article-card:hover h3 { color: var(--red); }
.newsletter-box { background: var(--blue); color: #fff; border-radius: var(--radius-lg); padding: 30px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; }
.newsletter-box h2 { color: #fff; } .newsletter-box p { color: #d6e2f5; margin: 0; }
.newsletter-box form { display: grid; gap: 10px; }
.newsletter-box .row { display: flex; gap: 8px; }
.newsletter-box label.consent { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; color: #d6e2f5; }
.newsletter-box label.consent a { color: #fff; text-decoration: underline; }
.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.benefit { display: flex; gap: 12px; align-items: center; }
.benefit .ico { width: 34px; height: 34px; color: var(--blue); }
.benefit b { display: block; color: var(--blue); font-size: .88rem; }
.benefit span { color: var(--muted); font-size: .78rem; }

/* Card produs */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.products.cols-6 { grid-template-columns: repeat(6, 1fr); }
.products.carousel { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 5 * 14px) / 6); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.products.carousel > * { scroll-snap-align: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; position: relative; transition: border-color .12s, box-shadow .12s; min-width: 0; }
.card:hover { border-color: #c9ced6; box-shadow: var(--shadow); }
.card .badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 2; align-items: flex-start; }
.tag { background: var(--red); color: #fff; font-weight: 800; font-size: .74rem; padding: 3px 7px; border-radius: 3px; }
.tag.blue { background: var(--blue); } .tag.grey { background: #8a8f99; }
.wish { position: absolute; top: 6px; right: 6px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--blue); cursor: pointer; display: grid; place-items: center; }
.wish .ico { width: 20px; height: 20px; } .wish.on { color: var(--red); } .wish.on .ico path { fill: currentColor; }
.card .thumb { aspect-ratio: 1; display: grid; place-items: center; padding: 16px; background: #fff; }
.card .thumb img { max-height: 100%; width: auto; object-fit: contain; }
.card .body { padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card .brand { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--blue); min-height: 1.2em; }
.card .name { color: var(--ink); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; line-height: 1.3; }
.card .name:hover { color: var(--red); }
.card .size { font-size: .76rem; color: var(--muted); min-height: 1.2em; }
.stars { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; color: var(--muted); min-height: 1.3em; }
.stars .s { color: #f2a900; letter-spacing: 1px; }
.card .prices { margin-top: auto; padding-top: 6px; min-height: 58px; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); white-space: nowrap; line-height: 1.1; }
.price.sale { color: var(--red); }
.old-price { text-decoration: line-through; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.unit-price { font-size: .72rem; color: var(--muted); }
.avail { font-size: .74rem; font-weight: 600; }
.avail.in_stock { color: var(--ok); } .avail.limited { color: var(--warn); } .avail.on_order { color: var(--blue); } .avail.out, .avail.unavailable { color: var(--danger); }
.card .buy { margin-top: 8px; }
.card .buy .btn { width: 100%; padding: 8px 10px; font-size: .84rem; }
.placeholder-img { width: 46%; opacity: .25; color: var(--blue); }

/* Listare */
.breadcrumb { font-size: .8rem; color: var(--muted); margin: 14px 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--red); }
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; margin-bottom: 40px; }
.subcat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 6px 0 18px; }
.subcat-tiles a { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: .84rem; background: #fff; display: flex; justify-content: space-between; gap: 6px; }
.subcat-tiles a:hover { border-color: var(--blue); color: var(--blue); }
.subcat-tiles a span { color: var(--muted); font-weight: 400; }
.cat-banner { margin-bottom: 16px; }
.filters { position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow: auto; padding-right: 4px; }
.filters .close-f { display: none; }
.filter-group { border-bottom: 1px solid var(--line); padding: 12px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h3 { font-size: .86rem; margin: 0 0 8px; color: var(--ink); }
.filter-group label { display: flex; gap: 8px; align-items: center; padding: 3px 0; cursor: pointer; font-size: .86rem; }
.filter-group label .n { color: var(--muted); margin-left: auto; font-size: .76rem; }
.filter-group .scroll { max-height: 220px; overflow: auto; }
.filter-group .subcats a { display: block; padding: 3px 0; color: var(--ink); font-size: .86rem; }
.price-inputs { display: flex; gap: 8px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.toolbar select { width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chips a { background: var(--blue-50); color: var(--blue); border-radius: 999px; padding: 3px 10px; font-size: .78rem; font-weight: 600; }
.filter-toggle { display: none; }
.cat-desc { margin-top: 28px; color: var(--muted); max-width: 900px; }
.related-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.related-cats a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .82rem; }

/* Pagina produs */
.product-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; margin: 6px 0 30px; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.gallery .thumbs { display: flex; flex-direction: column; gap: 8px; }
.gallery .thumbs button { width: 76px; height: 76px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 4px; cursor: pointer; }
.gallery .thumbs button.on { border: 2px solid var(--blue); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery .main { grid-column: 2; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: 24px; background: #fff; cursor: zoom-in; overflow: hidden; position: relative; }
.gallery .main img { max-height: 100%; object-fit: contain; transition: transform .15s; }
.gallery .main:hover img { transform: scale(1.35); }
.gallery .main .note { position: absolute; bottom: 10px; left: 10px; right: 10px; text-align: center; font-size: .76rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 200; display: grid; place-items: center; padding: 30px; }
.lightbox img { max-height: 90vh; max-width: 92vw; object-fit: contain; background: #fff; }
.lightbox .x { position: absolute; top: 16px; right: 20px; background: #fff; border: 0; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; font-size: 1.3rem; }
.product-info .brand { font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; }
.product-info h1 { color: var(--ink); font-size: 1.55rem; margin: 4px 0 6px; }
.product-info .meta { display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: .84rem; flex-wrap: wrap; }
.variants { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.variants a { border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 12px; color: var(--ink); font-size: .84rem; }
.variants a.on { border: 2px solid var(--blue); color: var(--blue); font-weight: 700; }
.buy-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 16px 0; }
.buy-box .price { font-size: 2.1rem; }
.buy-box .line { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.qty { display: inline-flex; border: 1px solid #cfd4dc; border-radius: var(--radius); overflow: hidden; height: 44px; }
.qty button { width: 38px; border: 0; background: var(--bg-soft); color: var(--blue); cursor: pointer; font-size: 1.1rem; }
.qty input { width: 50px; border: 0 !important; text-align: center; border-radius: 0; padding: 0; box-shadow: none !important; }
.buy-row { display: flex; gap: 10px; margin-top: 14px; }
.buy-row .btn.red { flex: 1; height: 44px; }
.wish-btn { width: 44px; height: 44px; border: 1px solid var(--blue); border-radius: var(--radius); background: #fff; color: var(--blue); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.wish-btn.on { color: var(--red); border-color: var(--red); } .wish-btn.on .ico path { fill: currentColor; }
.delivery-info { display: grid; gap: 6px; margin-top: 14px; font-size: .84rem; color: var(--muted); }
.delivery-info div { display: flex; gap: 8px; align-items: center; } .delivery-info .ico { width: 18px; height: 18px; color: var(--blue); }
.info-sections { margin: 10px 0 30px; border-top: 1px solid var(--line); }
.info-sections details { border-bottom: 1px solid var(--line); }
.info-sections summary { padding: 15px 4px; font-family: var(--font-head); font-weight: 700; color: var(--blue); cursor: pointer; list-style: none; display: flex; justify-content: space-between; font-size: 1rem; }
.info-sections summary::-webkit-details-marker { display: none; }
.info-sections summary::after { content: "+"; color: var(--red); font-size: 1.3rem; line-height: 1; }
.info-sections details[open] summary::after { content: "−"; }
.info-sections .content { padding: 0 4px 18px; white-space: pre-line; max-width: 900px; }
.specs { width: 100%; max-width: 700px; border-collapse: collapse; }
.specs td { padding: 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; } .specs td:first-child { color: var(--muted); width: 38%; }
.review { border-bottom: 1px solid var(--line); padding: 10px 0; }
.sticky-buy { display: none; }

/* Coș, checkout, cont */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; margin: 18px 0 40px; }
.cart-row { display: grid; grid-template-columns: 80px 1fr auto auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row img, .cart-row .ph { width: 80px; height: 80px; object-fit: contain; background: var(--bg-soft); border-radius: var(--radius); }
.cart-row input { width: 64px; text-align: center; }
.summary { position: sticky; top: 150px; }
.summary .line { display: flex; justify-content: space-between; padding: 5px 0; }
.summary .line.discount { color: var(--red); }
.summary .total { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--blue); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.free-ship { background: var(--red-50); color: var(--red-dark); padding: 9px 12px; border-radius: var(--radius); font-size: .84rem; font-weight: 600; margin: 10px 0; }
.free-ship.done { background: #e8f5ec; color: var(--ok); }
.progress { height: 6px; background: #f8cdd1; border-radius: 99px; margin-top: 6px; overflow: hidden; } .progress div { height: 100%; background: var(--red); }
.pay-option { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 8px; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.line-item { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.line-item:last-child { border-bottom: 0; } .line-item span:last-child { white-space: nowrap; font-weight: 600; }
.steps { display: flex; margin: 18px 0; flex-wrap: wrap; }
.steps span { flex: 1; min-width: 110px; text-align: center; font-size: .76rem; color: var(--muted); padding: 8px 4px; border-bottom: 3px solid var(--line); }
.steps span.on { color: var(--blue); border-color: var(--blue); font-weight: 700; }
.seg { display: inline-flex; border: 1px solid var(--blue); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.seg label { padding: 8px 16px; cursor: pointer; font-weight: 600; color: var(--blue); }
.seg input { display: none; } .seg label:has(input:checked) { background: var(--blue); color: #fff; }
table.list { width: 100%; border-collapse: collapse; }
table.list th, table.list td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); font-size: .88rem; }
table.list th { color: var(--muted); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; }
.status { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .76rem; font-weight: 600; background: var(--blue-50); color: var(--blue); }
.status.noua { background: var(--red-50); color: var(--red-dark); } .status.anulata { background: #eceef2; color: #6b7285; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 26px; margin: 20px 0 40px; align-items: start; }
.account-nav { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.account-nav a { display: flex; justify-content: space-between; padding: 10px 14px; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 500; }
.account-nav a:last-child { border-bottom: 0; } .account-nav a.on { background: var(--blue-50); color: var(--blue); font-weight: 700; }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 26px 0; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 7px 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); } .pagination .disabled { opacity: .45; }
.empty { text-align: center; padding: 46px 20px; color: var(--muted); }
.prose { max-width: 860px; } .prose p, .prose li { color: #333; line-height: 1.6; }
.notice { background: #fff8e1; border: 1px solid #f2dc96; border-radius: var(--radius); padding: 10px 14px; font-size: .86rem; }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0 20px; }
.az a, .az span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; }
.az span { color: #c3c7cf; }
.brand-index h2 { border-bottom: 2px solid var(--line); padding-bottom: 6px; margin-top: 24px; }
.brand-index ul { columns: 4 200px; list-style: none; padding: 0; }
.brand-index li { padding: 3px 0; }

/* Sertare (mini-coș, meniu mobil) */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 150; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: #fff; z-index: 160; display: flex; flex-direction: column; box-shadow: -6px 0 24px rgba(0,0,0,.15); }
.drawer.left { left: 0; right: auto; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer header h3 { margin: 0; }
.drawer header button { background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--muted); }
.drawer .items { flex: 1; overflow: auto; padding: 6px 18px; }
.drawer .mitem { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: .84rem; }
.drawer .mitem .th { width: 56px; height: 56px; background: var(--bg-soft); border-radius: 4px; display: grid; place-items: center; overflow: hidden; }
.drawer .mitem img { max-height: 52px; object-fit: contain; }
.drawer footer { border-top: 1px solid var(--line); padding: 14px 18px; display: grid; gap: 8px; }
.drawer .tree { overflow: auto; flex: 1; }
.drawer .tree a, .drawer .tree button { display: flex; justify-content: space-between; width: 100%; padding: 12px 18px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; background: none; text-align: left; cursor: pointer; }
.drawer .tree .sub a { padding-left: 34px; font-weight: 400; }

/* Footer */
.footer { margin-top: 50px; background: var(--blue); color: #c9d6ee; font-size: .86rem; }
.footer::before { content: ""; display: block; height: 5px; background: var(--red); }
.footer .container { padding-top: 38px; padding-bottom: 18px; }
.footer a { color: #fff; } .footer a:hover { color: #ffcdd2; }
.footer .cols { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; }
.footer h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer .logo-mark { background: #fff; border-radius: 12px; padding: 3px; }
.footer .pay { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.footer .pay span { background: #fff; color: var(--blue); border-radius: 4px; padding: 4px 8px; font-weight: 700; font-size: .74rem; }
.footer .social { display: flex; gap: 12px; margin-top: 10px; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.18); margin-top: 26px; padding-top: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .76rem; }
.footer .anpc { display: flex; gap: 8px; flex-wrap: wrap; }
.footer .anpc a { border: 1px solid rgba(255,255,255,.35); border-radius: 4px; padding: 6px 10px; }
.bottom-nav { display: none; }

/* Consimțământ cookie */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 8px 30px rgba(0,0,0,.18); padding: 18px; z-index: 300; }
.cookie-bar h3 { margin-bottom: 6px; }
.cookie-bar .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.cookie-bar label { display: flex; gap: 8px; align-items: center; margin: 4px 0; }

/* Responsive */
@media (max-width: 1280px) {
  .products.cols-6 { grid-template-columns: repeat(5, 1fr); }
  .products.carousel { grid-auto-columns: calc((100% - 4 * 14px) / 5); }
  .footer .cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  .hact .t { display: none; }
  .products.cols-6 { grid-template-columns: repeat(4, 1fr); }
  .products.carousel { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .scroller { grid-auto-columns: calc((100% - 5 * 12px) / 6); }
  .benefits { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  body { padding-bottom: 60px; }
  .container { padding: 0 14px; }
  .utility { display: none; }
  .mainbar .container { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 10px; gap: 8px 10px; }
  .menu-toggle { display: block; }
  .logo-mark { width: 40px; height: 40px; } .logo-word { font-size: 1.3rem; padding-bottom: 6px; }
  .search-wrap { order: 3; flex-basis: 100%; max-width: none; }
  .search { height: 42px; } .search button span { display: none; }
  .suggest { grid-template-columns: 1fr; } .suggest .col + .col { border-left: 0; border-top: 1px solid var(--line); }
  .header-actions .hide-m { display: none; }
  .navbar { display: none; }
  .hero-slide { aspect-ratio: 4 / 3; align-items: end; }
  .hero-slide .txt { padding: 18px; } .hero-deco { width: 34%; top: 30%; right: 6%; } .hero-arrow { display: none; }
  .scroller { grid-auto-columns: 38%; }
  .products, .products.cols-6 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .products.carousel { grid-auto-columns: 46%; }
  .campaigns, .articles, .banner-grid.cols-2, .banner-grid.cols-3 { grid-template-columns: 1fr; }
  .newsletter-box, .catalogue-box { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .listing, .product-page, .cart-layout, .account-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 15% 0 0; top: 0; max-height: none; background: #fff; z-index: 170; padding: 18px; transform: translateX(-105%); transition: transform .2s; box-shadow: 6px 0 24px rgba(0,0,0,.2); }
  .filters.open { transform: none; }
  .filters .close-f { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
  .filter-toggle { display: inline-flex; }
  .gallery { grid-template-columns: 1fr; } .gallery .main { grid-column: 1; } .gallery .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .gallery .main:hover img { transform: none; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 56px; background: #fff; border-top: 1px solid var(--line); padding: 8px 14px; gap: 12px; align-items: center; z-index: 90; }
  .sticky-buy .price { font-size: 1.2rem; } .sticky-buy .btn { flex: 1; }
  .cart-row { grid-template-columns: 60px 1fr auto; } .cart-row img, .cart-row .ph { width: 60px; height: 60px; } .cart-row .unit { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; height: 56px; background: #fff; border-top: 1px solid var(--line); z-index: 95; }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .66rem; color: var(--muted); background: none; border: 0; cursor: pointer; position: relative; }
  .bottom-nav .ico { width: 22px; height: 22px; color: var(--blue); }
  .bottom-nav .on { color: var(--red); } .bottom-nav .on .ico { color: var(--red); }
  .cookie-bar { bottom: 66px; }
}
.filter-group.subcats a { display: block; padding: 3px 0; color: var(--ink); font-size: .86rem; }
