:root {
  --market-blue: #075fae;
  --market-blue-dark: #064b89;
  --market-cyan: #00a9d6;
  --market-red: #e8483f;
  --market-yellow: #ffd34d;
  --market-ink: #1e293b;
  --market-bg: #f3f5f7;
  --market-line: #e2e8f0;
}

body { background: var(--market-bg) !important; color: var(--market-ink) !important; }
.header-top { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.market-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 32px; padding: 6px max(20px, calc((100vw - 1320px)/2)); background: #04345f; color: #d9efff; font-size: 11px; font-weight: 700; }
.market-topline nav { display: flex; gap: 20px; }
.market-topline a { color: #fff !important; text-decoration: none !important; }
.market-topline a:hover { text-decoration: underline !important; }

.modern-brandbar.market-header { display: grid !important; grid-template-columns: 250px minmax(280px,1fr) auto; align-items: center; gap: 26px; min-height: 86px; padding: 15px max(20px, calc((100vw - 1320px)/2)) !important; background: #fff !important; color: var(--market-ink) !important; box-shadow: 0 2px 12px rgba(15,44,77,.08); }
.market-logo { display: grid !important; grid-template-columns: auto 1fr; align-items: center; width: max-content; color: var(--market-blue) !important; font-size: 26px !important; font-weight: 950 !important; letter-spacing: -1.2px !important; line-height: 1 !important; text-decoration: none !important; }
.market-logo i { display: grid; place-items: center; grid-row: 1/3; width: 48px; height: 48px; margin-right: 8px; border-radius: 15px 15px 15px 4px; background: linear-gradient(145deg,var(--market-blue),var(--market-cyan)); color: #fff; font-size: 16px; font-style: normal; letter-spacing: 0; box-shadow: 0 8px 18px rgba(7,95,174,.22); }
.market-logo small { grid-column: 2; color: #6c7c8d; font-size: 8px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.market-header-search { display: flex; min-width: 0; height: 48px; border: 2px solid var(--market-blue); border-radius: 9px; background: #fff; overflow: hidden; box-shadow: 0 4px 16px rgba(7,95,174,.09); }
.market-header-search input { flex: 1; min-width: 0; padding: 0 16px; border: 0 !important; outline: 0; color: #203042; font-size: 14px; }
.market-header-search button { min-width: 96px; border: 0; background: var(--market-blue); color: #fff; font-size: 13px; font-weight: 900; cursor: pointer; }
.market-header-search button:hover { background: var(--market-blue-dark); }
.market-header-actions { display: flex; align-items: center; gap: 8px; }
.market-header-actions a { position: relative; display: grid; gap: 2px; min-width: 112px; padding: 9px 12px 9px 42px; border-radius: 9px; color: #203042 !important; text-decoration: none !important; transition: .18s ease; }
.market-header-actions a:before { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 23px; }
.market-header-actions a:first-child:before { content: "◉"; color: var(--market-blue); }
.market-header-actions a:last-child:before { content: "▰"; color: var(--market-red); }
.market-header-actions a:hover { background: #edf6ff; }
.market-header-actions b { font-size: 12px; }
.market-header-actions span { color: #718096; font-size: 9px; font-weight: 700; }

.page-container { width: min(1520px,calc(100% - 28px)) !important; max-width: 1520px !important; margin: 0 auto 30px !important; border-radius: 0 0 20px 20px !important; background: #fff !important; box-shadow: 0 18px 52px rgba(35,55,80,.11) !important; }
.header-bottom { background: linear-gradient(90deg,var(--market-blue-dark),var(--market-blue)) !important; border: 0 !important; }
.header-bottom .nav2 { justify-content: flex-start !important; min-height: 54px !important; padding: 7px 18px !important; gap: 2px !important; }
.header-bottom .nav2 > ul > li > a { min-height: 40px; padding: 11px 15px !important; color: #fff !important; font-size: 12px !important; }
.header-bottom .nav2 > ul > li > a:hover { background: rgba(255,255,255,.13) !important; }
.desktop-category-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; margin-right: 10px; padding: 9px 15px; border: 0; border-radius: 7px; background: #fff; color: var(--market-blue-dark); font-size: 12px; font-weight: 900; cursor: pointer; box-shadow: 0 5px 13px rgba(0,0,0,.13); }
.desktop-category-toggle b { font-size: 18px; line-height: 1; }
.desktop-category-toggle span { padding-left: 4px; color: #718096; font-size: 9px; }
.desktop-category-toggle:hover { background: var(--market-yellow); }
.header-breadcrumbs { padding: 9px 24px !important; background: #fff !important; border-bottom: 1px solid var(--market-line) !important; }
.header-breadcrumbs a { color: var(--market-blue) !important; }

.main { grid-template-columns: 280px minmax(0,1fr) !important; gap: 26px !important; padding: 26px !important; background: #fff !important; transition: grid-template-columns .22s ease !important; }
.market-menu-collapsed .main { grid-template-columns: minmax(0,1fr) !important; }
.main-navigation.is-collapsed { display: none !important; }
.main-navigation { border: 1px solid #dbe3eb !important; border-radius: 10px !important; background: #fff !important; box-shadow: 0 7px 21px rgba(30,58,87,.08) !important; }
.nav3-hover-menu .nav3-category{position:relative;margin:0!important}
.nav3-hover-menu .nav3-submenu{display:block;max-height:0;padding:0 0 0;background:#f7fbff;opacity:0;visibility:hidden;overflow:hidden;pointer-events:none;transform:translateY(-5px);transition:max-height .34s ease .30s,opacity .22s ease .30s,transform .22s ease .30s,padding .22s ease .30s,visibility 0s linear .64s}
.nav3-hover-menu .nav3-category:hover>.nav3-submenu,.nav3-hover-menu .nav3-category:focus-within>.nav3-submenu,.nav3-hover-menu .nav3-category.is-current>.nav3-submenu{max-height:820px;padding:2px 0 6px;opacity:1;visibility:visible;pointer-events:auto;transform:none;transition:max-height .34s ease .24s,opacity .22s ease .24s,transform .22s ease .24s,padding .22s ease .24s,visibility 0s linear .24s}
.nav3-hover-menu .nav3-category>dt>a:after{content:"›";float:right;color:var(--market-blue);font-size:16px;font-weight:950;transform:rotate(90deg);transition:transform .16s ease}
.nav3-hover-menu .nav3-category:hover>dt>a:after,.nav3-hover-menu .nav3-category:focus-within>dt>a:after,.nav3-hover-menu .nav3-category.is-current>dt>a:after{transform:rotate(-90deg)}
.nav3-hover-menu .nav3-submenu dd{animation:marketSubmenuIn .16s ease both}
@keyframes marketSubmenuIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.main-navigation > h2.first { border-radius: 9px 9px 0 0 !important; background: linear-gradient(90deg,var(--market-blue-dark),var(--market-blue)) !important; }
.nav3-grid { padding: 6px !important; }
.nav3-grid a { padding: 10px 9px !important; border-radius: 6px !important; font-size: 11px !important; font-weight: 750 !important; }
.nav3-grid a:hover { background: #eaf4ff !important; color: var(--market-blue-dark) !important; }
.mobile-sidebar-toggle { display: none !important; }

.main-content:has(.market-hero-grid) > .pagetitle { display: none !important; }
.market-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 16px; margin: 0 !important; }
.market-main-banner { position: relative; display: flex; align-items: center; min-height: 440px; padding: 50px clamp(30px,4.5vw,64px); overflow: hidden; border-radius: 18px; background: radial-gradient(circle at 88% 16%,rgba(112,203,255,.55),transparent 26%),linear-gradient(120deg,#043b7a 0%,#076bb7 48%,#2ba7eb 100%); color: #fff; box-shadow: 0 22px 46px rgba(7,70,135,.25); }
.market-main-banner:after { content: ""; position: absolute; right: -90px; bottom: -170px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.11); }
.market-main-banner > div:first-child { position: relative; z-index: 2; max-width: 620px; }
.market-banner-label { display: inline-flex; padding: 6px 9px; border-radius: 6px; background: var(--market-yellow); color: #493900; font-size: 9px; font-weight: 950; letter-spacing: .11em; }
.market-main-banner h2 { max-width: 610px; margin: 16px 0 !important; color: #fff !important; font-size: clamp(36px,4.5vw,62px) !important; line-height: 1.01 !important; letter-spacing: -.04em; text-shadow:0 5px 22px rgba(0,36,80,.2); }
.market-main-banner p { max-width: 560px; margin: 0; color: #eaf8ff; font-size: 14px; line-height: 1.55; }
.market-main-banner .modern-actions { display: flex !important; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.market-main-banner .modern-btn { display: inline-flex !important; position: static !important; width: auto !important; height: auto !important; min-height: 42px !important; margin: 0 !important; padding: 11px 17px !important; }
.market-btn-light { border: 1px solid rgba(255,255,255,.65) !important; color: #fff !important; }
.market-btn-light:hover { background: #fff !important; color: var(--market-blue) !important; }
.market-banner-visual { position: absolute; z-index: 1; right: -5px; bottom: 0; width: 260px; height: 260px; opacity: .94; }
.market-banner-visual span { position: absolute; z-index: 3; right: 54px; bottom: 38px; display: grid; place-items: center; width: 128px; height: 128px; border-radius: 44% 56% 56% 44%; background: #fff; color: var(--market-blue); font-size: 70px; font-weight: 950; box-shadow: 0 18px 40px rgba(0,45,90,.22); transform: rotate(-8deg); }
.market-banner-visual i, .market-banner-visual b { position: absolute; border: 16px solid rgba(255,255,255,.38); border-radius: 50%; }
.market-banner-visual i { right: 5px; bottom: 12px; width: 210px; height: 210px; }
.market-banner-visual b { right: 80px; bottom: 120px; width: 150px; height: 150px; }
.market-banner-products { position:absolute; z-index:1; right:20px; bottom:22px; width:330px; height:330px; }
.market-banner-products img { position:absolute; width:180px; height:244px; object-fit:contain; padding:14px; border-radius:22px; background:#fff; box-shadow:0 24px 48px rgba(0,35,80,.28); }
.market-banner-products img:first-child { right:88px; bottom:17px; transform:rotate(-7deg); }
.market-banner-products img:nth-child(2) { right:8px; bottom:30px; transform:rotate(8deg); }
.market-banner-products b { position:absolute; z-index:3; right:48px; bottom:5px; padding:8px 13px; border-radius:999px; background:#063f80; color:#fff; font-size:13px; box-shadow:0 8px 18px rgba(0,35,80,.25); }
.market-side-banners { display: grid; grid-template-rows: repeat(3,minmax(0,1fr)); gap: 14px; }
.market-side-banner { position: relative; display: flex !important; flex-direction: column; justify-content: center; gap: 5px; min-height: 0; padding: 18px 20px; border-radius: 16px; color: #fff !important; text-decoration: none !important; overflow: hidden; box-shadow: 0 13px 28px rgba(30,58,87,.16); transition: transform .18s ease,box-shadow .18s ease; }
.market-side-banner:after { content: ""; position: absolute; right: -34px; bottom: -45px; width: 140px; height: 140px; border: 23px solid rgba(255,255,255,.14); border-radius: 50%; }
.market-side-banner:hover { transform: translateY(-4px); box-shadow:0 18px 34px rgba(7,63,120,.24); }
.market-side-banner.is-orange { background: linear-gradient(135deg,#075fae,#158bd8); }
.market-side-banner.is-blue { background: linear-gradient(135deg,#073f83,#146fbd); }
.market-side-banner.is-sky { background:linear-gradient(135deg,#096ba9,#25a8df); }
.market-side-banner--product { padding-right:112px; }
.market-side-banner--product > img { position:absolute; z-index:1; right:9px; bottom:7px; width:94px; height:112px; object-fit:contain; padding:7px; border-radius:14px; background:rgba(255,255,255,.97); box-shadow:0 10px 22px rgba(0,32,70,.2); }
.market-side-banner--product small,.market-side-banner--product strong,.market-side-banner--product span { z-index:2; }
.market-side-banner small, .market-side-banner strong, .market-side-banner span { position: relative; z-index: 1; }
.market-side-banner small { font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.market-side-banner strong { max-width: 205px; font-size: 18px; line-height: 1.08; }
.market-side-banner span { font-size: 11px; font-weight: 850; }

.market-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 16px; border: 1px solid var(--market-line); border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(30,58,87,.06); overflow: hidden; }
.market-benefits > div { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 15px 17px; border-right: 1px solid var(--market-line); }
.market-benefits > div:last-child { border-right: 0; }
.market-benefits b { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #e8f4ff; color: var(--market-blue); font-size: 18px; }
.market-benefits span { display: grid; gap: 2px; min-width: 0; }
.market-benefits strong { font-size: 11px; color: #263648; }
.market-benefits small { color: #7b8998; font-size: 8px; line-height: 1.3; }
.modern-shop { margin-top: 30px !important; }
.modern-section__head h2 { color: #20354a !important; }
.modern-eyebrow { color: var(--market-blue) !important; }
.modern-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 16px !important; }
.modern-category-card { position: relative; display: grid !important; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; align-items: center; gap: 6px 16px; min-height: 158px; padding: 22px !important; border: 1px solid #d7e8f7 !important; border-radius: 18px !important; background:linear-gradient(145deg,#fff 20%,#edf7ff 100%) !important; box-shadow:0 12px 28px rgba(7,74,135,.09) !important; overflow:hidden; transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.modern-category-card:after { content:""; position:absolute; right:-35px; bottom:-52px; width:130px; height:130px; border:22px solid rgba(30,137,211,.08); border-radius:50%; }
.modern-category-visual { position:relative; display:grid; grid-row:1/3; place-items:center; width:92px; height:102px; border-radius:22px; background:linear-gradient(145deg,#075aa4,#20a5e4); box-shadow:0 14px 26px rgba(7,95,174,.24); overflow:hidden; }
.modern-category-visual:before { position:relative; z-index:2; color:#fff; font-size:40px; font-style:normal; font-weight:500; line-height:1; text-shadow:0 5px 18px rgba(0,32,70,.22); }
.modern-category-visual:after { content:""; position:absolute; width:74px; height:74px; right:-24px; bottom:-27px; border:12px solid rgba(255,255,255,.18); border-radius:50%; }
.modern-category-visual em { position:absolute; left:12px; top:13px; width:22px; height:22px; border:6px solid rgba(255,255,255,.2); border-radius:50%; }
.category-visual--1 .modern-category-visual:before { content:"⌁"; }
.category-visual--2 .modern-category-visual:before { content:"✦"; }
.category-visual--3 .modern-category-visual:before { content:"◆"; }
.category-visual--4 .modern-category-visual:before { content:"◒"; }
.category-visual--5 .modern-category-visual:before { content:"✚"; }
.category-visual--6 .modern-category-visual:before { content:"⌂"; }
.category-visual--7 .modern-category-visual:before { content:"❋"; }
.category-visual--2 .modern-category-visual,.category-visual--5 .modern-category-visual { background:linear-gradient(145deg,#06447f,#158fd2); }
.category-visual--3 .modern-category-visual,.category-visual--6 .modern-category-visual { background:linear-gradient(145deg,#0a6bac,#43b8e8); }
.modern-category-card span { position:relative; z-index:2; color:#173c5f !important; font-size:15px !important; font-weight:850 !important; line-height:1.2; }
.modern-category-card b { position:relative; z-index:2; color:var(--market-blue) !important; font-size:10px; }
.modern-category-card:hover { transform:translateY(-5px); border-color:#72b9e7 !important; box-shadow:0 20px 38px rgba(7,95,174,.18) !important; }

/* Catalog produse 2026: imagini lizibile și acțiuni aerisite */
.product-list-card { display:grid; grid-template-columns:230px minmax(0,1fr); gap:26px; margin:0 0 20px; padding:22px; border:1px solid #dbe8f3; border-radius:18px; background:linear-gradient(145deg,#fff,#f8fbff); box-shadow:0 10px 26px rgba(18,70,115,.08); }
.product-list-card__visual { display:grid; place-items:center; min-height:245px; padding:14px; border-radius:15px; background:#fff; box-shadow:inset 0 0 0 1px #edf3f8; }
.product-list-card__visual a { display:grid; place-items:center; width:100%; height:100%; }
.product-list-card__visual img { display:block; width:100% !important; max-width:215px; height:220px !important; object-fit:contain; transition:transform .22s ease; }
.product-list-card:hover .product-list-card__visual img { transform:scale(1.045); }
.product-list-card__body { min-width:0; }
.product-list-card .product-list-heading { margin:2px 0 10px !important; color:#123f69 !important; font-size:1.35rem !important; line-height:1.25 !important; }
.product-list-price { margin:0 0 9px !important; color:#075fae !important; font-size:1.32rem !important; }
.product-list-price small { color:#64748b; font-size:.68rem; font-weight:650; }
.product-list-description { margin:15px 0 !important; color:#526579 !important; font-size:.9rem !important; line-height:1.55 !important; }
.product-list-card__actions { margin-top:14px; text-align:left !important; }
.product-list-card__actions > form { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.product-list-card__actions .button { min-height:36px; padding:8px 13px !important; border:0 !important; border-radius:9px !important; background:linear-gradient(90deg,#075fae,#1494d4) !important; color:#fff !important; font-weight:800; cursor:pointer; }
.main-content .product-list-card__actions > form input[name="cty"] { flex:0 0 46px !important; width:46px !important; min-width:46px !important; max-width:46px !important; height:38px !important; min-height:38px !important; margin:0 !important; padding:6px !important; border-radius:8px; text-align:center; }
.product-list-card .quick-order { margin-top:14px; padding:13px; border:1px solid #d9eaf7; border-radius:12px; background:#eff8ff; }
.product-list-card .quick-order form { display:flex; gap:7px; flex-wrap:wrap; }
.product-list-card .quick-order input { min-height:34px; }
.product-quick-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; opacity:0 !important; }
.product-quick-notice { margin:0 0 18px; padding:14px 16px; border:1px solid; border-radius:12px; font-size:.9rem; font-weight:800; line-height:1.45; }
.product-quick-notice.is-success { border-color:#83c6a1; background:#eaf8f0; color:#16613a; }
.product-quick-notice.is-warning { border-color:#e4c36c; background:#fff8df; color:#725108; }
.product-quick-notice.is-error { border-color:#e5a0a0; background:#fff0f0; color:#8a2828; }
.footer { background: #04345f !important; }

@media (max-width: 1080px) {
  .modern-brandbar.market-header { grid-template-columns: 210px minmax(240px,1fr) auto; gap: 14px; }
  .market-header-actions a { min-width: auto; padding-left: 34px; }
  .market-header-actions a:before { left: 8px; }
  .market-hero-grid { grid-template-columns: minmax(0,1fr) 240px; }
  .market-main-banner { min-height: 400px; }
  .market-banner-products { display: none; }
  .market-side-banner strong { font-size: 19px; }
  .market-side-banner--product { padding-right:92px; }
  .market-side-banner--product > img { width:78px; height:100px; }
}

@media (max-width: 860px) {
  .nav3-hover-menu .nav3-submenu { display: none; max-height:none; padding:2px 0 6px; opacity:1; visibility:visible; pointer-events:auto; transform:none; transition:none; }
  .nav3-hover-menu .nav3-category.is-current > .nav3-submenu { display: block; }
  .market-topline { padding: 6px 14px; }
  .market-topline > span { display: none; }
  .market-topline nav { width: 100%; justify-content: center; }
  .modern-brandbar.market-header { grid-template-columns: 1fr auto !important; padding: 12px 14px !important; gap: 10px !important; }
  .market-header-search { grid-column: 1/-1; grid-row: 2; }
  .market-header-actions a { min-width: 42px; height: 42px; padding: 0 !important; }
  .market-header-actions a:before { left: 50%; font-size: 21px; }
  .market-header-actions b, .market-header-actions span { display: none; }
  .page-container { width:100% !important; border-radius: 0 !important; }
  .main { grid-template-columns: 1fr !important; padding: 12px !important; }
  .main-navigation { order: 1 !important; }
  .main-content { order: 2 !important; }
  .market-hero-grid { grid-template-columns: 1fr; }
  .market-side-banners { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .market-side-banner { min-height: 150px; }
  .market-benefits { grid-template-columns: repeat(2,1fr); }
  .market-benefits > div:nth-child(2) { border-right: 0; }
  .market-benefits > div:nth-child(-n+2) { border-bottom: 1px solid var(--market-line); }
  .modern-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .product-list-card { grid-template-columns:190px minmax(0,1fr); gap:20px; }
  .product-list-card__visual img { max-width:178px; }
}

@media (max-width: 560px) {
  .market-logo { font-size: 21px !important; }
  .market-logo i { width: 42px; height: 42px; }
  .market-header-search { height: 44px; }
  .market-header-search button { min-width: 78px; }
  .header-bottom .nav2 { flex-wrap: nowrap !important; overflow-x: auto !important; padding: 7px 10px !important; }
  .header-bottom .nav2 > ul { flex: 0 0 auto !important; }
  .desktop-category-toggle { flex: 0 0 auto; margin-right: 2px; }
  .desktop-category-toggle span { display: none; }
  .market-main-banner { min-height: 390px; padding: 30px 23px; align-items: flex-start; }
  .market-main-banner h2 { font-size: 37px !important; }
  .market-main-banner p { font-size: 12px; }
  .market-banner-visual { right: -55px; opacity: .48; }
  .market-banner-products { right:-62px; bottom:-18px; transform:scale(.78); transform-origin:bottom right; opacity:.56; }
  .market-side-banners { grid-template-columns: 1fr; }
  .market-side-banner { min-height: 140px; }
  .market-benefits { grid-template-columns: 1fr; }
  .market-benefits > div { border-right: 0; border-bottom: 1px solid var(--market-line); }
  .market-benefits > div:last-child { border-bottom: 0; }
  .modern-category-grid { grid-template-columns: 1fr !important; }
  .modern-category-card { min-height: 100px; }
  .product-list-card { grid-template-columns:1fr; padding:16px; }
  .product-list-card__visual { min-height:230px; }
  .product-list-card__visual img { max-width:230px; height:220px !important; }
}

/* Taxonomie SEO 2026-08-28 */
.modern-carousel-title { display:block; margin:10px 0 16px; color:#fff; font-size:clamp(2rem,4.6vw,4rem); line-height:1.03; }
.category-seo-intro { margin:0 0 20px; padding:24px; border:1px solid #d7e6f5; border-radius:18px; background:linear-gradient(135deg,#f8fbff,#eef6ff); }
.category-seo-intro h2 { margin:6px 0 10px !important; color:#064b89 !important; font-size:clamp(1.65rem,3vw,2.35rem) !important; line-height:1.15 !important; }
.category-seo-intro p { max-width:820px; margin:0 !important; color:#475569 !important; font-size:1rem !important; line-height:1.65 !important; }
.category-subcategory-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
.category-subcategory-card { min-height:145px !important; }
.category-subcategory-card small { display:block; color:#64748b; font-size:.82rem; line-height:1.45; }
.category-subcategory-card span { margin-top:auto; }
@media (max-width: 980px) { .category-subcategory-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media (max-width: 640px) { .category-seo-intro { padding:18px; } .category-subcategory-grid { grid-template-columns:1fr !important; } .category-subcategory-card { min-height:0 !important; } }

/* Footer marketplace 2026-08-28 */
.market-footer { width:auto !important; min-height:380px; padding:0 !important; background:linear-gradient(135deg,#032d55 0%,#064b89 56%,#075fae 100%) !important; color:#fff !important; text-align:left !important; }
.market-footer__intro { display:flex; align-items:center; justify-content:space-between; gap:32px; padding:34px 42px 30px; border-bottom:1px solid rgba(255,255,255,.16); background:radial-gradient(circle at 82% 0,rgba(42,155,225,.28),transparent 38%); }
.market-footer__intro > div { max-width:620px; }
.market-footer__brand,.market-footer__brand:visited { display:inline-flex !important; align-items:center; gap:2px; color:#fff !important; font-size:1.65rem; font-weight:950; letter-spacing:.035em; text-decoration:none !important; }
.market-footer__brand i { display:inline-flex; align-items:center; justify-content:center; width:43px; height:43px; margin-right:3px; border:2px solid rgba(255,255,255,.86); border-radius:50%; color:#9dd9ff; font-size:.92rem; font-style:normal; }
.market-footer__intro p { max-width:570px; margin:10px 0 0 !important; color:#d8eafa !important; font-size:.94rem !important; font-weight:400 !important; line-height:1.6 !important; text-align:left !important; }
.market-footer__contact,.market-footer__contact:visited { display:flex !important; flex-direction:column; min-width:230px; padding:15px 18px !important; border:1px solid rgba(255,255,255,.26); border-radius:14px; background:rgba(255,255,255,.09); color:#fff !important; text-decoration:none !important; transition:transform .2s ease,background .2s ease; }
.market-footer__contact:hover { transform:translateY(-2px); background:rgba(255,255,255,.16); }
.market-footer__contact span { color:#bcdcf5; font-size:.76rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.market-footer__contact strong { margin-top:4px; font-size:1.05rem; }
.market-footer__contact b { color:#9dd9ff; }
.market-footer__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:34px; padding:36px 42px 42px; }
.market-footer__column { min-width:0; }
.market-footer__column h2 { position:relative; margin:0 0 20px !important; padding:0 0 12px !important; color:#fff !important; font-size:.98rem !important; line-height:1.25 !important; text-transform:uppercase; letter-spacing:.055em; }
.market-footer__column h2:after { content:""; position:absolute; left:0; bottom:0; width:38px; height:3px; border-radius:3px; background:#5db8f1; }
.market-footer__column a,.market-footer__column a:visited { position:relative; display:block !important; margin:0 0 5px; padding:7px 8px 7px 17px !important; border-radius:8px; color:#d7eafa !important; font-size:.9rem; line-height:1.35; text-decoration:none !important; transition:color .18s ease,background .18s ease,transform .18s ease; }
.market-footer__column a:before { content:"›"; position:absolute; left:3px; top:6px; color:#66c2f7; font-size:1.05rem; font-weight:900; }
.market-footer__column a:hover { color:#fff !important; background:rgba(255,255,255,.09); transform:translateX(3px); }
.market-footer__bottom { display:flex; justify-content:space-between; gap:20px; padding:17px 42px; border-top:1px solid rgba(255,255,255,.12); background:rgba(0,18,40,.25); color:#bcd3e8; font-size:.8rem; }
@media (max-width: 820px) { .market-footer__grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .market-footer__intro { align-items:flex-start; flex-direction:column; padding:28px 24px 24px; } .market-footer__contact { width:100%; min-width:0; box-sizing:border-box; } .market-footer__grid { grid-template-columns:1fr; gap:26px; padding:30px 24px 34px; } .market-footer__bottom { align-items:flex-start; flex-direction:column; gap:5px; padding:16px 24px; } }


/* Desktop category flyout menu - 20260830 */
@media (min-width:861px){
  .main-navigation,
  .main-navigation .nav3-grid,
  .nav3-hover-menu,
  .nav3-hover-menu .nav3-category{overflow:visible!important}
  .nav3-hover-menu .nav3-category{position:relative!important}
  .nav3-hover-menu .nav3-submenu{
    position:absolute!important;
    z-index:1500!important;
    top:0!important;
    left:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:4px 8px!important;
    width:min(760px,calc(100vw - 350px))!important;
    max-height:72vh!important;
    margin:0!important;
    padding:12px!important;
    border:1px solid #dbe3eb!important;
    border-radius:0 12px 12px 12px!important;
    background:#fff!important;
    box-shadow:0 18px 42px rgba(15,35,55,.22)!important;
    opacity:0!important;
    visibility:hidden!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    pointer-events:none!important;
    transform:translateX(-8px)!important;
    transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s!important;
  }
  .nav3-hover-menu .nav3-category:hover>.nav3-submenu,
  .nav3-hover-menu .nav3-category:focus-within>.nav3-submenu,
  .nav3-hover-menu .nav3-category.is-current>.nav3-submenu{
    max-height:72vh!important;
    padding:12px!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateX(0)!important;
    transition:opacity .18s ease,transform .18s ease,visibility 0s!important;
  }
  .nav3-hover-menu .nav3-submenu dd{
    width:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
  }
  .nav3-hover-menu .nav3-submenu dd>a{
    min-height:38px!important;
    padding:9px 11px!important;
    border:0!important;
    border-radius:8px!important;
    background:#f7faff!important;
    line-height:1.25!important;
  }
  .nav3-hover-menu .nav3-submenu dd>a:hover,
  .nav3-hover-menu .nav3-submenu dd>a:focus{
    background:#e8f2fb!important;
  }
  .nav3-hover-menu .nav3-category>dt>a::after{transform:none!important}
  .nav3-hover-menu .nav3-category:hover>dt>a::after,
  .nav3-hover-menu .nav3-category:focus-within>dt>a::after,
  .nav3-hover-menu .nav3-category.is-current>dt>a::after{transform:translateX(2px)!important}
}


/* Smart search suggestions - 20260830 */
.market-header-search{position:relative!important;overflow:visible!important}
.market-search-results{
  position:absolute;z-index:2200;top:calc(100% + 8px);left:0;right:0;
  max-height:min(520px,70vh);overflow:auto;padding:8px;
  border:1px solid #dbe3eb;border-radius:12px;background:#fff;
  box-shadow:0 18px 42px rgba(15,35,55,.22);text-align:left;
}
.market-search-results[hidden]{display:none!important}
.market-search-result{
  display:grid!important;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:11px;
  min-height:68px;padding:7px 9px!important;border-radius:9px;color:#17233d!important;text-decoration:none!important;
}
.market-search-result+.market-search-result{border-top:1px solid #edf1f5}
.market-search-result:hover,.market-search-result:focus,.market-search-result.is-active{background:#f0f7fd!important;outline:none}
.market-search-result img{width:54px;height:54px;object-fit:contain;border-radius:7px;background:#fff}
.market-search-result__copy{display:flex;min-width:0;flex-direction:column;gap:4px}
.market-search-result__copy strong{overflow:hidden;color:#073b6f;font-size:14px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.market-search-result__copy small{color:#64748b;font-size:12px}
.market-search-result>b{color:#e84b24;font-size:13px;white-space:nowrap}
@media(max-width:640px){
  .market-search-results{position:fixed;z-index:3000;top:118px;right:10px;left:10px;max-height:62vh}
  .market-search-result{grid-template-columns:52px minmax(0,1fr)}
  .market-search-result>b{grid-column:2}
}


/* Product conversion cues - 20260830 */
.product-conversion-badges{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}
.product-delivery-note{display:flex;flex-direction:column;gap:3px;max-width:430px;margin:10px 0 12px auto;padding:11px 14px;border:1px solid #cfe4d7;border-radius:10px;background:#f2faf5;color:#173f2a;text-align:left}
.product-delivery-note strong{font-size:14px;line-height:1.3}
.product-delivery-note span{color:#52665a;font-size:12px;line-height:1.35}
.product-title-badge.is-sale{background:#e84b24;color:#fff}
.product-title-badge.is-new{background:#0d79b8;color:#fff}
.product-title-badge.is-bestseller{background:#f4b400;color:#3c2b00}
@media(max-width:640px){.product-delivery-note{max-width:none;margin-right:0;margin-left:0}}


/* Related products and persistent cart - 20260830 */
.related-products{clear:both;margin:30px 0 18px;padding:22px;border:1px solid #dce6ee;border-radius:14px;background:#f8fbfd}
.related-products__head{margin-bottom:15px}.related-products__head h2{margin:4px 0 0;color:#073b6f}
.related-products__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.related-product-card{display:flex;min-width:0;flex-direction:column;gap:8px;padding:12px;border:1px solid #e0e7ed;border-radius:11px;background:#fff;box-shadow:0 5px 15px rgba(15,45,70,.06)}
.related-product-card>a{display:flex;min-width:0;flex:1;flex-direction:column;gap:8px;color:#17324d;text-decoration:none}
.related-product-card img{width:100%;height:130px;object-fit:contain;background:#fff}
.related-product-card strong{font-size:14px;line-height:1.35}.related-product-card small{color:#64748b}.related-product-card>b{color:#e84b24;font-size:16px}
.related-product-card form{margin-top:auto}.related-product-card .button{width:100%;min-height:38px}
.market-floating-cart{position:fixed;right:20px;bottom:20px;z-index:1800;display:flex;align-items:center;gap:10px;min-width:190px;padding:11px 14px;border:1px solid #cad9e5;border-radius:999px;background:#fff;color:#17324d!important;text-decoration:none!important;box-shadow:0 12px 32px rgba(10,34,55,.22)}
.market-floating-cart i{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#073b6f;color:#fff;font-style:normal}.market-floating-cart span{display:flex;flex-direction:column}.market-floating-cart b{font-size:13px}.market-floating-cart small{color:#64748b;font-size:11px}.market-floating-cart.has-items{border-color:#f3a788}.market-floating-cart.has-items i{background:#e84b24}
@media(max-width:800px){.related-products{padding:16px}.related-products__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-floating-cart{right:12px;bottom:12px;min-width:0;padding:9px 12px}.market-floating-cart small{display:none}}
@media(max-width:460px){.related-products__grid{grid-template-columns:1fr}}


/* Catalog quick filters - 20260830 */
.catalog-quick-filters{display:grid;grid-template-columns:minmax(220px,1.35fr) repeat(3,minmax(145px,.8fr)) auto;align-items:end;gap:12px;margin:0 0 22px;padding:17px;border:1px solid #d9e5ee;border-radius:13px;background:#f7fafc}
.catalog-quick-filters__head h2{margin:3px 0 0;color:#073b6f;font-size:20px}.catalog-quick-filters label{display:flex;flex-direction:column;gap:6px;color:#334155;font-size:12px;font-weight:700}.catalog-quick-filters select{width:100%;min-height:40px;padding:0 10px;border:1px solid #cbd8e3;border-radius:8px;background:#fff;color:#17324d}.catalog-quick-filters button{min-height:40px;padding:0 14px;border:0;border-radius:8px;background:#073b6f;color:#fff;font-weight:700;cursor:pointer}.catalog-quick-filters>small{grid-column:2/-1;color:#526579;font-size:12px;text-align:right}.catalog-filter-item[hidden],.catalog-filter-divider[hidden]{display:none!important}
.catalog-filter-item{display:block}
@media(max-width:900px){.catalog-quick-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-quick-filters__head{grid-column:1/-1}.catalog-quick-filters>small{grid-column:1/-1}}
@media(max-width:520px){.catalog-quick-filters{grid-template-columns:1fr}.catalog-quick-filters__head,.catalog-quick-filters>small{grid-column:1}}


/* Modern product detail and verified reviews - 20260830 */
.product-detail-modern{margin:0 0 26px;padding:24px;border:1px solid #dce6ee;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(15,45,70,.08)}
.product-detail-modern .product-price-heading{margin:8px 0;color:#e84b24;font-size:30px;line-height:1.2}.product-detail-modern>p:first-of-type{display:flex;min-height:320px;align-items:center;justify-content:center;margin:18px 0;padding:18px;border-radius:13px;background:#f8fafc;text-align:center}.product-detail-modern>p:first-of-type img{max-width:100%;height:auto;max-height:440px;object-fit:contain}.product-detail-modern .product-description{overflow-wrap:anywhere;color:#34495e;font-size:19px;line-height:1.75}.product-detail-modern .product-description img,.product-detail-modern .product-description iframe,.product-detail-modern .product-description table,.product-detail-modern .product-description pre{max-width:100%;height:auto}.product-detail-modern .product-description table,.product-detail-modern .product-description pre{display:block;overflow-x:auto}.product-detail-modern .product-description>*{max-width:100%}
.product-detail-modern div[align="right"]{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-end;gap:14px;margin-top:18px}.product-detail-modern div[align="right"]>form{display:flex;align-items:end;gap:10px}.product-primary-cta{min-height:48px!important;padding:0 24px!important;border-radius:10px!important;background:#e84b24!important;color:#fff!important;font-size:16px!important;font-weight:800!important}.product-quantity-label{display:flex;flex-direction:column;gap:4px;color:#526579;font-size:12px;font-weight:700;text-align:left}.product-quantity{width:72px!important;height:46px!important;padding:0 8px!important;border:1px solid #b9c9d6!important;border-radius:9px!important;color:#17324d!important;font-size:16px!important;text-align:center}.product-assurance{display:flex;flex-wrap:wrap;gap:7px 14px;margin:7px 0 0;padding:0;list-style:none}.product-assurance li{color:#315b43;font-size:12px}.product-assurance li:before{content:'✓';margin-right:5px;color:#178847;font-weight:900}
.product-reviews{margin:28px 0;padding:22px;border:1px solid #dce6ee;border-radius:14px;background:#f8fbfd}.product-reviews__head h2{margin:4px 0 14px;color:#073b6f}.product-reviews__empty{padding:20px;border-radius:11px;background:#fff;text-align:center}.product-reviews__empty>div{margin-bottom:8px;color:#f4b400;font-size:27px;letter-spacing:4px}.product-reviews__empty strong{display:block;color:#17324d;font-size:16px}.product-reviews__empty p{margin:7px auto 15px;color:#64748b}.product-reviews__empty .button{display:inline-flex;min-height:42px;align-items:center;padding:0 16px;text-decoration:none}
@media(max-width:640px){.product-detail-modern{padding:16px}.product-detail-modern>p:first-of-type{min-height:220px}.product-detail-modern .product-description{font-size:18px}.product-detail-modern div[align="right"],.product-detail-modern div[align="right"]>form{align-items:stretch;flex-direction:column}.product-primary-cta,.product-quantity-label{width:100%}.product-quantity{width:100%!important}.product-delivery-note{width:100%;box-sizing:border-box}}

/* Compactare finala pagini produs - desktop */
@media (min-width:900px){
  body.store-theme-revo-marketplace .product-detail-modern.ro-product-buy{
    grid-template-columns:minmax(0,60%) minmax(340px,40%)!important;
    gap:20px!important;
    padding:18px!important;
    align-items:start!important
  }
  body.store-theme-revo-marketplace .ro-product-buy .ro-product-media>p>img{
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:400px!important;
    object-fit:contain!important;
    padding:6px!important;
    margin:auto!important
  }
  body.store-theme-revo-marketplace .ro-product-buy .ro-product-info{
    min-height:0!important;
    height:auto!important;
    padding:13px!important;
    gap:3px!important
  }
  body.store-theme-revo-marketplace .ro-product-buy .ro-product-info>p:empty,
  body.store-theme-revo-marketplace .ro-product-buy .ro-product-info>div:empty{
    display:none!important;
    margin:0!important
  }
  body.store-theme-revo-marketplace .ro-product-buy .ro-product-info h1.pagetitle{
    font-size:18px!important;
    line-height:1.2!important;
    margin:0 0 5px!important
  }
  body.store-theme-revo-marketplace .ro-product-buy .product-price-heading{
    font-size:21px!important;
    margin:2px 0 5px!important
  }
  body.store-theme-revo-marketplace .ro-product-buy .product-availability-badge{margin:0 0 4px!important}
  body.store-theme-revo-marketplace .ro-product-buy .ro-product-meta{
    min-height:44px!important;
    padding:6px!important;
    margin:4px 0!important
  }
  body.store-theme-revo-marketplace .ro-product-buy .ro-product-buy-row{
    min-height:44px!important;
    margin:4px 0!important
  }
  body.store-theme-revo-marketplace .ro-product-buy .ro-product-actions{
    gap:5px!important;
    margin:4px 0!important
  }
  body.store-theme-revo-marketplace .ro-product-buy .ro-product-actions>*{
    min-height:32px!important;
    padding:5px 7px!important;
    font-size:12px!important;
    line-height:1.15!important
  }
  body.store-theme-revo-marketplace .ro-product-buy .product-delivery-note{
    display:flex!important;
    flex-direction:column!important;
    gap:2px!important;
    min-height:0!important;
    margin:4px 0!important;
    padding:7px 9px!important
  }
  body.store-theme-revo-marketplace .ro-product-buy .product-delivery-note .product-assurance{
    margin-top:4px!important;
    gap:4px 9px!important
  }
  body.store-theme-revo-marketplace .ro-product-buy .ro-product-more{margin-top:4px!important}
  body.store-theme-revo-marketplace .ro-product-buy .ro-product-help{
    margin-top:4px!important;
    font-size:12px!important;
    line-height:1.3!important
  }
}

/* Descriere produs lizibila, indiferent de structura temei sau HTML-ul importat. */
.product-description{
  max-width:100%;
  overflow-wrap:anywhere;
  color:#34495e;
  font-size:19px!important;
  line-height:1.75!important
}
.product-description :where(p,li,td,th,span,div,strong,em,a){
  font-size:inherit!important;
  line-height:inherit!important
}
.product-description img,
.product-description iframe,
.product-description table,
.product-description pre{max-width:100%;height:auto}
.product-description table,
.product-description pre{display:block;overflow-x:auto}
@media(max-width:640px){
  .product-description{font-size:18px!important}
  .header-breadcrumbs{width:auto!important;max-width:100%!important;box-sizing:border-box!important}
}
