/*
Theme Name: AIPL Online IT Parts
Theme URI: https://aiplonlinestore.com/
Author: Aarshi Infocom Pvt. Ltd.
Description: Amazon-style, responsive WooCommerce-ready custom e-commerce theme for AIPL Online IT Parts.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: aipl-online-store
*/

:root{--aipl-navy:#062d4f;--aipl-blue:#0b4d7a;--aipl-orange:#ff9900;--aipl-red:#e31b23;--aipl-bg:#f5f6f8;--aipl-text:#17212b;--aipl-muted:#68737d;--aipl-border:#e3e7eb}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--aipl-bg);color:var(--aipl-text);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.5}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1280px,94%);margin:auto}
.topbar{background:var(--aipl-navy);color:#fff;font-size:13px}.topbar .container{height:34px;display:flex;align-items:center;justify-content:space-between}.toplinks{display:flex;gap:20px}
.site-header{background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 2px 8px #00000012}.main-head{min-height:78px;display:flex;align-items:center;gap:22px}.logo{display:flex;align-items:center;min-width:185px}.logo img{max-height:58px;width:auto}.logo-text{font-weight:800;font-size:25px;color:var(--aipl-navy);line-height:.9}.logo-text span{display:block;font-size:10px;letter-spacing:2px;color:#222;margin-top:5px}
.search{flex:1;display:flex;height:46px;border:2px solid var(--aipl-orange);border-radius:6px;overflow:hidden;background:#fff}.search input{flex:1;border:0;padding:0 15px;font-size:14px;outline:0}.search select{border:0;border-left:1px solid #ddd;padding:0 12px;background:#f5f5f5;outline:0}.search button{width:55px;border:0;background:var(--aipl-orange);font-size:20px;cursor:pointer}.head-actions{display:flex;gap:22px;align-items:center}.head-action{display:flex;gap:7px;align-items:center;white-space:nowrap}.head-action .icon{font-size:25px}.head-action small{display:block;font-size:11px}.head-action strong{font-size:13px}.cart-count{background:var(--aipl-orange);color:#111;border-radius:20px;padding:1px 6px;font-size:11px;vertical-align:top}
.nav{background:var(--aipl-navy);color:#fff}.nav .container{display:flex;align-items:center;min-height:45px}.all-cat{background:var(--aipl-orange);color:#111;font-weight:700;padding:12px 20px;min-width:185px}.nav-links{display:flex;gap:0;overflow:auto}.nav-links a{padding:12px 15px;font-size:14px;white-space:nowrap}.nav-links a:hover{background:#0b456e}
.hero{margin-top:14px}.hero-grid{display:grid;grid-template-columns:1fr;gap:12px}.hero-slide{min-height:390px;border-radius:8px;overflow:hidden;position:relative;background:linear-gradient(110deg,#062d4f,#1584b5);color:#fff;padding:52px 6%;display:flex;align-items:center}.hero-slide:after{content:"";position:absolute;right:0;top:0;width:52%;height:100%;background:radial-gradient(circle at 45% 50%,#ffffff55 0 4%,transparent 5% 100%),linear-gradient(135deg,transparent,#ffffff15);pointer-events:none}.hero-copy{position:relative;z-index:2;max-width:570px}.eyebrow{font-weight:700;letter-spacing:1px;text-transform:uppercase}.hero h1{font-size:48px;line-height:1.05;margin:8px 0 12px}.hero p{font-size:19px;margin:0 0 25px}.btn{display:inline-block;border:0;border-radius:5px;padding:12px 22px;background:var(--aipl-orange);color:#111;font-weight:700;cursor:pointer}.btn:hover{filter:brightness(.95)}
.quick-cats{display:grid;grid-template-columns:repeat(12,1fr);gap:12px;background:#fff;padding:16px;border-radius:8px;margin-top:12px}.quick-cat{text-align:center;font-weight:600;font-size:13px}.quick-icon{width:64px;height:64px;border-radius:50%;background:#eef5fa;margin:0 auto 7px;display:flex;align-items:center;justify-content:center;font-size:28px}
.section{margin-top:24px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.section-head h2{margin:0;font-size:24px}.section-head p{margin:2px 0 0;color:var(--aipl-muted)}.view-all{color:#0066c0;font-weight:700}
.promo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.promo{min-height:150px;border-radius:8px;padding:25px;color:#fff;background:linear-gradient(120deg,#064d78,#087b9e);position:relative;overflow:hidden}.promo:nth-child(2){background:linear-gradient(120deg,#073d60,#1597ad)}.promo:nth-child(3){background:linear-gradient(120deg,#082e50,#176b8b)}.promo h3{margin:0 0 5px;font-size:23px}.promo p{margin:0 0 18px}.promo .btn{padding:8px 15px;background:#fff}
.products{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.product-card{background:#fff;border:1px solid var(--aipl-border);border-radius:7px;padding:12px;position:relative;display:flex;flex-direction:column;min-width:0}.product-card:hover{box-shadow:0 5px 18px #00000012}.sale-badge{position:absolute;left:12px;top:12px;background:#e31b23;color:#fff;border-radius:4px;padding:3px 7px;font-size:11px;font-weight:700}.product-img{height:190px;display:flex;align-items:center;justify-content:center;margin-bottom:8px}.product-img img{max-height:185px;object-fit:contain}.placeholder-img{width:100%;height:100%;background:#eef2f5;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:45px;color:#9aa5ae}.product-title{font-weight:600;min-height:43px}.rating{color:#f59e0b;font-size:13px;margin:5px 0}.price{font-size:20px;font-weight:800;color:#c40000}.old-price{text-decoration:line-through;color:#777;font-size:12px;margin-left:5px;font-weight:400}.add-cart{margin-top:auto;background:var(--aipl-orange);border:0;border-radius:4px;padding:9px;text-align:center;font-weight:700;cursor:pointer}.add-cart:hover{background:#f29100}
.brands{display:grid;grid-template-columns:repeat(10,1fr);gap:10px}.brand{height:70px;background:#fff;border:1px solid var(--aipl-border);border-radius:6px;display:flex;align-items:center;justify-content:center;font-weight:800;color:#334}
.feature-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.feature{background:#fff;border:1px solid var(--aipl-border);border-radius:7px;padding:15px;min-height:115px}.feature strong{display:block;font-size:16px}.feature a{display:inline-block;margin-top:10px;color:#0066c0;font-size:12px;font-weight:700}
.benefits{background:#fff;margin-top:25px;border-top:1px solid var(--aipl-border);border-bottom:1px solid var(--aipl-border)}.benefits-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;padding:25px 0}.benefit{display:flex;gap:12px;align-items:center}.benefit-icon{font-size:30px;color:var(--aipl-orange)}.benefit strong{display:block}.benefit span{font-size:12px;color:var(--aipl-muted)}
.footer{background:#062d4f;color:#fff;margin-top:0}.footer-main{padding:35px 0;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:35px}.footer h3{margin-top:0}.footer p,.footer a{color:#c9d6df;font-size:13px}.footer a{display:block;margin:6px 0}.copyright{border-top:1px solid #ffffff22;padding:15px 0;color:#b9c8d2;font-size:12px}
.newsletter{background:#0a4269;padding:22px 0}.newsletter .container{display:flex;justify-content:space-between;align-items:center;gap:20px}.newsletter-form{display:flex;max-width:500px;width:100%}.newsletter-form input{flex:1;border:0;padding:12px}.newsletter-form button{border:0;background:var(--aipl-orange);font-weight:700;padding:0 18px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:15px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce .button{background:var(--aipl-orange)!important;color:#111!important;border-radius:4px!important}.woocommerce div.product .price{color:#c40000}.woocommerce span.onsale{background:var(--aipl-red)}
.mobile-nav{display:none}
@media(max-width:1000px){.head-actions{gap:10px}.logo{min-width:150px}.quick-cats{grid-template-columns:repeat(6,1fr)}.products{grid-template-columns:repeat(3,1fr)}.brands{grid-template-columns:repeat(5,1fr)}.feature-grid{grid-template-columns:repeat(3,1fr)}.benefits-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.topbar .container{justify-content:center}.toplinks{display:none}.main-head{min-height:65px;gap:8px}.logo{min-width:auto}.logo-text{font-size:19px}.search{position:absolute;top:72px;left:3%;width:94%;height:42px}.head-actions{margin-left:auto}.head-action span:not(.icon),.head-action small,.head-action strong{display:none}.nav{margin-top:50px}.all-cat{min-width:auto;padding:12px}.nav-links a{padding:12px 10px}.hero-slide{min-height:300px;padding:30px 7%}.hero h1{font-size:34px}.hero p{font-size:15px}.quick-cats{grid-template-columns:repeat(4,1fr);gap:9px}.quick-icon{width:52px;height:52px}.promo-grid{grid-template-columns:1fr}.products{grid-template-columns:repeat(2,1fr)}.product-img{height:145px}.brands{grid-template-columns:repeat(3,1fr)}.feature-grid{grid-template-columns:repeat(2,1fr)}.benefits-grid{grid-template-columns:1fr 1fr}.footer-main{grid-template-columns:1fr 1fr}.newsletter .container{flex-direction:column;align-items:stretch}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #ddd;z-index:100;justify-content:space-around;padding:7px}.mobile-nav a{text-align:center;font-size:11px}.mobile-nav b{display:block;font-size:18px}.site-footer{padding-bottom:58px}}

/* =========================================================
   AIPL DYNAMIC MENU / MEGA MENU
   ========================================================= */

.aipl-header {
    position: relative;
    z-index: 100;
}

.aipl-topbar {
    background: var(--aipl-navy);
    color: #fff;
    font-size: 14px;
}

.aipl-top-inner {
    min-height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.aipl-top-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.aipl-top-links a:hover {
    color: var(--aipl-orange);
}

.aipl-main-head {
    background: #fff;
}

.aipl-main-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.aipl-logo {
    width: 210px;
    flex: 0 0 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.aipl-logo img {
    max-width: 200px;
    max-height: 65px;
    object-fit: contain;
}

.aipl-logo-main {
    color: var(--aipl-navy);
    font-size: 31px;
    font-weight: 900;
    letter-spacing: -1px;
}

.aipl-logo-sub {
    color: #111;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-top: 7px;
}

.aipl-search {
    flex: 1;
    height: 52px;
    display: flex;
    border: 2px solid var(--aipl-orange);
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
}

.aipl-search input[type="search"] {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 18px;
    font-size: 15px;
}

.aipl-search button {
    width: 65px;
    border: 0;
    background: var(--aipl-orange);
    color: #111;
    font-size: 27px;
    cursor: pointer;
}

.aipl-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.aipl-action {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.aipl-action-icon {
    font-size: 27px;
    line-height: 1;
}

.aipl-action small,
.aipl-action strong {
    display: block;
}

.aipl-action small {
    font-size: 12px;
}

.aipl-action strong {
    font-size: 14px;
}

.aipl-action:hover {
    color: #0879bd;
}

.aipl-cart-count {
    background: var(--aipl-orange);
    color: #111;
    border-radius: 20px;
    padding: 2px 7px;
    font-size: 11px;
    margin-left: -3px;
}

.aipl-nav {
    background: var(--aipl-navy);
    position: relative;
}

.aipl-nav-inner {
    min-height: 54px;
    display: flex;
    align-items: stretch;
}

.aipl-all-cat {
    min-width: 215px;
    border: 0;
    background: var(--aipl-orange);
    color: #111;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    text-align: left;
}

.aipl-all-cat b {
    float: right;
    font-size: 17px;
}

.aipl-primary-menu {
    flex: 1;
}

.aipl-menu {
    list-style: none;
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

.aipl-menu > li {
    position: relative;
}

.aipl-menu > li > a {
    display: flex;
    align-items: center;
    height: 54px;
    padding: 0 17px;
    color: #fff;
    font-size: 15px;
    white-space: nowrap;
}

.aipl-menu > li:hover > a,
.aipl-menu > li.current-menu-item > a,
.aipl-menu > li.current-menu-ancestor > a {
    background: #0d4b76;
    color: #fff;
}

/* WordPress second-level menu */
.aipl-menu .sub-menu {
    position: absolute;
    left: 0;
    top: 54px;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 8px 25px #0002;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    display: none;
    z-index: 300;
}

.aipl-menu li:hover > .sub-menu {
    display: block;
}

.aipl-menu .sub-menu a {
    display: block;
    padding: 10px 16px;
    color: #222;
    font-size: 14px;
}

.aipl-menu .sub-menu a:hover {
    background: #f4f7f9;
    color: #0879bd;
}

/* Mega Menu */
.aipl-mega-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 54px;
    background: #fff;
    border-top: 3px solid var(--aipl-orange);
    box-shadow: 0 12px 35px rgba(0,0,0,.20);
    z-index: 9999;
}

.aipl-mega-menu.open {
    display: block;
    animation: aiplMegaOpen .18s ease-out;
}

@keyframes aiplMegaOpen {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aipl-mega-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
    padding: 26px 0 30px;
    max-height: 500px;
    overflow-y: auto;
}

.aipl-mega-column {
    min-width: 0;
    padding: 0 4px;
}

.aipl-mega-title {
    display: block;
    color: var(--aipl-navy);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    padding: 0 0 9px;
    margin: 0 0 8px;
    border-bottom: 2px solid var(--aipl-orange);
    text-decoration: none;
}

.aipl-mega-title:hover {
    color: #0879bd;
}

.aipl-mega-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aipl-mega-column li {
    margin: 0;
    padding: 0;
}

.aipl-mega-column li a {
    display: block;
    padding: 6px 5px;
    color: #555;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
    border-radius: 4px;
    transition: .15s ease;
}

.aipl-mega-column li a:hover {
    color: #0879bd;
    background: #f3f7fa;
    padding-left: 9px;
}

.aipl-mega-featured {
    background: linear-gradient(135deg,#f5f8fa,#eef4f8);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e2e9ee;
}

.aipl-mega-featured .aipl-mega-title {
    margin-bottom: 10px;
}

.aipl-all-cat {
    position: relative;
    transition: .15s ease;
}

.aipl-all-cat:hover {
    filter: brightness(.96);
}

.aipl-all-cat b {
    transition: transform .2s ease;
}

.aipl-all-cat.active b {
    transform: rotate(180deg);
}

/* Mega menu scrollbar */
.aipl-mega-grid::-webkit-scrollbar {
    width: 7px;
}

.aipl-mega-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.aipl-mega-grid::-webkit-scrollbar-thumb {
    background: #c4cdd3;
    border-radius: 10px;
}

/* Mobile */

@media(max-width:1000px) {
    .aipl-main-inner {
        gap: 12px;
    }

    .aipl-logo {
        width: 160px;
        flex-basis: 160px;
    }

    .aipl-actions {
        gap: 10px;
    }

    .aipl-action span:not(.aipl-action-icon),
    .aipl-action small {
        display: none;
    }

    .aipl-mega-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:700px) {

    .aipl-top-inner {
        justify-content: center;
    }

    .aipl-top-inner > div:first-child {
        display: none;
    }

    .aipl-top-links {
        gap: 10px;
        font-size: 11px;
    }

    .aipl-main-inner {
        min-height: 70px;
        flex-wrap: wrap;
    }

    .aipl-logo {
        width: 120px;
        flex-basis: 120px;
    }

    .aipl-logo-main {
        font-size: 23px;
    }

    .aipl-logo-sub {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .aipl-search {
        order: 5;
        flex-basis: 100%;
        height: 44px;
    }

    .aipl-actions {
        margin-left: auto;
    }

    .aipl-nav {
        margin-top: 55px;
    }

    .aipl-nav-inner {
        overflow-x: auto;
    }

    .aipl-all-cat {
        min-width: 180px;
    }

    .aipl-menu > li > a {
        padding: 0 12px;
        font-size: 13px;
    }

    .aipl-mega-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 18px 12px;
        max-height: 70vh;
    }
}


/* =========================================================
   AIPL - FORCE FULL WIDTH HEADER
   ========================================================= */

body.home .aipl-header,
body.home .aipl-topbar,
body.home .aipl-main-head,
body.home .aipl-nav {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

body.home .aipl-top-inner,
body.home .aipl-main-inner,
body.home .aipl-nav-inner {
    width: min(1400px, 94%);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

body.home .aipl-site-main {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

body.home .aipl-site-main > .container {
    width: min(1400px, 94%);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   AIPL PRIMARY MENU FINAL
   ========================================================= */

.aipl-primary-menu {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.aipl-primary-menu .aipl-menu {
    display: flex;
    height: 54px;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: none;
}

.aipl-primary-menu .aipl-menu::-webkit-scrollbar {
    display: none;
}

.aipl-primary-menu .aipl-menu > li {
    flex: 0 0 auto;
}

.aipl-primary-menu .aipl-menu > li > a {
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.aipl-primary-menu .aipl-menu > li > a:hover {
    background: #0d4b76;
    color: #fff;
}


/* =========================================================
   AIPL PREMIUM DYNAMIC MEGA MENU
   ========================================================= */

.aipl-mega-menu {
    background: #fff;
    border-top: 3px solid #ff9900;
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
    max-height: calc(100vh - 170px);
    overflow-y: auto;
}

.aipl-mega-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0 14px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.aipl-mega-heading strong {
    display: block;
    color: #0b3558;
    font-size: 20px;
    font-weight: 700;
}

.aipl-mega-heading span {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 13px;
}

.aipl-mega-shop-all {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    background: #ff9900;
    color: #111 !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.aipl-mega-shop-all:hover {
    background: #ffad33;
    text-decoration: none;
}

.aipl-mega-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 22px;
}

.aipl-mega-column {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    background: #fff;
    transition: .18s ease;
}

.aipl-mega-column:hover {
    border-color: #ff9900;
    box-shadow: 0 5px 16px rgba(11,53,88,.10);
    transform: translateY(-2px);
}

.aipl-mega-title {
    display: flex !important;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 0 0 10px !important;
    margin: 0 0 8px;
    border-bottom: 2px solid #ff9900;
    color: #0b3558 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.aipl-mega-title:hover {
    color: #e88900 !important;
}

.aipl-mega-icon {
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 29px;
    background: #f1f5f9;
    border-radius: 50%;
    font-size: 16px;
}

.aipl-mega-thumb {
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 29px;
    overflow: hidden;
    border-radius: 50%;
    background: #f1f5f9;
}

.aipl-mega-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aipl-mega-subcategories {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.aipl-mega-subcategories li {
    margin: 0 !important;
    padding: 0 !important;
}

.aipl-mega-subcategories a {
    display: block;
    padding: 5px 0;
    color: #475569 !important;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none !important;
}

.aipl-mega-subcategories a:hover {
    color: #ff8c00 !important;
    padding-left: 4px;
}

.aipl-mega-view-all {
    display: block !important;
    margin-top: 8px;
    padding-top: 8px !important;
    border-top: 1px solid #eef0f2;
    color: #e88900 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.aipl-mega-view-all:hover {
    color: #0b3558 !important;
}

.aipl-mega-featured {
    background: linear-gradient(145deg, #f1f6fa, #e8f0f5);
    border-color: #d8e2ea;
    padding: 18px;
}

.aipl-featured-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 25px;
    margin-bottom: 7px;
    background: #ff9900;
    color: #111;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800;
}

.aipl-mega-featured h3 {
    margin: 0 0 7px;
    color: #0b3558;
    font-size: 17px;
}

.aipl-mega-featured p {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.aipl-mega-featured > a {
    display: block;
    padding: 5px 0;
    color: #475569 !important;
    font-size: 13px;
    text-decoration: none !important;
}

.aipl-mega-featured > a:hover {
    color: #ff8c00 !important;
    padding-left: 4px;
}

@media (max-width: 1200px) {
    .aipl-mega-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .aipl-mega-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .aipl-mega-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .aipl-mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .aipl-mega-column {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .aipl-mega-grid {
        grid-template-columns: 1fr;
    }

    .aipl-mega-menu {
        max-height: calc(100vh - 120px);
    }
}

/* =========================================================
   AIPL PREMIUM MEGA MENU V2
   ========================================================= */

.aipl-mega-menu{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    z-index:9999;
    background:#fff;
    border-top:3px solid #ff9900;
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 14px 35px rgba(0,0,0,.16);
    padding:22px 0 28px;
    animation:aiplMegaFade .18s ease-out;
}

@keyframes aiplMegaFade{
    from{
        opacity:0;
        transform:translateY(-8px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.aipl-mega-menu > *{
    max-width:1280px;
    width:94%;
    margin-left:auto;
    margin-right:auto;
}

.aipl-mega-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:0 0 18px;
    margin-bottom:8px;
    border-bottom:1px solid #edf0f2;
}

.aipl-mega-heading strong{
    display:block;
    font-size:19px;
    line-height:1.2;
    color:#0b3557;
    font-weight:800;
}

.aipl-mega-heading span{
    display:block;
    margin-top:4px;
    color:#667085;
    font-size:13px;
}

.aipl-mega-heading .aipl-mega-shop-all,
.aipl-mega-heading a{
    color:#0b3557;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
}

.aipl-mega-heading a:hover{
    color:#ff9900;
}

/* GRID */

.aipl-mega-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:20px 28px;
}

/* CATEGORY COLUMN */

.aipl-mega-column{
    min-width:0;
    padding:10px 0 4px;
}

.aipl-mega-column:hover{
    transform:translateY(-2px);
    transition:transform .18s ease;
}

/* CATEGORY TITLE */

.aipl-mega-title{
    display:flex;
    align-items:center;
    gap:9px;
    min-height:38px;
    padding:0 0 10px;
    margin-bottom:6px;
    border-bottom:2px solid #ff9900;
    color:#0b3557;
    font-size:16px;
    font-weight:800;
    text-decoration:none;
}

.aipl-mega-title:hover{
    color:#ff7a00;
}

.aipl-mega-title img{
    width:30px;
    height:30px;
    object-fit:contain;
    border-radius:7px;
    background:#f5f7fa;
    padding:3px;
}

.aipl-mega-title .aipl-mega-icon{
    width:30px;
    height:30px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:7px;
    background:#fff4e5;
    font-size:18px;
}

/* SUB CATEGORIES */

.aipl-mega-subcategories{
    list-style:none;
    padding:0;
    margin:4px 0 0;
}

.aipl-mega-subcategories li{
    margin:0;
    padding:0;
}

.aipl-mega-subcategories li a{
    display:flex;
    align-items:center;
    min-height:31px;
    padding:3px 7px;
    border-radius:5px;
    color:#475467;
    font-size:13px;
    line-height:1.35;
    text-decoration:none;
    transition:all .16s ease;
}

.aipl-mega-subcategories li a:before{
    content:"›";
    margin-right:7px;
    color:#ff9900;
    font-size:16px;
    opacity:0;
    transform:translateX(-4px);
    transition:all .16s ease;
}

.aipl-mega-subcategories li a:hover{
    color:#0b3557;
    background:#fff7ed;
    padding-left:11px;
}

.aipl-mega-subcategories li a:hover:before{
    opacity:1;
    transform:translateX(0);
}

/* VIEW ALL */

.aipl-mega-view-all{
    display:inline-flex;
    align-items:center;
    margin-top:8px;
    padding:5px 0;
    color:#0b3557 !important;
    font-size:12px !important;
    font-weight:800 !important;
    text-decoration:none !important;
}

.aipl-mega-view-all:hover{
    color:#ff7a00 !important;
}

/* FEATURED AIPL BOX */

.aipl-mega-featured{
    position:relative;
    overflow:hidden;
    min-height:205px;
    padding:22px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:linear-gradient(145deg,#f8fafc,#eef5fb);
    box-shadow:0 6px 18px rgba(15,23,42,.07);
}

.aipl-mega-featured:after{
    content:"";
    position:absolute;
    width:120px;
    height:120px;
    right:-45px;
    bottom:-50px;
    border-radius:50%;
    background:rgba(255,153,0,.16);
}

.aipl-mega-featured .aipl-mega-featured-badge{
    display:inline-block;
    margin-bottom:13px;
    padding:5px 9px;
    border-radius:20px;
    background:#ff9900;
    color:#111;
    font-size:10px;
    font-weight:900;
    letter-spacing:.5px;
    text-transform:uppercase;
}

.aipl-mega-featured h3{
    margin:0 0 9px;
    color:#0b3557;
    font-size:18px;
    font-weight:800;
}

.aipl-mega-featured p{
    margin:0 0 15px;
    color:#667085;
    font-size:12px;
    line-height:1.55;
}

.aipl-mega-featured a{
    position:relative;
    z-index:2;
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:8px 13px;
    border-radius:6px;
    background:#0b3557;
    color:#fff !important;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    transition:all .18s ease;
}

.aipl-mega-featured a:hover{
    background:#ff9900;
    color:#111 !important;
    transform:translateY(-1px);
}

/* ALL CATEGORIES BUTTON */

.aipl-primary-menu{
    position:relative;
}

.aipl-primary-menu .aipl-mega-menu{
    display:none;
}

.aipl-primary-menu:hover .aipl-mega-menu{
    display:block;
}

/* KEEP MEGA MENU ABOVE PAGE */

.aipl-mega-menu,
.aipl-mega-menu *{
    box-sizing:border-box;
}

/* RESPONSIVE */

@media(max-width:1100px){
    .aipl-mega-grid{
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:16px 20px;
    }
}

@media(max-width:850px){
    .aipl-mega-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .aipl-mega-heading{
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
    }
}

@media(max-width:650px){
    .aipl-mega-menu{
        position:fixed;
        left:0;
        right:0;
        top:0;
        max-height:100vh;
        overflow-y:auto;
        padding:18px 0 25px;
    }

    .aipl-mega-grid{
        grid-template-columns:1fr 1fr;
        gap:12px 16px;
    }

    .aipl-mega-title{
        font-size:14px;
    }

    .aipl-mega-subcategories li a{
        font-size:12px;
    }
}

@media(max-width:430px){
    .aipl-mega-grid{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   AIPL PREMIUM FEATURED SOLUTIONS CARD
   ========================================================= */

.aipl-mega-featured{
    position:relative;
    overflow:hidden;
    min-height:245px;
    padding:22px !important;
    border:1px solid #dfe7ef !important;
    border-radius:16px !important;
    background:
        radial-gradient(circle at 100% 0%,rgba(255,153,0,.18),transparent 38%),
        linear-gradient(145deg,#f8fbff,#edf4fa) !important;
    box-shadow:0 8px 24px rgba(15,23,42,.08) !important;
}

.aipl-mega-featured:before{
    content:"";
    position:absolute;
    width:150px;
    height:150px;
    right:-70px;
    bottom:-75px;
    border-radius:50%;
    background:rgba(11,53,87,.07);
}

.aipl-mega-featured .aipl-mega-title{
    display:none !important;
}

.aipl-mega-featured-badge{
    position:relative;
    display:inline-block;
    margin-bottom:13px;
    padding:5px 10px;
    border-radius:20px;
    background:#ff9900;
    color:#111827;
    font-size:9px;
    font-weight:900;
    letter-spacing:.7px;
}

.aipl-mega-featured h3{
    position:relative;
    margin:0 0 8px !important;
    color:#0b3557 !important;
    font-size:20px !important;
    line-height:1.25;
    font-weight:800 !important;
}

.aipl-mega-featured p{
    position:relative;
    margin:0 0 14px !important;
    color:#667085 !important;
    font-size:12px !important;
    line-height:1.55;
}

.aipl-featured-points{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:6px;
    margin-bottom:17px;
}

.aipl-featured-points span{
    color:#344054;
    font-size:11px;
    font-weight:600;
}

.aipl-featured-btn{
    position:relative;
    z-index:3;
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    padding:9px 13px !important;
    border-radius:7px !important;
    background:#0b3557 !important;
    color:#fff !important;
    font-size:11px !important;
    font-weight:800 !important;
    text-decoration:none !important;
    transition:all .18s ease;
}

.aipl-featured-btn:hover{
    background:#ff9900 !important;
    color:#111 !important;
    transform:translateY(-2px);
    box-shadow:0 5px 12px rgba(255,153,0,.25);
}

@media(max-width:650px){
    .aipl-mega-featured{
        min-height:auto;
    }
}


/* =========================================================
   AIPL ACTIVE THEME - FINAL MEGA MENU 4 COLUMN
   ========================================================= */

body .aipl-mega-menu .aipl-mega-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px 28px !important;
    width: 100% !important;
    align-items: start !important;
}

body .aipl-mega-menu .aipl-mega-column {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
    border-right: 1px solid #e8edf1 !important;
}

body .aipl-mega-menu .aipl-mega-column:nth-child(4n) {
    border-right: none !important;
}

/* Compact category heading */
body .aipl-mega-menu .aipl-mega-title {
    min-height: 32px !important;
    margin-bottom: 7px !important;
    padding-bottom: 8px !important;
}

/* Small thumbnails */
body .aipl-mega-menu .aipl-mega-thumb {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
}

body .aipl-mega-menu .aipl-mega-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Subcategory links */
body .aipl-mega-menu .aipl-mega-subcategories li a {
    padding: 3px 0 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
}

body .aipl-mega-menu .aipl-mega-subcategories li a:hover {
    padding-left: 6px !important;
    color: #0073bb !important;
}

/* View all */
body .aipl-mega-menu .aipl-mega-view-all {
    margin-top: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* =========================================================
   AIPL IT SOLUTIONS FEATURED CARD
   ========================================================= */

body .aipl-mega-menu .aipl-mega-featured {
    min-height: 190px !important;
    padding: 18px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #073b63, #087f9c, #16a0b8) !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(7,59,99,.20) !important;
    overflow: hidden !important;
}

body .aipl-mega-menu .aipl-mega-featured h3 {
    margin: 0 0 7px !important;
    color: #fff !important;
    font-size: 19px !important;
}

body .aipl-mega-menu .aipl-mega-featured p {
    margin: 0 0 10px !important;
    color: #e8f8ff !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

body .aipl-mega-menu .aipl-featured-points {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 5px !important;
    margin: 10px 0 13px !important;
}

body .aipl-mega-menu .aipl-featured-points span {
    color: #fff !important;
    font-size: 11px !important;
}

body .aipl-mega-menu .aipl-featured-btn {
    display: inline-block !important;
    padding: 8px 13px !important;
    border-radius: 7px !important;
    background: #ff9900 !important;
    color: #111 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* Mega menu scroll */
body .aipl-mega-menu {
    max-height: 76vh !important;
    overflow-y: auto !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
    body .aipl-mega-menu .aipl-mega-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body .aipl-mega-menu .aipl-mega-column:nth-child(4n) {
        border-right: 1px solid #e8edf1 !important;
    }

    body .aipl-mega-menu .aipl-mega-column:nth-child(3n) {
        border-right: none !important;
    }
}

@media (max-width: 700px) {
    body .aipl-mega-menu .aipl-mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    body .aipl-mega-menu .aipl-mega-column:nth-child(3n) {
        border-right: 1px solid #e8edf1 !important;
    }

    body .aipl-mega-menu .aipl-mega-column:nth-child(2n) {
        border-right: none !important;
    }
}

@media (max-width: 480px) {
    body .aipl-mega-menu .aipl-mega-grid {
        grid-template-columns: 1fr !important;
    }

    body .aipl-mega-menu .aipl-mega-column {
        border-right: none !important;
        border-bottom: 1px solid #e8edf1 !important;
    }
}


/* =========================================================
   AIPL CUSTOMER LOGIN / REGISTER - PREMIUM DESIGN
   ========================================================= */

.woocommerce-account .woocommerce {
    max-width: 1180px;
    margin: 45px auto;
    padding: 0 20px;
}

.woocommerce-account .woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 30px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.07);
    margin-top: 15px;
}

.woocommerce-account .u-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.woocommerce-account h2 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.woocommerce-account .woocommerce-form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 7px;
}

.woocommerce-account .woocommerce-form-row input.input-text {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
    transition: .2s ease;
}

.woocommerce-account .woocommerce-form-row input.input-text:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,.15);
}

.woocommerce-account button.woocommerce-button,
.woocommerce-account button[name="register"] {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: #ffb000;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.woocommerce-account button.woocommerce-button:hover,
.woocommerce-account button[name="register"]:hover {
    background: #ff9900;
    transform: translateY(-1px);
}

.woocommerce-account .woocommerce-LostPassword {
    margin-top: 15px;
    text-align: center;
}

.woocommerce-account .woocommerce-LostPassword a {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
}

.woocommerce-account .woocommerce-LostPassword a:hover {
    text-decoration: underline;
}

.woocommerce-account .woocommerce-form-login__rememberme {
    font-size: 14px;
    color: #4b5563;
}

.woocommerce-account .woocommerce-form-login__rememberme input {
    margin-right: 6px;
}

.woocommerce-account .woocommerce-privacy-policy-text {
    font-size: 12px;
    line-height: 1.6;
    color: #6b7280;
}

.woocommerce-account .required {
    color: #dc2626;
}

.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message {
    border-radius: 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid #eee;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 13px 17px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #fff7e6;
    color: #d97706;
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 5px 20px rgba(0,0,0,.04);
}

@media (max-width: 768px) {

    .woocommerce-account .woocommerce {
        margin: 25px auto;
        padding: 0 14px;
    }

    .woocommerce-account .u-columns {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .woocommerce-account .woocommerce-form-login,
    .woocommerce-account .woocommerce-form-register {
        padding: 22px !important;
    }

    .woocommerce-account h2 {
        font-size: 22px;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px;
    }
}


/* =========================================================
   AIPL ACCOUNT - FINAL TWO COLUMN LOGIN / REGISTER
   ========================================================= */

body.woocommerce-account .u-columns.col2-set {
    width: 100% !important;
    max-width: 980px !important;
    margin: 30px auto 60px !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 30px !important;
    align-items: flex-start !important;
}

body.woocommerce-account .u-columns.col2-set .u-column1,
body.woocommerce-account .u-columns.col2-set .u-column2 {
    float: none !important;
    width: 50% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-account .u-columns.col2-set .u-column1 h2,
body.woocommerce-account .u-columns.col2-set .u-column2 h2 {
    margin: 0 0 16px !important;
    padding: 0 !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #172033 !important;
}

body.woocommerce-account .u-columns.col2-set .woocommerce-form-login,
body.woocommerce-account .u-columns.col2-set .woocommerce-form-register {
    width: 100% !important;
    min-height: 360px !important;
    margin: 0 !important;
    padding: 30px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #e1e5ea !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 22px rgba(0,0,0,.07) !important;
}

body.woocommerce-account .u-columns.col2-set .woocommerce-form-row {
    margin-bottom: 18px !important;
}

body.woocommerce-account .u-columns.col2-set .woocommerce-form-row input.input-text {
    width: 100% !important;
    height: 48px !important;
    box-sizing: border-box !important;
    border: 1px solid #cfd5dc !important;
    border-radius: 7px !important;
    padding: 10px 13px !important;
    font-size: 15px !important;
    background: #fff !important;
}

body.woocommerce-account .u-columns.col2-set .woocommerce-form-row input.input-text:focus {
    border-color: #f5a000 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(245,160,0,.13) !important;
}

body.woocommerce-account .u-columns.col2-set button.woocommerce-button,
body.woocommerce-account .u-columns.col2-set button[name="register"] {
    width: 100% !important;
    height: 48px !important;
    margin-top: 8px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #ff9900 !important;
    color: #111 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

body.woocommerce-account .u-columns.col2-set button.woocommerce-button:hover,
body.woocommerce-account .u-columns.col2-set button[name="register"]:hover {
    background: #f08800 !important;
}

body.woocommerce-account .u-columns.col2-set .woocommerce-LostPassword {
    text-align: center !important;
    margin-top: 18px !important;
}

body.woocommerce-account .u-columns.col2-set .woocommerce-LostPassword a {
    color: #1769aa !important;
    font-size: 14px !important;
}

body.woocommerce-account .u-columns.col2-set .woocommerce-privacy-policy-text {
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #667085 !important;
}

@media (max-width: 768px) {

    body.woocommerce-account .u-columns.col2-set {
        display: flex !important;
        flex-direction: column !important;
        gap: 22px !important;
        margin: 20px auto 40px !important;
        padding: 0 14px !important;
    }

    body.woocommerce-account .u-columns.col2-set .u-column1,
    body.woocommerce-account .u-columns.col2-set .u-column2 {
        width: 100% !important;
    }

    body.woocommerce-account .u-columns.col2-set .woocommerce-form-login,
    body.woocommerce-account .u-columns.col2-set .woocommerce-form-register {
        padding: 22px !important;
        min-height: auto !important;
    }
}


/* =========================================================
   AIPL LOST PASSWORD - PREMIUM DESIGN
   ========================================================= */

body.woocommerce-account .lost_reset_password {
    width: 100% !important;
    max-width: 520px !important;
    margin: 45px auto 70px !important;
    padding: 34px !important;
    background: #fff !important;
    border: 1px solid #e1e5ea !important;
    border-radius: 12px !important;
    box-shadow: 0 7px 28px rgba(0,0,0,.08) !important;
    box-sizing: border-box !important;
}

body.woocommerce-account .lost_reset_password p:first-child {
    margin: 0 0 24px !important;
    color: #4b5563 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

body.woocommerce-account .lost_reset_password label {
    display: block !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #172033 !important;
}

body.woocommerce-account .lost_reset_password input.input-text {
    width: 100% !important;
    height: 48px !important;
    padding: 10px 13px !important;
    border: 1px solid #cfd5dc !important;
    border-radius: 7px !important;
    box-sizing: border-box !important;
    font-size: 15px !important;
}

body.woocommerce-account .lost_reset_password input.input-text:focus {
    outline: none !important;
    border-color: #f5a000 !important;
    box-shadow: 0 0 0 3px rgba(245,160,0,.13) !important;
}

body.woocommerce-account .lost_reset_password button[type="submit"] {
    width: 100% !important;
    height: 48px !important;
    margin-top: 8px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #ff9900 !important;
    color: #111 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

body.woocommerce-account .lost_reset_password button[type="submit"]:hover {
    background: #f08800 !important;
}

@media (max-width: 768px) {
    body.woocommerce-account .lost_reset_password {
        width: calc(100% - 28px) !important;
        margin: 25px auto 45px !important;
        padding: 23px !important;
    }
}


/* =========================================================
   AIPL MY ACCOUNT DASHBOARD - PREMIUM CUSTOMER PANEL
   ========================================================= */

body.woocommerce-account .woocommerce {
    max-width: 1180px;
    margin: 35px auto 60px;
    padding: 0 20px;
}

/* Account navigation */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 245px !important;
    float: left !important;
    margin-right: 28px !important;
    background: #fff !important;
    border: 1px solid #e1e5ea !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 20px rgba(0,0,0,.05) !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #edf0f2 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block !important;
    padding: 15px 18px !important;
    color: #253247 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: .2s ease !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #fff5df !important;
    color: #d97706 !important;
    padding-left: 22px !important;
}

/* Account content */
body.woocommerce-account .woocommerce-MyAccount-content {
    width: calc(100% - 273px) !important;
    float: right !important;
    margin: 0 !important;
    padding: 30px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #e1e5ea !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,.05) !important;
    color: #374151 !important;
}

/* Dashboard welcome */
body.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #4b5563 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > p:first-child strong {
    color: #172033 !important;
}

/* Dashboard links */
body.woocommerce-account .woocommerce-MyAccount-content a {
    color: #1769aa;
}

body.woocommerce-account .woocommerce-MyAccount-content a:hover {
    color: #d97706;
}

/* Orders table */
body.woocommerce-account .woocommerce-orders-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 20px !important;
}

body.woocommerce-account .woocommerce-orders-table th {
    background: #f7f8fa !important;
    color: #374151 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 13px !important;
}

body.woocommerce-account .woocommerce-orders-table td {
    padding: 13px !important;
    border-top: 1px solid #edf0f2 !important;
    font-size: 14px !important;
}

/* Buttons */
body.woocommerce-account .woocommerce-button,
body.woocommerce-account .button {
    border-radius: 7px !important;
    font-weight: 600 !important;
}

body.woocommerce-account .woocommerce-button.view,
body.woocommerce-account .woocommerce-button.pay,
body.woocommerce-account .woocommerce-button.cancel {
    background: #ff9900 !important;
    color: #111 !important;
    border: 0 !important;
    padding: 9px 15px !important;
}

/* Addresses */
body.woocommerce-account .woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 22px !important;
    margin-top: 20px !important;
}

body.woocommerce-account .woocommerce-Address {
    background: #fafafa !important;
    border: 1px solid #e1e5ea !important;
    border-radius: 10px !important;
    padding: 22px !important;
}

body.woocommerce-account .woocommerce-Address-title {
    margin-bottom: 15px !important;
}

body.woocommerce-account .woocommerce-Address-title h2 {
    font-size: 18px !important;
    color: #172033 !important;
}

/* Forms */
body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea {
    border: 1px solid #cfd5dc !important;
    border-radius: 7px !important;
    padding: 11px 13px !important;
    box-sizing: border-box !important;
}

body.woocommerce-account .woocommerce-MyAccount-content input.input-text:focus,
body.woocommerce-account .woocommerce-MyAccount-content select:focus,
body.woocommerce-account .woocommerce-MyAccount-content textarea:focus {
    outline: none !important;
    border-color: #f5a000 !important;
    box-shadow: 0 0 0 3px rgba(245,160,0,.12) !important;
}

/* Save changes */
body.woocommerce-account .woocommerce-MyAccount-content button,
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"] {
    background: #ff9900 !important;
    color: #111 !important;
    border: 0 !important;
    border-radius: 7px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

/* Mobile */
@media (max-width: 768px) {

    body.woocommerce-account .woocommerce {
        padding: 0 14px;
        margin: 22px auto 40px;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100% !important;
        float: none !important;
        margin: 0 0 20px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation a {
        padding: 13px 15px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        width: 100% !important;
        float: none !important;
        padding: 20px !important;
    }

    body.woocommerce-account .woocommerce-Addresses {
        grid-template-columns: 1fr !important;
    }

    body.woocommerce-account .woocommerce-orders-table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
}


/* =========================================================
   AIPL AMAZON STYLE COMPACT PRODUCT GRID
   ========================================================= */

.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
}

/* Equal-height product cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

/* Card hover */
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px) !important;
}

/* Equal image area */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    width: 100% !important;
    height: 180px !important;
    object-fit: contain !important;
    margin: 0 0 12px !important;
    background: #ffffff !important;
}

/* Product title - maximum 3 lines */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    min-height: 66px !important;
    margin: 0 0 8px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #172033 !important;
}

/* Price section */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    min-height: 43px !important;
    margin: 6px 0 12px !important;
    line-height: 1.5 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* Sale price */
.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del {
    display: block !important;
    font-size: 12px !important;
    opacity: 0.65 !important;
}

/* Add to Cart - always at bottom */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    display: block !important;
    width: 100% !important;
    min-height: 44px !important;
    margin-top: auto !important;
    padding: 10px 12px !important;
    border: none !important;
    border-radius: 6px !important;
    background: #ff9900 !important;
    color: #111111 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    line-height: 1.3 !important;
    box-sizing: border-box !important;
}

/* Button hover */
.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
    background: #ffb000 !important;
    color: #111111 !important;
}

/* Sale badge */
.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    min-height: auto !important;
    min-width: auto !important;
    border-radius: 50px !important;
    background: #e53935 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* Tablet */
@media (max-width: 1100px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}

/* Mobile */
@media (max-width: 650px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        padding: 10px !important;
        border-radius: 6px !important;
    }

    .woocommerce ul.products li.product a img,
    .woocommerce-page ul.products li.product a img {
        height: 125px !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
        min-height: 58px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .woocommerce ul.products li.product .price,
    .woocommerce-page ul.products li.product .price {
        min-height: 38px !important;
        font-size: 13px !important;
    }

    .woocommerce ul.products li.product .button,
    .woocommerce-page ul.products li.product .button {
        min-height: 40px !important;
        padding: 8px 5px !important;
        font-size: 12px !important;
    }
}

/* Very small screens */
@media (max-width: 380px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        gap: 8px !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        padding: 8px !important;
    }
}


/* ==========================================================
   AIPL ONLINE IT PARTS - PREMIUM AMAZON STYLE PRODUCT GRID
   Version: 1.0
   Scope: WooCommerce Product Listing Only
   ========================================================== */

/* Shop product area */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
}

/* Product Card */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 500px !important;
    margin: 0 !important;
    padding: 14px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid #e1e5eb !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease,
                border-color 0.2s ease !important;
}

/* Card Hover */
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-3px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
}

/* Product Link */
.woocommerce ul.products li.product
.woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-decoration: none !important;
}

/* Image Area */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    display: block !important;
    width: 100% !important;
    height: 210px !important;
    object-fit: contain !important;
    margin: 0 0 15px !important;
    padding: 5px !important;
    background: #ffffff !important;
    border: 0 !important;
}

/* Product Title - Fixed 3 Lines */
.woocommerce ul.products li.product
.woocommerce-loop-product__title,
.woocommerce-page ul.products li.product
.woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: #172033 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.42 !important;
}

/* Price Wrapper */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    color: #16803c !important;
}

/* Original Price */
.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del {
    display: block !important;
    height: 19px !important;
    margin: 0 0 2px !important;
    color: #737b87 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

/* Discounted Price */
.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins {
    color: #16803c !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Regular Price */
.woocommerce ul.products li.product .price > .amount,
.woocommerce-page ul.products li.product .price > .amount {
    color: #16803c !important;
    font-weight: 700 !important;
}

/* Sale Badge */
.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 62px !important;
    height: 62px !important;
    min-height: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #ef2b2d !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    margin: auto 0 0 !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #ff9900 !important;
    color: #111827 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: background 0.2s ease,
                transform 0.2s ease !important;
}

/* Cart Icon */
.woocommerce ul.products li.product .button::before,
.woocommerce-page ul.products li.product .button::before {
    content: "🛒" !important;
    margin-right: 9px !important;
    font-size: 18px !important;
}

/* Button Hover */
.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
    background: #ffad22 !important;
    color: #111827 !important;
    transform: translateY(-1px) !important;
}

/* Loading / Added Button */
.woocommerce ul.products li.product .added_to_cart {
    display: block !important;
    margin-top: 8px !important;
    color: #1769aa !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
}

/* Tablet */
@media (max-width: 1100px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        min-height: 480px !important;
    }

    .woocommerce ul.products li.product a img,
    .woocommerce-page ul.products li.product a img {
        height: 185px !important;
    }
}

/* Mobile */
@media (max-width: 650px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        min-height: 390px !important;
        padding: 10px !important;
        border-radius: 7px !important;
    }

    .woocommerce ul.products li.product a img,
    .woocommerce-page ul.products li.product a img {
        height: 135px !important;
        margin-bottom: 10px !important;
    }

    .woocommerce ul.products li.product
    .woocommerce-loop-product__title,
    .woocommerce-page ul.products li.product
    .woocommerce-loop-product__title {
        height: 57px !important;
        min-height: 57px !important;
        max-height: 57px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .woocommerce ul.products li.product .price,
    .woocommerce-page ul.products li.product .price {
        height: 45px !important;
        min-height: 45px !important;
        font-size: 15px !important;
    }

    .woocommerce ul.products li.product .price ins,
    .woocommerce-page ul.products li.product .price ins {
        font-size: 15px !important;
    }

    .woocommerce ul.products li.product .button,
    .woocommerce-page ul.products li.product .button {
        min-height: 40px !important;
        height: 40px !important;
        padding: 7px 4px !important;
        font-size: 12px !important;
    }

    .woocommerce ul.products li.product .button::before,
    .woocommerce-page ul.products li.product .button::before {
        margin-right: 4px !important;
        font-size: 13px !important;
    }

    .woocommerce ul.products li.product .onsale,
    .woocommerce-page ul.products li.product .onsale {
        width: 42px !important;
        height: 42px !important;
        top: 8px !important;
        right: 8px !important;
        font-size: 10px !important;
    }
}

/* Small Mobile */
@media (max-width: 380px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        gap: 8px !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        padding: 8px !important;
    }

    .woocommerce ul.products li.product a img,
    .woocommerce-page ul.products li.product a img {
        height: 115px !important;
    }
}


/* ==========================================================
   AIPL MOBILE PRODUCT GRID
   ========================================================== */

/* Tablet: 3 columns */
@media (min-width: 768px) and (max-width: 1100px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}

/* Mobile: 2 columns */
@media (max-width: 767px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin: 12px 0 !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        display: flex !important;
        flex-direction: column !important;
        min-width: 0 !important;
        padding: 10px !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }

    .woocommerce ul.products li.product a img,
    .woocommerce-page ul.products li.product a img {
        width: 100% !important;
        height: 135px !important;
        object-fit: contain !important;
        margin: 0 0 10px !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
        min-height: 54px !important;
        max-height: 54px !important;
        overflow: hidden !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin: 0 0 8px !important;
    }

    .woocommerce ul.products li.product .price,
    .woocommerce-page ul.products li.product .price {
        min-height: 42px !important;
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }

    .woocommerce ul.products li.product .button,
    .woocommerce-page ul.products li.product .button {
        width: 100% !important;
        min-height: 38px !important;
        margin-top: auto !important;
        padding: 8px 4px !important;
        font-size: 12px !important;
        text-align: center !important;
    }

    .woocommerce ul.products li.product .onsale,
    .woocommerce-page ul.products li.product .onsale {
        top: 6px !important;
        right: 6px !important;
        width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        font-size: 10px !important;
        line-height: 36px !important;
    }
}

/* Very small screens */
@media (max-width: 380px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        gap: 8px !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        padding: 7px !important;
    }

    .woocommerce ul.products li.product a img,
    .woocommerce-page ul.products li.product a img {
        height: 115px !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
        font-size: 12px !important;
    }
}


/* ==========================================================
   AIPL SINGLE PRODUCT GALLERY
   Image Left | Product Details Right
   Scoped to WooCommerce Single Product Page
   ========================================================== */

/* Main WooCommerce product layout */
.single-product div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 48%) minmax(0, 52%) !important;
    column-gap: 28px !important;
    align-items: start !important;
}

/* Product image gallery - LEFT */
.single-product div.product .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

/* Main image area */
.single-product
div.product
.woocommerce-product-gallery
.woocommerce-product-gallery__wrapper {
    width: 100% !important;
    margin: 0 !important;
}

/* Main product image */
.single-product
div.product
.woocommerce-product-gallery
.woocommerce-product-gallery__image img {
    width: 100% !important;
    max-height: 520px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Product thumbnails */
.single-product
div.product
.woocommerce-product-gallery
.flex-control-thumbs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Individual thumbnail */
.single-product
div.product
.woocommerce-product-gallery
.flex-control-thumbs li {
    width: 76px !important;
    height: 76px !important;
    flex: 0 0 76px !important;
    margin: 0 !important;
    padding: 5px !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

/* Thumbnail image */
.single-product
div.product
.woocommerce-product-gallery
.flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
    opacity: 0.75 !important;
}

/* Active thumbnail */
.single-product
div.product
.woocommerce-product-gallery
.flex-control-thumbs li img.flex-active,
.single-product
div.product
.woocommerce-product-gallery
.flex-control-thumbs li:hover img {
    opacity: 1 !important;
}

/* Product information - RIGHT */
.single-product div.product .summary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    min-width: 0 !important;
}

/* Keep product content readable */
.single-product div.product .summary > * {
    max-width: 100% !important;
}

/* Product title */
.single-product div.product .summary .product_title {
    margin-top: 0 !important;
    line-height: 1.3 !important;
}

/* Product price */
.single-product div.product .summary .price {
    margin: 15px 0 !important;
}

/* Mobile layout */
@media (max-width: 767px) {

    .single-product div.product {
        display: flex !important;
        flex-direction: column !important;
        gap: 22px !important;
    }

    .single-product div.product .woocommerce-product-gallery,
    .single-product div.product .summary {
        width: 100% !important;
        float: none !important;
    }

    .single-product
    div.product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__image img {
        max-height: 360px !important;
    }

    .single-product
    div.product
    .woocommerce-product-gallery
    .flex-control-thumbs {
        gap: 8px !important;
    }

    .single-product
    div.product
    .woocommerce-product-gallery
    .flex-control-thumbs li {
        width: 60px !important;
        height: 60px !important;
        flex-basis: 60px !important;
    }
}


/* ==========================================================
   AIPL SINGLE PRODUCT IMAGE LEFT - FINAL
   Thumbnails | Main Image | Product Details
   ========================================================== */

@media (min-width: 769px) {

    /* IMAGE/GALLERY LEFT */
    body.single-product div.product div.images,
    body.single-product div.product .woocommerce-product-gallery {
        width: 53% !important;
        float: left !important;
        display: block !important;
        position: relative !important;
        margin: 0 3% 30px 0 !important;
        padding-left: 96px !important;
        box-sizing: border-box !important;
        min-height: 520px !important;
    }

    /* MAIN IMAGE */
    body.single-product
    div.product
    .woocommerce-product-gallery__wrapper {
        width: 100% !important;
        margin: 0 !important;
    }

    body.single-product
    div.product
    .woocommerce-product-gallery__image {
        width: 100% !important;
        margin: 0 !important;
    }

    body.single-product
    div.product
    .woocommerce-product-gallery__image img {
        width: 100% !important;
        height: 500px !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* IMAGE FRAME */
    body.single-product
    div.product
    .woocommerce-product-gallery .flex-viewport {
        width: 100% !important;
        height: 500px !important;
        min-height: 500px !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 12px !important;
        background: #fff !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* THUMBNAILS LEFT */
    body.single-product
    div.product
    .woocommerce-product-gallery .flex-control-thumbs {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 82px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;

        margin: 0 !important;
        padding: 0 !important;

        list-style: none !important;
        z-index: 50 !important;
    }

    /* THUMBNAIL */
    body.single-product
    div.product
    .woocommerce-product-gallery .flex-control-thumbs li {
        width: 76px !important;
        height: 76px !important;
        flex: 0 0 76px !important;

        margin: 0 !important;
        padding: 5px !important;

        border: 1px solid #cbd5e1 !important;
        border-radius: 9px !important;
        background: #fff !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body.single-product
    div.product
    .woocommerce-product-gallery .flex-control-thumbs li img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        margin: 0 !important;
        opacity: 1 !important;
    }

    /* ACTIVE THUMBNAIL */
    body.single-product
    div.product
    .woocommerce-product-gallery
    .flex-control-thumbs li img.flex-active {
        outline: 2px solid #2563eb !important;
        outline-offset: -2px !important;
    }

    /* PRODUCT DETAILS RIGHT */
    body.single-product div.product div.summary {
        width: 44% !important;
        float: right !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* CLEAR */
    body.single-product div.product::after {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    body.single-product div.product div.images,
    body.single-product div.product .woocommerce-product-gallery {
        width: 100% !important;
        float: none !important;
        display: block !important;
        margin: 0 0 25px !important;
        padding: 0 !important;
        min-height: 0 !important;
    }

    body.single-product
    div.product
    .woocommerce-product-gallery .flex-viewport {
        height: auto !important;
        min-height: 0 !important;
    }

    body.single-product
    div.product
    .woocommerce-product-gallery__image img {
        height: auto !important;
        max-height: 420px !important;
        object-fit: contain !important;
    }

    body.single-product
    div.product
    .woocommerce-product-gallery .flex-control-thumbs {
        position: static !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }

    body.single-product
    div.product
    .woocommerce-product-gallery .flex-control-thumbs li {
        width: 64px !important;
        height: 64px !important;
        flex: 0 0 64px !important;
    }

    body.single-product div.product div.summary {
        width: 100% !important;
        float: none !important;
    }
}


/* ==========================================================
   AIPL SINGLE PRODUCT GALLERY - SIZE FIX
   ========================================================== */

@media (min-width: 769px) {

    body.single-product .aipl-single-gallery {
        width: 58% !important;
        max-width: none !important;
        float: left !important;

        display: flex !important;
        flex-direction: row !important;

        gap: 16px !important;
        margin: 0 2% 30px 0 !important;
        padding: 0 !important;

        min-height: 520px !important;
        box-sizing: border-box !important;
    }

    /* LEFT THUMBNAILS */
    body.single-product .aipl-single-thumbs {
        width: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;

        flex: 0 0 82px !important;

        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    body.single-product .aipl-single-thumb {
        width: 76px !important;
        height: 76px !important;
        min-width: 76px !important;
        max-width: 76px !important;

        flex: 0 0 76px !important;

        padding: 4px !important;
        box-sizing: border-box !important;
    }

    body.single-product .aipl-single-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    /* MAIN IMAGE BOX */
    body.single-product .aipl-single-main {
        flex: 1 1 auto !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;

        height: 500px !important;
        min-height: 500px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        background: #fff !important;

        border: 1px solid #e5e7eb !important;
        border-radius: 10px !important;

        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body.single-product .aipl-single-main-image {
        width: 100% !important;
        height: 100% !important;

        max-width: 100% !important;
        max-height: 100% !important;

        object-fit: contain !important;

        display: none !important;
    }

    body.single-product .aipl-single-main-image.active {
        display: block !important;
    }

    /* RIGHT PRODUCT DETAILS */
    body.single-product div.product div.summary {
        width: 40% !important;
        max-width: none !important;

        float: right !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;
    }

    body.single-product div.product::after {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    body.single-product .aipl-single-gallery {
        width: 100% !important;
        max-width: 100% !important;

        float: none !important;

        display: flex !important;
        flex-direction: column !important;

        margin: 0 0 25px !important;
        gap: 10px !important;
    }

    body.single-product .aipl-single-main {
        width: 100% !important;
        height: 420px !important;
        min-height: 320px !important;
    }

    body.single-product .aipl-single-thumbs {
        width: 100% !important;
        max-width: 100% !important;

        flex-direction: row !important;
        flex-wrap: wrap !important;
    }

    body.single-product .aipl-single-thumb {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        flex: 0 0 64px !important;
    }

    body.single-product div.product div.summary {
        width: 100% !important;
        float: none !important;
    }
}


/* ==========================================================
   AIPL FINAL GALLERY IMAGE FIT
   ========================================================== */

@media (min-width: 769px) {

    .aipl-single-main {
        width: 100% !important;
        height: 500px !important;
        background: #fff !important;
        overflow: hidden !important;
    }

    .aipl-single-main-image {
        display: none !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    .aipl-single-main-image.active {
        display: block !important;
    }

    /* 2nd image */
    .aipl-single-main-image[data-index="1"].active {
        object-fit: contain !important;
        object-position: center center !important;
        transform: scale(1.18) !important;
    }

    .aipl-single-thumb {
        cursor: pointer !important;
    }

    .aipl-single-thumb.active {
        border: 2px solid #2563eb !important;
    }
}


/* ==========================================================
   AIPL SINGLE PRODUCT - FINAL FONT + IMAGE BALANCE
   ========================================================== */

@media (min-width: 769px) {

    /* GALLERY */
    body.single-product .aipl-single-gallery {
        width: 58% !important;
        margin-right: 2% !important;
        gap: 14px !important;
        min-height: 500px !important;
    }

    /* THUMBNAILS */
    body.single-product .aipl-single-thumbs {
        width: 82px !important;
        min-width: 82px !important;
        gap: 10px !important;
    }

    body.single-product .aipl-single-thumb {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px !important;
        padding: 4px !important;
    }

    /* MAIN IMAGE BOX */
    body.single-product .aipl-single-main {
        height: 500px !important;
        min-height: 500px !important;
        border-radius: 10px !important;
    }

    /* MAIN PRODUCT IMAGE */
    body.single-product .aipl-single-main-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    /* Make product image visually larger without cropping */
    body.single-product .aipl-single-main-image.active {
        transform: scale(1.18) !important;
    }

    /* RIGHT SUMMARY */
    body.single-product div.product div.summary {
        width: 40% !important;
        padding-left: 8px !important;
    }

    /* PRODUCT TITLE */
    body.single-product div.product .summary .product_title,
    body.single-product div.product .summary h1.product_title {
        font-size: 30px !important;
        line-height: 1.18 !important;
        font-weight: 700 !important;
        margin: 0 0 18px !important;
        letter-spacing: -0.3px !important;
    }

    /* PRICE */
    body.single-product div.product .summary .price {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 18px !important;
    }

    /* PRODUCT DESCRIPTION */
    body.single-product div.product .summary .woocommerce-product-details__short-description,
    body.single-product div.product .summary .product-description {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    /* PRODUCT DETAILS TEXT */
    body.single-product div.product .summary p,
    body.single-product div.product .summary li,
    body.single-product div.product .summary label,
    body.single-product div.product .summary span {
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    /* ADD TO CART */
    body.single-product div.product .summary .single_add_to_cart_button {
        font-size: 15px !important;
        font-weight: 700 !important;
        padding: 11px 22px !important;
        border-radius: 5px !important;
    }

    /* CATEGORY / META */
    body.single-product div.product .summary .product_meta {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-top: 20px !important;
    }

    /* DESCRIPTION BELOW */
    body.single-product .woocommerce-tabs {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    body.single-product .woocommerce-tabs h2 {
        font-size: 22px !important;
        margin-bottom: 12px !important;
    }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

    body.single-product .aipl-single-main {
        height: 420px !important;
        min-height: 320px !important;
    }

    body.single-product .aipl-single-main-image.active {
        transform: scale(1.08) !important;
    }

    body.single-product div.product .summary .product_title,
    body.single-product div.product .summary h1.product_title {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }

    body.single-product div.product .summary .price {
        font-size: 19px !important;
    }

    body.single-product div.product .summary p,
    body.single-product div.product .summary li {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}


/* ==========================================================
   AIPL PRODUCT PAGE - FINAL OVERRIDE
   Last rule intentionally overrides older gallery CSS
   ========================================================== */

@media screen and (min-width: 769px) {

    /* PRODUCT MAIN AREA */
    body.single-product div.product {
        width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    /* GALLERY */
    body.single-product div.product .aipl-single-gallery {
        width: 58% !important;
        max-width: 58% !important;
        float: left !important;

        display: flex !important;
        flex-direction: row !important;

        gap: 14px !important;
        margin: 0 2% 30px 0 !important;
        padding: 0 !important;

        min-height: 500px !important;
        box-sizing: border-box !important;
    }

    /* THUMBNAILS */
    body.single-product div.product .aipl-single-thumbs {
        width: 78px !important;
        min-width: 78px !important;
        max-width: 78px !important;

        flex: 0 0 78px !important;

        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;

        box-sizing: border-box !important;
    }

    body.single-product div.product .aipl-single-thumb {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;

        flex: 0 0 72px !important;

        padding: 4px !important;
        margin: 0 !important;

        border: 1px solid #d1d5db !important;
        border-radius: 8px !important;

        background: #fff !important;
        box-sizing: border-box !important;
    }

    body.single-product div.product .aipl-single-thumb.active {
        border: 2px solid #2563eb !important;
    }

    body.single-product div.product .aipl-single-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        display: block !important;
    }

    /* MAIN IMAGE BOX */
    body.single-product div.product .aipl-single-main {
        width: calc(100% - 92px) !important;
        flex: 1 1 auto !important;

        height: 500px !important;
        min-height: 500px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        background: #fff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 10px !important;

        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* MAIN PRODUCT IMAGE */
    body.single-product div.product .aipl-single-main-image {
        width: 100% !important;
        height: 100% !important;

        max-width: 100% !important;
        max-height: 100% !important;

        display: none !important;

        object-fit: contain !important;
        object-position: center center !important;

        margin: 0 !important;
    }

    body.single-product div.product .aipl-single-main-image.active {
        display: block !important;
        transform: scale(1.12) !important;
    }

    /* RIGHT PRODUCT DETAILS */
    body.single-product div.product div.summary {
        width: 40% !important;
        max-width: 40% !important;

        float: right !important;

        margin: 0 !important;
        padding: 0 0 0 10px !important;

        box-sizing: border-box !important;
    }

    /* PRODUCT TITLE */
    body.single-product div.product div.summary h1.product_title,
    body.single-product div.product div.summary .product_title {
        font-size: 28px !important;
        line-height: 1.22 !important;
        font-weight: 700 !important;

        margin: 0 0 16px !important;
        padding: 0 !important;

        letter-spacing: -0.2px !important;
    }

    /* PRICE */
    body.single-product div.product div.summary .price {
        font-size: 20px !important;
        line-height: 1.35 !important;

        margin: 0 0 18px !important;
    }

    /* SHORT DESCRIPTION */
    body.single-product div.product div.summary
    .woocommerce-product-details__short-description {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    body.single-product div.product div.summary
    .woocommerce-product-details__short-description p,
    body.single-product div.product div.summary
    .woocommerce-product-details__short-description li {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    /* ADD TO CART */
    body.single-product div.product div.summary
    .single_add_to_cart_button {
        font-size: 15px !important;
        font-weight: 700 !important;

        padding: 11px 22px !important;
        min-height: 42px !important;

        border-radius: 5px !important;
    }

    /* META */
    body.single-product div.product div.summary
    .product_meta {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-top: 18px !important;
    }

    /* CLEAR FLOAT */
    body.single-product div.product::after {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }
}


/* ==========================================================
   MOBILE FINAL
   ========================================================== */

@media screen and (max-width: 768px) {

    body.single-product div.product .aipl-single-gallery {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;

        display: flex !important;
        flex-direction: column !important;

        margin: 0 0 25px !important;
        padding: 0 !important;
    }

    body.single-product div.product .aipl-single-main {
        width: 100% !important;
        height: 420px !important;
        min-height: 320px !important;
    }

    body.single-product div.product .aipl-single-main-image.active {
        transform: scale(1.08) !important;
    }

    body.single-product div.product .aipl-single-thumbs {
        width: 100% !important;
        max-width: 100% !important;

        flex-direction: row !important;
        flex-wrap: wrap !important;
    }

    body.single-product div.product .aipl-single-thumb {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        flex: 0 0 64px !important;
    }

    body.single-product div.product div.summary {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        padding: 0 !important;
    }

    body.single-product div.product div.summary h1.product_title,
    body.single-product div.product div.summary .product_title {
        font-size: 24px !important;
        line-height: 1.22 !important;
    }

    body.single-product div.product div.summary .price {
        font-size: 19px !important;
    }
}


/* FINAL - SINGLE PRODUCT IMAGE SIZE REDUCE */
body.single-product .aipl-single-main{
    width: 450px !important;
    height: 450px !important;
}

body.single-product .aipl-single-main-image.active{
    transform: scale(1.04) !important;
}

body.single-product .aipl-single-gallery{
    gap: 18px !important;
}

body.single-product .aipl-single-thumbs{
    width: 72px !important;
}


/* AMAZON STYLE - 210x210 PRODUCT IMAGE */
body.single-product .aipl-single-gallery{
    display:flex !important;
    align-items:flex-start !important;
    gap:16px !important;
}

body.single-product .aipl-single-main{
    width:210px !important;
    height:210px !important;
    min-width:210px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    background:#fff !important;
}

body.single-product .aipl-single-main-image,
body.single-product .aipl-single-main-image.active{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    transform:none !important;
}

body.single-product .aipl-single-thumbs{
    width:72px !important;
    flex:0 0 72px !important;
}

body.single-product .aipl-single-thumb{
    width:72px !important;
    height:72px !important;
    margin-bottom:12px !important;
}

/* MOBILE */
@media (max-width:768px){
    body.single-product .aipl-single-main{
        width:210px !important;
        height:210px !important;
        min-width:210px !important;
    }
}


/* AMAZON STYLE - 210x210 PRODUCT IMAGE */
body.single-product .aipl-single-gallery{
    display:flex !important;
    align-items:flex-start !important;
    gap:16px !important;
}

body.single-product .aipl-single-main{
    width:210px !important;
    height:210px !important;
    min-width:210px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    background:#fff !important;
}

body.single-product .aipl-single-main-image,
body.single-product .aipl-single-main-image.active{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    transform:none !important;
}

body.single-product .aipl-single-thumbs{
    width:72px !important;
    flex:0 0 72px !important;
}

body.single-product .aipl-single-thumb{
    width:72px !important;
    height:72px !important;
    margin-bottom:12px !important;
}

/* MOBILE */
@media (max-width:768px){
    body.single-product .aipl-single-main{
        width:110px !important;
        height:110px !important;
        min-width:110px !important;
    }
}


/* AMAZON STYLE - 210x210 PRODUCT IMAGE */
body.single-product .aipl-single-gallery{
    display:flex !important;
    align-items:flex-start !important;
    gap:16px !important;
}

body.single-product .aipl-single-main{
    width:210px !important;
    height:210px !important;
    min-width:210px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    background:#fff !important;
}

body.single-product .aipl-single-main-image,
body.single-product .aipl-single-main-image.active{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    transform:none !important;
}

body.single-product .aipl-single-thumbs{
    width:72px !important;
    flex:0 0 72px !important;
}

body.single-product .aipl-single-thumb{
    width:72px !important;
    height:72px !important;
    margin-bottom:12px !important;
}

/* MOBILE */
@media (max-width:468px){
    body.single-product .aipl-single-main{
        width:110px !important;
        height:110px !important;
        min-width:110px !important;
    }
}


/* FINAL COMPACT - ACTUAL PRODUCT IMAGE 150x150 */
body.single-product .aipl-single-main{
    width:210px !important;
    height:210px !important;
    min-width:210px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    background:#fff !important;
}

body.single-product .aipl-single-main-image,
body.single-product .aipl-single-main-image.active{
    width:150px !important;
    height:150px !important;
    max-width:150px !important;
    max-height:150px !important;
    object-fit:contain !important;
    transform:none !important;
}

body.single-product .aipl-single-thumbs{
    width:72px !important;
    flex:0 0 72px !important;
}

body.single-product .aipl-single-thumb{
    width:72px !important;
    height:72px !important;
    margin-bottom:12px !important;
}


/* PRODUCT IMAGE - EXTRA COMPACT */
body.single-product .aipl-single-main-image,
body.single-product .aipl-single-main-image.active{
    width:100px !important;
    height:100px !important;
    max-width:100px !important;
    max-height:100px !important;
    object-fit:contain !important;
    transform:none !important;
}


/* =========================================================
   AIPL PRODUCT GALLERY - FINAL IMAGE SIZE FIX
   ========================================================= */

/* Main white image area */
body.single-product .aipl-single-main {
    width: 420px !important;
    height: 420px !important;
    min-width: 420px !important;
    max-width: 420px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #fff !important;
}

/* FORCE ACTUAL PRODUCT IMAGE SMALL */
body.single-product .aipl-single-main img,
body.single-product .aipl-single-main-image,
body.single-product .aipl-single-main-image.active {
    display: block !important;
    width: 180px !important;
    height: 180px !important;
    min-width: 180px !important;
    min-height: 180px !important;
    max-width: 180px !important;
    max-height: 180px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
}

/* Remove possible WooCommerce image sizing */
body.single-product .aipl-single-main img[width],
body.single-product .aipl-single-main img[height] {
    width: 180px !important;
    height: 180px !important;
    max-width: 180px !important;
    max-height: 180px !important;
}

/* THUMBNAILS */
body.single-product .aipl-single-thumbs {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
}

body.single-product .aipl-single-thumb {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 768px) {

    body.single-product .aipl-single-main {
        width: 300px !important;
        height: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
    }

    body.single-product .aipl-single-main img,
    body.single-product .aipl-single-main-image,
    body.single-product .aipl-single-main-image.active {
        width: 150px !important;
        height: 150px !important;
        min-width: 150px !important;
        min-height: 150px !important;
        max-width: 150px !important;
        max-height: 150px !important;
    }
}


/* =========================================================
   AIPL - FIXED PRODUCT IMAGE VIEW
   Large / Small source images automatically fit
   ========================================================= */

body.single-product .aipl-single-main{
    width:420px !important;
    height:420px !important;
    min-width:420px !important;
    max-width:420px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    overflow:hidden !important;
    background:#fff !important;
}

/* IMAGE ALWAYS FITS INSIDE FIXED VIEW */
body.single-product .aipl-single-main img,
body.single-product .aipl-single-main-image,
body.single-product .aipl-single-main-image.active{
    width:auto !important;
    height:auto !important;

    max-width:180px !important;
    max-height:180px !important;

    min-width:0 !important;
    min-height:0 !important;

    margin:auto !important;
    padding:0 !important;

    object-fit:contain !important;
    object-position:center center !important;

    transform:none !important;
}

/* Prevent HTML image attributes from forcing large size */
body.single-product .aipl-single-main img[width],
body.single-product .aipl-single-main img[height]{
    width:auto !important;
    height:auto !important;
    max-width:180px !important;
    max-height:180px !important;
}

/* THUMBNAILS */
body.single-product .aipl-single-thumbs{
    width:72px !important;
    min-width:72px !important;
    max-width:72px !important;
}

body.single-product .aipl-single-thumb{
    width:72px !important;
    height:72px !important;
    max-width:72px !important;
    max-height:72px !important;
}

/* MOBILE */
@media(max-width:768px){

    body.single-product .aipl-single-main{
        width:300px !important;
        height:300px !important;
        min-width:300px !important;
        max-width:300px !important;
    }

    body.single-product .aipl-single-main img,
    body.single-product .aipl-single-main-image,
    body.single-product .aipl-single-main-image.active{
        max-width:150px !important;
        max-height:150px !important;
    }
}


/* =========================================================
   AIPL PRODUCT PAGE - FINAL GALLERY + RELATED PRODUCTS FIX
   ========================================================= */

/* ---------- MAIN PRODUCT GALLERY ---------- */

body.single-product .aipl-single-main{
    width:420px !important;
    height:420px !important;
    min-width:420px !important;
    max-width:420px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    overflow:hidden !important;
    background:#fff !important;
    box-sizing:border-box !important;
}

/* Product image stays proportional and fits inside view */
body.single-product .aipl-single-main .aipl-single-main-image,
body.single-product .aipl-single-main img{
    width:auto !important;
    height:auto !important;

    max-width:80% !important;
    max-height:80% !important;

    min-width:0 !important;
    min-height:0 !important;

    margin:auto !important;
    padding:0 !important;

    object-fit:contain !important;
    object-position:center center !important;

    transform:none !important;
}

/* Active image */
body.single-product .aipl-single-main .aipl-single-main-image.active{
    display:block !important;
}

/* ---------- THUMBNAILS ---------- */

body.single-product .aipl-single-thumbs{
    width:72px !important;
    min-width:72px !important;
    max-width:72px !important;
    flex:0 0 72px !important;
}

body.single-product .aipl-single-thumb{
    width:72px !important;
    height:72px !important;
    max-width:72px !important;
    max-height:72px !important;
    margin-bottom:12px !important;
    box-sizing:border-box !important;
}

body.single-product .aipl-single-thumb img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
}


/* =========================================================
   RELATED PRODUCTS - AMAZON STYLE 4 COLUMN
   ========================================================= */

body.single-product section.related,
body.single-product .related{
    width:100% !important;
    max-width:1200px !important;
    margin:50px auto 0 !important;
    clear:both !important;
    box-sizing:border-box !important;
}

/* Heading */
body.single-product .related > h2{
    width:100% !important;
    margin:0 0 20px !important;
    font-size:24px !important;
    font-weight:700 !important;
}

/* Product grid */
body.single-product .related ul.products{
    width:100% !important;
    max-width:100% !important;

    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;

    gap:20px !important;

    margin:0 !important;
    padding:0 !important;

    list-style:none !important;
}

/* Individual related product */
body.single-product .related ul.products li.product{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;

    float:none !important;
    clear:none !important;

    margin:0 !important;
    padding:15px !important;

    box-sizing:border-box !important;

    background:#fff !important;
    border:1px solid #e1e5e9 !important;
    border-radius:8px !important;

    overflow:hidden !important;
}

/* Related product image */
body.single-product .related ul.products li.product img{
    width:100% !important;
    height:220px !important;
    max-width:100% !important;

    object-fit:contain !important;

    margin:0 0 12px !important;
}

/* Related product title */
body.single-product .related ul.products li.product .woocommerce-loop-product__title{
    font-size:15px !important;
    line-height:1.35 !important;
    min-height:42px !important;
    margin:8px 0 !important;
}

/* Related price */
body.single-product .related ul.products li.product .price{
    font-size:17px !important;
    font-weight:700 !important;
    margin:8px 0 !important;
}

/* Related Add to Cart */
body.single-product .related ul.products li.product .button{
    width:100% !important;
    box-sizing:border-box !important;
    text-align:center !important;
    margin-top:8px !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1024px){

    body.single-product .related ul.products{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:768px){

    body.single-product .aipl-single-main{
        width:320px !important;
        height:320px !important;
        min-width:320px !important;
        max-width:320px !important;
    }

    body.single-product .aipl-single-main .aipl-single-main-image,
    body.single-product .aipl-single-main img{
        max-width:80% !important;
        max-height:80% !important;
    }

    body.single-product .aipl-single-thumbs{
        width:60px !important;
        min-width:60px !important;
        max-width:60px !important;
        flex-basis:60px !important;
    }

    body.single-product .aipl-single-thumb{
        width:60px !important;
        height:60px !important;
    }

    body.single-product .related ul.products{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:12px !important;
    }

    body.single-product .related ul.products li.product{
        padding:10px !important;
    }

    body.single-product .related ul.products li.product img{
        height:160px !important;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media(max-width:480px){

    body.single-product .aipl-single-gallery{
        gap:8px !important;
    }

    body.single-product .aipl-single-main{
        width:260px !important;
        height:260px !important;
        min-width:260px !important;
        max-width:260px !important;
    }

}


/* =========================================================
   AIPL - RELATED PRODUCTS FINAL RESET
   ========================================================= */

body.single-product .related.products {
    display: block !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 50px auto 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
}

body.single-product .related.products > h2 {
    display: block !important;
    width: 100% !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
}

body.single-product .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 20px !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after {
    display: none !important;
    content: none !important;
}

body.single-product .related.products ul.products li.product {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;

    margin: 0 !important;
    padding: 14px !important;

    box-sizing: border-box !important;

    background: #fff !important;
    border: 1px solid #e1e5e9 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

body.single-product .related.products ul.products li.product a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

body.single-product .related.products ul.products li.product img {
    display: block !important;
    width: 100% !important;
    height: 210px !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    object-fit: contain !important;
}

body.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
    display: block !important;
    width: 100% !important;
    min-height: 42px !important;
    margin: 5px 0 8px !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
}

body.single-product .related.products ul.products li.product .price {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 !important;
    font-size: 17px !important;
}

body.single-product .related.products ul.products li.product .button {
    display: block !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

/* TABLET */
@media (max-width: 1024px) {
    body.single-product .related.products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    body.single-product .related.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    body.single-product .related.products ul.products li.product img {
        height: 170px !important;
    }
}


/* =========================================================
   AIPL TOP NAV - AMAZON / SERVERBASKET STYLE MEGA MENU
   Laptops | Servers | Networking | CCTV | Software
   ========================================================= */

.aipl-topmega-nav{
    display:flex !important;
    align-items:stretch !important;
    height:100% !important;
    flex:1 1 auto !important;
}

.aipl-topmega-item{
    position:static !important;
    height:100% !important;
}

.aipl-topmega-link{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    height:100% !important;
    padding:0 25px !important;

    color:#fff !important;
    text-decoration:none !important;

    font-size:17px !important;
    font-weight:700 !important;

    white-space:nowrap !important;

    transition:background .15s ease,color .15s ease !important;
}

.aipl-topmega-link:hover{
    background:#138a45 !important;
    color:#fff !important;
}


/* ---------- FULL WIDTH DROPDOWN ---------- */

.aipl-topmega-panel{
    position:absolute !important;

    left:0 !important;
    right:0 !important;
    top:100% !important;

    width:100% !important;

    background:#fff !important;

    border-top:1px solid #e5e7eb !important;
    border-bottom:1px solid #d7dce0 !important;

    box-shadow:0 8px 22px rgba(0,0,0,.16) !important;

    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;

    transform:translateY(8px) !important;

    transition:
        opacity .15s ease,
        transform .15s ease,
        visibility .15s ease !important;

    z-index:99999 !important;
}


/* Hover */
.aipl-topmega-item:hover > .aipl-topmega-panel,
.aipl-topmega-item.is-open > .aipl-topmega-panel{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translateY(0) !important;
}


/* ---------- CONTENT ---------- */

.aipl-topmega-inner{
    width:100% !important;
    max-width:1450px !important;

    margin:0 auto !important;
    padding:28px 42px 22px !important;

    display:grid !important;

    grid-template-columns:
        repeat(5,minmax(0,1fr)) !important;

    gap:26px 42px !important;

    box-sizing:border-box !important;

    max-height:520px !important;
    overflow-y:auto !important;
}


/* Column */
.aipl-topmega-column{
    min-width:0 !important;
}


/* Green heading like screenshot */
.aipl-topmega-heading{
    display:block !important;

    margin:0 0 15px !important;

    color:#07883f !important;

    font-size:16px !important;
    font-weight:800 !important;
    line-height:1.3 !important;

    text-decoration:none !important;
}

.aipl-topmega-heading:hover{
    color:#005f2c !important;
}


/* Links */
.aipl-topmega-column ul{
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
}

.aipl-topmega-column ul li{
    margin:0 !important;
    padding:0 !important;
}

.aipl-topmega-column ul li a{
    display:block !important;

    padding:6px 0 !important;

    color:#111827 !important;

    font-size:14px !important;
    font-weight:500 !important;
    line-height:1.35 !important;

    text-decoration:none !important;

    transition:
        color .12s ease,
        padding-left .12s ease !important;
}

.aipl-topmega-column ul li a:hover{
    color:#07883f !important;
    padding-left:4px !important;
}


/* No children */
.aipl-topmega-direct{
    display:block !important;

    color:#111827 !important;

    font-size:14px !important;
    font-weight:600 !important;

    text-decoration:none !important;
}

.aipl-topmega-direct:hover{
    color:#07883f !important;
}


/* ---------- FOOTER ---------- */

.aipl-topmega-footer{
    border-top:1px solid #edf0f2 !important;

    max-width:1450px !important;
    margin:0 auto !important;

    padding:12px 42px !important;

    box-sizing:border-box !important;

    text-align:right !important;
}

.aipl-topmega-footer a{
    color:#07883f !important;

    font-size:14px !important;
    font-weight:700 !important;

    text-decoration:none !important;
}


/* =========================================================
   NAV HEIGHT / POSITION
   ========================================================= */

.aipl-nav{
    position:relative !important;
}

.aipl-nav-inner{
    position:relative !important;
}

.aipl-topmega-nav{
    position:static !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1100px){

    .aipl-topmega-link{
        padding:0 15px !important;
        font-size:15px !important;
    }

    .aipl-topmega-inner{
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        padding-left:25px !important;
        padding-right:25px !important;
        gap:22px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:768px){

    .aipl-topmega-nav{
        display:none !important;
    }

}



/* =========================================================
   AIPL TOP MEGA MENU - CLICK FIX
   ========================================================= */

/* Keep normal menu links */
.aipl-topmega-nav{
    position:static !important;
    display:flex !important;
    align-items:stretch !important;
    height:100% !important;
    flex:1 1 auto !important;
}

/* Home / Shop / Contact */
.aipl-topmega-nav > .aipl-simple-nav-link{
    position:relative !important;
    z-index:1000002 !important;
    cursor:pointer !important;
    pointer-events:auto !important;
}

/* Mega menu item */
.aipl-topmega-item{
    position:static !important;
    z-index:1000000 !important;
}

/* Dropdown itself */
.aipl-topmega-panel{
    z-index:1000001 !important;
    pointer-events:none !important;
}

/* When hovering, make complete dropdown clickable */
.aipl-topmega-item:hover > .aipl-topmega-panel{
    pointer-events:auto !important;
}

/* ALL links inside mega menu */
.aipl-topmega-panel a,
.aipl-topmega-panel .aipl-topmega-heading,
.aipl-topmega-panel .aipl-topmega-direct,
.aipl-topmega-panel li,
.aipl-topmega-panel li a{
    position:relative !important;
    z-index:1000005 !important;
    pointer-events:auto !important;
    cursor:pointer !important;
}

/* Green headings */
.aipl-topmega-panel .aipl-topmega-heading{
    color:#07883f !important;
}

/* Product links */
.aipl-topmega-panel ul li a{
    color:#111827 !important;
    text-decoration:none !important;
}

/* Hover */
.aipl-topmega-panel ul li a:hover{
    color:#07883f !important;
    padding-left:5px !important;
}

/* Footer link */
.aipl-topmega-footer,
.aipl-topmega-footer a{
    position:relative !important;
    z-index:1000005 !important;
    pointer-events:auto !important;
}


/* Make dropdown stay above old All Categories mega menu */
.aipl-topmega-panel{
    isolation:isolate !important;
}


/* Prevent old mega menu from covering top navigation */
.aipl-mega-menu{
    z-index:9990 !important;
}


/* Top navigation must remain above old menu */
.aipl-nav{
    position:relative !important;
    z-index:10000 !important;
}


/* =========================================================
   MENU LINK VISUAL
   ========================================================= */

.aipl-topmega-link{
    cursor:pointer !important;
    user-select:none !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:768px){

    .aipl-topmega-nav{
        display:none !important;
    }

}


/* =========================================================
   AIPL NAV MENU - CENTER ALIGN
   ========================================================= */

.aipl-nav-inner{
    display:flex !important;
    align-items:stretch !important;
}

.aipl-all-cat{
    flex:0 0 auto !important;
}

/* Home, Shop, Laptops, Servers, Networking, CCTV,
   Software, Contact - CENTER */
.aipl-topmega-nav{
    flex:1 1 auto !important;
    width:auto !important;
    display:flex !important;
    align-items:stretch !important;
    justify-content:center !important;
    margin:0 auto !important;
}

/* Equal comfortable spacing */
.aipl-topmega-nav > .aipl-topmega-link,
.aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link{
    padding-left:24px !important;
    padding-right:24px !important;
}

/* Keep mega dropdown full width */
.aipl-topmega-panel{
    left:0 !important;
    right:0 !important;
}


/* =========================================================
   FINAL TOP NAV - SINGLE LINE + PERFECT CENTER
   ========================================================= */

.aipl-nav-inner{
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    box-sizing:border-box !important;
}

/* All Categories stays left */
.aipl-all-cat{
    flex:0 0 285px !important;
    width:285px !important;
    min-width:285px !important;
}

/* Main menu */
.aipl-topmega-nav{
    flex:1 1 auto !important;
    width:auto !important;
    min-width:0 !important;

    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;

    align-items:center !important;
    justify-content:center !important;

    margin:0 !important;
    padding:0 !important;

    white-space:nowrap !important;
}

/* Every menu item */
.aipl-topmega-nav > .aipl-topmega-link,
.aipl-topmega-nav > .aipl-topmega-item{
    flex:0 0 auto !important;
    white-space:nowrap !important;
}

/* Menu text */
.aipl-topmega-nav > .aipl-topmega-link,
.aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link{
    height:72px !important;
    padding:0 20px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    white-space:nowrap !important;

    font-size:17px !important;
    font-weight:700 !important;
}

/* Keep dropdown absolute and full width */
.aipl-topmega-item{
    position:static !important;
}

.aipl-topmega-panel{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
}

/* Prevent old menu CSS from wrapping */
.aipl-primary-menu{
    display:none !important;
}


/* Smaller screens */
@media(max-width:1200px){

    .aipl-all-cat{
        flex-basis:250px !important;
        width:250px !important;
        min-width:250px !important;
    }

    .aipl-topmega-nav > .aipl-topmega-link,
    .aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link{
        padding-left:12px !important;
        padding-right:12px !important;
        font-size:15px !important;
    }
}

@media(max-width:900px){

    .aipl-all-cat{
        flex-basis:220px !important;
        width:220px !important;
        min-width:220px !important;
    }

    .aipl-topmega-nav > .aipl-topmega-link,
    .aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link{
        padding-left:8px !important;
        padding-right:8px !important;
        font-size:14px !important;
    }
}


/* =========================================================
   ALL CATEGORIES - FULL NAV HEIGHT
   ========================================================= */

.aipl-nav{
    min-height:72px !important;
    height:72px !important;
}

.aipl-nav-inner{
    min-height:72px !important;
    height:72px !important;
    align-items:stretch !important;
}

/* Full orange block */
.aipl-all-cat{
    height:72px !important;
    min-height:72px !important;
    flex:0 0 285px !important;
    width:285px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    box-sizing:border-box !important;
    margin:0 !important;
    padding:0 25px !important;

    background:#ff9900 !important;
    border:0 !important;
    border-radius:0 !important;

    font-size:17px !important;
    font-weight:700 !important;
}

/* Icon + text vertically centered */
.aipl-all-cat span{
    display:inline-flex !important;
    align-items:center !important;
}

.aipl-all-cat b{
    margin-left:auto !important;
}

/* Main menu same full height */
.aipl-topmega-nav{
    height:72px !important;
    min-height:72px !important;
    align-items:stretch !important;
}

.aipl-topmega-nav > .aipl-topmega-link,
.aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link{
    height:72px !important;
    min-height:72px !important;
    box-sizing:border-box !important;
    display:flex !important;
    align-items:center !important;
}


/* =========================================================
   AIPL NAV - SCREENSHOT STYLE FINAL
   ========================================================= */

.aipl-nav{
    height:72px !important;
    min-height:72px !important;
    background:#123858 !important;
    padding:0 !important;
    margin:0 !important;
}

.aipl-nav-inner{
    height:72px !important;
    min-height:72px !important;

    display:flex !important;
    align-items:stretch !important;

    width:100% !important;
    max-width:100% !important;

    margin:0 !important;
    padding:0 !important;
}


/* =========================================================
   ALL CATEGORIES
   ========================================================= */

.aipl-all-cat{
    flex:0 0 285px !important;
    width:285px !important;
    min-width:285px !important;
    height:72px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    margin:0 !important;
    padding:0 24px !important;

    background:#ff9900 !important;
    color:#111 !important;

    border:0 !important;
    border-radius:0 !important;

    font-size:17px !important;
    font-weight:700 !important;

    box-sizing:border-box !important;
}


/* hamburger */
.aipl-all-cat:first-letter{
    font-size:20px !important;
}


/* =========================================================
   MAIN MENU
   ========================================================= */

.aipl-topmega-nav{
    height:72px !important;
    min-height:72px !important;

    flex:1 1 auto !important;

    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;

    align-items:stretch !important;
    justify-content:center !important;

    margin:0 !important;
    padding:0 !important;

    white-space:nowrap !important;
}


/* Every menu item */
.aipl-topmega-nav > .aipl-topmega-link,
.aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link{

    height:72px !important;
    min-height:72px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    padding:0 25px !important;
    margin:0 !important;

    color:#fff !important;
    background:transparent !important;

    font-family:Arial,Helvetica,sans-serif !important;
    font-size:17px !important;
    font-weight:600 !important;

    line-height:1 !important;

    text-decoration:none !important;
    white-space:nowrap !important;

    box-sizing:border-box !important;
}


/* Hover */
.aipl-topmega-nav > .aipl-topmega-link:hover,
.aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link:hover{
    color:#fff !important;
    background:#17476b !important;
}


/* =========================================================
   MEGA MENU
   ========================================================= */

.aipl-topmega-panel{
    top:72px !important;
    left:0 !important;
    right:0 !important;

    width:100% !important;
}


/* =========================================================
   REMOVE OLD NAV SPACING
   ========================================================= */

.aipl-primary-menu{
    display:none !important;
}

.aipl-nav-inner > *{
    box-sizing:border-box !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:1200px){

    .aipl-all-cat{
        flex-basis:250px !important;
        width:250px !important;
        min-width:250px !important;
    }

    .aipl-topmega-nav > .aipl-topmega-link,
    .aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link{
        padding-left:15px !important;
        padding-right:15px !important;
        font-size:16px !important;
    }
}

@media(max-width:950px){

    .aipl-all-cat{
        flex-basis:220px !important;
        width:220px !important;
        min-width:220px !important;
    }

    .aipl-topmega-nav > .aipl-topmega-link,
    .aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link{
        padding-left:10px !important;
        padding-right:10px !important;
        font-size:14px !important;
    }
}


/* =========================================================
   AIPL NAV - COMPACT HEIGHT + NO GAP
   ========================================================= */

.aipl-nav{
    height:58px !important;
    min-height:58px !important;
    padding:0 !important;
    margin:0 !important;
}

.aipl-nav-inner{
    height:58px !important;
    min-height:58px !important;

    width:100% !important;
    max-width:100% !important;

    margin:0 !important;
    padding:0 !important;

    display:flex !important;
    align-items:stretch !important;
}


/* ALL CATEGORIES */
.aipl-all-cat{
    flex:0 0 285px !important;
    width:285px !important;
    min-width:285px !important;

    height:58px !important;
    min-height:58px !important;

    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;

    padding:0 28px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;

    background:#ff9900 !important;
    color:#111 !important;

    box-sizing:border-box !important;
}


/* REMOVE GAP BETWEEN ALL CATEGORIES + HOME */
.aipl-topmega-nav{
    flex:1 1 auto !important;

    width:auto !important;
    height:58px !important;
    min-height:58px !important;

    margin:0 !important;
    padding:0 !important;

    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;

    align-items:stretch !important;
    justify-content:center !important;

    gap:0 !important;

    white-space:nowrap !important;
}


/* MENU ITEMS */
.aipl-topmega-nav > .aipl-topmega-link,
.aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link{

    height:58px !important;
    min-height:58px !important;

    margin:0 !important;

    padding:0 24px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    color:#fff !important;
    background:transparent !important;

    font-size:17px !important;
    font-weight:600 !important;
    line-height:1 !important;

    white-space:nowrap !important;

    box-sizing:border-box !important;
}


/* HOVER */
.aipl-topmega-nav > .aipl-topmega-link:hover,
.aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link:hover{
    background:#17476b !important;
    color:#fff !important;
}


/* MEGA MENU STARTS EXACTLY BELOW NAV */
.aipl-topmega-panel{
    top:58px !important;
}


/* REMOVE ANY OLD GAP */
.aipl-nav-inner > .aipl-topmega-nav{
    margin-left:0 !important;
    padding-left:0 !important;
}


/* RESPONSIVE */
@media(max-width:1200px){

    .aipl-all-cat{
        flex-basis:250px !important;
        width:250px !important;
        min-width:250px !important;
    }

    .aipl-topmega-nav > .aipl-topmega-link,
    .aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link{
        padding-left:15px !important;
        padding-right:15px !important;
        font-size:16px !important;
    }
}

@media(max-width:950px){

    .aipl-all-cat{
        flex-basis:220px !important;
        width:220px !important;
        min-width:220px !important;
    }

    .aipl-topmega-nav > .aipl-topmega-link,
    .aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link{
        padding-left:10px !important;
        padding-right:10px !important;
        font-size:14px !important;
    }
}


/* =========================================================
   REDUCE GAP: ALL CATEGORIES -> HOME
   ========================================================= */

.aipl-topmega-nav{
    justify-content:flex-start !important;
    margin:0 !important;
    padding:0 !important;
    gap:0 !important;
}

/* Home starts immediately after All Categories */
.aipl-topmega-nav > .aipl-simple-nav-link:first-child{
    margin-left:0 !important;
    padding-left:18px !important;
}

/* Compact menu spacing */
.aipl-topmega-nav > .aipl-topmega-link,
.aipl-topmega-nav > .aipl-topmega-item > .aipl-topmega-link{
    padding-left:18px !important;
    padding-right:18px !important;
}


/* =========================================================
   AIPL - SITE WIDE STARTING PRICE BAR
   ========================================================= */

.aipl-starting-price-bar{
    width:100% !important;
    height:34px !important;
    min-height:34px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    box-sizing:border-box !important;

    background:#f5f5f5 !important;
    color:#222 !important;

    font-size:15px !important;
    font-weight:600 !important;

    border-bottom:1px solid #e1e1e1 !important;
}

.aipl-starting-price-bar strong{
    font-weight:800 !important;
}

@media(max-width:600px){
    .aipl-starting-price-bar{
        height:32px !important;
        min-height:32px !important;
        font-size:13px !important;
    }
}


/* Starting price text near product price */
.aipl-starting-price-inline{
    display:block !important;
    margin-top:6px !important;
    margin-bottom:10px !important;
    font-size:14px !important;
    font-weight:600 !important;
    color:#333 !important;
}

.aipl-starting-price-inline strong{
    font-weight:800 !important;
}


/* =========================================================
   PRICE - INCLUSIVE OF ALL TAXES
   ========================================================= */

.aipl-price-tax-note{
    margin-top:6px !important;
    margin-bottom:14px !important;

    font-size:14px !important;
    line-height:1.4 !important;

    color:#555 !important;
}

.aipl-price-tax-note strong{
    color:#222 !important;
    font-size:15px !important;
    font-weight:700 !important;
}

.aipl-price-tax-note span{
    color:#555 !important;
    font-size:14px !important;
    font-weight:500 !important;
}


/* =========================================================
   AIPL PRICE - LARGE + TAX NOTE BOLD
   ========================================================= */

.aipl-price-tax-note{
    margin-top:8px !important;
    margin-bottom:16px !important;
    line-height:1.4 !important;
}

.aipl-price-tax-note strong{
    font-size:22px !important;
    font-weight:800 !important;
    color:#222 !important;
}

.aipl-price-tax-note span{
    font-size:15px !important;
    font-weight:800 !important;
    color:#333 !important;
}


/* FINAL PRICE TAX DISPLAY */
.aipl-price-tax-note{
    display:block !important;
    margin-top:8px !important;
    margin-bottom:16px !important;
    font-size:20px !important;
    font-weight:800 !important;
    color:#222 !important;
    line-height:1.4 !important;
}

.aipl-price-tax-note strong{
    font-size:20px !important;
    font-weight:800 !important;
    color:#222 !important;
}

.aipl-price-tax-note span{
    font-size:20px !important;
    font-weight:800 !important;
    color:#222 !important;
    margin-left:4px !important;
}


/* AIPL REQUEST A QUOTE BUTTON */
.aipl-request-quote-btn {
    margin-left: 10px;
    background: #fff !important;
    color: #062d4f !important;
    border: 1px solid #d6e0e8 !important;
}
.aipl-request-quote-btn:hover {
    background: #f0f6fa !important;
}
@media (max-width: 700px) {
    .aipl-request-quote-btn {
        margin: 8px 0 0 8px;
    }
}
/* END AIPL REQUEST A QUOTE BUTTON */

/* AIPL ADVERTISEMENT BANNER */
.aipl-ad-hero {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-top: 14px !important;
    box-sizing: border-box;
}
.aipl-ad-accessible-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.aipl-ad-desktop {display:block;}
.aipl-ad-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 3.67 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: #082d4c;
}
.aipl-ad-banner img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.aipl-ad-hotspot {
    position:absolute;
    z-index:3;
    display:block;
    background:transparent;
    border-radius:7px;
}
.aipl-ad-shop-hotspot {
    left:6.3%;
    top:68%;
    width:9.5%;
    height:13%;
}
.aipl-ad-quote-hotspot {
    left:16.4%;
    top:68%;
    width:13.1%;
    height:13%;
}
.aipl-ad-hotspot:focus {
    outline:3px solid #ff9900;
}
.aipl-ad-hotspot span {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
}
.aipl-ad-mobile {display:none;}

/* Request a Quote page */
.aipl-quote-page-wrap {
    width:min(960px,94%);
    margin:32px auto;
    padding:clamp(20px,4vw,38px);
    border:1px solid #e1e8ee;
    border-radius:12px;
    background:#fff;
    box-shadow:0 8px 28px #092c4810;
}
.aipl-quote-page-wrap h1,
.aipl-quote-page-wrap h2 {
    color:#092f50;
}
.aipl-quote-page-wrap .aipl-quote-intro {
    color:#5d6d7a;
    line-height:1.7;
}
.aipl-quote-form {margin-top:22px;}
.aipl-quote-fields {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}
.aipl-quote-fields label {
    display:block;
    min-width:0;
    color:#263b4d;
    font-size:13px;
    font-weight:700;
}
.aipl-quote-fields input,
.aipl-quote-fields select,
.aipl-quote-fields textarea {
    display:block;
    width:100%;
    min-width:0;
    margin-top:7px;
    padding:12px;
    border:1px solid #d0dbe4;
    border-radius:6px;
    background:#fff;
    color:#1d2b36;
    font:inherit;
    font-weight:400;
    box-sizing:border-box;
}
.aipl-quote-fields input:focus,
.aipl-quote-fields select:focus,
.aipl-quote-fields textarea:focus {
    outline:2px solid #8ac7e5;
    border-color:#1676a6;
}
.aipl-quote-fields .aipl-quote-details {
    grid-column:1/-1;
}
.aipl-quote-fields textarea {
    min-height:130px;
    resize:vertical;
}
.aipl-quote-submit {
    margin-top:20px;
    padding:13px 22px;
    border:0;
    border-radius:6px;
    background:#ff9900;
    color:#17212b;
    font-weight:800;
    cursor:pointer;
}
.aipl-quote-submit:hover {background:#f29100;}
.aipl-quote-privacy {font-size:11px;color:#697783;margin-top:12px;}
.aipl-quote-success,
.aipl-quote-error {
    padding:13px 15px;
    border-radius:6px;
    margin:14px 0;
    line-height:1.5;
}
.aipl-quote-success {background:#eaf8ef;border:1px solid #a9d9b6;color:#145c2b;}
.aipl-quote-error {background:#fff1ef;border:1px solid #f0b9b2;color:#8c241a;}
.aipl-quote-honeypot {
    position:absolute !important;
    left:-10000px !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
}

@media(max-width:700px) {
    .aipl-ad-desktop {display:none;}
    .aipl-ad-mobile {
        display:block;
        overflow:hidden;
        border-radius:9px;
        background:#082d4c;
    }
    .aipl-mobile-ad-copy {
        padding:22px 18px 20px;
        color:#fff;
        background:linear-gradient(120deg,#082d4c,#087b9e);
    }
    .aipl-mobile-ad-copy .eyebrow {color:#ffbd35;font-size:11px;font-weight:800;letter-spacing:1.4px;}
    .aipl-mobile-ad-copy h2 {
        margin:10px 0;
        color:#fff;
        font-size:clamp(26px,7vw,36px);
        line-height:1.12;
    }
    .aipl-mobile-ad-copy p {font-size:13px;line-height:1.6;color:#e5f0f6;}
    .aipl-mobile-ad-buttons {display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;}
    .aipl-mobile-ad-buttons .btn {margin:0;padding:11px 13px;font-size:12px;}
    .aipl-mobile-ad-buttons .aipl-request-quote-btn {margin:0;background:#fff!important;color:#062d4f!important;}
    .aipl-mobile-ad-art {width:100%;height:155px;overflow:hidden;background:#082d4c;}
    .aipl-mobile-ad-art img {
        display:block;width:100%;height:100%;
        object-fit:cover;object-position:90% center;
    }
    .aipl-quote-page-wrap {padding:20px 15px;margin:20px auto;}
    .aipl-quote-fields {grid-template-columns:1fr;gap:14px;}
    .aipl-quote-fields .aipl-quote-details {grid-column:auto;}
    .aipl-quote-submit {width:100%;min-height:46px;}
}
/* END AIPL ADVERTISEMENT AND QUOTE PAGE */


/* AIPL THREE COLUMN PRODUCT CSS START */

/* Desktop: gallery | product details | purchase panel */
body.single-product .container:has(div.aipl-three-column-product) {
    width: 96% !important;
    max-width: 1800px !important;
}

body.single-product div.product.aipl-three-column-product {
    display: grid !important;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.95fr) minmax(290px, 0.72fr) !important;
    grid-template-areas: "gallery info buy" !important;
    gap: 26px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 1800px !important;
    margin: 24px auto 35px !important;
    float: none !important;
    box-sizing: border-box !important;
}

body.single-product div.product.aipl-three-column-product > .woocommerce-product-gallery,
body.single-product div.product.aipl-three-column-product > .aipl-single-gallery {
    grid-area: gallery !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.single-product .aipl-product-info {
    grid-area: info !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

body.single-product .aipl-product-info .product_title {
    font-size: clamp(25px, 2vw, 36px) !important;
    line-height: 1.2 !important;
    margin: 0 0 14px !important;
    color: #111820 !important;
}

body.single-product .aipl-product-info .woocommerce-product-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px !important;
}

body.single-product .aipl-product-info .woocommerce-product-details__short-description {
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: #273746 !important;
}

body.single-product .aipl-product-info .woocommerce-product-details__short-description p,
body.single-product .aipl-product-info .woocommerce-product-details__short-description li {
    font-size: 15px !important;
    line-height: 1.65 !important;
}

body.single-product .aipl-product-specs {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #e2e7eb;
}

body.single-product .aipl-product-specs h2 {
    margin: 0 0 13px;
    font-size: 19px;
    color: #1e2c39;
}

body.single-product .aipl-product-specs dl {
    margin: 0;
}

body.single-product .aipl-product-specs .aipl-spec-row {
    display: grid;
    grid-template-columns: minmax(95px, 0.7fr) minmax(0, 1.3fr);
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #eef1f3;
}

body.single-product .aipl-product-specs dt {
    color: #5a6874;
    font-size: 13px;
    font-weight: 600;
}

body.single-product .aipl-product-specs dd {
    margin: 0;
    color: #151d25;
    font-size: 13px;
    overflow-wrap: anywhere;
}

body.single-product .aipl-product-buy-panel {
    grid-area: buy !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 22px 18px !important;
    border: 1px solid #e2e5e8;
    border-radius: 14px;
    background: #fafafa;
    box-shadow: 0 3px 15px #12263b08;
}

body.single-product .aipl-buy-eyebrow {
    margin-bottom: 12px;
    color: #66737d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

body.single-product .aipl-product-buy-panel > .price {
    margin: 0 0 10px !important;
    color: #101820 !important;
    font-size: clamp(25px, 2vw, 32px) !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

body.single-product .aipl-product-buy-panel .price del {
    color: #8b949b !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

body.single-product .aipl-product-buy-panel .price ins {
    color: #101820 !important;
    text-decoration: none !important;
}

body.single-product .aipl-product-buy-panel .aipl-price-tax-note {
    display: block !important;
    margin: 7px 0 17px !important;
    color: #40515e !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

body.single-product .aipl-product-buy-panel .aipl-price-tax-note strong {
    display: none !important;
}

body.single-product .aipl-product-buy-panel .aipl-price-tax-note span {
    margin-left: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #40515e !important;
}

body.single-product .aipl-product-buy-panel .stock {
    margin: 8px 0 14px;
    font-size: 13px;
}

body.single-product .aipl-product-buy-panel form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 18px 0 10px !important;
}

body.single-product .aipl-product-buy-panel form.cart .quantity {
    margin: 0 !important;
}

body.single-product .aipl-product-buy-panel form.cart .quantity input.qty {
    min-height: 42px;
    width: 72px;
    padding: 7px;
    border: 1px solid #cbd4db;
    border-radius: 6px;
}

body.single-product .aipl-product-buy-panel .single_add_to_cart_button {
    flex: 1 1 145px;
    min-height: 44px !important;
    padding: 12px 14px !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: #ffd36a !important;
    color: #17212b !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

body.single-product .aipl-product-buy-panel .aipl-buy-now-button {
    display: block;
    width: 100%;
    min-height: 45px;
    margin: 9px 0 16px;
    padding: 12px 16px;
    border: 0;
    border-radius: 24px;
    background: #ff9900;
    color: #17212b;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

body.single-product .aipl-product-buy-panel .aipl-buy-now-button:hover {
    background: #f29100;
}

body.single-product .aipl-purchase-benefits {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #e0e4e8;
}

body.single-product .aipl-purchase-benefits > div {
    display: flex;
    gap: 9px;
    margin: 10px 0;
    color: #314453;
    font-size: 12px;
    line-height: 1.5;
}

body.single-product .aipl-purchase-benefits b {
    color: #17813c;
}

body.single-product .aipl-product-quote-link {
    display: block;
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid #e0e4e8;
    color: #0066a8 !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

body.single-product div.product.aipl-three-column-product::before,
body.single-product div.product.aipl-three-column-product::after {
    display: none !important;
    content: none !important;
}

/* Gallery: consistent main image and thumbnail row */
body.single-product div.product.aipl-three-column-product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
}

body.single-product div.product.aipl-three-column-product .woocommerce-product-gallery__wrapper {
    margin-bottom: 14px !important;
}

body.single-product div.product.aipl-three-column-product .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: clamp(330px, 37vw, 510px) !important;
    max-height: 510px !important;
    object-fit: contain !important;
    object-position: center !important;
}

body.single-product div.product.aipl-three-column-product .flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
}

body.single-product div.product.aipl-three-column-product .flex-control-thumbs li {
    float: none !important;
    width: 66px !important;
    margin: 0 !important;
    border: 1px solid #d9dfe4;
    border-radius: 6px;
    padding: 4px;
    box-sizing: border-box;
}

body.single-product div.product.aipl-three-column-product .flex-control-thumbs img {
    width: 100% !important;
    height: 56px !important;
    object-fit: contain !important;
    margin: 0 !important;
}

/* Tablet */
@media (max-width: 1100px) {
    body.single-product div.product.aipl-three-column-product {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        grid-template-areas: "gallery info" "buy buy" !important;
        gap: 22px !important;
    }

    body.single-product .aipl-product-buy-panel {
        width: 100%;
    }

    body.single-product div.product.aipl-three-column-product .woocommerce-product-gallery__image img {
        height: 390px !important;
    }
}

/* Mobile */
@media (max-width: 700px) {
    body.single-product .container:has(div.aipl-three-column-product) {
        width: 94% !important;
        max-width: 100% !important;
    }

    body.single-product div.product.aipl-three-column-product {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas: "gallery" "info" "buy" !important;
        gap: 18px !important;
        width: 100% !important;
        margin: 12px auto 24px !important;
    }

    body.single-product div.product.aipl-three-column-product .woocommerce-product-gallery__image img {
        height: min(82vw, 340px) !important;
        max-height: 340px !important;
    }

    body.single-product div.product.aipl-three-column-product .flex-control-thumbs li {
        width: 58px !important;
    }

    body.single-product div.product.aipl-three-column-product .flex-control-thumbs img {
        height: 48px !important;
    }

    body.single-product .aipl-product-info .product_title {
        font-size: 24px !important;
    }

    body.single-product .aipl-product-buy-panel {
        padding: 19px 15px !important;
        position: static !important;
    }

    body.single-product .aipl-product-buy-panel > .price {
        font-size: 26px !important;
    }

    body.single-product .aipl-product-specs .aipl-spec-row {
        grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr);
        gap: 9px;
    }
}

/* AIPL THREE COLUMN PRODUCT CSS END */


/* AIPL LAPTOP CONFIGURATOR STYLE */
body.single-product .aipl-laptop-configurator {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 5px 0 12px;
    padding: 16px;
    border: 1px solid #dce3e9;
    border-radius: 10px;
    background: #fff;
}
body.single-product .aipl-laptop-configurator h3 {
    margin: 0 0 5px;
    color: #163750;
    font-size: 18px;
}
body.single-product .aipl-config-intro {
    margin: 0 0 14px;
    color: #667681;
    font-size: 12px;
}
body.single-product .aipl-config-field {
    display: block;
    width: 100%;
    margin: 0 0 13px;
    color: #374957;
    font-size: 13px;
    font-weight: 700;
}
body.single-product .aipl-config-field span {
    display: block;
    margin-bottom: 6px;
}
body.single-product .aipl-config-field select {
    display: block;
    width: 100%;
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid #cbd5de;
    border-radius: 6px;
    background: #fff;
    color: #1d2c38;
    font: inherit;
    font-weight: 400;
    box-sizing: border-box;
}
body.single-product .aipl-config-total {
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid #e1e6ea;
}
body.single-product .aipl-config-total > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin: 8px 0;
}
body.single-product .aipl-config-total span {
    color: #5b6b77;
    font-size: 13px;
}
body.single-product .aipl-config-total strong {
    color: #172b3b;
    font-size: 17px;
    text-align: right;
}
body.single-product .aipl-config-notice {
    margin: 12px 0;
    color: #6b5b34;
    font-size: 12px;
    line-height: 1.5;
}
body.single-product .aipl-config-quote-btn {
    display: none;
    width: 100%;
    padding: 12px 10px;
    border-radius: 22px;
    background: #ff9900;
    color: #17212b !important;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    box-sizing: border-box;
}
body.single-product .aipl-product-buy-panel .single_add_to_cart_button:disabled {
    opacity: .5;
    cursor: not-allowed;
}
@media (max-width:700px) {
    body.single-product .aipl-laptop-configurator {
        padding: 13px;
    }
}
/* END AIPL LAPTOP CONFIGURATOR STYLE */

/* AIPL COMPACT LAPTOP CONFIGURATOR START */
.single-product .aipl-laptop-configurator {
    max-width: 430px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    margin: 12px 0;
    border-radius: 8px;
    font-size: 13px;
}

.single-product .aipl-laptop-configurator h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 6px;
}

.single-product .aipl-laptop-configurator .aipl-config-intro {
    font-size: 12px;
    line-height: 1.4;
    margin: 0 0 10px;
}

.single-product .aipl-laptop-configurator .aipl-config-field {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin: 7px 0;
}

.single-product .aipl-laptop-configurator .aipl-config-field span {
    font-size: 12px;
    line-height: 1.3;
}

.single-product .aipl-laptop-configurator .aipl-config-field select {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    box-sizing: border-box;
    padding: 5px 7px;
    font-size: 12px;
    border-radius: 5px;
}

.single-product .aipl-laptop-configurator .aipl-config-total {
    display: grid;
    gap: 5px;
    margin-top: 10px;
}

.single-product .aipl-laptop-configurator .aipl-config-total > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 7px 9px;
    font-size: 12px;
    border-radius: 5px;
    background: #f5f6f8;
}

.single-product .aipl-laptop-configurator .aipl-config-total strong {
    font-size: 13px;
    text-align: right;
}

.single-product .aipl-laptop-configurator .aipl-config-notice {
    font-size: 11px;
    line-height: 1.4;
    margin: 8px 0;
}

.single-product .aipl-laptop-configurator .aipl-config-quote-btn {
    display: inline-block;
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 5px;
}

@media (max-width: 480px) {
    .single-product .aipl-laptop-configurator {
        max-width: 100%;
        padding: 10px;
    }

    .single-product .aipl-laptop-configurator .aipl-config-field {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 6px;
    }
}
/* AIPL COMPACT LAPTOP CONFIGURATOR END */


/* AIPL DELIVERY PROTECTION PANEL CSS START */

.single-product .aipl-delivery-protection-panel {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #e2e5e9;
    color: #202124;
    font-size: 13px;
    line-height: 1.45;
}

.single-product .aipl-delivery-protection-panel h3 {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
}

.single-product .aipl-delivery-checker label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
}

.single-product .aipl-delivery-pin-row {
    display: flex;
    align-items: stretch;
    gap: 7px;
    width: 100%;
}

.single-product .aipl-delivery-pin-row input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #c9ced6;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 13px;
}

.single-product .aipl-delivery-pin-row button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 7px 14px;
    border: 0;
    border-radius: 5px;
    background: #f59e0b;
    color: #171717;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.single-product .aipl-delivery-pin-row button:hover {
    filter: brightness(.96);
}

.single-product .aipl-delivery-pin-message {
    margin: 7px 0 16px;
    color: #626b75;
    font-size: 11px;
    line-height: 1.5;
}

.single-product .aipl-delivery-pin-message.is-error {
    color: #b42318;
}

.single-product .aipl-protection-plans {
    margin-top: 12px;
}

.single-product .aipl-protection-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 8px 0;
    padding: 10px;
    border: 1px solid #e0e4e8;
    border-radius: 7px;
    background: #fff;
}

.single-product .aipl-protection-plan > div {
    min-width: 0;
}

.single-product .aipl-protection-plan strong {
    display: block;
    font-size: 12px;
    line-height: 1.4;
}

.single-product .aipl-protection-plan p {
    margin: 3px 0;
    color: #626b75;
    font-size: 11px;
}

.single-product .aipl-protection-plan .aipl-protection-price {
    margin-top: 4px;
    color: #202124;
    font-size: 13px;
}

.single-product .aipl-plan-status {
    flex: 0 0 auto;
    padding: 4px 7px;
    border-radius: 4px;
    background: #f1f3f5;
    color: #59616a;
    font-size: 10px;
    font-weight: 700;
    white-space: normal;
    text-align: center;
}

.single-product .aipl-protection-note {
    margin: 8px 0 0;
    color: #626b75;
    font-size: 10px;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .single-product .aipl-delivery-protection-panel {
        padding-top: 12px;
    }

    .single-product .aipl-protection-plan {
        align-items: flex-start;
        padding: 9px;
    }

    .single-product .aipl-plan-status {
        max-width: 105px;
    }
}


/* AIPL PROTECTION CHECKBOXES START */
.single-product .aipl-protection-choice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
}

.single-product .aipl-protection-checkbox {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: #0878c9;
    cursor: pointer;
}

.single-product .aipl-protection-choice label {
    display: block;
    min-width: 0;
    cursor: pointer;
}

.single-product .aipl-protection-choice label p {
    margin: 3px 0;
}

.single-product .aipl-protection-choice .aipl-protection-price {
    margin-top: 4px;
}
/* AIPL PROTECTION CHECKBOXES END */

/* AIPL DELIVERY PROTECTION PANEL CSS END */




/* AIPL PROTECTION PRICING V4 CSS START */
.single-product .aipl-protection-checkbox:disabled {
    opacity: 1;
    cursor: default;
}

.single-product .aipl-protection-checkbox:checked {
    accent-color: #0878c9;
}

/* Keep related products below the complete product layout. */
.single-product .related.products,
.single-product .up-sells.upsells.products {
    clear: both;
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 36px;
}

.single-product .related.products > h2,
.single-product .up-sells.upsells.products > h2 {
    margin-bottom: 20px;
}

.single-product .related.products ul.products,
.single-product .up-sells.upsells.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.single-product .related.products ul.products::before,
.single-product .related.products ul.products::after,
.single-product .up-sells.upsells.products ul.products::before,
.single-product .up-sells.upsells.products ul.products::after {
    display: none;
    content: none;
}

.single-product .related.products ul.products li.product,
.single-product .up-sells.upsells.products ul.products li.product {
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .single-product .related.products ul.products,
    .single-product .up-sells.upsells.products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .single-product .related.products ul.products,
    .single-product .up-sells.upsells.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}
/* AIPL PROTECTION PRICING V4 CSS END */


/* AIPL RELATED PRODUCTS LAYOUT FIX V5 START */

/* Make Related Products span the full product layout row */
body.single-product div.product.aipl-three-column-product > .related.products,
body.single-product div.product.aipl-three-column-product > .up-sells.upsells.products,
body.single-product .related.products,
body.single-product .up-sells.upsells.products {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 100%;
    clear: both;
    float: none !important;
    box-sizing: border-box;
    margin: 36px 0 24px !important;
    overflow: visible;
}

/* Consistent product card grid */
body.single-product .related.products ul.products,
body.single-product .up-sells.upsells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px)) !important;
    justify-content: start;
    align-items: stretch;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after,
body.single-product .up-sells.upsells.products ul.products::before,
body.single-product .up-sells.upsells.products ul.products::after {
    display: none !important;
    content: none !important;
}

/* Fix narrow cards and clipped content */
body.single-product .related.products ul.products li.product,
body.single-product .up-sells.upsells.products ul.products li.product {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 260px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    background: #fff;
}

body.single-product .related.products ul.products li.product a img,
body.single-product .up-sells.upsells.products ul.products li.product a img {
    display: block;
    width: 100% !important;
    height: 175px !important;
    object-fit: contain;
    margin: 0 auto 12px !important;
}

body.single-product .related.products ul.products li.product
.woocommerce-loop-product__title,
body.single-product .up-sells.upsells.products ul.products li.product
.woocommerce-loop-product__title {
    display: block !important;
    width: 100% !important;
    max-height: none !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    box-sizing: border-box !important;
}

body.single-product .related.products ul.products li.product .price,
body.single-product .up-sells.upsells.products li.product .price {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    margin: 8px 0 !important;
}

body.single-product .related.products ul.products li.product a.button,
body.single-product .up-sells.upsells.products li.product a.button {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 42px;
    padding: 10px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: break-word;
}

body.single-product .related.products > h2,
body.single-product .up-sells.upsells.products > h2 {
    width: 100%;
    margin: 0 0 22px !important;
}

/* Tablet and mobile */
@media (max-width: 600px) {
    body.single-product .related.products ul.products,
    body.single-product .up-sells.upsells.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    body.single-product .related.products ul.products li.product,
    body.single-product .up-sells.upsells.products ul.products li.product {
        width: 100% !important;
        max-width: none !important;
        padding: 9px !important;
    }

    body.single-product .related.products ul.products li.product a img,
    body.single-product .up-sells.upsells.products ul.products li.product a img {
        height: 130px !important;
    }
}

@media (max-width: 360px) {
    body.single-product .related.products ul.products,
    body.single-product .up-sells.upsells.products ul.products {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* AIPL RELATED PRODUCTS LAYOUT FIX V5 END */




/* AIPL WARRANTY AND PIN V2 CSS */
.single-product .aipl-warranty-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
    padding: 12px;
    border: 1px solid #dce3ea;
    border-radius: 7px;
    background: #fff;
    font-size: 13px;
}
.single-product .aipl-warranty-box strong {
    color: #087443;
    font-size: 14px;
}
.single-product .aipl-pin-only {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 16px;
}


/* AIPL SERVER PLAN FIX V2 CSS START */
.single-product .aipl-server-protection-panel {
    width:100%;box-sizing:border-box;margin:16px 0 0;padding:14px 0 0;
    border-top:1px solid #e2e5e9;font-size:13px;color:#202124;
}
.single-product .aipl-server-protection-panel h3 {margin:0 0 10px;font-size:16px;}
.single-product .aipl-server-protection-panel .aipl-protection-plan {
    display:flex;justify-content:space-between;align-items:center;gap:10px;
    margin:8px 0;padding:10px;border:1px solid #dce3e9;border-radius:8px;background:#fff;
}
.single-product .aipl-server-protection-panel .aipl-protection-choice {
    display:flex;align-items:flex-start;gap:9px;min-width:0;
}
.single-product .aipl-server-protection-panel .aipl-protection-checkbox {
    width:17px;height:17px;flex:0 0 17px;margin-top:2px;accent-color:#0878c9;
}
.single-product .aipl-server-protection-panel .aipl-protection-choice p {
    margin:3px 0;color:#626b75;font-size:12px;
}
.single-product .aipl-server-protection-panel .aipl-plan-status {
    flex:0 0 auto;padding:5px 8px;border-radius:5px;background:#f1f3f5;
    color:#59616a;font-size:11px;font-weight:700;text-align:center;
}
.single-product .aipl-server-plan-totals {display:grid;gap:6px;margin-top:12px;}
.single-product .aipl-server-plan-totals > div {
    display:flex;justify-content:space-between;gap:10px;padding:9px 10px;background:#f5f6f8;border-radius:5px;
}
.single-product .aipl-server-plan-totals strong {text-align:right;}
.single-product .aipl-server-protection-panel .aipl-protection-note {
    margin:9px 0 0;color:#626b75;font-size:11px;line-height:1.5;
}
/* AIPL SERVER PLAN FIX V2 CSS END */


/* AIPL ARROW PURCHASE LAYOUT V1 CSS START */

/* Stack warranty, delivery and protection directly below Price & Purchase. */
body.single-product div.product.aipl-three-column-product
> .aipl-arrow-purchase-panel {
    grid-column: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    clear: both;
    align-self: start;
    justify-self: stretch;
    box-sizing: border-box;
    margin: 12px 0 0 !important;
}

body.single-product .aipl-arrow-purchase-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body.single-product .aipl-arrow-purchase-panel .aipl-delivery-pin-row {
    display: flex;
    width: 100%;
    gap: 7px;
}

body.single-product .aipl-arrow-purchase-panel
.aipl-delivery-pin-row input {
    flex: 1 1 auto;
    min-width: 0;
}

body.single-product .aipl-arrow-purchase-panel
.aipl-protection-plan {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    body.single-product div.product.aipl-three-column-product
    > .aipl-arrow-purchase-panel {
        grid-column: 1 / -1 !important;
    }
}

/* AIPL ARROW PURCHASE LAYOUT V1 CSS END */


/* AIPL COMBINED PRODUCT INFO TABLE V1 CSS START */

.single-product .aipl-product-info-table-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 14px 0 0;
    padding: 0;
    border: 1px solid #dce3e9;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.single-product .aipl-product-info-table {
    display: table;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.single-product .aipl-product-info-table tr {
    display: table-row;
}

.single-product .aipl-product-info-table td {
    display: table-cell;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #e4e8ed;
    vertical-align: top;
    box-sizing: border-box;
}

.single-product .aipl-product-info-table tr:last-child td {
    border-bottom: 0;
}

/* Reset the separate outer cards so the sections look like one table. */
.single-product .aipl-product-info-table .aipl-warranty-box {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 2px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
}

.single-product .aipl-product-info-table .aipl-pin-only {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

.single-product .aipl-product-info-table .aipl-server-protection-panel {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

.single-product .aipl-product-info-table .aipl-delivery-checker h3,
.single-product .aipl-product-info-table .aipl-server-protection-panel h3 {
    margin-top: 0;
}

.single-product .aipl-product-info-table .aipl-delivery-pin-row {
    display: flex;
    width: 100%;
    gap: 7px;
}

.single-product .aipl-product-info-table .aipl-delivery-pin-row input {
    flex: 1 1 auto;
    min-width: 0;
}

.single-product .aipl-product-info-table .aipl-protection-plan {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .single-product .aipl-product-info-table td {
        padding: 10px;
    }
}

/* AIPL COMBINED PRODUCT INFO TABLE V1 CSS END */


/* AIPL TABLE RIGHT COLUMN FIX V2 CSS START */

body.single-product div.product.aipl-three-column-product
> .aipl-product-info-table-wrap.aipl-table-right-column {
    grid-column: 3 / 4 !important;
    grid-row: auto !important;
    align-self: start !important;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 12px 0 24px !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both;
}

body.single-product div.product.aipl-three-column-product
> .aipl-product-info-table-wrap .aipl-product-info-table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
}

body.single-product div.product.aipl-three-column-product
> .aipl-product-info-table-wrap .aipl-delivery-pin-row input {
    min-width: 0;
}

/* Stack below the main columns on smaller screens. */
@media (max-width: 900px) {
    body.single-product div.product.aipl-three-column-product
    > .aipl-product-info-table-wrap.aipl-table-right-column {
        grid-column: 1 / -1 !important;
    }
}

/* AIPL TABLE RIGHT COLUMN FIX V2 CSS END */


/* AIPL UNIFIED PURCHASE CARD V3 CSS START */

/* One outside card contains purchase, warranty, PIN and protection. */
body.single-product div.product.aipl-three-column-product
> .aipl-unified-purchase-parent {
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* The combined table becomes a seamless continuation of the purchase card. */
body.single-product .aipl-product-info-table-wrap.aipl-unified-purchase-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 12px 0 0 !important;
    padding: 12px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid #e1e5e9 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Single table with only horizontal separators. */
body.single-product .aipl-unified-purchase-card .aipl-product-info-table {
    display: table !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.single-product .aipl-unified-purchase-card
.aipl-product-info-table td {
    display: table-cell !important;
    width: 100% !important;
    padding: 12px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e1e5e9 !important;
    border-radius: 0 !important;
    background: transparent !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
}

body.single-product .aipl-unified-purchase-card
.aipl-product-info-table tr:last-child td {
    border-bottom: 0 !important;
}

/* Remove nested outer boxes and gray summary cards. */
body.single-product .aipl-unified-purchase-card .aipl-warranty-box,
body.single-product .aipl-unified-purchase-card .aipl-pin-only,
body.single-product .aipl-unified-purchase-card .aipl-server-protection-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

body.single-product .aipl-unified-purchase-card .aipl-protection-plan {
    margin: 0 !important;
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e1e5e9 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.single-product .aipl-unified-purchase-card .aipl-server-plan-totals {
    gap: 0 !important;
    margin-top: 8px !important;
}

body.single-product .aipl-unified-purchase-card
.aipl-server-plan-totals > div {
    padding: 9px 0 !important;
    border-bottom: 1px solid #e1e5e9 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body.single-product .aipl-unified-purchase-card
.aipl-delivery-pin-row {
    display: flex !important;
    gap: 7px !important;
    width: 100% !important;
}

body.single-product .aipl-unified-purchase-card
.aipl-delivery-pin-row input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

@media (max-width: 900px) {
    body.single-product div.product.aipl-three-column-product
    > .aipl-unified-purchase-parent {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* AIPL UNIFIED PURCHASE CARD V3 CSS END */


/* AIPL REAL UNIFIED CARD V4 CSS START */

/* One outer card surrounds price, purchase controls, warranty, PIN and plan. */
body.single-product div.product.aipl-three-column-product
> .aipl-real-unified-purchase-card {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 16px !important;
    border: 1px solid #dce3e9 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.035) !important;
    overflow: visible !important;
}

/* Seamless details section inside the same outer card. */
body.single-product .aipl-real-unified-details {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 12px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid #e1e5e9 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

/* A single table with simple horizontal dividers. */
body.single-product .aipl-real-unified-details .aipl-product-info-table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 !important;
}

body.single-product .aipl-real-unified-details .aipl-product-info-table td {
    padding: 12px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e1e5e9 !important;
    background: transparent !important;
    vertical-align: top !important;
}

body.single-product .aipl-real-unified-details
.aipl-product-info-table tr:last-child td {
    border-bottom: 0 !important;
}

body.single-product .aipl-real-unified-details .aipl-warranty-box,
body.single-product .aipl-real-unified-details .aipl-pin-only,
body.single-product .aipl-real-unified-details .aipl-server-protection-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.single-product .aipl-real-unified-details .aipl-protection-plan {
    margin: 0 !important;
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e1e5e9 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body.single-product .aipl-real-unified-details .aipl-server-plan-totals {
    gap: 0 !important;
    margin-top: 8px !important;
}

body.single-product .aipl-real-unified-details
.aipl-server-plan-totals > div {
    padding: 9px 0 !important;
    border-bottom: 1px solid #e1e5e9 !important;
    background: transparent !important;
}

@media (max-width: 900px) {
    body.single-product div.product.aipl-three-column-product
    > .aipl-real-unified-purchase-card {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* AIPL REAL UNIFIED CARD V4 CSS END */


/* AIPL CUSTOMER SERVICES FOOTER CSS START */
.aipl-customer-services-footer {
    width: 100%;
    padding: 24px 20px;
    box-sizing: border-box;
    background: #153e5c;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.16);
}

.aipl-customer-services-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.aipl-customer-services-inner h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.aipl-customer-services-nav ul,
.aipl-customer-services-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aipl-customer-services-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aipl-customer-services-nav a {
    color: #fff !important;
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none !important;
}

.aipl-customer-services-nav a:hover {
    color: #ffc857 !important;
    text-decoration: underline !important;
}

@media (max-width: 600px) {
    .aipl-customer-services-footer {
        padding: 20px 16px;
    }

    .aipl-customer-services-nav ul,
    .aipl-customer-services-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 16px;
    }
}
/* AIPL CUSTOMER SERVICES FOOTER CSS END */


/* AIPL FOOTER COLUMNS STYLE V2 */

footer .aipl-footer-columns-v2 {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1.8fr)
        minmax(0, .7fr)
        minmax(0, .8fr)
        minmax(0, 1.2fr)
        minmax(0, 1fr) !important;
    gap: 28px 24px !important;
    align-items: start !important;
}

footer .aipl-customer-services-footer.aipl-customer-services-column {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

footer .aipl-customer-services-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

footer .aipl-customer-services-inner h3 {
    margin: 0 0 16px !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

footer .aipl-customer-services-nav ul,
footer .aipl-customer-services-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

footer .aipl-customer-services-nav li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

footer .aipl-customer-services-nav a {
    color: #d6e3ef !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}

footer .aipl-customer-services-nav a:hover {
    color: #ffbd45 !important;
    text-decoration: underline !important;
}

@media (max-width: 1100px) {
    footer .aipl-footer-columns-v2 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 28px 22px !important;
    }
}

@media (max-width: 650px) {
    footer .aipl-footer-columns-v2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 18px !important;
    }
}

@media (max-width: 400px) {
    footer .aipl-footer-columns-v2 {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* AIPL FOOTER COLUMNS STYLE V2 */


/* AIPL LIGHT FOOTER V3 START */

.footer.site-footer.aipl-light-footer {
    margin-top: 0 !important;
    padding: 0 !important;
    background: #f7f8fa !important;
    color: #283343 !important;
    border-top: 1px solid #e7eaee;
}

.aipl-light-footer .aipl-light-footer-grid {
    display: grid !important;
    grid-template-columns:
        minmax(230px, 1.5fr)
        minmax(130px, .8fr)
        minmax(135px, .85fr)
        minmax(185px, 1.1fr)
        minmax(150px, .8fr);
    align-items: start;
    gap: 34px;
    width: calc(100% - 48px);
    max-width: 1530px;
    margin: 0 auto;
    padding: 44px 0 36px;
    box-sizing: border-box;
}

.aipl-light-footer .aipl-footer-brand,
.aipl-light-footer .aipl-footer-column,
.aipl-light-footer .aipl-footer-social-payment {
    min-width: 0;
}

.aipl-light-footer .aipl-footer-logo {
    min-height: 42px;
    margin-bottom: 16px;
}

.aipl-light-footer .aipl-footer-logo-img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 48px;
    object-fit: contain;
    object-position: left center;
}

.aipl-light-footer .aipl-footer-brand-name {
    display: inline-block;
    margin: 0;
    color: #172536 !important;
    font-size: 23px;
    font-weight: 800;
    text-decoration: none !important;
}

.aipl-light-footer .aipl-footer-contact-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    margin: 12px 0;
    color: #354256;
    font-size: 13px;
    line-height: 1.65;
}

.aipl-light-footer .aipl-footer-contact-row > strong {
    color: #202b3a;
    font-weight: 700;
}

.aipl-light-footer .aipl-footer-contact-row a,
.aipl-light-footer .aipl-footer-contact-row span {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #46556a !important;
    text-decoration: none !important;
}

.aipl-light-footer .aipl-footer-contact-row a:hover {
    color: #0878c9 !important;
    text-decoration: underline !important;
}

.aipl-light-footer .aipl-footer-gst {
    margin: 16px 0 0 !important;
    color: #7c8795 !important;
    font-size: 12px !important;
}

.aipl-light-footer .aipl-footer-column h3,
.aipl-light-footer .aipl-footer-social-payment h3 {
    margin: 0 0 18px !important;
    color: #172536 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 1.15px;
    line-height: 1.5;
    text-transform: uppercase;
}

.aipl-light-footer .aipl-footer-column a {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 12px !important;
    color: #3c4a5e !important;
    font-size: 13px !important;
    line-height: 1.55;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}

.aipl-light-footer .aipl-footer-column a:hover {
    color: #0878c9 !important;
    text-decoration: underline !important;
}

.aipl-light-footer .aipl-footer-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    min-height: 26px;
    margin: 0 0 26px;
}

.aipl-light-footer .aipl-footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    color: #202b3a !important;
    font-size: 21px;
    font-weight: 800;
    text-decoration: none !important;
}

.aipl-light-footer .aipl-footer-social-icon:hover {
    color: #0878c9 !important;
}

.aipl-light-footer .aipl-footer-payment-title {
    margin-bottom: 10px;
    color: #778293;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
}

.aipl-light-footer .aipl-footer-payment-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-width: 0;
}

.aipl-light-footer .aipl-footer-payment-icons img {
    display: inline-block;
    max-width: 76px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.aipl-light-footer .aipl-footer-payment-note {
    color: #677386;
    font-size: 12px;
    line-height: 1.6;
}

.aipl-light-footer .aipl-light-footer-copyright {
    width: calc(100% - 48px);
    max-width: 1530px;
    margin: 0 auto;
    padding: 16px 0 22px;
    border-top: 1px solid #e0e5ea;
    color: #6f7a88;
    font-size: 12px;
    line-height: 1.6;
    box-sizing: border-box;
}

/* Match the lighter reference design above the footer too. */
.newsletter {
    background: #f7f8fa !important;
    border-top: 1px solid #e7eaee;
    border-bottom: 1px solid #e7eaee;
}

.newsletter .container strong {
    color: #172536 !important;
    font-size: 16px;
}

.newsletter .container div {
    color: #687587 !important;
}

.newsletter-form input {
    border: 1px solid #dce2e8 !important;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    border-radius: 0 4px 4px 0;
    color: #111827;
}

@media (max-width: 1100px) {
    .aipl-light-footer .aipl-light-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 26px;
    }
}

@media (max-width: 700px) {
    .aipl-light-footer .aipl-light-footer-grid {
        width: calc(100% - 32px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 22px;
        padding: 32px 0 26px;
    }

    .aipl-light-footer .aipl-footer-brand {
        grid-column: 1 / -1;
    }

    .aipl-light-footer .aipl-light-footer-copyright {
        width: calc(100% - 32px);
    }
}

@media (max-width: 420px) {
    .aipl-light-footer .aipl-light-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .aipl-light-footer .aipl-footer-brand {
        grid-column: auto;
    }
}

/* AIPL LIGHT FOOTER V3 END */


/* AIPL FOOTER STYLE RESTORE V5 START */

/* Restore a clean, centered, light footer. */
footer.site-footer.aipl-light-footer {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f7f8fa !important;
    color: #283343 !important;
    border-top: 1px solid #e3e7ec !important;
}

footer.site-footer.aipl-light-footer
.container.aipl-light-footer-grid {
    display: grid !important;
    grid-template-columns:
        minmax(250px, 1.45fr)
        minmax(130px, .75fr)
        minmax(145px, .85fr)
        minmax(190px, 1.1fr)
        minmax(160px, .9fr) !important;
    align-items: start !important;
    gap: 32px !important;
    width: calc(100% - 48px) !important;
    max-width: 1530px !important;
    margin: 0 auto !important;
    padding: 42px 0 34px !important;
    box-sizing: border-box !important;
}

footer.site-footer.aipl-light-footer .aipl-footer-brand,
footer.site-footer.aipl-light-footer .aipl-footer-column,
footer.site-footer.aipl-light-footer .aipl-footer-social-payment {
    display: block !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Contact labels and values aligned on one row. */
footer.site-footer.aipl-light-footer .aipl-footer-contact-row {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    align-items: start !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
    margin: 12px 0 !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
}

footer.site-footer.aipl-light-footer .aipl-footer-contact-row > strong {
    grid-column: 1 !important;
    color: #202b3a !important;
    font-weight: 700 !important;
}

footer.site-footer.aipl-light-footer .aipl-footer-contact-row > a,
footer.site-footer.aipl-light-footer .aipl-footer-contact-row > span {
    grid-column: 2 !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #46556a !important;
    overflow-wrap: anywhere !important;
    text-decoration: none !important;
}

footer.site-footer.aipl-light-footer .aipl-footer-column h3,
footer.site-footer.aipl-light-footer .aipl-footer-social-payment h3 {
    margin: 0 0 18px !important;
    color: #172536 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 1.1px !important;
    line-height: 1.5 !important;
}

footer.site-footer.aipl-light-footer .aipl-footer-column a {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    color: #3c4a5e !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    text-decoration: none !important;
    overflow-wrap: anywhere !important;
}

footer.site-footer.aipl-light-footer .aipl-footer-column a:hover {
    color: #0878c9 !important;
    text-decoration: underline !important;
}

footer.site-footer.aipl-light-footer
.aipl-light-footer-copyright {
    width: calc(100% - 48px) !important;
    max-width: 1530px !important;
    margin: 0 auto !important;
    padding: 16px 0 22px !important;
    border-top: 1px solid #e0e5ea !important;
    color: #6f7a88 !important;
    font-size: 12px !important;
    box-sizing: border-box !important;
}

@media (max-width: 1100px) {
    footer.site-footer.aipl-light-footer
    .container.aipl-light-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 28px 24px !important;
    }
}

@media (max-width: 700px) {
    footer.site-footer.aipl-light-footer
    .container.aipl-light-footer-grid {
        width: calc(100% - 32px) !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 26px 18px !important;
        padding: 30px 0 26px !important;
    }

    footer.site-footer.aipl-light-footer .aipl-footer-brand {
        grid-column: 1 / -1 !important;
    }

    footer.site-footer.aipl-light-footer
    .aipl-light-footer-copyright {
        width: calc(100% - 32px) !important;
    }
}

@media (max-width: 420px) {
    footer.site-footer.aipl-light-footer
    .container.aipl-light-footer-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    footer.site-footer.aipl-light-footer .aipl-footer-brand {
        grid-column: auto !important;
    }
}

/* AIPL FOOTER STYLE RESTORE V5 END */

/* AIPL NEWSLETTER PREMIUM EFFECT START */

.newsletter {
    position: relative !important;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(
        110deg,
        #103653 0%,
        #174c70 48%,
        #0c3453 100%
    ) !important;
    border-top: 1px solid rgba(255,255,255,.15) !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.newsletter::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 260px;
    height: 180px;
    right: 12%;
    top: -110px;
    border-radius: 50%;
    background: rgba(60,160,220,.15);
    filter: blur(38px);
    pointer-events: none;
}

.newsletter .container {
    position: relative;
    z-index: 1;
    padding-top: 24px;
    padding-bottom: 24px;
}

.newsletter .container strong {
    display: block;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700;
    letter-spacing: .2px;
    margin-bottom: 5px;
}

.newsletter .container div {
    color: #d4e5f1 !important;
    font-size: 13px !important;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    max-width: 540px;
    width: 100%;
    gap: 0;
    border-radius: 7px;
    box-shadow: 0 5px 18px rgba(0,0,0,.16);
}

.newsletter-form input {
    min-width: 0;
    flex: 1;
    padding: 14px 16px !important;
    color: #263648 !important;
    background: #fff !important;
    border: 1px solid #d9e3ed !important;
    border-radius: 7px 0 0 7px !important;
    outline: none;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.newsletter-form input:focus {
    border-color: #ff9d00 !important;
    box-shadow: inset 0 0 0 1px #ff9d00;
}

.newsletter-form button {
    padding: 0 23px !important;
    min-height: 48px;
    color: #171717 !important;
    background: #ff9800 !important;
    border: 1px solid #ff9800 !important;
    border-radius: 0 7px 7px 0 !important;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease,
                transform .2s ease;
}

.newsletter-form button:hover {
    background: #ffad26 !important;
    box-shadow: 0 4px 14px rgba(255,152,0,.28);
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .newsletter .container {
        gap: 14px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .newsletter-form input {
        padding: 12px !important;
    }

    .newsletter-form button {
        padding: 0 16px !important;
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .newsletter-form input,
    .newsletter-form button {
        transition: none !important;
    }
}

/* AIPL NEWSLETTER PREMIUM EFFECT END */

/* AIPL NEWSLETTER FINAL COMPACT FIX START */
.newsletter {
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
}

.newsletter .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    min-height: 0 !important;
    height: auto !important;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
    box-sizing: border-box !important;
}

.newsletter .container > div {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.35 !important;
    color: #d4e5f1 !important;
}

.newsletter .container strong {
    display: block !important;
    margin: 0 0 3px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
}

.newsletter .container div {
    color: #d4e5f1 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

.newsletter-form {
    display: flex !important;
    flex: 0 1 500px !important;
    width: 100% !important;
    max-width: 500px !important;
    min-height: 38px !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.newsletter-form input {
    min-width: 0 !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
}

.newsletter-form button {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

@media (max-width: 700px) {
    .newsletter .container {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 9px !important;
        padding: 12px 0 !important;
    }

    .newsletter-form {
        flex: 0 1 auto !important;
        max-width: 100% !important;
    }
}
/* AIPL NEWSLETTER FINAL COMPACT FIX END */


/* AIPL PRODUCT GALLERY RESTORE V3 START */
body.single-product .woocommerce-product-gallery {
    width: 100%;
    max-width: 100%;
}
body.single-product .woocommerce-product-gallery .flex-viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    max-width: 100%;
}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
    background: #fff;
    text-align: center;
}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: min(68vh, 460px);
    object-fit: contain;
    object-position: center;
    margin-left: auto;
    margin-right: auto;
}
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img,
.single-product .related ul.products li.product a img,
.single-product .upsells ul.products li.product a img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #fff;
}
@media (max-width: 767px) {
    body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
        max-height: 58vh;
    }
    .woocommerce ul.products li.product a img,
    .woocommerce-page ul.products li.product a img,
    .single-product .related ul.products li.product a img,
    .single-product .upsells ul.products li.product a img {
        height: 150px;
    }
}
/* AIPL PRODUCT GALLERY RESTORE V3 END */


/* AIPL GALLERY NO-SLIDER FALLBACK V1 START */
/* Mobile/tablet: show one main image; thumbnail handler can replace its source */
@media (max-width: 1024px) {
  body.single-product .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
  }

  body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    transition: none !important;
  }

  body.single-product .woocommerce-product-gallery
  .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
    display: none !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
  }

  body.single-product .woocommerce-product-gallery
  .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
    display: block !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.single-product .woocommerce-product-gallery
  .woocommerce-product-gallery__image:first-child img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 58vh !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: auto !important;
  }
}
/* AIPL GALLERY NO-SLIDER FALLBACK V1 END */


/* AIPL CUSTOM MAIN IMAGE SINGLE-SLIDE FIX V1 START */
@media (max-width: 1024px) {
  body.single-product .aipl-single-main img.aipl-single-main-image:not(.active) {
    display: none !important;
    visibility: hidden !important;
  }

  body.single-product .aipl-single-main img.aipl-single-main-image.active {
    display: block !important;
    visibility: visible !important;
    float: none !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* AIPL CUSTOM MAIN IMAGE SINGLE-SLIDE FIX V1 END */


/* AIPL CART SPECIFICATIONS PROFESSIONAL V1 START */

/* Applies to every product row on the Cart page only */
body.woocommerce-cart td.product-name dl.variation {
    display: grid !important;
    grid-template-columns: minmax(100px, 135px) minmax(0, 1fr) !important;
    column-gap: 12px !important;
    row-gap: 4px !important;
    max-width: 470px;
    margin: 10px 0 12px !important;
    padding: 10px 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    text-align: left !important;
}

body.woocommerce-cart td.product-name dl.variation dt {
    grid-column: 1 !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    color: #64748b !important;
    font-weight: 600 !important;
    float: none !important;
    clear: none !important;
    text-align: left !important;
    overflow-wrap: anywhere;
}

body.woocommerce-cart td.product-name dl.variation dd {
    grid-column: 2 !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    color: #17212b !important;
    font-weight: 500 !important;
    float: none !important;
    clear: none !important;
    min-width: 0;
    text-align: left !important;
    overflow-wrap: anywhere;
}

body.woocommerce-cart td.product-name dl.variation dd p {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit !important;
}

@media (max-width: 640px) {
    body.woocommerce-cart td.product-name dl.variation {
        grid-template-columns: minmax(78px, 36%) minmax(0, 1fr) !important;
        column-gap: 8px !important;
        padding: 8px 9px !important;
        font-size: 12px !important;
    }
}

/* AIPL CART SPECIFICATIONS PROFESSIONAL V1 END */


/* AIPL: Improve Add to Cart icon visibility */
.product-card .add-cart,
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    color: #ffffff !important;
}

.product-card .add-cart::before,
.woocommerce ul.products li.product .button::before,
.woocommerce-page ul.products li.product .button::before {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.product-card .add-cart:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
    color: #ffffff !important;
}

/* AIPL: High-contrast white cart icon */
.product-card .add-cart,
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    color: #ffffff !important;
}

.product-card .add-cart::before,
.woocommerce ul.products li.product .button::before,
.woocommerce-page ul.products li.product .button::before {
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 9px !important;
    vertical-align: middle !important;
    background-color: #ffffff !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM3 2h2l2.7 12.1A3 3 0 0 0 10.6 16H18a3 3 0 0 0 2.9-2.2L23 6H7L6.5 4H3V2Zm5 6h12l-1.1 5.3a1 1 0 0 1-1 .7h-7.3a1 1 0 0 1-1-.8L8 8Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM3 2h2l2.7 12.1A3 3 0 0 0 10.6 16H18a3 3 0 0 0 2.9-2.2L23 6H7L6.5 4H3V2Zm5 6h12l-1.1 5.3a1 1 0 0 1-1 .7h-7.3a1 1 0 0 1-1-.8L8 8Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* AIPL final product price and button colors */
.product-card .sale-badge,
.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale {
    background-color: #ef2b2d !important;
    color: #ffffff !important;
}

.product-card .aipl-card-mrp,
.product-card .aipl-global-mrp,
.woocommerce ul.products li.product .aipl-global-mrp {
    color: #d00000 !important;
    text-decoration: line-through !important;
}

.product-card .aipl-card-selling-price,
.product-card .aipl-global-selling-price {
    color: #16803c !important;
    font-weight: 800 !important;
}

.product-card .add-cart,
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    background-color: #ff9900 !important;
    color: #ffffff !important;
}



/* AIPL AUTO BANNER SLIDER V1 */
.aipl-slider{position:relative;width:100%;overflow:hidden;aspect-ratio:3.67/1;border-radius:8px;background:#082d4c}
.aipl-slider-track{position:relative;width:100%;height:100%}
.aipl-slide{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .55s ease}
.aipl-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.aipl-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.aipl-slide-hotspot{position:absolute;z-index:2;display:block;background:transparent;border-radius:7px}
.aipl-slide-shop{left:6.3%;top:68%;width:9.5%;height:13%}
.aipl-slide-quote{left:16.4%;top:68%;width:13.1%;height:13%}
.aipl-slide-hotspot span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.aipl-slide-hotspot:focus-visible,.aipl-slider-arrow:focus-visible,.aipl-slider-dot:focus-visible{outline:3px solid #ff9900;outline-offset:3px}
.aipl-slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:42px;height:48px;border:0;border-radius:5px;background:rgba(255,255,255,.88);color:#082d4c;font-size:23px;cursor:pointer}
.aipl-slider-prev{left:12px}.aipl-slider-next{right:12px}
.aipl-slider-dots{position:absolute;bottom:10px;left:0;right:0;z-index:4;display:flex;justify-content:center;gap:9px}
.aipl-slider-dot{width:10px;height:10px;padding:0;border:1px solid #fff;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer}
.aipl-slider-dot.is-active{background:#ff9900;border-color:#ff9900}
@media(max-width:700px){
 .aipl-ad-desktop{display:block!important}.aipl-ad-mobile{display:none!important}
 .aipl-slider{aspect-ratio:3/1;border-radius:7px}
 .aipl-slider-arrow{width:32px;height:38px;font-size:18px}
 .aipl-slider-prev{left:5px}.aipl-slider-next{right:5px}
 .aipl-slider-dots{bottom:5px;gap:7px}.aipl-slider-dot{width:8px;height:8px}
}
@media(prefers-reduced-motion:reduce){.aipl-slide{transition:none}}

/* AIPL SECOND BANNER BUTTON POSITIONS V2 */
.aipl-slider .aipl-slide:nth-child(2) .aipl-slide-shop {
    left: 5.2%;
    top: 75%;
    width: 12.8%;
    height: 14%;
}
.aipl-slider .aipl-slide:nth-child(2) .aipl-slide-quote {
    left: 18.8%;
    top: 75%;
    width: 15.3%;
    height: 14%;
}

/* AIPL FOUR PROMOTIONAL SLIDES */

.aipl-slider .aipl-slide-link{position:absolute;inset:0;z-index:2;display:block;border-radius:inherit}

.aipl-slider .aipl-slide-link span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

.aipl-slider .aipl-slide-link:focus-visible{outline:3px solid #ff9900;outline-offset:-5px}

/* AIPL SLIDER FIX: show the complete 2172x724 promotional banners */
.aipl-ad-hero .aipl-slider {
    aspect-ratio: 3 / 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden;
}

.aipl-ad-hero .aipl-slider-track {
    height: 100%;
}

.aipl-ad-hero .aipl-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center !important;
}

@media (max-width: 768px) {
    .aipl-ad-hero .aipl-slider {
        aspect-ratio: 3 / 1 !important;
    }
}
