:root{
    --base:#ffffff;
    --soft:#f7f8fa;
    --soft-2:#eef9fc;
    --ink:#111827;
    --muted:#667085;
    --blue:#0736a4;
    --cyan:#13b7d8;
    --pink:#dd38b6;
    --line:#e5e7eb;
    --max:1680px;
    --radius:16px;
}
*{box-sizing:border-box}
html{font-size:19px;scroll-behavior:smooth}
body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--base);line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,textarea,select{font:inherit}.wide{max-width:var(--max);margin:0 auto;padding-left:clamp(20px,4.5vw,88px);padding-right:clamp(20px,4.5vw,88px)}
.site-header{min-height:86px;display:grid;grid-template-columns:auto 1fr minmax(220px,360px) auto auto;align-items:center;gap:28px;max-width:var(--max);margin:0 auto;padding:0 clamp(20px,4.5vw,88px);border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:var(--blue);font-size:1.28rem;font-weight:600;letter-spacing:-.035em}.brand img{width:48px;height:48px;object-fit:contain}.main-nav{display:flex;gap:34px;justify-content:center;color:#1f2937}.main-nav a{font-size:1.03rem;padding:12px 0;border-bottom:2px solid transparent}.main-nav a:hover{border-color:var(--blue)}.search{height:52px;border:1px solid var(--line);border-radius:999px;background:#fff;display:flex;align-items:center}.search input{border:0;outline:0;width:100%;padding:0 18px;background:transparent;font-size:1rem}.search button{width:52px;height:52px;border:0;background:transparent;color:var(--blue);cursor:pointer;font-size:1.3rem}.cart-link{min-height:52px;border:1px solid var(--line);border-radius:999px;padding:12px 16px;display:flex;align-items:center;gap:8px;white-space:nowrap}.cart-link strong{min-width:27px;height:27px;border-radius:999px;background:var(--blue);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.9rem}.menu-toggle{display:none}
.hero{display:grid;grid-template-columns:.92fr 1.08fr;align-items:stretch;min-height:600px;border-bottom:1px solid var(--line);background:#fff}.wide-left{padding-left:clamp(20px,4.5vw,88px)}.hero-copy{padding-top:64px;padding-bottom:64px;display:flex;flex-direction:column;justify-content:center;max-width:760px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;color:var(--pink);font-size:.8rem;font-weight:700;margin:0 0 18px}.hero h1,.page-title h1,.text-page h1{font-size:clamp(3rem,5.1vw,6.2rem);line-height:.98;letter-spacing:-.07em;margin:0 0 26px;font-weight:560;color:var(--blue)}.lead{font-size:clamp(1.14rem,1.35vw,1.42rem);color:#344054;max-width:780px}.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:0 28px;border-radius:999px;border:1px solid var(--blue);font-size:1rem;font-weight:560;cursor:pointer;background:#fff}.btn.primary{background:var(--blue);color:#fff}.btn.secondary{background:#fff;color:var(--blue)}.btn.full{width:100%}.hero-photo{height:100%;min-height:520px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff}.hero-photo img{width:100%;height:100%;object-fit:cover}.clean-photo{background:#fff}.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-bottom:1px solid var(--line)}.trust div{padding:30px 26px;border-right:1px solid var(--line);background:#fff}.trust div:last-child{border-right:0}.trust span{display:block;font-size:1.08rem;font-weight:570}.trust small{color:var(--muted);font-size:.96rem}.section{padding-top:58px;padding-bottom:58px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.section h2,.section-head h2,.faq h2,.summary h2,.checkout-form h2,.filters h2{font-size:clamp(1.75rem,2.15vw,2.6rem);line-height:1.05;letter-spacing:-.05em;margin:0 0 8px;font-weight:560}.section-head p{margin:0;color:var(--muted);font-size:1.08rem}.section-head a{color:var(--blue);font-weight:560}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-grid.catalog{grid-template-columns:repeat(3,1fr)}.product-card{position:relative;border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:18px;min-height:450px;display:flex;flex-direction:column}.product-card:hover{border-color:#cbd5e1}.product-image{background:#fff;border-radius:0;display:flex;align-items:center;justify-content:center;min-height:240px;margin-bottom:18px}.product-image img{height:220px;object-fit:contain}.plain-image{background:#fff}.product-card h3{font-size:1.22rem;line-height:1.17;margin:8px 0 6px;font-weight:560;letter-spacing:-.026em}.product-card p{font-size:.98rem;color:var(--muted);margin:0 0 14px}.product-meta-line{display:flex;align-items:center;justify-content:space-between}.code-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:5px 11px;background:#fff;color:var(--blue);font-size:.83rem;font-weight:700;letter-spacing:.02em}.code-pill.large{font-size:.95rem;padding:8px 14px}.price{margin-top:auto;margin-bottom:14px;font-size:1.05rem;display:flex;gap:10px;align-items:center}.price strong{font-size:1.34rem;font-weight:620}.price del{color:#8a8f9b}.badge{position:absolute;top:18px;left:18px;background:var(--pink);color:white;border-radius:999px;padding:6px 12px;font-size:.78rem;font-weight:700;text-transform:uppercase;z-index:1}.card-actions{display:grid;grid-template-columns:1fr 110px;gap:10px}.add-btn{width:100%;height:52px;border:0;border-radius:999px;background:var(--blue);color:white;font-weight:560;font-size:1rem;cursor:pointer}.ghost-btn{height:52px;border:1px solid var(--line);border-radius:999px;display:flex;align-items:center;justify-content:center;color:#128c7e;font-weight:560}.category-row{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:18px}.category-chip{border:1px solid var(--line);border-radius:16px;padding:22px;background:#fff;display:flex;flex-direction:column;gap:8px;font-size:1.12rem;font-weight:560}.category-chip small{font-size:.92rem;color:var(--blue);font-weight:560}.lower-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:34px}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.article-card{border:1px solid var(--line);border-radius:18px;padding:26px;background:#fff;min-height:190px}.article-card span{color:var(--pink);text-transform:uppercase;font-size:.78rem;font-weight:700;letter-spacing:.12em}.article-card h3,.article-card h2{font-size:1.28rem;line-height:1.15;margin:12px 0;font-weight:560;letter-spacing:-.03em}.article-card p{color:var(--muted)}.article-card a{color:var(--blue);font-weight:560}.faq details{border:1px solid var(--line);border-radius:14px;margin-bottom:12px;padding:18px 20px;background:#fff}.faq summary{font-size:1.08rem;font-weight:560;cursor:pointer}.faq p{color:var(--muted)}
.page-title{padding-top:62px;padding-bottom:38px}.compact-title h1{font-size:clamp(2.8rem,4.6vw,5.2rem)}.page-title p{font-size:1.2rem;color:var(--muted);max-width:920px}.products-search{max-width:760px;margin-top:24px}.products-search button{width:auto;padding:0 22px;background:var(--blue);color:#fff;border-radius:999px;margin-right:4px}.breadcrumb{font-size:.95rem!important;color:var(--muted)}.breadcrumb a{color:var(--blue)}.product-page-layout{display:grid;grid-template-columns:260px 1fr;gap:34px;padding-bottom:70px}.filters{border:1px solid var(--line);border-radius:18px;padding:22px;height:max-content;position:sticky;top:108px;background:#fff}.filters a{display:block;padding:12px 0;border-bottom:1px solid var(--line);font-size:1.05rem}.product-detail{display:grid;grid-template-columns:1.08fr .92fr;gap:56px;padding-top:62px;padding-bottom:50px}.zillow-gallery{display:grid;grid-template-columns:2fr 1fr;gap:10px;min-height:600px}.zillow-gallery a{border:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}.gallery-main{border-radius:22px 0 0 22px}.gallery-side{display:grid;grid-template-rows:1fr 1fr;gap:10px}.gallery-side a:first-child{border-radius:0 22px 0 0}.gallery-side a:last-child{border-radius:0 0 22px 0}.zillow-gallery img{width:100%;height:100%;object-fit:contain;padding:26px}.product-info h1{font-size:clamp(2.35rem,3.6vw,4.3rem);line-height:1.02;letter-spacing:-.06em;color:var(--blue);font-weight:560;margin:14px 0 18px}.big-price{font-size:2rem;font-weight:640;margin:24px 0}.big-price del{font-size:1.2rem;color:var(--muted);margin-left:14px}.product-description{font-size:1.1rem;color:#344054}.buy-box{display:flex;gap:14px;align-items:end;margin:28px 0}.buy-box label{font-weight:560}.buy-box input{display:block;width:110px;height:58px;border:1px solid var(--line);border-radius:999px;font-size:1.2rem;padding:0 14px}.simple-list,.feature-list{font-size:1.1rem;line-height:1.9}.clean-list{padding-left:1.2rem}.product-description-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;border-top:1px solid var(--line)}.whatsapp-box{border:1px solid var(--line);border-radius:18px;padding:22px;margin:24px 0;background:#fff}.whatsapp-box h2{font-size:1.35rem;margin:0 0 8px;letter-spacing:-.03em}.whatsapp-box p{color:var(--muted);margin-top:0}.whatsapp-box label{display:block;margin:12px 0;font-weight:560}.whatsapp-box input[type=text],.whatsapp-box input:not([type]){display:block;width:100%;height:58px;border:1px solid var(--line);border-radius:999px;padding:0 18px;margin-top:8px}.whatsapp-btn{background:#128c7e!important;border-color:#128c7e!important;color:#fff!important;width:100%}.checkline{display:flex!important;align-items:flex-start;gap:10px;font-size:.96rem;color:#344054;font-weight:400!important}.checkline input{width:20px!important;height:20px!important;margin-top:3px!important;min-height:auto!important}
.cart-layout,.checkout-layout{display:grid;grid-template-columns:1fr 430px;gap:34px;padding-bottom:80px}.cart-item{display:grid;grid-template-columns:120px 1fr auto auto;gap:22px;align-items:center;border:1px solid var(--line);border-radius:18px;padding:18px;margin-bottom:14px}.cart-item img{width:110px;height:110px;object-fit:contain;background:#fff;border-radius:0}.cart-item h2{font-size:1.25rem;margin:8px 0 0;font-weight:560}.summary{border:1px solid var(--line);border-radius:20px;padding:28px;background:#fff;height:max-content}.sticky-summary{position:sticky;top:112px}.summary p{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding-bottom:12px}.summary .total{font-size:1.42rem;font-weight:640;border-bottom:0}.summary-note{border:1px solid var(--line);border-radius:14px;background:#fff;padding:16px;color:var(--muted);font-size:.98rem}.checkout-form{display:grid;gap:22px;border:1px solid var(--line);border-radius:22px;padding:32px;background:#fff}.form-block{display:grid;gap:16px;padding-bottom:24px;border-bottom:1px solid var(--line)}.form-block:last-of-type{border-bottom:0}.form-hint,.microcopy{margin:0;color:var(--muted);font-size:.98rem}.checkout-form label{font-size:1.03rem;font-weight:560}.checkout-form input,.checkout-form textarea,.checkout-form select{display:block;width:100%;margin-top:8px;border:1px solid var(--line);border-radius:14px;min-height:62px;padding:14px 16px;font-size:1.12rem;background:#fff}.checkout-form input:focus,.checkout-form textarea:focus{outline:3px solid rgba(19,183,216,.22);border-color:var(--cyan)}.checkout-form .two,.admin-form .two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-form .three{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}.payment-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.radio-card{display:flex!important;align-items:flex-start;gap:14px;border:1px solid var(--line);border-radius:16px;padding:18px;background:#fff}.radio-card input{width:24px;height:24px;margin:2px 0 0;min-height:0}.radio-card strong{display:block;font-weight:560}.radio-card small{display:block;color:var(--muted);font-size:.92rem;margin-top:4px}.checkout-submit{min-height:64px;font-size:1.08rem}.payment-panel{border:1px solid var(--line);border-radius:22px;background:#fff;padding:34px;font-size:1.15rem;max-width:900px}.payment-panel code{background:var(--soft);border:1px solid var(--line);padding:2px 6px;border-radius:8px}.success{min-height:60vh}.text-page{padding-top:62px;padding-bottom:80px;max-width:1120px}.text-page h1{font-size:clamp(2.8rem,4.6vw,5.2rem)}.text-content{font-size:1.2rem;color:#2e3444}.text-content h2{font-size:2rem;margin-top:40px;font-weight:560}.contact-card{border:1px solid var(--line);border-radius:20px;padding:28px;font-size:1.2rem;background:#fff}.footer{max-width:var(--max);margin:0 auto;padding:44px clamp(20px,4.5vw,88px);display:grid;grid-template-columns:1.4fr .8fr .8fr 1fr;gap:34px;border-top:1px solid var(--line);background:#fff}.footer h2{font-size:1.04rem;margin:0 0 14px;font-weight:650}.footer a{display:block;color:#2e3444;margin:8px 0}.footer p{color:var(--muted);max-width:390px}.small{font-size:.88rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.admin-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.admin-block{margin:46px 0;padding-top:8px}.admin-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px}.admin-table{width:100%;border-collapse:collapse;font-size:1rem}.admin-table th,.admin-table td{border-bottom:1px solid var(--line);padding:14px;text-align:left;vertical-align:top}.admin-table tr:last-child td{border-bottom:0}.admin-link{color:var(--blue);font-weight:650}.inline-form{display:flex;gap:8px;align-items:center}.inline-form select,.inline-form button{height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 10px}.inline-form button{background:var(--blue);color:#fff;border-color:var(--blue)}.admin-form{display:grid;gap:18px;border:1px solid var(--line);border-radius:22px;padding:28px}.admin-form label{font-weight:560}.admin-form input,.admin-form textarea,.admin-form select{display:block;width:100%;border:1px solid var(--line);border-radius:12px;min-height:54px;padding:12px 14px;margin-top:8px}.error{color:#b00020;font-weight:560}
@media(max-width:1180px){.site-header{grid-template-columns:auto 1fr auto auto}.main-nav,.compact-search{display:none}.menu-toggle{display:block;border:1px solid var(--line);background:white;border-radius:999px;padding:10px 15px;font-size:1.2rem}.main-nav.open{display:flex;position:absolute;left:20px;right:20px;top:76px;flex-direction:column;gap:0;background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;z-index:30}.main-nav.open a{padding:16px 14px;border-bottom:1px solid var(--line)}.hero,.lower-grid,.product-detail,.cart-layout,.checkout-layout,.product-page-layout,.product-description-grid{grid-template-columns:1fr}.wide-left{padding-right:clamp(20px,4.5vw,88px)}.hero-photo{min-height:420px}.trust{grid-template-columns:1fr 1fr}.product-grid,.product-grid.catalog{grid-template-columns:repeat(2,1fr)}.category-row{grid-template-columns:repeat(2,1fr)}.footer{grid-template-columns:1fr 1fr}.sticky-summary,.filters{position:static}.payment-options{grid-template-columns:1fr}.filters{display:grid;grid-template-columns:repeat(2,1fr);gap:4px}.filters h2{grid-column:1/-1}.filters a{padding:12px;border:1px solid var(--line);border-radius:12px}.zillow-gallery{min-height:420px}.admin-form .two,.admin-form .three{grid-template-columns:1fr}}
@media(max-width:680px){html{font-size:17px}.wide{padding-left:18px;padding-right:18px}.site-header{min-height:76px;gap:12px;padding-left:18px;padding-right:18px}.brand span{font-size:1.06rem}.brand img{width:40px;height:40px}.cart-link{padding:9px 12px;min-height:44px}.cart-link{font-size:0}.cart-link:before{content:'Coș';font-size:1rem}.cart-link strong{font-size:.85rem}.hero{min-height:auto}.hero-copy{padding-top:38px;padding-bottom:34px}.hero h1,.page-title h1,.text-page h1{font-size:2.85rem}.hero-photo{min-height:280px;border-top:1px solid var(--line)}.actions .btn{width:100%;min-height:60px}.trust,.product-grid,.product-grid.catalog,.category-row,.article-grid,.footer,.checkout-form .two,.filters{grid-template-columns:1fr}.trust div{border-right:0;border-bottom:1px solid var(--line);padding:22px 18px}.section{padding-top:42px;padding-bottom:42px}.section-head{align-items:flex-start;flex-direction:column}.product-card{min-height:auto}.product-image{min-height:210px}.product-image img{height:188px}.card-actions{grid-template-columns:1fr}.cart-item{grid-template-columns:84px 1fr;gap:14px}.cart-item img{width:84px;height:84px}.cart-item strong,.cart-item a{grid-column:2}.footer{padding-bottom:70px}.checkout-form{padding:22px}.cart-layout,.checkout-layout{padding-bottom:54px}.buy-box{display:grid;grid-template-columns:1fr}.buy-box input{width:100%}.zillow-gallery{grid-template-columns:1fr;min-height:0}.gallery-main,.gallery-side a:first-child,.gallery-side a:last-child{border-radius:18px}.gallery-main{min-height:360px}.gallery-side{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.gallery-side a{min-height:170px}.zillow-gallery img{padding:18px}.big-price{font-size:1.75rem}.main-nav.open{top:72px;left:12px;right:12px}.inline-form{flex-direction:column;align-items:stretch}.admin-top{flex-direction:column}.admin-form{padding:20px}}

/* Casa Curata v5 refinement */
.main-nav a[href="/blog"]{font-weight:560}
.hero-simple{min-height:520px;border-bottom:1px solid var(--line)}
.hero-simple .lead{max-width:690px}
.hero-gif{background:#fff;min-height:440px;border-left:1px solid var(--line)}
.hero-gif img{width:100%;height:100%;object-fit:cover;padding:0;background:#fff}
.zillow-gallery{min-height:0;max-height:560px;height:clamp(360px,42vw,560px)}
.zillow-gallery button{border:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer;padding:0;font:inherit;color:inherit}
.zillow-gallery img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;padding:20px;background:#fff}
.gallery-main{border-radius:22px 0 0 22px;min-height:0}
.gallery-side{min-height:0}.gallery-side button:first-child{border-radius:0 22px 0 0}.gallery-side button:last-child{border-radius:0 0 22px 0}
.lightbox{position:fixed;inset:0;background:rgba(7,17,38,.76);display:none;align-items:center;justify-content:center;z-index:999;padding:28px}.lightbox.open{display:flex}.lightbox img{max-width:min(1100px,92vw);max-height:86vh;background:#fff;border-radius:20px;object-fit:contain;padding:18px}.lightbox-close{position:fixed;top:22px;right:24px;width:54px;height:54px;border-radius:999px;border:0;background:#fff;color:var(--blue);font-size:2rem;line-height:1;cursor:pointer}
.whatsapp-btn{display:flex;align-items:center;justify-content:center;gap:10px;background:#20b038!important;border-color:#20b038!important}.wa-icon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:999px;background:#fff;color:#20b038;font-size:1.05rem;font-weight:700;transform:rotate(-10deg)}
.payment-status-form{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.pay-pill{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:.86rem;border:1px solid var(--line);margin-top:5px}.pay-ok{background:#e9f8ee;color:#0a7a2f;border-color:#b9e7c5}.pay-wait{background:#fff1f0;color:#b42318;border-color:#ffc9c2}.pay-btn{border:0;border-radius:999px;padding:7px 10px;font-size:.86rem;cursor:pointer}.pay-btn.green{background:#e9f8ee;color:#0a7a2f}.pay-btn.red{background:#fff1f0;color:#b42318}.admin-table .code-pill{display:inline-flex;margin:2px 0}.simple-footer{grid-template-columns:1.6fr .7fr .9fr .7fr}.footer-brand{margin-bottom:12px}.footer-brand span{font-size:1.3rem}.simple-footer h2{font-size:1rem}.simple-footer a{font-size:1rem}.checkout-form input[name="company_cui"]{text-transform:uppercase}
@media(max-width:1180px){.hero-gif{border-left:0}.zillow-gallery{height:auto;max-height:none}.gallery-main{min-height:360px}.gallery-side button{min-height:220px}.simple-footer{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.hero-simple{min-height:auto}.hero-gif{min-height:240px}.hero-gif img{object-fit:cover}.zillow-gallery{gap:8px}.gallery-main{min-height:280px}.gallery-side{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gallery-side button{min-height:140px}.zillow-gallery img{padding:12px}.lightbox{padding:12px}.lightbox-close{top:12px;right:12px;width:48px;height:48px}.simple-footer{grid-template-columns:1fr}.payment-status-form{flex-direction:column}.pay-btn{width:100%;min-height:38px}}
.wa-svg{width:24px;height:24px;flex:0 0 auto}.whatsapp-mini{gap:7px;color:#20a33a}.whatsapp-mini .wa-svg{width:20px;height:20px}.wa-icon{display:none}

/* Casa Curata v6 small hero GIF + WhatsApp icon-only buttons */
.hero-simple{
    min-height:460px;
    grid-template-columns:1.08fr .92fr;
}
.hero-gif{
    min-height:360px;
    padding:34px clamp(22px,3vw,54px);
    align-items:center;
    justify-content:center;
}
.hero-gif img{
    width:min(100%,520px);
    height:auto;
    max-height:360px;
    object-fit:contain;
    margin:auto;
}
.card-actions{
    grid-template-columns:1fr 56px;
}
.icon-only{
    width:56px;
    min-width:56px;
    height:52px;
    padding:0!important;
    border-radius:999px;
    font-size:0;
    gap:0!important;
}
.icon-only .wa-svg,
.whatsapp-mini.icon-only .wa-svg{
    width:25px;
    height:25px;
}
.whatsapp-mini.icon-only{
    color:#20a33a;
    border-color:#bfe9c8;
    background:#fff;
}
.whatsapp-mini.icon-only:hover{
    background:#f1fbf4;
    border-color:#20a33a;
}
.whatsapp-submit{
    width:64px!important;
    height:64px;
    min-height:64px;
    margin-top:4px;
}
.whatsapp-submit .wa-svg{
    width:32px;
    height:32px;
}
@media(max-width:1180px){
    .hero-simple{grid-template-columns:1fr;min-height:auto}
    .hero-gif{min-height:300px;padding:24px}
    .hero-gif img{max-height:300px;width:min(100%,460px)}
}
@media(max-width:680px){
    .hero-gif{min-height:220px;padding:18px;border-top:1px solid var(--line)}
    .hero-gif img{max-height:220px;width:min(100%,330px);object-fit:contain}
    .card-actions{grid-template-columns:1fr 56px}
    .whatsapp-submit{width:60px!important;height:60px;min-height:60px}
}

/* Casa Curata v7: hero balance, product detail purchase strip, smart search */
.hero-simple{
    min-height:500px;
    grid-template-columns:1fr .82fr;
    align-items:center;
}
.hero-simple .hero-copy{
    padding-top:54px;
    padding-bottom:54px;
}
.hero-simple .lead{
    max-width:640px;
}
.hero-gif{
    min-height:410px;
    padding:28px clamp(18px,2.5vw,44px);
    border-left:0;
}
.hero-gif img{
    width:min(100%,590px);
    max-height:410px;
    object-fit:contain;
}
.site-header .search-smart{position:relative}
.search-suggestions{
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:8px;
    display:none;
    z-index:60;
}
.search-suggestions.open{display:block}
.search-suggestion{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:10px;
    padding:11px 12px;
    border-radius:12px;
    align-items:center;
}
.search-suggestion:hover,.search-suggestion.active{background:#f7f8fa}
.search-suggestion strong{font-weight:560;line-height:1.15}
.search-suggestion small{display:block;color:var(--muted);font-size:.86rem;margin-top:2px}
.search-empty{padding:12px;color:var(--muted);font-size:.94rem}
.product-detail-v7{padding-top:46px;padding-bottom:38px}
.product-order-strip{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:32px;
    align-items:end;
    padding-bottom:24px;
    border-bottom:1px solid var(--line);
    margin-bottom:24px;
}
.product-order-strip h1{
    font-size:clamp(2.35rem,3.9vw,4.9rem);
    line-height:1.02;
    letter-spacing:-.06em;
    color:var(--blue);
    font-weight:540;
    margin:8px 0 12px;
    max-width:980px;
}
.product-order-strip p{font-size:1.18rem;color:var(--muted);margin:0;max-width:760px}
.quick-buy-panel{
    display:flex;
    align-items:center;
    gap:12px;
    border:1px solid var(--line);
    border-radius:999px;
    padding:10px;
    background:#fff;
    white-space:nowrap;
}
.strip-price{font-size:1.35rem;font-weight:620;color:var(--ink);padding:0 4px}.strip-price del{font-size:.95rem;color:var(--muted);font-weight:400;margin-left:5px}
.qty-control{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.92rem}.qty-control input{width:78px;height:48px;border:1px solid var(--line);border-radius:999px;text-align:center;padding:0 8px;color:var(--ink);font-size:1.08rem;background:#fff}
.quick-buy-panel .btn{min-height:48px;padding:0 22px}
.product-main-v7{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(340px,.82fr);gap:28px;align-items:start}.compact-gallery{height:clamp(320px,36vw,470px);max-height:470px;min-height:0}.compact-gallery .gallery-main{min-height:0}.compact-gallery .gallery-side button{min-height:0}.compact-gallery img{padding:16px}.product-side-panel{border:1px solid var(--line);border-radius:22px;padding:24px;background:#fff;position:sticky;top:110px}.product-side-panel h2{font-size:1.65rem;letter-spacing:-.04em;margin:0 0 10px;font-weight:560;color:var(--blue)}.product-side-panel>p{color:#344054;margin:0 0 18px}.product-safe-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.product-safe-list span{border:1px solid var(--line);border-radius:999px;padding:9px 12px;font-size:.9rem;color:#344054;text-align:center;background:#fff}.clean-whatsapp-box{margin:18px 0 0;padding:18px}.clean-whatsapp-box h3{font-size:1.1rem;margin:0 0 6px;color:var(--ink)}.clean-whatsapp-box p{font-size:.95rem}.product-info-v7{padding-top:42px;padding-bottom:64px}.blog-list-v7{padding-bottom:72px;margin-bottom:18px}.footer.simple-footer{padding-top:38px}
html body .compact-gallery{grid-template-columns:2fr .86fr}
html body .compact-gallery .gallery-main{border-radius:18px 0 0 18px}
html body .compact-gallery .gallery-side button:first-child{border-radius:0 18px 0 0}
html body .compact-gallery .gallery-side button:last-child{border-radius:0 0 18px 0}
@media(max-width:1180px){
    .hero-simple{grid-template-columns:1fr;min-height:auto}.hero-gif{min-height:340px}.hero-gif img{max-height:340px;width:min(100%,520px)}
    .product-order-strip{grid-template-columns:1fr;align-items:start}.quick-buy-panel{width:100%;justify-content:space-between;border-radius:22px;flex-wrap:wrap}.product-main-v7{grid-template-columns:1fr}.product-side-panel{position:static}.compact-gallery{height:auto;max-height:none}.compact-gallery .gallery-main{min-height:330px}.compact-gallery .gallery-side button{min-height:180px}
}
@media(max-width:680px){
    .hero-gif{min-height:250px;padding:18px}.hero-gif img{max-height:250px;width:min(100%,370px)}
    .product-detail-v7{padding-top:28px}.product-order-strip{gap:18px;margin-bottom:18px;padding-bottom:18px}.product-order-strip h1{font-size:2.45rem}.product-order-strip p{font-size:1.04rem}.quick-buy-panel{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px;border-radius:18px}.quick-buy-panel .code-pill{grid-column:1}.strip-price{grid-column:2;text-align:right}.qty-control{grid-column:1 / -1;justify-content:space-between;border:1px solid var(--line);border-radius:999px;padding-left:14px}.qty-control input{border:0}.quick-buy-panel .btn{grid-column:1 / -1;width:100%;min-height:56px}.product-main-v7{gap:18px}.compact-gallery{grid-template-columns:1fr!important;gap:8px}.compact-gallery .gallery-main{min-height:270px;border-radius:18px!important}.compact-gallery .gallery-side{grid-template-columns:1fr 1fr;grid-template-rows:1fr;gap:8px}.compact-gallery .gallery-side button{min-height:132px;border-radius:16px!important}.product-side-panel{padding:18px;border-radius:18px}.product-safe-list{grid-template-columns:1fr}.blog-list-v7{padding-bottom:48px}.search-suggestions{display:none!important}
}

/* Casa Curata v8: favicon/logo-only, rich search, article layout, wider admin */
.full-bleed-header{max-width:none;width:100%;padding-left:clamp(20px,4.5vw,88px);padding-right:clamp(20px,4.5vw,88px)}
.symbol-only span{display:none!important}.brand.symbol-only{gap:0}.brand.symbol-only img{width:54px;height:54px}.footer-brand.symbol-only img{width:46px;height:46px}
.search-suggestions{padding:8px;min-width:420px}.rich-search-suggestion{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center;padding:10px;border-radius:14px}.rich-search-suggestion img{width:58px;height:58px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:12px;padding:5px}.rich-search-suggestion .suggestion-text{min-width:0}.rich-search-suggestion strong{display:block;font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}.rich-search-suggestion small{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.92rem}.code-pill.mini{font-size:.76rem;padding:3px 8px;color:var(--blue);background:#fff}
.lightbox{position:fixed;inset:0;background:rgba(9,15,25,.82);display:none;align-items:center;justify-content:center;z-index:100;padding:34px}.lightbox.open{display:flex}.lightbox img{max-width:min(1120px,82vw);max-height:82vh;object-fit:contain;background:#fff;border-radius:18px;padding:18px}.lightbox-close,.lightbox-arrow{position:absolute;border:0;background:#fff;color:var(--ink);border-radius:999px;cursor:pointer;display:flex;align-items:center;justify-content:center}.lightbox-close{top:24px;right:24px;width:54px;height:54px;font-size:2rem}.lightbox-arrow{top:50%;transform:translateY(-50%);width:62px;height:62px;font-size:3rem;line-height:1}.lightbox-prev{left:28px}.lightbox-next{right:28px}.lightbox-arrow:hover,.lightbox-close:hover{background:var(--soft)}
.blog-title-v8{max-width:var(--max)}.blog-list-v8{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-bottom:110px;margin-bottom:24px}.article-card-wide{display:grid;grid-template-columns:220px 1fr;gap:24px;align-items:center;min-height:0;padding:20px;border-radius:22px}.article-thumb{height:170px;border:1px solid var(--line);border-radius:18px;display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden}.article-thumb img{width:100%;height:100%;object-fit:contain;padding:14px}.article-card-wide h2{font-size:clamp(1.35rem,1.5vw,1.75rem)}.article-detail-v8{max-width:var(--max);padding-bottom:110px}.article-hero-v8{display:grid;grid-template-columns:1.2fr .8fr;gap:42px;align-items:center}.article-hero-v8 img{width:100%;max-height:420px;object-fit:contain;border:1px solid var(--line);border-radius:24px;padding:24px;background:#fff}.article-content-v8{max-width:960px}.article-content-v8 a{color:var(--blue);font-weight:560;border-bottom:1px solid rgba(7,54,164,.22)}
.admin-page{max-width:none;width:100%;padding-left:clamp(20px,3vw,58px);padding-right:clamp(20px,3vw,58px)}.admin-page .admin-top,.admin-page .admin-block{max-width:1760px;margin-left:auto;margin-right:auto}.admin-block{border:1px solid var(--line);border-radius:24px;padding:24px;background:#fff}.admin-block .section-head{margin-bottom:18px}.admin-table-wrap{border-radius:18px}.admin-table{font-size:.96rem}.admin-table th{background:#fafafa;color:#344054;font-weight:650}.admin-table td,.admin-table th{padding:16px 18px}.admin-table td:nth-child(2){min-width:260px}.admin-table td:nth-child(3){min-width:150px}.admin-table td:last-child{min-width:180px}.admin-form{max-width:1200px;background:#fff}
.footer.simple-footer{max-width:none;width:100%;padding-left:clamp(20px,4.5vw,88px);padding-right:clamp(20px,4.5vw,88px)}
@media(max-width:1180px){.search-suggestions{min-width:0}.blog-list-v8{grid-template-columns:1fr}.article-hero-v8{grid-template-columns:1fr}.admin-block{padding:18px}.admin-table{min-width:980px}}
@media(max-width:680px){.brand.symbol-only img{width:42px;height:42px}.rich-search-suggestion{grid-template-columns:48px 1fr}.rich-search-suggestion img{width:48px;height:48px}.blog-list-v8{padding-bottom:72px}.article-card-wide{grid-template-columns:1fr;padding:16px}.article-thumb{height:210px}.article-hero-v8{gap:24px}.lightbox{padding:10px}.lightbox img{max-width:90vw;max-height:74vh;padding:10px}.lightbox-arrow{width:46px;height:46px;font-size:2.2rem}.lightbox-prev{left:10px}.lightbox-next{right:10px}.lightbox-close{top:10px;right:10px;width:46px;height:46px}.admin-page{padding-left:14px;padding-right:14px}}

/* Casa Curata v9: SQLite admin media, image previews, cleaner hero alignment */
.hero-simple{grid-template-columns:1fr .92fr;align-items:center}.hero-gif{justify-content:flex-start;padding-left:clamp(12px,1.8vw,30px);padding-right:clamp(28px,5vw,92px)}.hero-gif img{width:min(100%,650px);max-height:455px;object-position:left center}.hero-copy{padding-right:clamp(18px,2vw,38px)}
.admin-edit-page .admin-form{max-width:1760px}.admin-edit-head{display:flex;align-items:end;justify-content:space-between;gap:24px}.admin-edit-head p{color:var(--muted);font-size:1.1rem}.admin-form-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.55fr);gap:28px;align-items:start}.admin-form-main,.admin-media-panel{border:1px solid var(--line);border-radius:24px;background:#fff;padding:24px}.admin-media-panel{position:sticky;top:112px}.admin-media-panel h2{font-size:1.55rem;color:var(--blue);margin:0 0 8px;letter-spacing:-.04em;font-weight:560}.admin-media-panel p{color:var(--muted);margin:0 0 18px}.admin-image-thumbs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.admin-image-thumb{border:1px solid var(--line);border-radius:16px;padding:10px;background:#fff;display:block!important}.admin-image-thumb img{width:100%;height:118px;object-fit:contain;background:#fff}.admin-image-thumb span{display:block;font-size:.78rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:8px}.admin-image-thumb small{display:flex;align-items:center;gap:6px;font-size:.78rem;color:#344054;margin-top:5px}.admin-image-thumb input{width:16px!important;height:16px!important}.empty-media{border:1px dashed var(--line);border-radius:16px;padding:26px;text-align:center;color:var(--muted);margin-bottom:18px}.admin-article-preview{border:1px solid var(--line);border-radius:18px;padding:12px;background:#fff;margin-bottom:18px}.admin-article-preview img{width:100%;max-height:240px;object-fit:contain}.admin-save-bar{grid-column:1 / -1;display:flex;gap:12px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:18px}.admin-form input[type=file]{height:auto;padding:14px;border-radius:16px}.admin-form textarea[name=content]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.92rem;line-height:1.6}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse}.admin-top{margin-bottom:26px}
@media(max-width:1180px){.hero-simple{grid-template-columns:1fr}.hero-gif{justify-content:center;padding:20px}.hero-gif img{width:min(100%,560px);max-height:380px}.admin-form-grid{grid-template-columns:1fr}.admin-media-panel{position:static}.admin-save-bar{justify-content:flex-start}}
@media(max-width:680px){.hero-gif img{width:min(100%,420px);max-height:285px}.admin-image-thumbs{grid-template-columns:1fr}.admin-save-bar{flex-direction:column}.admin-save-bar .btn{width:100%}}


/* v10 compact product page + WhatsApp flow */
.product-main-v7{
    grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);
    gap:24px;
}
.product-under-gallery{
    grid-column:1;
    margin-top:-4px;
    border:1px solid var(--line);
    border-radius:20px;
    padding:18px 20px;
    background:#fff;
}
.product-under-gallery p{
    margin:0 0 14px;
    font-size:1.05rem;
    line-height:1.65;
    color:#344054;
}
.under-photo-list{
    grid-template-columns:repeat(4,minmax(0,1fr));
    margin:0;
}
.compact-contact-panel{
    align-self:start;
}
.horizontal-whatsapp-box{
    margin:0;
    padding:22px;
}
.horizontal-whatsapp-box h2{
    margin:0 0 6px;
    font-size:1.45rem;
    color:var(--blue);
    font-weight:560;
    letter-spacing:-.04em;
}
.horizontal-whatsapp-box > p{
    margin:0 0 16px;
    font-size:1rem;
    color:var(--muted);
}
.whatsapp-inline-form{
    display:grid;
    grid-template-columns:minmax(0,1fr) 76px;
    gap:14px;
    align-items:stretch;
}
.whatsapp-fields{min-width:0}
.wa-phone-label span{
    display:block;
    font-size:.92rem;
    margin-bottom:7px;
    color:#344054;
}
.clean-whatsapp-box .wa-phone-label{
    margin:0 0 10px;
}
.clean-whatsapp-box .wa-phone-label input{
    height:56px;
    margin:0;
}
.horizontal-whatsapp-box .checkline{
    margin:0;
    line-height:1.35;
}
.horizontal-whatsapp-box .whatsapp-submit{
    width:76px;
    height:76px;
    min-height:76px;
    align-self:end;
    border-radius:22px;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
}
.horizontal-whatsapp-box .wa-svg{
    width:34px;
    height:34px;
}
.payment-options .radio-card:first-child{
    border-color:var(--blue);
}
@media (max-width: 980px){
    .product-under-gallery{grid-column:auto;margin-top:0}
    .under-photo-list{grid-template-columns:1fr 1fr}
}
@media (max-width: 620px){
    .whatsapp-inline-form{grid-template-columns:minmax(0,1fr) 64px;gap:10px}
    .horizontal-whatsapp-box .whatsapp-submit{width:64px;height:64px;min-height:64px;border-radius:18px}
    .horizontal-whatsapp-box .wa-svg{width:30px;height:30px}
    .under-photo-list{grid-template-columns:1fr}
}
@media (min-width: 981px){
    .compact-contact-panel{grid-column:2;grid-row:1 / span 2;}
}
@media (max-width: 980px){
    .compact-contact-panel{grid-column:auto;grid-row:auto;}
}

/* Casa Curata v11: product action above WhatsApp + cleaner WhatsApp icon buttons */
.product-title-strip{
    grid-template-columns:1fr!important;
    align-items:start;
}
.product-title-strip h1{
    max-width:1240px;
}
.product-title-strip p{
    max-width:940px;
}
.product-side-buy{
    display:block!important;
    width:100%;
    border-radius:20px!important;
    padding:18px!important;
    margin:0 0 14px!important;
    white-space:normal!important;
    background:#fff;
}
.side-buy-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:14px;
}
.product-side-buy .code-pill.large{
    font-size:.8rem;
    padding:6px 10px;
    letter-spacing:.035em;
    flex:0 0 auto;
}
.side-buy-actions{
    display:grid;
    grid-template-columns:118px 1fr;
    gap:12px;
    align-items:end;
}
.product-side-buy .strip-price{
    font-size:1.78rem;
    text-align:left;
    padding:0;
}
.product-side-buy .qty-control{
    display:block;
    font-size:.9rem;
    color:var(--muted);
}
.product-side-buy .qty-control span{
    display:block;
    margin-bottom:6px;
}
.product-side-buy .qty-control input{
    width:100%;
    height:54px;
}
.product-side-buy .btn{
    width:100%;
    min-height:54px;
}
.product-side-panel{
    display:flex;
    flex-direction:column;
    gap:0;
}
.horizontal-whatsapp-box{
    border-radius:20px;
}
.whatsapp-inline-form{
    grid-template-columns:minmax(0,1fr) 64px!important;
    gap:0!important;
    align-items:end;
}
.clean-whatsapp-box .wa-phone-label{
    margin:0 0 8px;
}
.clean-whatsapp-box .wa-phone-label input{
    height:58px;
    border-radius:999px 0 0 999px!important;
    border-right:0!important;
    padding-left:18px;
}
.horizontal-whatsapp-box .whatsapp-submit{
    width:64px!important;
    height:58px!important;
    min-height:58px!important;
    border-radius:0 999px 999px 0!important;
    align-self:start;
    margin-top:27px!important;
    background:#20b038!important;
    border-color:#20b038!important;
    color:#fff!important;
}
.horizontal-whatsapp-box .wa-svg{
    width:34px!important;
    height:34px!important;
}
.horizontal-whatsapp-box .checkline{
    font-size:.86rem!important;
    line-height:1.3!important;
    margin:2px 0 0!important;
    color:#526070;
}
.horizontal-whatsapp-box .checkline input{
    width:18px!important;
    height:18px!important;
    margin-top:1px!important;
}
.whatsapp-mini.icon-only{
    width:56px!important;
    min-width:56px!important;
    height:52px!important;
    background:#20b038!important;
    border-color:#20b038!important;
    color:#fff!important;
    border-radius:999px!important;
}
.whatsapp-mini.icon-only .wa-svg{
    width:30px!important;
    height:30px!important;
}
.whatsapp-mini.icon-only:hover{
    background:#169c2f!important;
    border-color:#169c2f!important;
}
@media(max-width:680px){
    .side-buy-top{align-items:flex-start;flex-direction:column;gap:8px}
    .product-side-buy .strip-price{text-align:left;font-size:1.35rem}
    .side-buy-actions{grid-template-columns:1fr;gap:10px}
    .whatsapp-inline-form{grid-template-columns:minmax(0,1fr) 60px!important}
    .horizontal-whatsapp-box .whatsapp-submit{width:60px!important;height:56px!important;min-height:56px!important;margin-top:27px!important}
    .horizontal-whatsapp-box .wa-svg{width:31px!important;height:31px!important}
    .clean-whatsapp-box .wa-phone-label input{height:56px}
}


/* Casa Curata v12: aligned WhatsApp input/button + clearer prices */
.price strong{font-size:1.34rem;}
.product-side-buy .strip-price{font-size:1.78rem;text-align:left;}
.product-side-buy .code-pill.large{font-size:.8rem;padding:6px 10px;letter-spacing:.035em;}
.side-buy-top{align-items:center;}
.whatsapp-inline-form{display:block!important;}
.wa-phone-row{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:0;align-items:end;}
.wa-phone-row .wa-phone-label{margin:0!important;}
.wa-phone-row .wa-phone-label span{display:block;margin:0 0 6px;font-size:.92rem;line-height:1.2;color:var(--ink);}
.wa-phone-row .wa-phone-label input{height:60px!important;border-radius:999px 0 0 999px!important;border-right:0!important;margin-top:0!important;}
.wa-phone-row .whatsapp-submit{width:64px!important;height:60px!important;min-height:60px!important;margin-top:0!important;align-self:end!important;border-radius:0 999px 999px 0!important;}
.wa-phone-row .wa-svg{width:35px!important;height:35px!important;}
.horizontal-whatsapp-box .checkline{font-size:.82rem!important;line-height:1.28!important;margin-top:8px!important;}
@media(max-width:680px){
  .side-buy-top{flex-direction:row!important;align-items:center!important;}
  .product-side-buy .strip-price{font-size:1.55rem!important;text-align:left!important;}
  .product-side-buy .code-pill.large{font-size:.76rem;padding:5px 9px;}
  .wa-phone-row{grid-template-columns:minmax(0,1fr) 60px;}
  .wa-phone-row .wa-phone-label input{height:58px!important;}
  .wa-phone-row .whatsapp-submit{width:60px!important;height:58px!important;min-height:58px!important;margin-top:0!important;}
}

/* v13 admin product save visibility */
.admin-head-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.admin-head-actions .btn{min-height:54px}.admin-save-bar{position:sticky;bottom:0;z-index:25;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);margin:-4px -4px 0;padding:16px 4px 4px;border-top:1px solid var(--line)}
@media(max-width:680px){.admin-head-actions{width:100%;display:grid;grid-template-columns:1fr}.admin-head-actions .btn{width:100%}.admin-edit-head{align-items:flex-start;flex-direction:column}.admin-save-bar{padding:14px 0 0}}

/* v14 admin product media clarity + full gallery lightbox */
.admin-edit-head .admin-head-actions{display:none!important}
.admin-edit-head{align-items:flex-start}
.admin-edit-page .admin-form-grid{padding-bottom:150px}
.admin-media-panel{padding-bottom:34px}
.admin-help-text{font-size:1rem!important;line-height:1.45;color:var(--muted);margin-bottom:14px!important}
.admin-media-actions-note{border:1px solid var(--line);border-radius:18px;background:#f8fafc;padding:14px 16px;margin-bottom:16px;display:grid;gap:6px;color:#344054;font-size:.96rem}
.admin-media-actions-note strong{color:var(--blue);font-weight:620}
.admin-image-thumbs{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.admin-image-thumb{position:relative;border-radius:18px;padding:12px!important;transition:border-color .15s ease, background .15s ease}
.admin-image-thumb:hover{border-color:#94a3b8;background:#fbfdff}
.admin-image-thumb img{height:132px!important;border-radius:12px;border:1px solid var(--line);padding:8px}
.delete-image-check{margin-top:10px!important;border:1px solid #fecaca;border-radius:999px;background:#fff5f5;color:#991b1b!important;padding:8px 10px;justify-content:center;font-weight:560}
.delete-image-check input:checked + span{font-weight:700}
.upload-box{border:1px solid var(--line);border-radius:18px;background:#fff;padding:14px;margin-top:16px;display:grid;gap:12px}
.upload-box label{margin:0!important}
.manual-images-details{margin-top:16px;border:1px solid var(--line);border-radius:18px;padding:12px 14px;background:#fff}
.manual-images-details summary{cursor:pointer;color:var(--blue);font-weight:560;font-size:1rem}
.manual-images-details label{margin-top:12px!important}
.admin-save-bar{padding:16px 0!important;background:#fff!important;box-shadow:0 -16px 32px rgba(255,255,255,.94)}

.lightbox{align-items:center;justify-content:center;flex-direction:column;padding:28px 90px 26px!important}
.lightbox-stage{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:min(1120px,86vw)}
.lightbox-stage>img{max-width:min(1120px,82vw)!important;max-height:72vh!important;object-fit:contain;background:#fff;border-radius:18px;padding:16px}
.lightbox-thumbs{display:flex;gap:10px;max-width:min(900px,80vw);overflow-x:auto;padding:4px 4px 8px}
.lightbox-thumb{width:72px;height:58px;flex:0 0 auto;border:2px solid transparent;border-radius:12px;background:#fff;padding:4px;cursor:pointer;opacity:.78}
.lightbox-thumb.active{border-color:var(--cyan);opacity:1}
.lightbox-thumb img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;padding:0!important;border-radius:8px;object-fit:contain;background:#fff}

@media(max-width:1180px){.admin-edit-page .admin-form-grid{padding-bottom:170px}.admin-media-panel{padding-bottom:20px}}
@media(max-width:680px){.admin-edit-page .admin-form-grid{padding-bottom:190px}.admin-media-actions-note{font-size:.9rem}.admin-image-thumb img{height:150px!important}.lightbox{padding:12px!important}.lightbox-stage{max-width:92vw}.lightbox-stage>img{max-width:92vw!important;max-height:66vh!important;padding:10px}.lightbox-thumbs{max-width:92vw}.lightbox-thumb{width:62px;height:50px}.lightbox-arrow{top:auto!important;bottom:84px!important;transform:none!important}.lightbox-prev{left:18px!important}.lightbox-next{right:18px!important}}


/* v15 gallery/admin refinements */
.gallery-side button{position:relative}
.gallery-more-badge{
    position:absolute;
    inset:auto 12px 12px auto;
    border-radius:999px;
    background:rgba(7,17,38,.84);
    color:#fff;
    padding:7px 11px;
    font-size:.84rem;
    font-weight:560;
    line-height:1;
}
.admin-image-thumb{position:relative;overflow:hidden}
.delete-image-check{
    position:absolute;
    right:10px;
    top:10px;
    width:auto;
    height:30px;
    display:inline-flex!important;
    align-items:center!important;
    gap:5px!important;
    border:1px solid rgba(185,28,28,.16)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.94)!important;
    color:#b91c1c!important;
    padding:4px 9px!important;
    margin:0!important;
    font-size:.72rem!important;
    font-weight:560!important;
    box-shadow:none!important;
    cursor:pointer;
}
.delete-image-check input{
    width:13px!important;
    height:13px!important;
    margin:0!important;
    accent-color:#dc2626;
}
.delete-image-check:has(input:checked){
    background:#fee2e2!important;
    border-color:#fecaca!important;
}
.lightbox-close,.lightbox-arrow{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    line-height:1!important;
    text-align:center!important;
    font-family:Arial, Helvetica, sans-serif!important;
    font-weight:400!important;
}
.lightbox-close{
    font-size:0!important;
}
.lightbox-close::before{
    content:'×';
    display:block;
    font-size:31px;
    line-height:1;
    transform:translateY(-1px);
}
.lightbox-arrow{
    font-size:0!important;
}
.lightbox-prev::before,.lightbox-next::before{
    display:block;
    font-size:38px;
    line-height:1;
    transform:translateY(-2px);
}
.lightbox-prev::before{content:'‹'}
.lightbox-next::before{content:'›'}
@media(max-width:680px){
    .delete-image-check{height:32px;font-size:.74rem!important}
    .gallery-more-badge{right:9px;bottom:9px;font-size:.76rem;padding:6px 9px}
    .lightbox-close::before{font-size:29px}
    .lightbox-prev::before,.lightbox-next::before{font-size:34px}
}

/* v16 - ordine manuală produse */
.product-order-form{display:grid;gap:16px}.table-action-row{display:flex;justify-content:flex-end;padding-top:14px}.sort-order-input{width:86px!important;min-height:44px!important;margin:0!important;text-align:center;border-radius:999px!important;font-weight:650;color:var(--blue)}.order-cell{width:110px}.admin-products-table th:first-child,.admin-products-table td:first-child{text-align:center}.field-help{display:block;margin-top:8px;color:var(--muted);font-size:.9rem;font-weight:400;line-height:1.35}.admin-help-text{color:var(--muted);font-size:1rem;margin:.35rem 0 0}.admin-products-table td:nth-child(2){min-width:320px}
@media(max-width:680px){.table-action-row{justify-content:stretch}.table-action-row .btn{width:100%}.sort-order-input{width:74px!important}.admin-products-table{min-width:900px}}

/* v17 - mobile-first polish for client + admin operation */
@media (max-width: 900px){
  html{font-size:18px;}
  body{overflow-x:hidden;}
  .wide{padding-left:16px;padding-right:16px;}

  /* Header: usable on phone, no broken spacing */
  .site-header.full-bleed-header,
  .site-header{
    position:sticky;
    top:0;
    min-height:0;
    width:100%;
    max-width:none;
    padding:10px 14px 12px;
    grid-template-columns:auto 1fr auto auto;
    grid-template-areas:
      "brand spacer cart menu"
      "search search search search"
      "nav nav nav nav";
    gap:10px 12px;
    border-bottom:1px solid var(--line);
  }
  .brand{grid-area:brand;}
  .brand.symbol-only img{width:44px;height:44px;}
  .cart-link{grid-area:cart;min-height:44px;height:44px;padding:8px 12px;font-size:.95rem;}
  .cart-link strong{min-width:24px;height:24px;font-size:.82rem;}
  .menu-toggle{grid-area:menu;display:flex;width:44px;height:44px;border:1px solid var(--line);border-radius:999px;background:#fff;align-items:center;justify-content:center;font-size:1.15rem;color:var(--blue);}
  .search{grid-area:search;width:100%;height:50px;position:relative;}
  .search input{font-size:1rem;padding-left:16px;}
  .search button{height:48px;width:50px;}
  .main-nav{grid-area:nav;display:none;width:100%;justify-content:flex-start;gap:0;overflow:auto;padding:2px 0 0;border-top:1px solid var(--line);}
  .main-nav.open{display:flex;}
  .main-nav a{flex:0 0 auto;padding:11px 14px;font-size:1rem;border:0;border-radius:999px;background:#fff;}
  .main-nav a:hover{background:var(--soft);border:0;}
  .search-suggestions{left:0;right:0;top:calc(100% + 8px);min-width:0;width:100%;max-height:62vh;overflow:auto;border-radius:18px;box-shadow:none;border:1px solid var(--line);}
  .rich-search-suggestion{grid-template-columns:54px 1fr;padding:10px;}
  .rich-search-suggestion strong{font-size:.98rem;white-space:normal;line-height:1.2;}
  .rich-search-suggestion small{font-size:.86rem;flex-wrap:wrap;}

  /* Homepage and product lists */
  .hero,.hero-simple{grid-template-columns:1fr!important;min-height:auto;}
  .hero-copy{padding:44px 16px 26px;max-width:none;}
  .hero h1,.page-title h1,.text-page h1{font-size:clamp(2.35rem,12vw,4rem);line-height:1;letter-spacing:-.055em;}
  .lead{font-size:1.08rem;}
  .hero-gif{min-height:230px;justify-content:center;padding:10px 16px 34px!important;}
  .hero-gif img{width:min(100%,390px)!important;max-height:255px!important;object-fit:contain!important;}
  .trust{grid-template-columns:1fr 1fr;}
  .trust div{padding:20px 16px;border-bottom:1px solid var(--line);}
  .product-grid,.product-grid.catalog{grid-template-columns:1fr 1fr;gap:12px;}
  .product-card{min-height:0;padding:12px;border-radius:16px;}
  .product-image{min-height:150px;margin-bottom:10px;}
  .product-image img{height:140px;}
  .product-card h3{font-size:1.02rem;line-height:1.16;}
  .product-card p{font-size:.88rem;line-height:1.35;}
  .product-meta-line{align-items:flex-start;gap:8px;}
  .price strong{font-size:1.22rem;}
  .card-actions{grid-template-columns:1fr 54px;gap:8px;}
  .add-btn,.ghost-btn{height:48px;font-size:.92rem;}
  .category-row{grid-template-columns:1fr 1fr;}
  .lower-grid,.article-grid{grid-template-columns:1fr;}
}

@media (max-width: 760px){
  /* Product detail: no more offset, ordering designed for phone buying */
  .product-detail-v7{padding-top:22px;padding-bottom:34px;}
  .product-detail-v7 .breadcrumb{font-size:.9rem!important;margin-bottom:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .product-title-strip{margin-bottom:14px!important;padding-bottom:14px!important;}
  .product-title-strip h1{font-size:clamp(2rem,10vw,3rem)!important;line-height:1.04!important;margin:0 0 10px!important;letter-spacing:-.052em!important;}
  .product-title-strip p{font-size:1rem!important;line-height:1.42!important;margin:0!important;color:#475467;}
  .product-main-v7{display:flex!important;flex-direction:column!important;gap:14px!important;padding-bottom:0!important;}
  .product-side-panel{order:1;position:static!important;width:100%!important;display:flex!important;gap:12px!important;}
  .compact-gallery{order:2;display:grid!important;grid-template-columns:1fr!important;gap:8px!important;height:auto!important;max-height:none!important;min-height:0!important;}
  .product-under-gallery{order:3;margin:0!important;padding:16px!important;border-radius:18px!important;}
  .compact-gallery .gallery-main{min-height:260px!important;height:260px!important;border-radius:18px!important;}
  .compact-gallery .gallery-side{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:1fr!important;gap:8px!important;}
  .compact-gallery .gallery-side button{min-height:128px!important;height:128px!important;border-radius:16px!important;}
  .zillow-gallery img{padding:14px!important;}
  .product-side-buy{margin:0!important;padding:14px!important;border-radius:18px!important;}
  .side-buy-top{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;margin-bottom:12px!important;}
  .product-side-buy .strip-price{font-size:1.55rem!important;line-height:1!important;}
  .product-side-buy .code-pill.large{font-size:.72rem!important;padding:5px 8px!important;margin-left:auto;}
  .side-buy-actions{grid-template-columns:92px 1fr!important;gap:10px!important;align-items:end!important;}
  .product-side-buy .qty-control span{font-size:.86rem!important;margin-bottom:5px!important;}
  .product-side-buy .qty-control input{height:52px!important;border-radius:14px!important;text-align:center;}
  .product-side-buy .btn{min-height:52px!important;padding:0 14px!important;border-radius:14px!important;}
  .horizontal-whatsapp-box{padding:14px!important;border-radius:18px!important;margin:0!important;}
  .horizontal-whatsapp-box h2{font-size:1.2rem!important;margin-bottom:4px!important;}
  .horizontal-whatsapp-box>p{font-size:.9rem!important;line-height:1.35!important;margin-bottom:12px!important;}
  .wa-phone-row{grid-template-columns:minmax(0,1fr) 58px!important;}
  .wa-phone-row .wa-phone-label span{font-size:.86rem!important;margin-bottom:5px!important;}
  .wa-phone-row .wa-phone-label input{height:56px!important;font-size:1rem!important;}
  .wa-phone-row .whatsapp-submit{width:58px!important;height:56px!important;min-height:56px!important;}
  .wa-phone-row .wa-svg{width:31px!important;height:31px!important;}
  .horizontal-whatsapp-box .checkline{font-size:.76rem!important;line-height:1.25!important;gap:8px!important;}
  .product-safe-list.under-photo-list{grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .product-safe-list span{font-size:.9rem!important;padding:10px!important;border-radius:12px;}
  .product-description-grid{display:block!important;padding-top:24px!important;padding-bottom:42px!important;}
  .product-description-grid h2{font-size:1.45rem!important;margin-top:18px!important;}

  /* Lightbox better on phone */
  .lightbox{padding:10px!important;}
  .lightbox-stage{width:100%;max-width:100%;}
  .lightbox-stage>img{max-width:92vw!important;max-height:64vh!important;border-radius:16px!important;padding:10px!important;}
  .lightbox-thumbs{max-width:92vw!important;gap:8px!important;}
  .lightbox-thumb{width:58px!important;height:48px!important;}
  .lightbox-close{top:10px!important;right:10px!important;width:44px!important;height:44px!important;}
  .lightbox-arrow{width:44px!important;height:44px!important;bottom:78px!important;}

  /* Footer tighter */
  .footer,.simple-footer{padding-top:30px!important;padding-bottom:30px!important;}
}

@media (max-width: 420px){
  html{font-size:17px;}
  .wide{padding-left:14px;padding-right:14px;}
  .product-grid,.product-grid.catalog{grid-template-columns:1fr;}
  .product-card{padding:14px;}
  .product-image{min-height:180px;}
  .product-image img{height:170px;}
  .side-buy-actions{grid-template-columns:82px 1fr!important;}
  .product-side-buy .strip-price{font-size:1.42rem!important;}
  .product-safe-list.under-photo-list{grid-template-columns:1fr!important;}
}

/* v17 admin mobile: operate orders/products from phone without horizontal scrolling */
@media (max-width: 820px){
  .admin-page{padding-left:14px!important;padding-right:14px!important;}
  .admin-top{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important;}
  .admin-top h1{font-size:2.35rem!important;line-height:1!important;margin-bottom:8px!important;}
  .admin-top .btn{width:100%;}
  .admin-block{padding:16px!important;border-radius:20px!important;margin-bottom:18px!important;}
  .admin-block .section-head{align-items:flex-start!important;flex-direction:column!important;gap:12px!important;}
  .admin-block .section-head .btn{width:100%;}
  .admin-table-wrap{overflow:visible!important;border:0!important;}
  .admin-table{min-width:0!important;width:100%!important;border-collapse:separate!important;border-spacing:0 12px!important;font-size:.95rem!important;}
  .admin-table tbody,.admin-table tr,.admin-table td{display:block!important;width:100%!important;}
  .admin-table tr:first-child{display:none!important;}
  .admin-table tr{border:1px solid var(--line)!important;border-radius:18px!important;padding:12px!important;background:#fff!important;}
  .admin-table td{border:0!important;padding:8px 0!important;min-width:0!important;}
  .admin-table td::before{display:block;color:var(--muted);font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px;font-weight:700;}
  #comenzi .admin-table td:nth-child(1)::before{content:'Comandă';}
  #comenzi .admin-table td:nth-child(2)::before{content:'Client';}
  #comenzi .admin-table td:nth-child(3)::before{content:'Produse';}
  #comenzi .admin-table td:nth-child(4)::before{content:'Total';}
  #comenzi .admin-table td:nth-child(5)::before{content:'Plată';}
  #comenzi .admin-table td:nth-child(6)::before{content:'Status';}
  #produse .admin-table td:nth-child(1)::before{content:'Ordine';}
  #produse .admin-table td:nth-child(2)::before{content:'Produs';}
  #produse .admin-table td:nth-child(3)::before{content:'Cod';}
  #produse .admin-table td:nth-child(4)::before{content:'Preț';}
  #produse .admin-table td:nth-child(5)::before{content:'Stoc';}
  #produse .admin-table td:nth-child(6)::before{content:'Status';}
  #produse .admin-table td:nth-child(7)::before{content:'Editare';}
  #articole .admin-table td:nth-child(1)::before{content:'Titlu';}
  #articole .admin-table td:nth-child(2)::before{content:'Status';}
  #articole .admin-table td:nth-child(3)::before{content:'SEO';}
  #articole .admin-table td:nth-child(4)::before{content:'Editare';}
  #leaduri .admin-table td:nth-child(1)::before{content:'Data';}
  #leaduri .admin-table td:nth-child(2)::before{content:'Telefon';}
  #leaduri .admin-table td:nth-child(3)::before{content:'Produs';}
  #leaduri .admin-table td:nth-child(4)::before{content:'Accept oferte';}
  .inline-form,.payment-status-form{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:8px!important;}
  .inline-form select,.inline-form button,.payment-status-form button{width:100%!important;min-height:46px!important;border-radius:14px!important;}
  .pay-btn{margin:0!important;}
  .sort-order-input{width:100%!important;max-width:150px!important;text-align:left!important;padding-left:16px!important;}
  .table-action-row{display:block!important;padding-top:4px!important;}
  .table-action-row .btn{width:100%!important;}

  /* Admin edit form */
  .admin-edit-page{padding-left:14px!important;padding-right:14px!important;}
  .admin-edit-page p:first-child{margin-top:10px!important;}
  .admin-edit-head h1{font-size:2.2rem!important;line-height:1!important;}
  .admin-edit-head p{font-size:1rem!important;line-height:1.4!important;}
  .admin-form-grid{display:flex!important;flex-direction:column!important;gap:14px!important;padding-bottom:128px!important;}
  .admin-form-main,.admin-media-panel{padding:16px!important;border-radius:20px!important;width:100%!important;position:static!important;}
  .admin-form .two,.admin-form .three,.two,.three{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .admin-form label{font-size:.96rem!important;}
  .admin-form input,.admin-form select,.admin-form textarea{width:100%!important;min-height:50px!important;border-radius:14px!important;font-size:1rem!important;}
  .admin-form textarea{min-height:118px!important;}
  .admin-image-thumbs{grid-template-columns:1fr 1fr!important;gap:10px!important;}
  .admin-image-thumb{padding:8px!important;border-radius:16px!important;}
  .admin-image-thumb img{height:118px!important;}
  .admin-image-thumb span{font-size:.72rem!important;}
  .delete-image-check{height:28px!important;font-size:0!important;padding:4px 7px!important;}
  .delete-image-check span{font-size:.7rem!important;}
  .upload-box{padding:12px!important;border-radius:16px!important;}
  .admin-save-bar{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:60!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid var(--line)!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;box-shadow:0 -10px 30px rgba(17,24,39,.06)!important;}
  .admin-save-bar .btn{width:100%!important;min-height:52px!important;padding:0 12px!important;}
}

@media (max-width: 430px){
  .admin-image-thumbs{grid-template-columns:1fr!important;}
  .admin-image-thumb img{height:160px!important;}
  .admin-save-bar{grid-template-columns:1fr!important;}
  .admin-form-grid{padding-bottom:186px!important;}
}


/* v18 - mobile product/search polish */
.products-search button{
    width:56px!important;
    min-width:56px!important;
    padding:0!important;
    border-radius:999px!important;
    font-size:1.45rem!important;
    line-height:1!important;
}
@media(max-width:900px){
    .cart-link:before{content:none!important;display:none!important;}
    .cart-link{font-size:.95rem!important;}
}
@media(max-width:760px){
    .products-search{height:54px!important;}
    .products-search input{font-size:1rem!important;padding-left:16px!important;}
    .products-search button{
        width:52px!important;
        min-width:52px!important;
        height:52px!important;
        min-height:52px!important;
        margin:0 1px 0 0!important;
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
    }
    .product-main-v7{width:100%!important;align-items:stretch!important;}
    .compact-gallery{
        width:100%!important;
        max-width:100%!important;
        margin-left:0!important;
        margin-right:0!important;
    }
    .compact-gallery .gallery-main,
    .compact-gallery .gallery-side,
    .compact-gallery .gallery-side button{
        width:100%!important;
        max-width:100%!important;
    }
    .compact-gallery .gallery-main{height:245px!important;min-height:245px!important;}
    .compact-gallery .gallery-side button{height:118px!important;min-height:118px!important;}
    .zillow-gallery img{padding:10px!important;}
    .product-side-buy,
    .horizontal-whatsapp-box,
    .product-under-gallery{border-radius:24px!important;}
    .product-side-buy .btn,
    .add-btn,
    .btn,
    .ghost-btn,
    .whatsapp-mini.icon-only,
    .wa-phone-row .whatsapp-submit,
    .clean-whatsapp-box .wa-phone-label input{
        border-radius:999px!important;
    }
    .wa-phone-row .wa-phone-label input{border-radius:999px 0 0 999px!important;}
    .wa-phone-row .whatsapp-submit{border-radius:0 999px 999px 0!important;}
    .side-buy-actions{
        grid-template-columns:76px 1fr!important;
        gap:10px!important;
        align-items:end!important;
    }
    .product-side-buy .qty-control input{
        height:48px!important;
        min-height:48px!important;
        border-radius:999px!important;
        font-size:1.05rem!important;
        padding:0 8px!important;
    }
    .product-side-buy .btn{
        min-height:48px!important;
        height:48px!important;
        padding:0 16px!important;
        white-space:nowrap!important;
    }
    .product-side-buy .strip-price{font-size:1.5rem!important;}
}
@media(max-width:420px){
    .side-buy-actions{grid-template-columns:70px 1fr!important;}
    .compact-gallery .gallery-main{height:230px!important;min-height:230px!important;}
    .compact-gallery .gallery-side button{height:108px!important;min-height:108px!important;}
    .product-title-strip h1{font-size:clamp(1.9rem,9.5vw,2.65rem)!important;}
}


/* v19 - cantitate fara label, input ca buton */
.product-side-buy .qty-no-label{
    display:block!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
}
.product-side-buy .qty-no-label input{
    width:100%!important;
    height:54px!important;
    min-height:54px!important;
    border:1px solid var(--line)!important;
    border-radius:999px!important;
    background:#fff!important;
    font-size:1.08rem!important;
    font-weight:650!important;
    color:var(--ink)!important;
    text-align:center!important;
    padding:0 10px!important;
    line-height:1!important;
    appearance:textfield;
    -moz-appearance:textfield;
}
.product-side-buy .qty-no-label input::-webkit-outer-spin-button,
.product-side-buy .qty-no-label input::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}
@media(max-width:760px){
    .side-buy-actions{
        grid-template-columns:68px 1fr!important;
        align-items:stretch!important;
    }
    .product-side-buy .qty-no-label,
    .product-side-buy .qty-no-label input,
    .product-side-buy .btn{
        height:48px!important;
        min-height:48px!important;
    }
    .product-side-buy .qty-no-label input{
        border-radius:999px!important;
        font-size:1.05rem!important;
    }
}
@media(max-width:420px){
    .side-buy-actions{grid-template-columns:64px 1fr!important;}
}

/* v20 - admin mobile cards with product/article thumbnails */
.admin-product-main,
.admin-article-main{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:320px;
}
.admin-list-thumb{
    width:58px;
    height:58px;
    flex:0 0 58px;
    object-fit:contain;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    padding:5px;
}
.admin-list-thumb.article{
    object-fit:cover;
}
.admin-list-text{
    min-width:0;
    display:grid;
    gap:4px;
}
.admin-list-text strong{
    display:block;
    font-weight:620;
    color:var(--blue);
    line-height:1.2;
}
.admin-list-text small{
    display:block;
    color:var(--muted);
    line-height:1.35;
}
.admin-status-pill{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:4px 10px;
    border:1px solid var(--line);
    border-radius:999px;
    background:#fff;
    font-size:.86rem;
    color:#344054;
}
.admin-price-cell strong{
    font-size:1.05rem;
    color:var(--blue);
    font-weight:650;
}

@media (max-width: 820px){
    #produse .admin-table tr,
    #articole .admin-table tr{
        display:grid!important;
        grid-template-columns:1fr 1fr!important;
        gap:10px!important;
        padding:14px!important;
        border-radius:20px!important;
    }
    #produse .admin-table tr:first-child,
    #articole .admin-table tr:first-child{
        display:none!important;
    }
    #produse .admin-table td,
    #articole .admin-table td{
        width:auto!important;
        min-width:0!important;
        padding:10px 12px!important;
        border:1px solid var(--line)!important;
        border-radius:14px!important;
        background:#fbfdff!important;
    }
    #produse .admin-table td::before,
    #articole .admin-table td::before{
        margin-bottom:5px!important;
    }
    #produse .admin-table td:nth-child(2),
    #articole .admin-table td:nth-child(1){
        grid-column:1 / -1!important;
        display:grid!important;
        grid-template-columns:72px minmax(0,1fr)!important;
        align-items:center!important;
        gap:12px!important;
        background:#fff!important;
        padding:12px!important;
    }
    #produse .admin-table td:nth-child(2)::before,
    #articole .admin-table td:nth-child(1)::before{
        grid-column:1 / -1!important;
    }
    #produse .admin-list-thumb,
    #articole .admin-list-thumb{
        width:72px!important;
        height:72px!important;
        flex-basis:72px!important;
        border-radius:16px!important;
    }
    #produse .admin-list-text strong,
    #articole .admin-list-text strong{
        font-size:1rem!important;
        line-height:1.2!important;
    }
    #produse .admin-list-text small,
    #articole .admin-list-text small{
        font-size:.86rem!important;
        display:-webkit-box!important;
        -webkit-line-clamp:2!important;
        -webkit-box-orient:vertical!important;
        overflow:hidden!important;
    }
    #produse .admin-table td:nth-child(7),
    #articole .admin-table td:nth-child(4){
        grid-column:1 / -1!important;
        padding:0!important;
        border:0!important;
        background:transparent!important;
    }
    #produse .admin-table td:nth-child(7)::before,
    #articole .admin-table td:nth-child(4)::before{
        display:none!important;
    }
    #produse .admin-edit-cell .admin-link,
    #articole .admin-edit-cell .admin-link{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        min-height:50px!important;
        width:100%!important;
        border-radius:999px!important;
        background:var(--blue)!important;
        color:#fff!important;
        font-weight:650!important;
    }
    #produse .sort-order-input{
        max-width:none!important;
        width:100%!important;
        text-align:center!important;
        padding-left:0!important;
        min-height:42px!important;
        background:#fff!important;
    }
    #produse .admin-code-cell .code-pill,
    #produse .admin-status-cell .admin-status-pill,
    #articole .admin-status-cell .admin-status-pill{
        width:100%!important;
        justify-content:center!important;
    }
    #produse .admin-price-cell strong{
        display:block!important;
        font-size:1.12rem!important;
        line-height:1.2!important;
    }
    #produse .admin-stock-cell{
        font-weight:650!important;
        color:#344054!important;
    }
    #articole .admin-table td:nth-child(3){
        grid-column:1 / -1!important;
    }
}

@media (max-width: 380px){
    #produse .admin-table tr,
    #articole .admin-table tr{
        grid-template-columns:1fr!important;
    }
    #produse .admin-table td:nth-child(2),
    #articole .admin-table td:nth-child(1){
        grid-template-columns:64px minmax(0,1fr)!important;
    }
    #produse .admin-list-thumb,
    #articole .admin-list-thumb{
        width:64px!important;
        height:64px!important;
    }
}
