/*
Theme Name: Ypsilon Core V34 Services Manager Pro
Theme URI: https://www.ypsiloncomputers.be
Author: Yuksel Erol / ChatGPT
Description: Lightweight WooCommerce theme for Ypsilon Computers with Shop Pro + Single Product Pro layouts + Toolkit compatibility + Customizer options + Cart/Checkout Pro + SEO/Performance Pro + Modern editable homepage sections + Services Manager custom post type.
Version: 34.0
License: GPLv2 or later
Text Domain: ypsilon-core
*/

:root{
    --yp-bg:#f4f7fb;
    --yp-surface:#ffffff;
    --yp-dark:#0f172a;
    --yp-darker:#070f1f;
    --yp-text:#111827;
    --yp-muted:#64748b;
    --yp-blue:#2563eb;
    --yp-cyan:#06b6d4;
    --yp-green:#16a34a;
    --yp-purple:#7c3aed;
    --yp-orange:#f97316;
    --yp-red:#dc2626;
    --yp-border:#e5e7eb;
    --yp-soft:#f8fafc;
    --yp-shadow:0 18px 45px rgba(15,23,42,.08);
    --yp-shadow-soft:0 10px 25px rgba(15,23,42,.06);
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;background:var(--yp-bg);color:var(--yp-text);line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.yp-container{width:min(1440px,92%);margin:0 auto}

.yp-top-strip{background:var(--yp-darker);color:#cbd5e1;font-size:.88rem}
.yp-top-strip-inner{display:flex;justify-content:space-between;gap:16px;padding:8px 0;flex-wrap:wrap}
.yp-header{position:sticky;top:0;z-index:999;background:rgba(255,255,255,.95);backdrop-filter:blur(15px);border-bottom:1px solid rgba(15,23,42,.08)}
.yp-header-inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;padding:17px 0}
.yp-logo{font-weight:950;font-size:1.9rem;letter-spacing:-.045em;white-space:nowrap}
.yp-logo span{background:linear-gradient(90deg,var(--yp-blue),var(--yp-green),var(--yp-cyan));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.yp-nav ul{list-style:none;padding:0;margin:0;display:flex;justify-content:center;gap:25px}
.yp-nav a{font-weight:850;color:var(--yp-text);font-size:.95rem}
.yp-nav a:hover{color:var(--yp-blue)}
.yp-header-actions{display:flex;gap:12px;align-items:center}
.yp-pill{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;background:#eef2ff;color:#3730a3;border-radius:999px;font-weight:850;font-size:.9rem}

.yp-section{padding:76px 0}
.yp-section-alt{background:#fff}
.yp-section-title{font-size:clamp(2rem,3vw,3rem);line-height:1;margin:0;letter-spacing:-.04em}
.yp-section-sub{color:var(--yp-muted);margin:10px 0 0;max-width:780px}
.yp-card{background:#fff;border:1px solid var(--yp-border);border-radius:22px;box-shadow:var(--yp-shadow-soft);padding:24px}
.yp-content-page{background:#fff;border:1px solid var(--yp-border);border-radius:24px;padding:34px;box-shadow:var(--yp-shadow-soft)}
.yp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:15px 24px;border-radius:16px;font-weight:950;transition:.22s ease;border:1px solid transparent}
.yp-btn:hover{transform:translateY(-3px)}
.yp-btn-primary{color:#fff;background:linear-gradient(90deg,var(--yp-blue),var(--yp-green));box-shadow:var(--yp-shadow-soft)}
.yp-btn-secondary{background:#fff;border-color:var(--yp-border);color:var(--yp-text)}

/* Homepage editable blocks kept */
.yp-edit-hero{overflow:hidden;padding:86px 0 62px;background:radial-gradient(circle at 12% 10%,rgba(37,99,235,.23),transparent 28%),radial-gradient(circle at 88% 12%,rgba(22,163,74,.18),transparent 26%),linear-gradient(135deg,#f8fbff,#eef6ff 48%,#ecfdf5)}
.yp-edit-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.yp-kicker{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:#dcfce7;color:#166534;font-weight:950;margin-bottom:18px}
.yp-edit-hero h1{font-size:clamp(2.6rem,5vw,5.35rem);line-height:.94;letter-spacing:-.058em;margin:0 0 22px}
.yp-gradient{background:linear-gradient(90deg,var(--yp-blue),var(--yp-green),var(--yp-cyan));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.yp-edit-hero p{max-width:720px;font-size:1.12rem;color:var(--yp-muted);margin:0}
.yp-hero-buttons{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.yp-hero-panel{position:relative;border-radius:34px;padding:22px;background:linear-gradient(145deg,rgba(15,23,42,1),rgba(17,24,39,1));box-shadow:0 30px 80px rgba(15,23,42,.22)}
.yp-hero-panel img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:26px}
.yp-floating{position:absolute;left:-18px;bottom:28px;background:#fff;padding:18px 20px;border-radius:20px;box-shadow:var(--yp-shadow);font-weight:950}
.yp-floating small{display:block;color:var(--yp-muted);font-weight:750;margin-top:4px}
.yp-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.yp-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.yp-grid-6{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}
.yp-card strong{display:block;font-size:1.05rem;margin-bottom:6px}
.yp-card p,.yp-card span{color:var(--yp-muted);margin:0}
.yp-card-icon{font-size:2rem;margin-bottom:14px}
.yp-category{min-height:150px;display:flex;flex-direction:column;justify-content:space-between;transition:.22s ease}
.yp-category:hover{transform:translateY(-5px);border-color:#bfdbfe}

/* Product grids / shop */
.yp-product-grid,.yp-shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:24px}
.yp-product-card,.yp-shop-card{position:relative;overflow:hidden;background:#fff;border:1px solid var(--yp-border);border-radius:22px;box-shadow:var(--yp-shadow-soft);transition:.22s ease}
.yp-product-card:hover,.yp-shop-card:hover{transform:translateY(-5px);box-shadow:var(--yp-shadow)}
.yp-product-image,.yp-shop-card-image{aspect-ratio:1/1;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden}
.yp-product-image img,.yp-shop-card-image img{width:100%;height:100%;object-fit:contain;padding:18px}
.yp-badge{position:absolute;top:14px;left:14px;display:inline-flex;padding:7px 12px;border-radius:999px;color:#fff;background:linear-gradient(90deg,var(--yp-blue),var(--yp-purple));font-weight:950;font-size:.75rem;z-index:3}
.yp-product-content,.yp-shop-card-content{padding:20px}
.yp-product-content h3,.yp-shop-card h2{margin:0 0 10px;line-height:1.25;font-size:1.05rem}
.yp-product-price,.yp-shop-card .price{display:block;font-weight:950;font-size:1.22rem;margin:8px 0;color:var(--yp-text)}
.yp-product-stock,.yp-shop-stock{color:var(--yp-green);font-weight:850;font-size:.9rem}
.yp-card-actions,.yp-shop-card-actions{margin-top:16px;display:flex;gap:10px;flex-wrap:wrap}
.yp-small-btn,.yp-shop-card-actions a,.yp-shop-card-actions .button{padding:10px 12px!important;border-radius:12px!important;background:#f1f5f9!important;color:var(--yp-text)!important;font-weight:850!important;font-size:.88rem!important;border:0!important;line-height:1!important}
.yp-shop-card-actions .add_to_cart_button{background:linear-gradient(90deg,var(--yp-blue),var(--yp-green))!important;color:#fff!important}

/* Shop Pro */
.yp-shop-hero{padding:58px 0 34px;background:radial-gradient(circle at 18% 0%,rgba(37,99,235,.20),transparent 26%),radial-gradient(circle at 82% 12%,rgba(22,163,74,.16),transparent 25%),linear-gradient(135deg,#f8fbff,#edf7ff)}
.yp-shop-hero-inner{display:flex;justify-content:space-between;gap:24px;align-items:end;flex-wrap:wrap}
.yp-shop-hero h1{font-size:clamp(2.3rem,4vw,4.2rem);line-height:1;letter-spacing:-.05em;margin:0 0 12px}
.yp-shop-hero p{margin:0;color:var(--yp-muted);max-width:740px}
.yp-shop-trust{display:flex;gap:12px;flex-wrap:wrap}
.yp-shop-trust span{background:#fff;border:1px solid var(--yp-border);box-shadow:var(--yp-shadow-soft);border-radius:999px;padding:9px 13px;font-weight:850;font-size:.9rem}
.yp-shop-layout{display:grid;grid-template-columns:290px 1fr;gap:28px;align-items:start}
.yp-shop-sidebar{background:#fff;border:1px solid var(--yp-border);border-radius:24px;padding:22px;box-shadow:var(--yp-shadow-soft);position:sticky;top:105px}
.yp-shop-sidebar h3{margin:0 0 16px}
.yp-shop-search{display:flex;gap:8px;margin-bottom:20px}
.yp-shop-search input{width:100%;border:1px solid var(--yp-border);border-radius:14px;padding:12px 14px;font-weight:700}
.yp-shop-search button{border:0;border-radius:14px;background:var(--yp-blue);color:#fff;padding:0 14px;font-weight:950}
.yp-shop-cat{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #f1f5f9;color:var(--yp-muted)}
.yp-shop-cat strong{color:var(--yp-text)}
.yp-shop-toolbar{background:#fff;border:1px solid var(--yp-border);border-radius:20px;padding:14px 16px;margin-bottom:22px;box-shadow:var(--yp-shadow-soft);display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap}
.yp-shop-toolbar .woocommerce-result-count{margin:0;color:var(--yp-muted);font-weight:750}
.yp-shop-toolbar .woocommerce-ordering{margin:0}
.yp-shop-toolbar select{border:1px solid var(--yp-border);border-radius:12px;padding:10px 12px;font-weight:750;background:#fff}
.yp-shop-pagination{margin-top:34px}
.yp-shop-pagination .page-numbers{display:inline-flex;min-width:42px;height:42px;align-items:center;justify-content:center;background:#fff;border:1px solid var(--yp-border);border-radius:12px;margin:3px;font-weight:850}
.yp-shop-pagination .current{color:#fff;background:var(--yp-blue)}
.yp-shop-empty{background:#fff;border:1px solid var(--yp-border);border-radius:24px;padding:34px;box-shadow:var(--yp-shadow-soft)}

/* V23 Single Product Pro */
.yp-single-wrap{padding:54px 0}
.yp-breadcrumb{color:var(--yp-muted);font-size:.92rem;margin-bottom:18px}
.yp-single-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(360px,.75fr);gap:34px;align-items:start}
.yp-single-gallery{background:#fff;border:1px solid var(--yp-border);border-radius:28px;padding:24px;box-shadow:var(--yp-shadow-soft)}
.yp-main-product-image{background:#f8fafc;border-radius:22px;min-height:480px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.yp-main-product-image img{width:100%;height:100%;object-fit:contain;padding:22px}
.yp-gallery-note{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}
.yp-gallery-note span{background:#f8fafc;border:1px solid var(--yp-border);padding:12px;border-radius:14px;font-size:.86rem;font-weight:850;color:var(--yp-muted);text-align:center}
.yp-single-summary{background:#fff;border:1px solid var(--yp-border);border-radius:28px;padding:28px;box-shadow:var(--yp-shadow);position:sticky;top:108px}
.yp-single-badge-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.yp-single-badge{display:inline-flex;padding:8px 13px;border-radius:999px;background:#eef2ff;color:#3730a3;font-weight:950;font-size:.82rem}
.yp-single-summary h1{font-size:clamp(1.8rem,3vw,3rem);line-height:1.05;letter-spacing:-.04em;margin:0 0 14px}
.yp-single-price{font-size:1.65rem;font-weight:950;margin:18px 0;color:var(--yp-text)}
.yp-single-stock{color:var(--yp-green);font-weight:900;margin-bottom:16px}
.yp-short-desc{color:var(--yp-muted);margin:18px 0}
.yp-single-summary form.cart{margin-top:22px;display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.yp-single-summary .quantity input{border:1px solid var(--yp-border);border-radius:14px;padding:12px;min-height:48px}
.yp-single-summary .single_add_to_cart_button{border:0!important;border-radius:16px!important;background:linear-gradient(90deg,var(--yp-blue),var(--yp-green))!important;color:#fff!important;font-weight:950!important;padding:16px 24px!important;min-height:52px}
.yp-buy-box{margin-top:22px;display:grid;gap:12px}
.yp-buy-line{display:flex;gap:12px;align-items:flex-start;background:#f8fafc;border:1px solid var(--yp-border);border-radius:16px;padding:14px}
.yp-buy-line strong{display:block;line-height:1.2}
.yp-buy-line span{color:var(--yp-muted);font-size:.9rem}
.yp-single-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:28px}
.yp-info-card{background:#fff;border:1px solid var(--yp-border);border-radius:20px;padding:18px;box-shadow:var(--yp-shadow-soft)}
.yp-info-card strong{display:block;margin-bottom:5px}
.yp-info-card span{color:var(--yp-muted);font-size:.9rem}
.yp-product-content-area{margin-top:36px;display:grid;grid-template-columns:1fr 360px;gap:28px;align-items:start}
.yp-product-description,.yp-product-sidepanel{background:#fff;border:1px solid var(--yp-border);border-radius:24px;padding:28px;box-shadow:var(--yp-shadow-soft)}
.yp-product-description h2{font-size:2rem;letter-spacing:-.03em;margin-top:0}
.yp-product-sidepanel{position:sticky;top:108px}
.yp-side-list{display:grid;gap:12px}
.yp-side-list div{background:#f8fafc;border:1px solid var(--yp-border);border-radius:16px;padding:14px;font-weight:850}
.yp-related-wrap{margin-top:44px}
.yp-related-wrap h2{font-size:2rem;letter-spacing:-.03em}

/* Footer */
.yp-footer{background:var(--yp-dark);color:#cbd5e1;padding:62px 0}
.yp-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}
.yp-footer h3,.yp-footer h2{color:#fff}
.yp-footer a{display:block;color:#93c5fd;margin:9px 0}

/* Woo fallback */
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(245px,1fr))!important;gap:24px!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff;border:1px solid var(--yp-border);border-radius:22px;padding:16px!important;box-shadow:var(--yp-shadow-soft)}
.woocommerce ul.products li.product img{aspect-ratio:1/1;object-fit:contain;background:#f8fafc;border-radius:16px;padding:12px}
.woocommerce ul.products li.product .button{border-radius:12px!important;background:linear-gradient(90deg,var(--yp-blue),var(--yp-green))!important;color:#fff!important;font-weight:850!important}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none!important;width:auto!important}
.woocommerce .woocommerce-breadcrumb{color:var(--yp-muted);margin-bottom:18px}
.woocommerce-notices-wrapper{margin-bottom:18px}

@media(max-width:1120px){
    .yp-header-inner{grid-template-columns:1fr;gap:14px}
    .yp-nav ul{justify-content:flex-start;overflow:auto;padding-bottom:4px}
    .yp-edit-hero-grid,.yp-single-grid,.yp-product-content-area{grid-template-columns:1fr}
    .yp-single-summary,.yp-product-sidepanel{position:relative;top:auto}
    .yp-grid-4{grid-template-columns:repeat(2,1fr)}
    .yp-grid-6{grid-template-columns:repeat(3,1fr)}
    .yp-grid-3{grid-template-columns:1fr}
    .yp-shop-layout{grid-template-columns:1fr}
    .yp-shop-sidebar{position:relative;top:auto}
    .yp-single-info-grid{grid-template-columns:repeat(2,1fr)}
    .yp-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
    .yp-top-strip-inner{display:block}
    .yp-header-actions{display:none}
    .yp-grid-4,.yp-grid-6,.yp-single-info-grid,.yp-gallery-note{grid-template-columns:1fr}
    .yp-shop-grid,.woocommerce ul.products,.yp-product-grid{grid-template-columns:1fr!important}
    .yp-footer-grid{grid-template-columns:1fr}
    .yp-main-product-image{min-height:300px}
}


/* V24 Toolkit compatibility zone */
.yp-toolkit-compatible-zone{
    margin-top:28px;
}
.yp-toolkit-compatible-zone:empty{
    display:none;
}
.yp-toolkit-compatible-zone .ypsilon-engine,
.yp-toolkit-compatible-zone .ypsilon-stock-badge{
    margin-top:18px;
}


/* V25.1 Safe Header & Mobile */
.yp-header-main{
    position:sticky;
    top:0;
    z-index:999;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(15px);
    border-bottom:1px solid rgba(15,23,42,.08);
}
.yp-header-row{
    display:grid;
    grid-template-columns:auto minmax(280px,1fr) auto;
    align-items:center;
    gap:22px;
    padding:16px 0;
}
.yp-search-form{
    display:flex;
    align-items:center;
    background:#f8fafc;
    border:1px solid var(--yp-border);
    border-radius:999px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(15,23,42,.04);
}
.yp-search-form input{
    width:100%;
    border:0;
    background:transparent;
    padding:13px 16px;
    outline:none;
    font-weight:750;
    color:var(--yp-text);
}
.yp-search-form button{
    border:0;
    background:linear-gradient(90deg,var(--yp-blue),var(--yp-green));
    color:#fff;
    padding:13px 18px;
    font-weight:950;
    cursor:pointer;
}
.yp-cart-button{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:11px 14px;
    border-radius:999px;
    background:#ecfdf5;
    color:#166534;
    font-weight:950;
    white-space:nowrap;
}
.yp-mobile-toggle{
    display:none;
    border:0;
    background:#111827;
    color:#fff;
    border-radius:14px;
    padding:11px 13px;
    font-weight:950;
    cursor:pointer;
}
.yp-mobile-panel{
    display:none;
    background:#fff;
    border-top:1px solid var(--yp-border);
    box-shadow:var(--yp-shadow-soft);
}
.yp-mobile-panel-inner{padding:16px 0 20px}
.yp-mobile-panel ul{
    list-style:none;
    padding:0;
    margin:14px 0 0;
    display:grid;
    gap:8px;
}
.yp-mobile-panel li a{
    display:block;
    padding:12px 14px;
    border-radius:14px;
    background:#f8fafc;
    font-weight:850;
}
.yp-mobile-panel.is-open{display:block}
.yp-header-nav-row{border-top:1px solid rgba(15,23,42,.06)}
.yp-header-nav-row .yp-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:10px 0;
}
.yp-fast-links{display:flex;gap:10px;flex-wrap:wrap}
.yp-fast-links a{
    display:inline-flex;
    padding:8px 12px;
    border-radius:999px;
    background:#f8fafc;
    border:1px solid var(--yp-border);
    color:var(--yp-muted);
    font-size:.86rem;
    font-weight:850;
}
.yp-fast-links a:hover{
    color:var(--yp-blue);
    border-color:#bfdbfe;
}
.yp-header .yp-header-inner{display:none}
.yp-nav-desktop ul{
    list-style:none;
    padding:0;
    margin:0;
    display:flex;
    gap:24px;
}
.yp-nav-desktop a{font-weight:850}
.yp-nav-desktop a:hover{color:var(--yp-blue)}

@media(max-width:980px){
    .yp-header-row{grid-template-columns:auto auto}
    .yp-header-row .yp-search-form,
    .yp-header-row .yp-cart-button,
    .yp-header-nav-row{display:none}
    .yp-mobile-toggle{display:inline-flex;justify-self:end}
    .yp-mobile-panel .yp-search-form{display:flex;margin-bottom:14px}
    .yp-mobile-panel .yp-cart-button{display:inline-flex;margin-bottom:10px}
}


/* V26 Customizer Pro */
.yp-customizer-note{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:999px;
    background:#fff7ed;
    color:#9a3412;
    font-weight:850;
    font-size:.88rem;
}


/* V27 Cart & Checkout Pro */
.yp-commerce-hero{
    padding:54px 0 28px;
    background:
        radial-gradient(circle at 18% 0%,rgba(37,99,235,.18),transparent 26%),
        radial-gradient(circle at 82% 12%,rgba(22,163,74,.14),transparent 25%),
        linear-gradient(135deg,#f8fbff,#edf7ff);
}
.yp-commerce-hero h1{
    font-size:clamp(2.2rem,4vw,4rem);
    line-height:1;
    letter-spacing:-.05em;
    margin:0 0 10px;
}
.yp-commerce-hero p{
    margin:0;
    color:var(--yp-muted);
    max-width:760px;
}
.yp-commerce-trust{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-top:24px;
}
.yp-commerce-trust div{
    background:#fff;
    border:1px solid var(--yp-border);
    border-radius:18px;
    padding:16px;
    box-shadow:var(--yp-shadow-soft);
    font-weight:850;
}
.yp-commerce-trust span{
    display:block;
    color:var(--yp-muted);
    font-size:.88rem;
    font-weight:700;
    margin-top:4px;
}
.yp-cart-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:28px;
    align-items:start;
}
.yp-checkout-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:28px;
    align-items:start;
}
.yp-commerce-panel{
    background:#fff;
    border:1px solid var(--yp-border);
    border-radius:26px;
    padding:28px;
    box-shadow:var(--yp-shadow-soft);
}
.yp-commerce-sidebar{
    background:#fff;
    border:1px solid var(--yp-border);
    border-radius:26px;
    padding:24px;
    box-shadow:var(--yp-shadow);
    position:sticky;
    top:115px;
}
.yp-commerce-sidebar h3{
    margin-top:0;
}
.yp-commerce-list{
    display:grid;
    gap:12px;
}
.yp-commerce-list div{
    background:#f8fafc;
    border:1px solid var(--yp-border);
    border-radius:16px;
    padding:14px;
    font-weight:850;
}
.yp-commerce-list span{
    display:block;
    color:var(--yp-muted);
    font-size:.88rem;
    font-weight:700;
    margin-top:3px;
}
.yp-commerce-note{
    margin-top:18px;
    padding:14px;
    border-radius:16px;
    background:#ecfdf5;
    color:#166534;
    font-weight:850;
}

/* WooCommerce cart table */
.woocommerce-cart table.shop_table{
    border:0!important;
    border-collapse:separate!important;
    border-spacing:0 12px!important;
}
.woocommerce-cart table.shop_table th{
    background:#f8fafc;
    border:0!important;
    padding:14px!important;
    color:var(--yp-muted);
    font-weight:900;
}
.woocommerce-cart table.shop_table td{
    background:#fff;
    border:1px solid var(--yp-border)!important;
    border-left:0!important;
    border-right:0!important;
    padding:18px!important;
}
.woocommerce-cart table.shop_table tr.cart_item td:first-child{
    border-left:1px solid var(--yp-border)!important;
    border-radius:18px 0 0 18px;
}
.woocommerce-cart table.shop_table tr.cart_item td:last-child{
    border-right:1px solid var(--yp-border)!important;
    border-radius:0 18px 18px 0;
}
.woocommerce-cart table.cart img{
    width:90px!important;
    border-radius:14px;
    background:#f8fafc;
    padding:8px;
}
.woocommerce .quantity .qty{
    border:1px solid var(--yp-border);
    border-radius:12px;
    padding:10px;
}
.woocommerce a.remove{
    color:var(--yp-red)!important;
    font-weight:950;
}
.woocommerce-cart .cart-collaterals .cart_totals{
    width:100%!important;
    float:none!important;
    background:#fff;
    border:1px solid var(--yp-border);
    border-radius:24px;
    padding:24px;
    box-shadow:var(--yp-shadow-soft);
}
.woocommerce-cart .cart-collaterals .cart_totals h2{
    margin-top:0;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order{
    background:linear-gradient(90deg,var(--yp-blue),var(--yp-green))!important;
    color:#fff!important;
    border-radius:16px!important;
    font-weight:950!important;
    padding:16px 22px!important;
    border:0!important;
    box-shadow:var(--yp-shadow-soft);
}

/* Checkout */
.woocommerce-checkout form.checkout{
    display:block;
}
.woocommerce-checkout .col2-set{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    width:100%!important;
}
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2{
    width:100%!important;
    float:none!important;
    background:#fff;
    border:1px solid var(--yp-border);
    border-radius:24px;
    padding:24px;
    box-shadow:var(--yp-shadow-soft);
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
    border:1px solid var(--yp-border);
    border-radius:14px;
    padding:13px 14px;
    background:#f8fafc;
}
.woocommerce-checkout-review-order{
    background:#fff;
    border:1px solid var(--yp-border);
    border-radius:24px;
    padding:24px;
    box-shadow:var(--yp-shadow-soft);
}
.woocommerce-checkout #payment{
    background:#f8fafc!important;
    border-radius:20px!important;
    border:1px solid var(--yp-border);
}
.woocommerce-checkout #payment ul.payment_methods{
    border-bottom:1px solid var(--yp-border)!important;
}
.woocommerce-info,
.woocommerce-message,
.woocommerce-error{
    border-radius:18px;
    background:#fff!important;
    box-shadow:var(--yp-shadow-soft);
    border-top-color:var(--yp-blue)!important;
}

@media(max-width:1120px){
    .yp-cart-layout,
    .yp-checkout-layout,
    .woocommerce-checkout .col2-set{
        grid-template-columns:1fr;
    }
    .yp-commerce-sidebar{
        position:relative;
        top:auto;
    }
    .yp-commerce-trust{
        grid-template-columns:repeat(2,1fr);
    }
}
@media(max-width:720px){
    .yp-commerce-trust{
        grid-template-columns:1fr;
    }
    .yp-commerce-panel,
    .yp-commerce-sidebar{
        padding:20px;
    }
    .woocommerce-cart table.shop_table{
        border-spacing:0 8px!important;
    }
}


/* V27.1 WooCommerce pages fix notice */
.yp-wc-page-fix{
    background:#ecfdf5;
    color:#166534;
    border:1px solid #bbf7d0;
    padding:14px 16px;
    border-radius:16px;
    font-weight:850;
    margin:18px 0;
}


/* V28 SEO / Performance Pro */
.yp-seo-breadcrumb{
    font-size:.9rem;
    color:var(--yp-muted);
    margin:18px 0;
}
.yp-seo-breadcrumb a{
    color:var(--yp-blue);
    font-weight:850;
}
.yp-performance-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:999px;
    background:#ecfdf5;
    color:#166534;
    font-weight:900;
    font-size:.86rem;
}
.yp-skeleton{
    background:linear-gradient(90deg,#f1f5f9,#e2e8f0,#f1f5f9);
    background-size:200% 100%;
    animation:ypSkeleton 1.5s infinite;
}
@keyframes ypSkeleton{
    0%{background-position:200% 0}
    100%{background-position:-200% 0}
}


/* V29 Editable Shop Pro */
.yp-shop-editable-content{
    margin-top:28px;
    background:#fff;
    border:1px solid var(--yp-border);
    border-radius:24px;
    padding:26px;
    box-shadow:var(--yp-shadow-soft);
}
.yp-shop-editable-content:empty{
    display:none;
}
.yp-shop-editable-content h2,
.yp-shop-editable-content h3{
    margin-top:0;
}
.yp-shop-feature-row{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin-top:24px;
}
.yp-shop-feature-row div{
    background:#fff;
    border:1px solid var(--yp-border);
    border-radius:18px;
    padding:16px;
    box-shadow:var(--yp-shadow-soft);
    font-weight:850;
}
.yp-shop-feature-row span{
    display:block;
    color:var(--yp-muted);
    font-size:.88rem;
    font-weight:700;
    margin-top:4px;
}
.yp-shop-sidebar-disabled{
    grid-template-columns:1fr!important;
}
.yp-shop-sidebar-disabled .yp-shop-sidebar{
    display:none!important;
}
@media(max-width:900px){
    .yp-shop-feature-row{
        grid-template-columns:1fr;
    }
}


/* V29.2 shop display fix */
.yp-shop-debug-note{
    background:#fff7ed;
    border:1px solid #fed7aa;
    color:#9a3412;
    padding:14px 16px;
    border-radius:16px;
    margin-bottom:18px;
    font-weight:850;
}


/* V30.1 Product Emergency Fix - safe visual polish only */
.yp-single-summary{
    border-top:4px solid var(--yp-blue);
}
.yp-single-summary .yp-single-price,
.yp-single-price{
    background:linear-gradient(135deg,#f8fafc,#eef2ff);
    border:1px solid #dbeafe;
    border-radius:18px;
    padding:14px 16px;
    display:inline-block;
}
.yp-single-summary .cart,
.yp-single-summary form.cart{
    background:#fff;
    border:1px solid var(--yp-border);
    border-radius:18px;
    padding:16px;
    box-shadow:var(--yp-shadow-soft);
}
.yp-buy-box{
    margin-top:20px;
}
.yp-toolkit-compatible-zone{
    border:1px dashed #bfdbfe;
    background:#f8fbff;
    border-radius:18px;
    padding:14px;
}
.yp-product-description{
    border-top:4px solid var(--yp-green);
}
.yp-product-sidepanel{
    border-top:4px solid var(--yp-blue);
}
.yp-gallery-note span{
    background:#fff;
}


/* V31 Mobile Polish Pro */

/* Better mobile touch comfort */
button,
input,
select,
textarea,
a.button,
.yp-btn,
.yp-small-btn,
.yp-cart-button,
.yp-mobile-toggle{
    -webkit-tap-highlight-color: transparent;
}

/* Header polish */
.yp-header-main{
    box-shadow:0 6px 22px rgba(15,23,42,.04);
}
.yp-header-row{
    transition:padding .2s ease;
}
body.yp-scrolled .yp-header-row{
    padding-top:10px;
    padding-bottom:10px;
}

/* Better mobile menu panel */
.yp-mobile-panel{
    max-height:calc(100vh - 90px);
    overflow:auto;
}
.yp-mobile-panel.is-open{
    animation:ypMobilePanel .18s ease-out;
}
@keyframes ypMobilePanel{
    from{opacity:0;transform:translateY(-8px)}
    to{opacity:1;transform:translateY(0)}
}

/* Shop/category cards */
.yp-shop-card,
.yp-product-card{
    will-change:transform;
}
.yp-shop-card h2,
.yp-product-content h3{
    min-height:2.5em;
}

/* Product page visual safety */
.yp-single-gallery,
.yp-single-summary,
.yp-product-description,
.yp-product-sidepanel{
    overflow:hidden;
}
.yp-main-product-image img,
.yp-product-image img,
.yp-shop-card-image img{
    transition:transform .25s ease;
}
.yp-main-product-image:hover img,
.yp-product-card:hover img,
.yp-shop-card:hover img{
    transform:scale(1.025);
}

/* Sticky mobile bottom bar for product pages */
.yp-mobile-buy-bar{
    display:none;
}
.single-product .yp-mobile-buy-bar{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:9999;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(14px);
    border-top:1px solid var(--yp-border);
    box-shadow:0 -10px 28px rgba(15,23,42,.12);
    padding:10px 14px;
}
.yp-mobile-buy-bar-inner{
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:space-between;
}
.yp-mobile-buy-title{
    min-width:0;
    font-weight:900;
    font-size:.88rem;
    line-height:1.15;
    color:var(--yp-text);
}
.yp-mobile-buy-title span{
    display:block;
    color:var(--yp-muted);
    font-weight:750;
    font-size:.78rem;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:190px;
}
.yp-mobile-buy-button{
    display:inline-flex;
    white-space:nowrap;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    padding:11px 14px;
    background:linear-gradient(90deg,var(--yp-blue),var(--yp-green));
    color:#fff;
    font-weight:950;
    font-size:.86rem;
}

/* Improved mobile form fields */
@media(max-width:980px){
    .yp-top-strip{
        font-size:.78rem;
    }
    .yp-top-strip-inner{
        display:grid;
        gap:4px;
        text-align:center;
    }
    .yp-logo{
        font-size:1.55rem;
    }
    .yp-header-actions{
        justify-content:flex-end;
    }
    .yp-mobile-toggle{
        padding:10px 12px;
    }
    .yp-mobile-panel .yp-search-form input{
        min-height:46px;
    }
    .yp-fast-links{
        overflow:auto;
        flex-wrap:nowrap;
        padding-bottom:4px;
    }
    .yp-fast-links a{
        white-space:nowrap;
    }
}

@media(max-width:720px){
    body.single-product{
        padding-bottom:78px;
    }
    .single-product .yp-mobile-buy-bar{
        display:block;
    }
    .yp-container{
        width:min(94%,1440px);
    }
    .yp-section{
        padding:44px 0;
    }
    .yp-shop-hero,
    .yp-commerce-hero{
        padding:36px 0 24px;
    }
    .yp-shop-hero h1,
    .yp-commerce-hero h1{
        font-size:2.1rem;
    }
    .yp-shop-layout,
    .yp-cart-layout,
    .yp-checkout-layout{
        gap:18px;
    }
    .yp-shop-sidebar,
    .yp-commerce-sidebar{
        border-radius:20px;
        padding:18px;
    }
    .yp-shop-card,
    .yp-product-card,
    .yp-card,
    .yp-content-page{
        border-radius:18px;
    }
    .yp-shop-card-content,
    .yp-product-content{
        padding:16px;
    }
    .yp-shop-card-actions,
    .yp-card-actions{
        display:grid;
        grid-template-columns:1fr;
    }
    .yp-shop-card-actions a,
    .yp-shop-card-actions .button,
    .yp-small-btn{
        width:100%;
        justify-content:center;
        min-height:44px!important;
    }
    .yp-single-wrap{
        padding:26px 0;
    }
    .yp-single-grid{
        gap:18px;
    }
    .yp-single-gallery,
    .yp-single-summary,
    .yp-product-description,
    .yp-product-sidepanel{
        border-radius:20px;
        padding:18px;
    }
    .yp-main-product-image{
        min-height:280px;
        border-radius:16px;
    }
    .yp-gallery-note{
        grid-template-columns:1fr;
        gap:8px;
    }
    .yp-single-summary h1{
        font-size:1.65rem;
    }
    .yp-single-price{
        font-size:1.35rem;
    }
    .yp-single-summary form.cart{
        display:grid;
        grid-template-columns:1fr;
    }
    .yp-single-summary .single_add_to_cart_button{
        width:100%;
    }
    .yp-buy-line{
        padding:12px;
    }
    .yp-single-info-grid{
        gap:10px;
    }
    .yp-info-card{
        border-radius:16px;
        padding:14px;
    }
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2,
    .woocommerce-checkout-review-order{
        padding:18px;
        border-radius:18px;
    }
    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row textarea,
    .woocommerce form .form-row select{
        min-height:46px;
    }
}

/* Very small phones */
@media(max-width:390px){
    .yp-logo{
        font-size:1.35rem;
    }
    .yp-mobile-toggle{
        font-size:.86rem;
    }
    .yp-mobile-buy-title span{
        max-width:150px;
    }
    .yp-mobile-buy-button{
        padding:10px 11px;
        font-size:.8rem;
    }
}


/* V31.1 Menu Fix */
.yp-header-nav-row .yp-container{
    justify-content:center;
}
.yp-fast-links{
    display:none!important;
}
.yp-nav-desktop{
    width:100%;
}
.yp-nav-desktop ul{
    justify-content:center;
    flex-wrap:wrap;
}
.yp-mobile-panel nav + nav{
    display:none!important;
}
.yp-mobile-panel .menu + .menu{
    display:none!important;
}
@media(max-width:980px){
    .yp-nav-desktop{
        display:none;
    }
}


/* V32.3 Admin Ultra Safe - front-end category styling only */
.yp-category-hero{
    padding:54px 0 34px;
    background:
        radial-gradient(circle at 14% 0%, rgba(37,99,235,.18), transparent 28%),
        radial-gradient(circle at 84% 10%, rgba(22,163,74,.14), transparent 26%),
        linear-gradient(135deg,#f8fbff,#edf7ff);
}
.yp-category-hero h1{
    font-size:clamp(2.2rem,4vw,4.3rem);
    line-height:1;
    letter-spacing:-.055em;
    margin:0 0 12px;
}
.yp-category-hero p{
    margin:0;
    color:var(--yp-muted);
    max-width:780px;
}
.yp-category-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 14px;
    border-radius:999px;
    background:#ecfdf5;
    color:#166534;
    font-weight:950;
    margin-bottom:14px;
}
.yp-category-layout{
    display:grid;
    grid-template-columns:290px 1fr;
    gap:28px;
    align-items:start;
}
.yp-category-sidebar{
    background:#fff;
    border:1px solid var(--yp-border);
    border-radius:24px;
    padding:22px;
    box-shadow:var(--yp-shadow-soft);
    position:sticky;
    top:115px;
}
.yp-category-link{
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding:11px 0;
    border-bottom:1px solid #f1f5f9;
    color:var(--yp-muted);
}
.yp-category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(245px,1fr));
    gap:24px;
}
.yp-category-toolbar{
    background:#fff;
    border:1px solid var(--yp-border);
    border-radius:20px;
    padding:14px 16px;
    margin-bottom:22px;
    box-shadow:var(--yp-shadow-soft);
}
.yp-category-empty{
    background:#fff;
    border:1px solid var(--yp-border);
    border-radius:24px;
    padding:34px;
    box-shadow:var(--yp-shadow-soft);
}
@media(max-width:1120px){
    .yp-category-layout{
        grid-template-columns:1fr;
    }
    .yp-category-sidebar{
        position:relative;
        top:auto;
    }
}
@media(max-width:720px){
    .yp-category-grid{
        grid-template-columns:1fr;
    }
    .yp-category-hero{
        padding:38px 0 24px;
    }
    .yp-category-hero h1{
        font-size:2.1rem;
    }
}


/* V33 Homepage Sections Pro */
.yp-home-section{padding:72px 0}
.yp-home-section:nth-child(even){background:#fff}
.yp-home-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}
.yp-home-heading h2{font-size:clamp(2rem,3.5vw,3.35rem);line-height:1;letter-spacing:-.045em;margin:0}
.yp-home-heading p{margin:10px 0 0;color:var(--yp-muted);max-width:760px}
.yp-home-grid{display:grid;gap:24px}
.yp-home-grid.cols-3{grid-template-columns:repeat(3,1fr)}
.yp-home-grid.cols-4{grid-template-columns:repeat(4,1fr)}
.yp-home-card{background:#fff;border:1px solid var(--yp-border);border-radius:24px;box-shadow:var(--yp-shadow-soft);overflow:hidden;transition:.22s ease}
.yp-home-card:hover{transform:translateY(-5px);box-shadow:var(--yp-shadow)}
.yp-home-card-image{aspect-ratio:16/10;background:linear-gradient(135deg,#eef2ff,#ecfdf5);display:flex;align-items:center;justify-content:center;overflow:hidden}
.yp-home-card-image img{width:100%;height:100%;object-fit:cover}
.yp-home-card-body{padding:22px}
.yp-home-card-body h3{margin:0 0 10px;font-size:1.18rem;line-height:1.25}
.yp-home-card-body p{color:var(--yp-muted);margin:0 0 18px}
.yp-home-link{display:inline-flex;align-items:center;gap:8px;color:var(--yp-blue);font-weight:950}
.yp-home-post-date{display:inline-flex;margin-bottom:10px;color:var(--yp-muted);font-size:.86rem;font-weight:850}
.yp-home-service-icon{width:56px;height:56px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:1.8rem;background:linear-gradient(135deg,#eef2ff,#ecfdf5);margin-bottom:16px}
.yp-home-products-wrap .yp-product-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.yp-home-band{background:linear-gradient(135deg,var(--yp-blue),var(--yp-green));color:#fff;border-radius:30px;padding:42px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;box-shadow:var(--yp-shadow)}
.yp-home-band h2{color:#fff;margin:0 0 10px;font-size:clamp(1.8rem,3vw,3rem);line-height:1;letter-spacing:-.04em}
.yp-home-band p{margin:0;opacity:.92}
.yp-home-band .yp-btn{background:#fff;color:var(--yp-text)}
@media(max-width:1120px){.yp-home-grid.cols-3,.yp-home-grid.cols-4{grid-template-columns:repeat(2,1fr)}.yp-home-band{grid-template-columns:1fr}}
@media(max-width:720px){.yp-home-section{padding:46px 0}.yp-home-heading{display:block}.yp-home-grid.cols-3,.yp-home-grid.cols-4{grid-template-columns:1fr}.yp-home-band{padding:26px;border-radius:22px}}


/* V34 Services Manager Pro */
.yp-service-admin-hint{
    background:#ecfdf5;
    border:1px solid #bbf7d0;
    color:#166534;
    border-radius:16px;
    padding:14px 16px;
    font-weight:850;
}
.yp-home-service-card-image{
    aspect-ratio:16/9;
    background:linear-gradient(135deg,#eef2ff,#ecfdf5);
    overflow:hidden;
}
.yp-home-service-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.yp-home-card-body .yp-home-service-icon + h3{
    margin-top:0;
}
