/*
Theme Name: PrimusVest Modern V4 100% Editable
Theme URI: https://www.primusvest.ro/
Author: OpenAI for PrimusVest
Description: Tema WordPress + WooCommerce PrimusVest V3, foarte editabila din Customizer sau Gutenberg, cu setari dedicate pentru mobil.
Version: 4.1.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: primusvest-modern
*/

:root{
  --pv-red:#e30613;
  --pv-red-dark:#b6040e;
  --pv-black:#111111;
  --pv-dark:#1a1a1a;
  --pv-gray:#f3f4f6;
  --pv-border:#e5e7eb;
  --pv-white:#ffffff;
  --pv-text:#222222;
  --pv-muted:#6b7280;
  --pv-radius:14px;
  --pv-shadow:0 12px 35px rgba(0,0,0,.08);
  --pv-container:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--pv-text);background:#fff;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{width:min(calc(100% - 32px),var(--pv-container));margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Topbar */
.pv-topbar{background:var(--pv-black);color:#fff;font-size:13px}
.pv-topbar .container{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:38px}
.pv-topbar-links{display:flex;gap:20px;flex-wrap:wrap}
.pv-topbar a:hover{color:#ffd1d4}

/* Header */
.pv-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--pv-border)}
.pv-header-main{display:grid;grid-template-columns:220px minmax(260px,1fr) auto;gap:28px;align-items:center;min-height:82px}
.custom-logo{max-height:54px;width:auto}
.pv-brand-text{font-size:28px;font-weight:900;letter-spacing:-1px;color:var(--pv-black)}
.pv-brand-text span{color:var(--pv-red)}
.pv-search form,.woocommerce-product-search{display:flex;width:100%}
.pv-search input,.woocommerce-product-search input{width:100%;height:46px;border:2px solid var(--pv-border);border-right:none;border-radius:10px 0 0 10px;padding:0 16px;font-size:15px;outline:none}
.pv-search input:focus,.woocommerce-product-search input:focus{border-color:var(--pv-red)}
.pv-search button,.woocommerce-product-search button{height:46px;border:0;background:var(--pv-red);color:#fff;padding:0 20px;border-radius:0 10px 10px 0;font-weight:800;cursor:pointer}
.pv-actions{display:flex;align-items:center;gap:10px}
.pv-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 15px;border:1px solid var(--pv-border);border-radius:10px;font-weight:700;background:#fff}
.pv-action:hover{border-color:var(--pv-red);color:var(--pv-red)}
.pv-cart-count{display:inline-flex;margin-left:7px;background:var(--pv-red);color:#fff;border-radius:999px;min-width:21px;height:21px;align-items:center;justify-content:center;font-size:12px;padding:0 6px}

/* Nav */
.pv-nav{background:var(--pv-red);color:#fff}
.pv-nav-inner{display:flex;align-items:center;min-height:48px}
.pv-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.pv-nav li{position:relative}
.pv-nav a{display:block;padding:13px 17px;font-weight:800;font-size:14px}
.pv-nav a:hover,.pv-nav .current-menu-item>a{background:rgba(0,0,0,.14)}
.pv-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:240px;background:#fff;color:var(--pv-text);box-shadow:var(--pv-shadow);border-radius:0 0 10px 10px;overflow:hidden;z-index:20}
.pv-nav li:hover>.sub-menu{display:block}
.pv-nav .sub-menu a{padding:11px 15px;border-bottom:1px solid var(--pv-border)}
.pv-menu-toggle{display:none;border:0;background:transparent;color:#fff;font-weight:800;font-size:16px;padding:12px 0;cursor:pointer}

/* Hero */
.pv-hero{position:relative;overflow:hidden;background:linear-gradient(105deg,#111 0%,#1c1c1c 52%,#2a0508 100%);color:#fff}
.pv-hero:after{content:"";position:absolute;right:-120px;top:-180px;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(227,6,19,.55),rgba(227,6,19,0) 70%)}
.pv-hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;min-height:510px;align-items:center;gap:40px;padding:64px 0}
.pv-kicker{display:inline-flex;background:var(--pv-red);color:#fff;border-radius:999px;padding:7px 12px;font-weight:900;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.pv-hero h1{font-size:clamp(42px,5vw,72px);line-height:.98;letter-spacing:-2.5px;margin:20px 0 18px;max-width:720px}
.pv-hero p{font-size:18px;color:#ddd;max-width:650px;margin:0 0 28px}
.pv-buttons{display:flex;gap:12px;flex-wrap:wrap}
.pv-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:10px;border:0;font-weight:900;cursor:pointer;transition:.2s ease;background:var(--pv-red);color:#fff!important}
.pv-btn:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{transform:translateY(-1px);background:var(--pv-red-dark)}
.pv-btn-light{background:#fff!important;color:#111!important}
.pv-hero-card{justify-self:end;width:min(100%,470px);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:22px;padding:26px;box-shadow:0 25px 70px rgba(0,0,0,.3)}
.pv-hero-visual{min-height:330px;border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.02));display:flex;align-items:center;justify-content:center;overflow:hidden}
.pv-hero-visual img{width:100%;height:330px;object-fit:cover}
.pv-tool-placeholder{font-size:95px;filter:grayscale(1);opacity:.95}

/* Trust strip */
.pv-trust{background:#fff;border-bottom:1px solid var(--pv-border)}
.pv-trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.pv-trust-item{padding:22px 18px;display:flex;gap:12px;align-items:center;border-right:1px solid var(--pv-border)}
.pv-trust-item:last-child{border-right:0}
.pv-trust-icon{font-size:26px}
.pv-trust-item strong{display:block;color:#111}
.pv-trust-item small{color:var(--pv-muted)}

/* Sections */
.pv-section{padding:72px 0}
.pv-section-alt{background:var(--pv-gray)}
.pv-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}
.pv-section-head h2{font-size:clamp(30px,3vw,44px);line-height:1.08;letter-spacing:-1.5px;margin:0}
.pv-section-head p{margin:7px 0 0;color:var(--pv-muted)}
.pv-link-arrow{font-weight:900;color:var(--pv-red)}

/* Categories */
.pv-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.pv-cat-card{background:#fff;border:1px solid var(--pv-border);border-radius:var(--pv-radius);padding:26px;min-height:190px;display:flex;flex-direction:column;justify-content:space-between;transition:.2s;box-shadow:0 4px 15px rgba(0,0,0,.025)}
.pv-cat-card:hover{transform:translateY(-4px);border-color:#ffc3c7;box-shadow:var(--pv-shadow)}
.pv-cat-icon{font-size:38px}
.pv-cat-card h3{font-size:20px;margin:16px 0 4px;line-height:1.2}
.pv-cat-card p{color:var(--pv-muted);margin:0;font-size:14px}
.pv-cat-card .pv-more{margin-top:18px;font-weight:900;color:var(--pv-red)}

/* Brands */
.pv-brands{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.pv-brand-chip{min-height:90px;background:#fff;border:1px solid var(--pv-border);border-radius:12px;display:flex;align-items:center;justify-content:center;padding:16px;font-size:19px;font-weight:900;letter-spacing:-.4px;color:#333}

/* Promo */
.pv-promo{background:linear-gradient(110deg,var(--pv-red),#8d0008);color:#fff;border-radius:22px;padding:42px;display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;overflow:hidden;position:relative}
.pv-promo h2{font-size:clamp(32px,4vw,52px);line-height:1.02;margin:0 0 10px;letter-spacing:-1.8px}
.pv-promo p{margin:0;color:#ffe4e6;max-width:720px}

/* Content */
.site-main{min-height:55vh}
.pv-content{padding:56px 0}
.pv-content h1{font-size:clamp(34px,4vw,52px);letter-spacing:-1.5px;line-height:1.1}
.pv-content a{color:var(--pv-red)}

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--pv-muted);margin:24px 0}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:18px;margin:0!important}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff;border:1px solid var(--pv-border);border-radius:14px;padding:14px;transition:.2s;overflow:hidden}
.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:var(--pv-shadow)}
.woocommerce ul.products li.product a img{border-radius:10px;aspect-ratio:1/1;object-fit:contain;background:#fff}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px!important;line-height:1.35;color:#151515;min-height:44px}
.woocommerce ul.products li.product .price{color:var(--pv-red)!important;font-weight:900;font-size:17px!important}
.woocommerce span.onsale{background:var(--pv-red)!important;min-width:auto;min-height:auto;line-height:1;padding:9px 10px;border-radius:8px;top:12px!important;left:12px!important}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--pv-red);font-weight:900}
.woocommerce-message,.woocommerce-info{border-top-color:var(--pv-red)}
.woocommerce-message:before,.woocommerce-info:before{color:var(--pv-red)}
.woocommerce nav.woocommerce-pagination ul{border:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;margin:3px}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border:1px solid var(--pv-border);border-radius:8px;min-width:40px}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--pv-red);color:#fff}
.woocommerce .quantity .qty{min-height:44px;border:1px solid var(--pv-border);border-radius:8px}

/* Footer */
.pv-footer{background:#111;color:#ddd;margin-top:30px}
.pv-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:42px;padding:58px 0}
.pv-footer h4{color:#fff;margin:0 0 16px;font-size:16px}
.pv-footer p,.pv-footer li{font-size:14px;color:#bbb}
.pv-footer ul{list-style:none;margin:0;padding:0}
.pv-footer li{margin:8px 0}
.pv-footer a:hover{color:#fff}
.pv-footer-brand{font-size:26px;font-weight:900;color:#fff;margin-bottom:14px}
.pv-footer-brand span{color:var(--pv-red)}
.pv-copyright{border-top:1px solid #2c2c2c;padding:18px 0;font-size:13px;color:#888}

/* Forms */
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=password],select,textarea{width:100%;border:1px solid var(--pv-border);border-radius:9px;padding:11px 12px;background:#fff}
textarea{min-height:140px}

@media(max-width:1024px){
 .pv-header-main{grid-template-columns:180px 1fr auto;gap:15px}.pv-actions .pv-account{display:none}
 .pv-hero-inner{grid-template-columns:1fr 1fr}.pv-cat-grid{grid-template-columns:repeat(2,1fr)}
 .woocommerce ul.products{grid-template-columns:repeat(3,1fr)}.pv-footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
 .pv-topbar .container{justify-content:center}.pv-topbar-links{display:none}
 .pv-header-main{grid-template-columns:1fr auto;min-height:70px}.pv-search{grid-column:1/-1;order:3;padding-bottom:14px}.pv-brand-text{font-size:24px}
 .pv-nav-inner{display:block}.pv-menu-toggle{display:block}.pv-nav .menu{display:none;flex-direction:column;align-items:stretch;padding-bottom:12px}.pv-nav .menu.is-open{display:flex}.pv-nav a{padding:10px 0}.pv-nav .sub-menu{position:static;display:block!important;background:rgba(0,0,0,.08);color:#fff;box-shadow:none;margin-left:12px;border-radius:0}
 .pv-hero-inner{grid-template-columns:1fr;min-height:auto;padding:48px 0}.pv-hero-card{justify-self:stretch}.pv-hero h1{font-size:44px}.pv-hero p{font-size:16px}
 .pv-trust-grid{grid-template-columns:repeat(2,1fr)}.pv-trust-item:nth-child(2){border-right:0}.pv-trust-item{border-bottom:1px solid var(--pv-border)}
 .pv-section{padding:52px 0}.pv-section-head{align-items:start;flex-direction:column}.pv-cat-grid{grid-template-columns:1fr 1fr}.pv-brands{grid-template-columns:repeat(2,1fr)}
 .woocommerce ul.products{grid-template-columns:repeat(2,1fr)}
 .pv-promo{grid-template-columns:1fr;padding:28px}.pv-footer-grid{grid-template-columns:1fr}.pv-footer-grid{gap:26px}
}
@media(max-width:480px){
 .container{width:min(calc(100% - 22px),var(--pv-container))}.pv-cat-grid{grid-template-columns:1fr}.pv-trust-grid{grid-template-columns:1fr}.pv-trust-item{border-right:0}
 .woocommerce ul.products{grid-template-columns:1fr 1fr;gap:10px}.woocommerce ul.products li.product{padding:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important}.pv-actions .pv-action{padding:0 10px}
}

/* Mobile polish v1.1 */
html,body{max-width:100%;overflow-x:hidden}
@media(max-width:760px){
  .container{width:calc(100% - 28px)}
  .pv-header{position:relative;top:auto}
  .pv-header-main{
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    min-height:auto;
    padding:12px 0 0;
  }
  .pv-logo{min-width:0;display:flex;align-items:center}
  .pv-logo a{display:block;max-width:100%}
  .custom-logo{width:auto;max-width:190px;max-height:58px;object-fit:contain}
  .pv-actions{justify-self:end;min-width:max-content}
  .pv-actions .pv-action{min-height:44px;padding:0 13px;font-size:15px;white-space:nowrap}
  .pv-search{grid-column:1/-1;order:3;padding:0 0 14px;min-width:0}
  .pv-search form,.woocommerce-product-search{min-width:0}
  .pv-search input,.woocommerce-product-search input{min-width:0;height:48px;font-size:16px;padding:0 14px}
  .pv-search button,.woocommerce-product-search button{height:48px;padding:0 18px;white-space:nowrap}
  .pv-nav-inner{min-height:52px}
  .pv-menu-toggle{width:100%;text-align:left;font-size:17px;padding:13px 0}
  .pv-nav .menu{width:100%}
  .pv-nav a{font-size:15px;padding:11px 0}

  .pv-hero-inner{display:block;padding:38px 0 42px;min-height:auto}
  .pv-kicker{font-size:11px;line-height:1.3;padding:7px 11px;letter-spacing:.055em;white-space:normal}
  .pv-hero h1{font-size:clamp(34px,10vw,42px);line-height:1.02;letter-spacing:-1.6px;margin:18px 0 15px;max-width:none;overflow-wrap:anywhere}
  .pv-hero p{font-size:16px;line-height:1.55;margin-bottom:22px}
  .pv-buttons{display:grid;grid-template-columns:1fr;gap:10px}
  .pv-btn{width:100%;min-height:50px}
  .pv-hero-card{margin-top:28px;width:100%;padding:14px;border-radius:16px}
  .pv-hero-visual,.pv-hero-visual img{min-height:0;height:auto;max-height:300px}
  .pv-hero-visual img{aspect-ratio:4/3;object-fit:cover}

  .pv-section{padding:44px 0}
  .pv-section-head h2{font-size:30px;letter-spacing:-1px}
  .pv-cat-card{min-height:0;padding:22px}
  .pv-brands{grid-template-columns:1fr 1fr}
  .pv-brand-chip{min-height:74px;font-size:17px}
  .pv-promo{padding:24px 20px;border-radius:16px}
  .pv-promo h2{font-size:32px;letter-spacing:-1px}
  .pv-footer-grid{padding:42px 0}
}
@media(max-width:480px){
  .container{width:calc(100% - 24px)}
  .pv-topbar{font-size:12px}
  .pv-topbar .container{min-height:34px;text-align:center}
  .custom-logo{max-width:165px;max-height:54px}
  .pv-actions .pv-action{padding:0 11px;font-size:14px}
  .pv-cart-count{margin-left:5px}
  .pv-search button,.woocommerce-product-search button{padding:0 15px}
  .pv-hero-inner{padding:32px 0 36px}
  .pv-hero h1{font-size:36px;line-height:1.03;letter-spacing:-1.3px}
  .pv-hero p{font-size:15px}
  .pv-cat-grid,.pv-trust-grid{grid-template-columns:1fr}
  .woocommerce ul.products{grid-template-columns:1fr 1fr;gap:10px}
  .woocommerce ul.products li.product{padding:9px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;min-height:0}
  .woocommerce ul.products li.product .price{font-size:15px!important}
}
@media(max-width:380px){
  .custom-logo{max-width:145px}
  .pv-actions .pv-action{padding:0 9px;font-size:13px}
  .pv-hero h1{font-size:32px}
  .woocommerce ul.products{grid-template-columns:1fr}
}
\n\n/* V3 - editare libera + finisaje */\n.pv-free-home > .wp-block-group,.pv-free-home > .wp-block-cover,.pv-free-home > .wp-block-columns{margin-top:0}\n.pv-free-home .alignwide{width:min(calc(100% - 32px),var(--pv-container));margin-left:auto;margin-right:auto}\n.pv-free-home .alignfull{width:100%}\n.pv-free-home .wp-block-button__link{border-radius:var(--pv-radius)}\n@media(max-width:760px){\n .pv-free-home .alignwide{width:calc(100% - 28px)}\n}\n

/* V3.1 - Mobile editable */
@media(max-width:760px){
  :root{
    --pv-mobile-logo:170px;
    --pv-mobile-hero-title:36px;
    --pv-mobile-side:14px;
    --pv-mobile-products-cols:2;
  }
  .container{width:calc(100% - (var(--pv-mobile-side) * 2));}
  .pv-header-main{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding-top:10px;}
  .custom-logo{max-width:min(var(--pv-mobile-logo),100%);height:auto;}
  .pv-actions{gap:7px;}
  .pv-actions .pv-action{padding-inline:10px;}
  .pv-search{width:100%;}
  .pv-search input,.woocommerce-product-search input{width:1%;flex:1 1 auto;}
  .pv-search button,.woocommerce-product-search button{flex:0 0 auto;}
  .pv-hero{min-width:0;}
  .pv-hero-inner{width:calc(100% - (var(--pv-mobile-side) * 2));}
  .pv-hero h1{font-size:var(--pv-mobile-hero-title);word-break:normal;overflow-wrap:break-word;hyphens:auto;}
  .pv-hero-card{max-width:100%;}
  .pv-hero-visual{width:100%;}
  .pv-hero-visual img{width:100%;max-width:100%;}
  .pv-cat-grid,.pv-trust-grid,.pv-footer-grid{min-width:0;}
  .woocommerce ul.products{grid-template-columns:repeat(var(--pv-mobile-products-cols),minmax(0,1fr))!important;}
  .woocommerce ul.products li.product{min-width:0;}
  .woocommerce ul.products li.product a img{width:100%;height:auto;}
  .woocommerce div.product .summary,.woocommerce div.product div.images{width:100%!important;float:none!important;}
  table.shop_table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .woocommerce-cart-form,.cart_totals,.woocommerce-checkout-review-order{max-width:100%;overflow:hidden;}
  .wp-block-columns:not(.is-not-stacked-on-mobile){gap:18px;}
  .pv-free-home img,.pv-free-home video,.pv-free-home iframe{max-width:100%;height:auto;}
  .pv-free-home .wp-block-cover{min-height:300px;}
}
@media(max-width:480px){
  .pv-header-main{grid-template-columns:minmax(0,1fr) auto;}
  .pv-actions .pv-account{display:none!important;}
  .pv-brand-text{font-size:22px;}
  .pv-topbar .container{white-space:normal;line-height:1.25;padding-block:7px;}
  .pv-search form,.woocommerce-product-search{display:flex;}
  .pv-hero h1{margin-top:16px;}
  .pv-kicker{max-width:100%;}
}


/* ===== V4.1 MAGAZIN: FILTRE STANGA + PRODUSE DREAPTA ===== */
.pv-shop-layout.pv-shop-with-filters{
  padding:48px 0;
}
@media (min-width:901px){
  .pv-shop-layout.pv-shop-with-filters{
    display:grid !important;
    grid-template-columns:260px minmax(0,1fr) !important;
    gap:35px !important;
    align-items:start !important;
  }
  .pv-shop-layout.pv-shop-with-filters > .pv-shop-sidebar{
    display:block !important;
    grid-column:1 !important;
    width:260px !important;
    min-width:260px !important;
    max-width:260px !important;
    padding:20px !important;
    margin:0 !important;
    background:#fff;
    border:1px solid var(--pv-border);
    border-radius:14px;
  }
  .pv-shop-layout.pv-shop-with-filters > .pv-shop-products{
    display:block !important;
    grid-column:2 !important;
    width:auto !important;
    min-width:0 !important;
    margin:0 !important;
  }
  .pv-shop-products .woocommerce ul.products{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}

/* Filter Everything: branduri doar text, fara imagini/logo */
.pv-shop-sidebar img,
.pv-shop-sidebar .wpc-term-image,
.pv-shop-sidebar [class*="term-image"],
.pv-shop-sidebar [class*="brand-image"]{
  display:none !important;
}
.pv-shop-sidebar ul,
.pv-shop-sidebar li{
  max-width:100% !important;
}
.pv-shop-sidebar label{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
}
.pv-shop-sidebar input[type="checkbox"]{
  flex:0 0 auto;
}
.pv-shop-sidebar .wpc-filter-title,
.pv-shop-sidebar h4{
  font-weight:800;
}

/* Pretul ramane compact in coloana de filtre */
.pv-shop-sidebar input[type="number"],
.pv-shop-sidebar input[type="text"]{
  max-width:100% !important;
}

@media (max-width:900px){
  .pv-shop-layout.pv-shop-with-filters{
    display:block !important;
    padding:28px 0;
  }
  .pv-shop-sidebar{
    width:100% !important;
    max-width:none !important;
    margin:0 0 28px !important;
  }
}


/* ===== FILTRE PRIMUSVEST - DESIGN COMPACT ===== */

@media (min-width: 901px) {

    /* Coloana filtre */
    .pv-shop-sidebar {
        width: 280px !important;
        min-width: 280px !important;
        padding: 20px !important;
        align-self: start !important;
    }

    /* Lista brandurilor mai compacta */
    .pv-shop-sidebar .wpc-filters-section {
        margin-bottom: 20px !important;
    }

    /* Scoate logo/imagine brand */
    .pv-shop-sidebar img {
        display: none !important;
    }

    /* Brandurile mai apropiate */
    .pv-shop-sidebar .wpc-term-item-content-wrapper {
        min-height: 0 !important;
    }

    .pv-shop-sidebar .wpc-filters-ul-list li {
        margin-bottom: 8px !important;
        padding: 0 !important;
    }

    /* Lista brandurilor - inaltime controlata */
    .pv-shop-sidebar .wpc-filters-ul-list {
        max-height: 390px !important;
        overflow-y: auto !important;
        padding-right: 8px !important;
    }

    /* Produsele raman in dreapta */
    .pv-shop-layout.pv-shop-with-filters {
        display: grid !important;
        grid-template-columns: 280px minmax(0, 1fr) !important;
        gap: 40px !important;
        align-items: start !important;
    }

    .pv-shop-products {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* BRAND COMPACT - fara bara orizontala */
.pv-shop-sidebar .wpc-filters-ul-list {
    max-height: 300px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Branduri mai compacte */
.pv-shop-sidebar .wpc-filters-ul-list li {
    margin-bottom: 5px !important;
    line-height: 1.25 !important;
}

/* Nu permite textului sa largeasca filtrul */
.pv-shop-sidebar .wpc-term-item-content-wrapper {
    max-width: 210px !important;
    overflow: hidden !important;
}


/* Eliminare scroll orizontal din filtrul Brand */
.pv-shop-sidebar,
.pv-shop-sidebar .wpc-filters-widget-wrapper,
.pv-shop-sidebar .wpc-filters-section,
.pv-shop-sidebar .wpc-filters-ul-list,
.pv-shop-sidebar .wpc-filter-content {
    overflow-x: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.pv-shop-sidebar .wpc-filters-ul-list li {
    max-width: 100% !important;
}
/* Ascunde mesajul Filter Everything doar pe pagina principala Produse */
.post-type-archive-product .pv-shop-sidebar .wpc-filter-set-message,
.post-type-archive-product .pv-shop-sidebar .wpc-filter-set-notice {
    display: none !important;
}