/* =========================================================================
   AQUA PREMIUM THEME
   Every rule is scoped under body.ap-theme so it can never bleed onto
   pages the theme hasn't overridden yet (those still use the original
   stylesheet untouched). Custom elements use a ap- prefix; a handful of
   rules also restyle the REUSED core partials (.product-item, .price, …)
   but only within body.ap-theme.
   ========================================================================= */

body.ap-theme {
    --ap-navy: #16224f;
    --ap-navy-2: #1c2c63;
    --ap-pale: #dcedf8;
    --ap-pale-2: #e9f4fa;
    --ap-pink: #ec1c63;
    --ap-text: #0e1836;
    --ap-text-soft: #6b7280;
    --ap-line: #e8ecf0;
    --ap-alt-bg: #eef3f8;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--ap-text);
}
body.ap-theme {
    overflow-x: hidden;
}
html:has(body.ap-theme) {
    overflow-x: hidden;
}
body.ap-theme h1, body.ap-theme h2, body.ap-theme h3, body.ap-theme h4,
body.ap-theme h5, body.ap-theme h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--ap-navy);
}

body.ap-theme .ap-wrap {
    width: 100%;
    /* max-width: 1320px; */
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}
body.ap-theme .ap-hidden { display: none !important; }
.ap-hero-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.ap-hero-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}
.ap-hero-card {
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    display: block;
}
.ap-hero-card img,
.ap-hero-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ap-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
}
.ap-hero-prev { left: 15px; }
.ap-hero-next { right: 15px; }
.ap-hero-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.ap-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}
.ap-hero-dot.active { background: #fff; }
/* ---------- utility bar + navbar ---------- */
body.ap-theme .ap-utilbar {
    width: 100%;
    background: var(--ap-navy);
}

body.ap-theme .ap-utilbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    min-height: 38px;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
    padding: 5px 20px !important;
}

body.ap-theme .ap-utilbar a {
    display: inline-flex;
    align-items: center;
    color: #cfe0f5;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

body.ap-theme .ap-utilbar a:hover {
    color: #fff;
}

body.ap-theme .ap-navbar { border-bottom: 1px solid var(--ap-line); background: #fff; }
body.ap-theme .ap-navbar-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 84px;
    box-sizing: border-box;
}
body.ap-theme .ap-wrap.ap-navbar-inner {
    padding-left: 32px;
    padding-right: 32px;
}
body.ap-theme .ap-logo img { display: block; }

body.ap-theme .ap-links {   display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    padding: 0 8px; }
body.ap-theme .ap-nav-item { position: relative; }
body.ap-theme .ap-nav-item > a { color: var(--ap-text); font-weight: 600; text-decoration: none; font-size: 0.96rem; padding-bottom: 4px; border-bottom: 2px solid transparent; transition: border-color .15s ease; }
body.ap-theme .ap-nav-item:hover > a { border-color: var(--ap-navy); }
body.ap-theme .ap-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}
body.ap-theme .ap-nav-item > a {
  display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    margin: 0;
    box-sizing: border-box;

    color: var(--ap-text);
    font-weight: 600;
    font-size: 0.96rem;
    line-height: 1;
    text-decoration: none;

    border-radius: 30px;
    border: none;

    transition: background 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease;
}

body.ap-theme .ap-nav-item:hover > a {
   background: var(--ap-navy);
    color: #fff;
    box-shadow: 0 6px 16px rgba(22, 34, 79, 0.20);
}
body.ap-theme .ap-nav-item,
body.ap-theme .ap-nav-item > a {
    vertical-align: middle;
}

body.ap-theme .ap-nav-item {
    margin-top: 0;
    margin-bottom: 0;
}
body.ap-theme .ap-mega {
    position: absolute; top: calc(100% + 18px); left: 0;
    background: #fff; border-radius: 16px; box-shadow: 0 24px 50px rgba(15,25,60,0.18);
    padding: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
    width: 480px; z-index: 90; visibility: hidden; opacity: 0;
    transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
    pointer-events: none;
}
body.ap-theme .ap-nav-item:hover .ap-mega { visibility: visible; opacity: 1;  pointer-events: auto; }
body.ap-theme .ap-mega-label { grid-column: 1/-1; font-size: 0.7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ap-text-soft); margin-bottom: 8px; }
body.ap-theme .ap-mega a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 10px; text-decoration: none; text-align: center; }
body.ap-theme .ap-mega a:hover { background: var(--ap-pale-2); }
body.ap-theme .ap-mega img { width: 42px; height: 42px; object-fit: contain; }
body.ap-theme .ap-mega span { font-size: 0.72rem; color: var(--ap-text-soft); line-height: 1.3; }

body.ap-theme .ap-actions {    
      display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 8px; 
   }
body.ap-theme .ap-search {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--ap-alt-bg);
    border-radius: 100px;
    padding: 8px 6px 8px 16px;
    width: 280px;
    box-sizing: border-box;
    flex-shrink: 1;
}
body.ap-theme .ap-search input { border: none; background: none; outline: none; flex: 1; font-size: 0.88rem; font-family: 'Inter'; }
body.ap-theme .ap-search button { background: var(--ap-navy); border: none; width: 32px; height: 32px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
body.ap-theme .ap-search-results { position: absolute; top: 110%; left: 0; right: 0; background: #fff; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); max-height: 360px; overflow-y: auto; z-index: 95; }

body.ap-theme .ap-icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--ap-alt-bg); display: flex; align-items: center; justify-content: center; color: var(--ap-navy); flex-shrink: 0; }
body.ap-theme .ap-cart-count { position: absolute; top: -4px; right: -4px; background: var(--ap-pink); color: #fff; font-size: 0.65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

body.ap-theme .ap-pill { display: inline-flex; align-items: center; justify-content: center; background: var(--ap-navy); color: #fff; font-weight: 700; font-size: 0.85rem; padding: 10px 22px; border-radius: 100px; border: none; cursor: pointer; text-decoration: none; white-space: nowrap; }
body.ap-theme .ap-burger { display: none; background: none; border: none; color: var(--ap-navy); cursor: pointer; }

@media (max-width: 991px) {
    body.ap-theme .ap-utilbar, body.ap-theme .ap-links, body.ap-theme .ap-search { display: none; }
    body.ap-theme .ap-burger { display: flex; }
}
/* ---------- utility bar + navbar ---------- */
body.ap-theme .ap-utilbar {
    width: 100%;
    background: var(--ap-navy);
}

body.ap-theme .ap-utilbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 30px !important;
    padding: 3px 25px;
    box-sizing: border-box;
}

body.ap-theme .ap-utilbar a {
    display: inline-flex;
    align-items: center;
    color: #cfe0f5;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

body.ap-theme .ap-social-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: auto;
}

body.ap-theme .ap-social-row a {
    width: 25px !important;
    height: 25px !important;
    padding: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfe0f5;
    transition: background .2s ease, color .2s ease;
}

body.ap-theme .ap-social-row a svg {
    width: 13px !important;
    height: 13px !important;
}

body.ap-theme .ap-social-row a:hover {
    background: rgba(255,255,255,.25);
    color: #fff;
}

body.ap-theme .ap-navbar { border-bottom: 1px solid var(--ap-line); background: #fff; }
body.ap-theme .ap-navbar-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 75px;
    box-sizing: border-box;
}
body.ap-theme .ap-wrap.ap-navbar-inner {
    padding-left: 32px;
    padding-right: 32px;
}
body.ap-theme .ap-logo img { display: block; flex-shrink: 0; }

body.ap-theme .ap-links {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    flex-wrap: nowrap;
    
    padding: 0 8px;
}
body.ap-theme .ap-nav-item { position: relative; }
body.ap-theme .ap-nav-item > a {
    color: var(--ap-text);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.96rem;
    /* padding-bottom: 4px; */
    border-bottom: 2px solid transparent;
    transition: border-color .15s ease;
    white-space: nowrap;
}
body.ap-theme .ap-nav-item:hover > a { border-color: var(--ap-navy); }

body.ap-theme .ap-mega {
    position: absolute; top: calc(100% + 18px); left: 0;
    background: #fff; border-radius: 16px; box-shadow: 0 24px 50px rgba(15,25,60,0.18);
    padding: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
    width: 480px; z-index: 90; visibility: hidden; opacity: 0;
    transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
    pointer-events: none;
}
body.ap-theme .ap-nav-item:hover .ap-mega { visibility: visible; opacity: 1;  pointer-events: auto; }
body.ap-theme .ap-mega-label { grid-column: 1/-1; font-size: 0.7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ap-text-soft); margin-bottom: 8px; }
body.ap-theme .ap-mega a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 10px; text-decoration: none; text-align: center; }
body.ap-theme .ap-mega a:hover { background: var(--ap-pale-2); }
body.ap-theme .ap-mega img { width: 42px; height: 42px; object-fit: contain; }
body.ap-theme .ap-mega span { font-size: 0.72rem; color: var(--ap-text-soft); line-height: 1.3; }

body.ap-theme .ap-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 8px;
    flex-shrink: 0;
}

body.ap-theme .ap-search {
    position: relative;
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 100px;
    padding: 0;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
    transition: width .3s ease, background .3s ease, padding .3s ease;
}
body.ap-theme .ap-search input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    width: 0;
    min-width: 0;
    font-size: 0.88rem;
    font-family: 'Inter';
    opacity: 0;
    transition: opacity .2s ease, width .3s ease;
}
body.ap-theme .ap-search button {
    background: var(--ap-alt-bg);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--ap-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
body.ap-theme .ap-search.ap-search-active,
body.ap-theme .ap-search:focus-within {
    width: 280px;
    background: var(--ap-alt-bg);
    padding: 8px 6px 8px 16px;
}
body.ap-theme .ap-search.ap-search-active input,
body.ap-theme .ap-search:focus-within input {
    width: auto;
    opacity: 1;
}
body.ap-theme .ap-search.ap-search-active button,
body.ap-theme .ap-search:focus-within button {
    background: var(--ap-navy);
    color: #fff;
}
body.ap-theme .ap-search-results { position: absolute; top: 110%; left: 0; right: 0; background: #fff; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); max-height: 360px; overflow-y: auto; z-index: 95; }

body.ap-theme .ap-icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--ap-alt-bg); display: flex; align-items: center; justify-content: center; color: var(--ap-navy); flex-shrink: 0; }
body.ap-theme .ap-cart-count { position: absolute; top: -4px; right: -4px; background: var(--ap-pink); color: #fff; font-size: 0.65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

body.ap-theme .ap-pill { display: inline-flex; align-items: center; justify-content: center; background: var(--ap-navy); color: #fff; font-weight: 700; font-size: 0.85rem; padding: 10px 22px; border-radius: 100px; border: none; cursor: pointer; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
body.ap-theme .ap-burger { display: none; background: none; border: none; color: var(--ap-navy); cursor: pointer; }

@media (max-width: 991px) {
    body.ap-theme .ap-utilbar, body.ap-theme .ap-links, body.ap-theme .ap-search { display: none; }
    body.ap-theme .ap-burger { display: flex; }
}
/* ---------- hero ---------- */
body.ap-theme .ap-hero-section { padding: 1px 0 8px; }
body.ap-theme .ap-hero-card { position: relative; display: block; border-radius: 0px; overflow: hidden; margin-bottom: 20px; }
body.ap-theme .ap-hero-card img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
body.ap-theme .ap-hero-card video { width: 100%; height: auto; display: block; transition: transform .5s ease; object-fit: cover; }
body.ap-theme .ap-hero-card:hover img, body.ap-theme .ap-hero-card:hover video { transform: scale(1.03); }
body.ap-theme .ap-hero-overlay { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); max-width: 480px; }
body.ap-theme .ap-hero-serif { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.4vw, 3rem); color: #fff; margin-bottom: 14px; }
body.ap-theme .ap-hero-sub { color: #f0f0f0; font-size: 1rem; margin-bottom: 18px; }
body.ap-theme .ap-hero-btn { text-decoration: none; }

/* ---------- generic sections ---------- */
body.ap-theme .ap-section { padding:25px 0; }
body.ap-theme .ap-page > section.ap-section:last-of-type { padding-bottom: 24px; }
body.ap-theme .ap-section-alt { background: var(--ap-alt-bg); }
body.ap-theme .ap-section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; flex-wrap: wrap; gap: 10px; }
body.ap-theme .ap-section-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
body.ap-theme .ap-tile-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
body.ap-theme .ap-tile { background: var(--ap-pale); border-radius: 18px; padding: 24px; min-height: 210px; display: flex; flex-direction: column; text-decoration: none; position: relative; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
body.ap-theme .ap-tile:hover { box-shadow: 0 20px 40px -16px rgba(15,25,60,.28); transform: translateY(-4px); }
body.ap-theme .ap-tile h4 { font-size: 1.05rem; margin-bottom: auto; }
body.ap-theme .ap-tile img { max-height: 130px; margin: 0 auto; margin-top: auto; object-fit: contain; transition: transform .35s ease; }
body.ap-theme .ap-tile:hover img { transform: scale(1.08); }
body.ap-theme .ap-shop-now { position: absolute; bottom: 18px; right: 18px; background: var(--ap-navy); color: #fff; font-size: 0.76rem; font-weight: 700; padding: 8px 14px; border-radius: 100px; opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
body.ap-theme .ap-tile:hover .ap-shop-now { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) { body.ap-theme .ap-tile-row { grid-template-columns: 1fr 1fr; } }
body.ap-theme .ap-viewall { color: var(--ap-navy); font-weight: 700; font-size: 0.9rem; text-decoration: none; }

/* ---------- category tiles ---------- */
body.ap-theme .ap-tile-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
body.ap-theme .ap-tile { background: var(--ap-pale); border-radius: 18px; padding: 24px; min-height: 210px; display: flex; flex-direction: column; text-decoration: none; position: relative; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
body.ap-theme .ap-tile:hover { box-shadow: 0 20px 40px -16px rgba(15,25,60,.28); transform: translateY(-4px); }
body.ap-theme .ap-tile h4 { font-size: 1.05rem; margin-bottom: auto; }
body.ap-theme .ap-tile img { max-height: 130px; margin: 0 auto; margin-top: auto; object-fit: contain; transition: transform .35s ease; }
body.ap-theme .ap-tile:hover img { transform: scale(1.08); }
body.ap-theme .ap-shop-now { position: absolute; bottom: 18px; right: 18px; background: var(--ap-navy); color: #fff; font-size: 0.76rem; font-weight: 700; padding: 8px 14px; border-radius: 100px; opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
body.ap-theme .ap-tile:hover .ap-shop-now { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) { body.ap-theme .ap-tile-row { grid-template-columns: 1fr 1fr; } }

/* ---------- product grid (restyles the reused core .product-item card) ---------- */
body.ap-theme .ap-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { body.ap-theme .ap-prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { body.ap-theme .ap-prod-grid { grid-template-columns: 1fr; } }
body.ap-theme .ap-prod-cell { margin: 0 auto; overflow: hidden; isolation: isolate; width: 100%; }
body.ap-theme .ap-prod-cell .product-item { float: none; overflow: hidden; isolation: isolate; border: 1px solid var(--ap-line); border-radius: 16px; padding: 14px; height: 100%; box-sizing: border-box; transition: box-shadow .2s ease; }
body.ap-theme .ap-prod-cell .product-item * { box-sizing: border-box; max-width: 100%; }
body.ap-theme .ap-prod-cell .product-item:hover { box-shadow: 0 20px 40px -20px rgba(15,25,60,.25); }
body.ap-theme .ap-prod-cell .badge-discount { background: var(--ap-pink); border-radius: 100px; }
body.ap-theme .ap-prod-cell .product-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; line-height: 1.3; }
body.ap-theme .ap-prod-cell .product-title a { color: var(--ap-text); font-weight: 600; text-decoration: none; word-break: break-word; }
body.ap-theme .ap-prod-cell .price { color: var(--ap-navy); font-weight: 700; }
body.ap-theme .ap-prod-cell .item-meta { display: flex; flex-wrap: wrap; gap: 1px; }
body.ap-theme .ap-prod-cell .img-product { transition: transform .35s ease; }
body.ap-theme .ap-prod-cell .ratio-product-box:hover .img-product { transform: scale(1.06); }

/* ---------- premium card additions (wishlist icon, description,
   price row, dual Buy Now / Add to Cart buttons) ---------- */
body.ap-theme .ap-kt-card { border: none !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; }
body.ap-theme .ap-kt-card:hover { box-shadow: none !important; }
body.ap-theme .ap-kt-card .row-img-product-list { position: relative !important; overflow: hidden; }
body.ap-theme .ap-kt-card .ratio-product-box { --bs-aspect-ratio: 96%; border-radius: 14px; background: #fff; }
body.ap-theme .ap-kt-card:hover .img-product { transform: scale(1.04); }
body.ap-theme .ap-kt-badge { position: absolute !important; top: 14px !important; right: 14px !important; left: auto !important; background: var(--ap-pink) !important; border-radius: 100px !important; width: auto !important; height: auto !important; padding: 5px 14px !important; font-weight: 700 !important; font-size: 0.78rem; z-index: 3; }
body.ap-theme .ap-kt-badge-soldout { background: #6b7280 !important; }
body.ap-theme .ap-kt-desc { font-size: 0.82rem; color: var(--ap-text-soft); line-height: 1.5; margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.ap-theme .ap-kt-card .item-details { padding: 18px 4px 0 !important; }
body.ap-theme .ap-kt-card .product-title { font-size: 1.05rem; font-weight: 700; }
body.ap-theme .ap-kt-price-row { display: flex !important; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 10px; }
body.ap-theme .ap-kt-price-row .price { font-size: 1.2rem; font-weight: 800; color: var(--ap-navy); order: 2; }
body.ap-theme .ap-kt-price-row .discount-original-price { font-size: 0.92rem; color: var(--ap-text-soft); order: 1; }
body.ap-theme .ap-kt-price-row .discount-original-price::before { content: "MRP "; font-weight: 600; }
body.ap-theme .ap-kt-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; width: 100%; }
body.ap-theme .ap-kt-btn { width: 100%; box-sizing: border-box; text-align: center; border-radius: 100px; font-weight: 700; font-size:13px; text-decoration: none; cursor: pointer; border: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
body.ap-theme .ap-kt-btn-solid { background: var(--ap-navy); color: #fff; }
body.ap-theme .ap-kt-btn-solid:hover { background: var(--ap-navy-2); color: #fff; }
body.ap-theme .ap-kt-card .product-item-rating { display: none; }
body.ap-theme .ap-kt-card, body.ap-theme .ap-kt-card .item-details, body.ap-theme .ap-kt-card .item-details > * { min-width: 0; width: 100%; box-sizing: border-box; }
body.ap-theme .ap-kt-card .item-details { overflow: hidden; }

/* auto-fill above already adapts to any width/product count without
   needing fixed breakpoints — no media query overrides required here */

/* ---------- per-category product rows (reused partial) ---------- */
body.ap-theme .ap-cat-rows .section-header .title { font-family: 'Poppins', sans-serif; color: var(--ap-navy); }

/* ---------- brand strip ---------- */

body.ap-theme .ap-brand-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
body.ap-theme .ap-brand-row img { max-height: 48px; opacity: .75; transition: opacity .2s ease; }
body.ap-theme .ap-brand-row img:hover { opacity: 1; }

/* ---------- footer ---------- */


/* ---------- footer shell: deep gradient + animated wave + bubbles ---------- */
body.ap-theme #footer.ap-footer {
    position: relative !important;
    margin: 60px 0 0 !important;
    padding: 100px 0 0 !important;
    color: #b9c6e8 !important;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 8%,  rgba(43,143,212,.35), transparent 38%),
        radial-gradient(circle at 4% 95%,  rgba(47,168,79,.18),  transparent 34%),
        linear-gradient(165deg, #0f1b45 0%, #16307a 55%, #1a4a9c 100%) !important;
}

/* animated water wave on the top edge (white = colour of the page above;
   change %23ffffff in both URLs if your page background is not white) */
body.ap-theme #footer.ap-footer::before {
    content: "";
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 72px;
    z-index: 2;
    pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 30C240 0 480 60 720 30C960 0 1200 60 1440 30V0H0Z'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.4' d='M0 30C240 0 480 60 720 30C960 0 1200 60 1440 30V0H0Z'/%3E%3C/svg%3E");
    background-repeat: repeat-x, repeat-x;
    background-size: 1440px 60px, 1440px 60px;
    background-position: 0 0, 0 14px;
    animation: apFootWave 18s linear infinite;
}
@keyframes apFootWave {
    to { background-position: -1440px 0, 1440px 14px; }
}

/* floating bubbles */
body.ap-theme #footer.ap-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .9;
    background-image:
        radial-gradient(circle at 8%  20%, transparent 0 9px,  rgba(255,255,255,.22) 10px 11px, transparent 12px),
        radial-gradient(circle at 22% 70%, transparent 0 15px, rgba(255,255,255,.18) 16px 17px, transparent 18px),
        radial-gradient(circle at 38% 40%, transparent 0 6px,  rgba(255,255,255,.25) 7px 8px,   transparent 9px),
        radial-gradient(circle at 55% 85%, transparent 0 12px, rgba(255,255,255,.2)  13px 14px, transparent 15px),
        radial-gradient(circle at 72% 30%, transparent 0 8px,  rgba(255,255,255,.22) 9px 10px,  transparent 11px),
        radial-gradient(circle at 88% 65%, transparent 0 17px, rgba(255,255,255,.16) 18px 19px, transparent 20px),
        radial-gradient(circle at 96% 15%, transparent 0 5px,  rgba(255,255,255,.25) 6px 7px,   transparent 8px);
    background-size: 100% 700px;
    background-repeat: repeat-y;
    animation: apFootBubbles 34s linear infinite;
}
@keyframes apFootBubbles { to { background-position: 0 -700px; } }

/* content sits above the decorations */
body.ap-theme #footer.ap-footer .ap-wrap {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    padding-left: 28px;
    padding-right: 28px;
}

/* ---------- main grid ---------- */
body.ap-theme #footer.ap-footer .ap-foot-top {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr 1fr 1fr 1.5fr !important;
    gap: 44px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
}

/* brand */
body.ap-theme #footer.ap-footer .ap-foot-brand > a { display: inline-block; }
body.ap-theme #footer.ap-footer .ap-foot-brand img {
    width: 260px !important;          /* was 170px (500px capped by max-width) */
    height: auto !important;          /* keeps the logo's own proportions */
    max-width: 100%;
    margin: 0 0 18px;
    padding: 12px 18px;
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0,0,0,.22);
    display: block;
}
body.ap-theme #footer.ap-footer .ap-foot-about { color: #aebbe0; font-size: .9rem; line-height: 1.75; margin-bottom: 20px; max-width: 340px; }
body.ap-theme #footer.ap-footer .ap-foot-about:empty { display: none; }

/* social icons (shown only when links exist) */
body.ap-theme #footer.ap-footer .ap-social-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
body.ap-theme #footer.ap-footer .ap-social-row:not(:has(a)) { display: none; }
body.ap-theme #footer.ap-footer .ap-social-row a {
    width: 40px !important;
    height: 40px !important;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.22);
    transition: all .25s ease;
}
body.ap-theme #footer.ap-footer .ap-social-row a:hover {
    background: linear-gradient(135deg, #2fa84f, #2b8fd4);
    border-color: transparent;
    color: #fff;
    transform: translateY(-4px) rotate(-6deg);
}

/* ---------- link columns ---------- */
body.ap-theme #footer.ap-footer .ap-foot-col h6 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 12px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
body.ap-theme #footer.ap-footer .ap-foot-col h6::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 36px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, #2fa84f, #2b8fd4);
}
body.ap-theme #footer.ap-footer .ap-foot-col ul { list-style: none; margin: 0; padding: 0; }
body.ap-theme #footer.ap-footer .ap-foot-col li { margin-bottom: 13px; }
body.ap-theme #footer.ap-footer .ap-foot-col li a {
    position: relative;
    display: inline-block;
    color: #c6d2ef;
    font-size: .92rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
}
body.ap-theme #footer.ap-footer .ap-foot-col li a::before {
    content: "";
    position: absolute; left: 0; top: 50%;
    width: 0; height: 2px; border-radius: 2px;
    background: #2b8fd4;
    transform: translateY(-50%);
    transition: width .2s ease;
}
body.ap-theme #footer.ap-footer .ap-foot-col li a:hover { color: #fff; padding-left: 18px; }
body.ap-theme #footer.ap-footer .ap-foot-col li a:hover::before { width: 11px; }

/* ---------- newsletter + payments card (last column) ---------- */
body.ap-theme #footer.ap-footer .ap-foot-top > .ap-foot-col:last-child {
    padding: 26px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(6px);
    align-self: start;
}
body.ap-theme #footer.ap-footer .ap-foot-note { margin: 0 0 16px; color: #aebbe0; font-size: .85rem; line-height: 1.65; }
body.ap-theme #footer.ap-footer .ap-newsletter { display: flex; flex-direction: column; gap: 10px; margin: 0 0 20px; }
body.ap-theme #footer.ap-footer .ap-newsletter input[type="email"] {
    width: 100%; height: 46px;
    border: none; outline: none;
    border-radius: 100px;
    padding: 0 20px;
    background: #fff; color: #0e1836;
    font-size: .9rem;
}
body.ap-theme #footer.ap-footer .ap-newsletter button {
    width: 100%; height: 46px;
    border: none; cursor: pointer;
    border-radius: 100px;
    color: #fff; font-weight: 700; font-size: .9rem;
    background: linear-gradient(100deg, #2fa84f, #2b8fd4);
    transition: transform .2s ease, box-shadow .2s ease;
}
body.ap-theme #footer.ap-footer .ap-newsletter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(43,143,212,.4);
}
body.ap-theme #footer.ap-footer .ap-pay-icons { display: flex; flex-wrap: wrap; gap: 8px; }
body.ap-theme #footer.ap-footer .ap-pay-icons img {
    height: 24px; width: auto; max-width: none;
    padding: 3px 7px;
    background: #fff;
    border-radius: 5px;
}

/* ---------- copyright ---------- */
body.ap-theme #footer.ap-footer .ap-foot-bottom {
    padding: 24px 0 28px;
    text-align: center;
    color: #93a3d2;
    font-size: .85rem;
    letter-spacing: .02em;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    body.ap-theme #footer.ap-footer .ap-foot-top { grid-template-columns: repeat(3, 1fr) !important; }
    body.ap-theme #footer.ap-footer .ap-foot-brand,
    body.ap-theme #footer.ap-footer .ap-foot-top > .ap-foot-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    body.ap-theme #footer.ap-footer { padding-top: 88px !important; }
    body.ap-theme #footer.ap-footer .ap-wrap { padding-left: 18px; padding-right: 18px; }
    body.ap-theme #footer.ap-footer .ap-foot-top { grid-template-columns: 1fr 1fr !important; gap: 30px 20px !important; }
}
@media (max-width: 400px) {
    body.ap-theme #footer.ap-footer .ap-foot-top { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion: reduce) {
    body.ap-theme #footer.ap-footer::before,
    body.ap-theme #footer.ap-footer::after { animation: none; }
}

/* =========================================================================
   PRODUCT LISTING PAGE (product/products.php)
   Structural markup here is left 100% original (filters, sort, infinite
   scroll all keep their original ids/classes so the JS + AJAX "load more"
   endpoint keep working exactly as before). Everything below is pure
   visual restyling of that existing markup — no HTML was changed to
   achieve this, only these selectors.
   ========================================================================= */

/* breadcrumb + page title */
body.ap-theme .ap-products-page .breadcrumb-products { background: none; padding: 0; margin-bottom: 18px; }
body.ap-theme .ap-products-page .breadcrumb-products .breadcrumb-item a { color: var(--ap-text-soft); text-decoration: none; font-size: 0.86rem; }
body.ap-theme .ap-products-page .breadcrumb-products .breadcrumb-item.active { color: var(--ap-navy); font-weight: 600; font-size: 0.86rem; }
body.ap-theme .ap-products-page .product-list-title { font-family: 'Poppins', sans-serif; color: var(--ap-navy); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
body.ap-theme .ap-products-page .category-description { color: var(--ap-text-soft); font-size: 0.95rem; }

/* filter sidebar */
body.ap-theme .ap-products-page .product-filters { background: var(--ap-alt-bg); border-radius: 16px; padding: 20px; }
body.ap-theme .ap-products-page .filter-item { border-bottom: 1px solid var(--ap-line); padding-bottom: 16px; margin-bottom: 16px; }
body.ap-theme .ap-products-page .filter-item.border-0 { border-bottom: none; }
body.ap-theme .ap-products-page .filter-item .title,
body.ap-theme .ap-products-page .filter-item .collapse-title .btn { font-family: 'Poppins', sans-serif; color: var(--ap-navy); font-weight: 700; font-size: 0.95rem; padding: 0; background: none; border: none; }
body.ap-theme .ap-products-page .filter-list a { color: var(--ap-text); font-size: 0.88rem; text-decoration: none; }
body.ap-theme .ap-products-page .filter-list li { padding: 5px 0; }
body.ap-theme .ap-products-page .filter-list a.active,
body.ap-theme .ap-products-page .filter-list-categories-parent { color: var(--ap-navy); font-weight: 700; }
body.ap-theme .ap-products-page .inputs-filter-price input,
body.ap-theme .ap-products-page #input_filter_keyword { border-radius: 10px; border: 1px solid var(--ap-line); }
body.ap-theme .ap-products-page .btn-filter-product { background: var(--ap-navy); color: #fff !important; border-radius: 100px; border: none; padding: 10px 18px; font-weight: 700; font-size: 0.86rem; }

/* sort dropdown + reset tags */
body.ap-theme .ap-products-page .product-sort-by .btn { border: 1px solid var(--ap-line); border-radius: 100px; background: #fff; font-weight: 600; color: var(--ap-text); }
body.ap-theme .ap-products-page .filter-reset-tag { background: var(--ap-pale); border-radius: 100px; padding: 6px 14px; display: inline-flex; align-items: center; gap: 8px; margin: 4px; font-size: 0.82rem; }
body.ap-theme .ap-products-page .link-reset-filters { color: var(--ap-pink); font-weight: 700; font-size: 0.85rem; text-decoration: none; }

/* product grid cards — same visual language as the homepage grid,
   applied to the ORIGINAL .col-product / .product-item markup so
   AJAX-appended "load more" products match without any JS changes */
body.ap-theme .ap-products-page .col-product { margin-bottom: 20px; }
body.ap-theme .ap-products-page .product-item { border: 1px solid var(--ap-line); border-radius: 16px; padding: 14px; overflow: hidden; isolation: isolate; float: none; box-sizing: border-box; transition: box-shadow .2s ease; }
body.ap-theme .ap-products-page .product-item * { box-sizing: border-box; max-width: 100%; }
body.ap-theme .ap-products-page .product-item:hover { box-shadow: 0 20px 40px -20px rgba(15,25,60,.25); }
body.ap-theme .ap-products-page .badge-discount { background: #28a745; border-radius: 100px; }
body.ap-theme .ap-products-page .product-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 1.6em; line-height: 1.3; }
body.ap-theme .ap-products-page .product-title a { color:#1a3fa0; font-weight: 600; text-decoration: none; }
body.ap-theme .ap-products-page .price { color: var(--ap-navy); font-weight: 700; }
body.ap-theme .ap-products-page .item-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1px; }
body.ap-theme .ap-products-page .img-product { transition: transform .35s ease; }
body.ap-theme .ap-products-page .ratio-product-box:hover .img-product { transform: scale(1.06); }
body.ap-theme .ap-products-page .no-records-found { color: var(--ap-text-soft); text-align: center; padding: 60px 0; font-size: 1rem; }

/* ---------- Sort By: restyled as an always-visible radio list ---------- */
body.ap-theme .ap-sort-list { display: block; margin-bottom: 0; }
body.ap-theme .ap-sort-title { font-size: 1.05rem; font-weight: 800; color: var(--ap-navy); margin-bottom: 14px; }
body.ap-theme .ap-sort-menu.ap-sort-menu { position: static !important; display: flex !important; flex-direction: column; gap: 4px; background: none; border: none; box-shadow: none; padding: 0; transform: none !important; margin: 0; float: none; width: 100%; }
body.ap-theme .ap-sort-menu .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 7px 0; background: none; border: none; text-align: left; font-size: 0.94rem; color: var(--ap-text); width: 100%; }
body.ap-theme .ap-sort-menu .dropdown-item::before { content: ""; width: 17px; height: 17px; border-radius: 50%; border: 2px solid var(--ap-line); flex-shrink: 0; box-sizing: border-box; }
body.ap-theme .ap-sort-menu .dropdown-item.active { color: var(--ap-navy); font-weight: 700; }
body.ap-theme .ap-sort-menu .dropdown-item.active::before { border-color: var(--ap-navy); border-width: 5px; }
/* the mobile sort dropdown (separate markup, above the filter toggle) is
   left as the original dropdown-button style — only the desktop sidebar
   context above is restyled as a radio list */

/* =========================================================================
   LISTING PAGE PRODUCT CARD (product/_product_item_listing.php)
   Pale tile card, description snippet, "Best Price:"/"MRP ... (Inclusive
   of all taxes)" wording, dual Buy Now + Add to Cart buttons — matches
   the reference category-page design, distinct from the homepage's
   borderless single-button bestseller card.
   ========================================================================= */
body.ap-theme .ap-lst-card { background: var(--ap-pale); border: none !important; border-radius: 16px; padding: 16px !important; min-width: 0; width: 100%; box-sizing: border-box; overflow: hidden; }
body.ap-theme .ap-lst-card:hover { box-shadow: 0 16px 34px -18px rgba(15,25,60,.25) !important; }
body.ap-theme .ap-lst-card .row-img-product-list { position: relative !important; overflow: hidden; background: transparent; }
body.ap-theme .ap-lst-card .ratio-product-box { --bs-aspect-ratio: 90%; }
body.ap-theme .ap-lst-badge { position: absolute !important; top: 12px !important; right: 12px !important; left: auto !important; border-radius: 100px !important; width: auto !important; height: auto !important; padding: 5px 14px !important; font-weight: 700 !important; font-size: 0.78rem; z-index: 3; }
body.ap-theme .ap-lst-badge-soldout { background: #6b7280 !important; }
body.ap-theme .ap-lst-card .item-details, body.ap-theme .ap-lst-card .item-details > * { min-width: 0; width: 100%; box-sizing: border-box; }
body.ap-theme .ap-lst-card .item-details { padding: 0px; overflow: hidden; }
body.ap-theme .ap-lst-card .product-title { font-size: 1rem; font-weight: 700;  }
body.ap-theme .ap-lst-desc { font-size: 0.86rem; color: var(--ap-text-soft); line-height: 1.5; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.ap-theme .ap-lst-price { margin-bottom: 14px; }
body.ap-theme .ap-lst-best-price { font-size: 1.05rem; font-weight: 800; color: var(--ap-navy); margin-bottom: 2px; }
body.ap-theme .ap-lst-best-price .ap-lst-label { font-weight: 700; margin-right: 4px; }
body.ap-theme .ap-lst-mrp { font-size: 0.82rem; color: var(--ap-text-soft); }
body.ap-theme .ap-lst-mrp .ap-lst-label { font-weight: 700; margin-right: 4px; }
body.ap-theme .ap-lst-mrp del { margin-right: 6px; }
body.ap-theme .ap-lst-tax-note { font-size: 0.76rem; }
body.ap-theme .ap-lst-actions { display: flex; gap: 8px; width: 100%; }
body.ap-theme .ap-lst-btn { flex: 1; min-width: 0; box-sizing: border-box; text-align: center; padding: 11px 8px; border-radius: 100px; font-weight: 700; font-size: 0.82rem; text-decoration: none; cursor: pointer; border: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
body.ap-theme .ap-lst-btn-solid { background: var(--ap-navy); color: #fff; }
body.ap-theme .ap-lst-btn-solid:hover { background: var(--ap-navy-2); color: #fff; }
body.ap-theme .ap-lst-btn-outline { background: #fff; color:#16224f; border: 1px solid var(--ap-navy); }
body.ap-theme .ap-lst-btn-outline:hover { background: var(--ap-pale-2); }
body.ap-theme .ap-lst-card .product-item-rating { display: none; }

/* category tile row (top-level departments, matches header mega-menu tiles) */
body.ap-theme .ap-cat-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 24px 0; }
body.ap-theme .ap-cat-tile { background:#f4f6f9 !important; border-radius: 14px; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; border: 2px solid transparent; transition: border-color .2s ease, transform .2s ease; }
body.ap-theme .ap-cat-tile:hover { transform: translateY(-3px); }
body.ap-theme .ap-cat-tile.active { border-color: var(--ap-navy); background: var(--ap-pale-2); }
body.ap-theme .ap-cat-tile img { height: 64px; object-fit: contain; }
body.ap-theme .ap-cat-tile span { font-weight: 700; color: var(--ap-navy); font-size: 0.92rem; text-align: center; }

/* sub-category tab row */
body.ap-theme .ap-cat-tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--ap-line); margin-bottom: 28px; overflow-x: auto; }
body.ap-theme .ap-cat-tab { color: var(--ap-text-soft); font-weight: 600; font-size: 1rem; text-decoration: none; padding-bottom: 14px; border-bottom: 3px solid transparent; white-space: nowrap; }
body.ap-theme .ap-cat-tab.active, body.ap-theme .ap-cat-tab:hover { color: var(--ap-navy); border-bottom-color: var(--ap-navy); }

@media (max-width: 900px) { body.ap-theme .ap-cat-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { body.ap-theme .ap-cat-tiles { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   PRODUCT DETAIL PAGE (product/details/product.php)
   Same principle as the listing page: zero structural changes, the
   gallery/variations/cart-form/tabs are all original markup, restyled
   purely through CSS.
   ========================================================================= */
body.ap-theme .ap-product-detail .breadcrumb-products { background: none; padding: 0; margin-bottom: 18px; }
body.ap-theme .ap-product-detail .breadcrumb-products .breadcrumb-item a { color: var(--ap-text-soft); text-decoration: none; font-size: 0.86rem; }
body.ap-theme .ap-product-detail .breadcrumb-products .breadcrumb-item.active { color: var(--ap-navy); font-weight: 600; font-size: 0.86rem; }

body.ap-theme .ap-product-detail .product-title { font-family: 'Poppins', sans-serif; color: var(--ap-navy); font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 800; }
body.ap-theme .ap-product-detail .product-short-description { color: var(--ap-text-soft); font-weight: 500; font-size: 1rem; margin-top: 8px; }

body.ap-theme .ap-product-detail .product-slider-container { border-radius: 18px; overflow: hidden; }
body.ap-theme .ap-product-detail .product-thumbnails-slider .item { border: 1px solid var(--ap-line); border-radius: 10px; overflow: hidden; }

body.ap-theme .ap-product-detail .price .price { color: var(--ap-navy); font-weight: 800; font-size: 1.6rem; }
body.ap-theme .ap-product-detail .discount-original-price { color: var(--ap-text-soft); font-size: 1rem; }
body.ap-theme .ap-product-detail .badge-discount { background: var(--ap-pink); color: #fff; border-radius: 100px; padding: 4px 12px; font-weight: 700; }

body.ap-theme .ap-product-detail .btn-product-cart,
body.ap-theme .ap-product-detail .btn-buy-now { background: var(--ap-navy); color: #fff; border: none; border-radius: 100px; padding: 14px 28px; font-weight: 700; }
body.ap-theme .ap-product-detail .btn-add-remove-wishlist {  border-radius: 100px; background: #000; color: var(--ap-navy); }

body.ap-theme .ap-product-detail .nav-tabs-horizontal { border-bottom: 1px solid var(--ap-line); gap: 28px; }
body.ap-theme .ap-product-detail .nav-tabs-horizontal .nav-link { border: none; color: var(--ap-text-soft); font-weight: 600; padding: 0 0 14px; background: none; }
body.ap-theme .ap-product-detail .nav-tabs-horizontal .nav-link.active { color: var(--ap-navy); border-bottom: 3px solid var(--ap-navy); }
body.ap-theme .ap-product-detail .description { color: var(--ap-text); line-height: 1.65; }
body.ap-theme .ap-product-detail .description h1, body.ap-theme .ap-product-detail .description h2, body.ap-theme .ap-product-detail .description h3 { font-family: 'Poppins', sans-serif; color: var(--ap-navy); }
body.ap-theme .ap-product-detail .table-product-additional-information td.td-left { color: var(--ap-text-soft); font-weight: 600; }
body.ap-theme .ap-product-detail .table-product-additional-information td.td-right { color: var(--ap-text); font-weight: 600; }


body.ap-theme .ap-prod-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
    justify-content: start;
    gap: 12px;
}
@media (max-width: 700px) {
    body.ap-theme .ap-prod-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

body.ap-theme .ap-kt-card { max-width: 100%; margin: 0; }
body.ap-theme .ap-kt-card .ratio-product-box { aspect-ratio: 1 / 1; max-height: 220px; }



body.ap-theme .ap-prod-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
    justify-content: start;
    gap: 12px;
}
@media (max-width: 700px) {
    body.ap-theme .ap-prod-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

body.ap-theme .ap-kt-card {
    border: 1px solid var(--ap-line) !important;
    box-shadow: none !important;
    background: #fff !important;
    padding: 8px !important;
    border-radius: 10px;
    transition: box-shadow .2s ease;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}
body.ap-theme .ap-kt-card:hover { box-shadow: 0 16px 34px -18px rgba(15,25,60,.25) !important; }
body.ap-theme .ap-kt-card .row-img-product-list { position: relative !important; overflow: hidden; }
body.ap-theme .ap-kt-card .ratio-product-box { border-radius: 8px; background: #fff; aspect-ratio: 1 / 1; max-height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
body.ap-theme .ap-kt-card .img-product { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
body.ap-theme .ap-kt-card:hover .img-product { transform: scale(1.04); }
body.ap-theme .ap-kt-card .item-details { padding: 8px 2px 0 !important; width: 100%; box-sizing: border-box; overflow: hidden; }
body.ap-theme .ap-kt-card .product-title { font-size: 0.78rem; font-weight: 700; line-height: 1.25; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 1.95em; }
body.ap-theme .ap-kt-card .product-title a { color: var(--ap-text); text-decoration: none; }
body.ap-theme .ap-kt-price-row { display: flex !important; flex-direction: column !important; align-items: flex-start; gap: 1px; margin-top:1px; }
body.ap-theme .ap-kt-price-row .price { font-size: 0.86rem; font-weight: 800; color: var(--ap-navy); }
body.ap-theme .ap-kt-actions { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 5px; margin-top: 8px; width: 100%; }
body.ap-theme .ap-kt-btn { 
    flex: 1; 
    min-width: 0; 
    box-sizing: border-box; 
    text-align: center; 
    /* padding: 7px 4px;  */
    border-radius: 100px; 
    font-weight: 700; 
    font-size: 13px; 
    text-decoration: none; 
    cursor: pointer; 
    border: none; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: block; 
}
body.ap-theme .ap-kt-btn-solid { background:#1c2f76; color: #fff; }
body.ap-theme .ap-kt-btn-solid:hover { background: var(--ap-navy-2); color: #fff; }
body.ap-theme .ap-kt-btn-outline { background: #fff; color: var(--ap-navy); border: 1px solid var(--ap-navy); }
body.ap-theme .ap-kt-btn-outline:hover { background: var(--ap-pale-2); }
body.ap-theme .ap-kt-card, body.ap-theme .ap-kt-card .item-details, body.ap-theme .ap-kt-card .item-details > * { min-width: 0; width: 100%; box-sizing: border-box; }

body.ap-theme .ap-kt-card{
    
    background: linear-gradient(145deg, #f7fcff 0%, #eef9ff 100%) !important;

}
.bsp-section {
    padding: 40px 0;
}

.bsp-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.bsp-title {
    font-size: 24px;
    font-weight: 700;
    color: #16305c;
    margin: 0 0 4px;
}

.bsp-subtitle {
    font-size: 14px;
    color: #7c8aa0;
    margin: 0;
}

.bsp-viewall {
    font-size: 14px;
    font-weight: 600;
    color: #1e63c9;
    text-decoration: none;
    white-space: nowrap;
}

.bsp-viewall:hover {
    text-decoration: underline;
}

.bsp-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.bsp-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(16, 40, 80, 0.08);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bsp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(16, 40, 80, 0.14);
}

.bsp-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef3fa;
}

.bsp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.bsp-card:hover .bsp-img {
    transform: scale(1.06);
}

.bsp-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #fff;
}

.bsp-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #1e63c9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bsp-icon svg,
.bsp-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bsp-label {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: #16305c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bsp-arrow {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1e63c9;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.bsp-arrow svg {
    width: 16px;
    height: 16px;
}

.bsp-card:hover .bsp-arrow {
    background: #16305c;
}

/* Responsive */
@media (max-width: 1200px) {
    .bsp-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .bsp-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .bsp-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .bsp-row {
        grid-template-columns: 1fr;
    }
}
h3.wcu-panel-title {
    color: #fff !important;
}
.item-meta {
    
     padding-top: 1px !important; 
}
.row-img-product-list {
    background: #fff !important;
    
}
/*prdt detalis*/
#response_product_details {
    position: relative;
    padding: 30px;
    background: #fff;
    border: 1px solid #e4edf6;
    border-radius: 20px;
    /* box-shadow: 0 12px 40px rgba(26, 63, 160, 0.08); */
    overflow: hidden;
}

/* Premium top line — matches logo droplet gradient */
#response_product_details::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
   }


#response_product_details .product-title {
    margin: 0;
    color: #1a3fa0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.5px;
}

#response_product_details .product-short-description {
    margin: 7px 0 5px;
    color: #89939d;
    font-size: 14px;
    font-weight: 500;
}


#response_product_details .meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding: 5px 0;
    border-top: 1px solid #edf2f5;
    border-bottom: 1px solid #edf2f5;
    display: none;
}

.product-details-user {
    color: #8a949e;
    font-size: 13px;
}

.product-details-user a {
    color: #1a3fa0;
    font-weight: 700;
    text-decoration: none;
}

/* Rating */

.product-details-review {
    display: flex;
    align-items: center;
    gap: 7px;
}

.product-details-review .rating {
    display: flex;
    gap: 2px;
}

.product-details-review .rating i {
    color: #2b8fd4;
    font-size: 13px;
}

.review-text {
    color: #89939d;
    font-size: 12px;
}

/* Analytics */

.product-analytics {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.product-analytics span {
    color: #89939d;
    font-size: 12px;
}

.product-analytics i {
    margin-right: 4px;
    color: #2b8fd4;
}

#response_product_details .row-custom.price {
    /* margin-top: 22px; */
    padding: 0;
    background: transparent;
    border: 0;
}

.lbl-price.custom-lbl-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px;
    color: #2fa84f;
    font-size: 31px;
    font-weight: 800;
}

.incl-all-tax {
    margin-left: 8px;
    color: #89939d;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
}



.product-add-to-cart-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 5px;
}



.number-spinner {
    height: 50px;
}

.number-spinner .input-group {
    display: flex;
    height: 50px;
    overflow: hidden;
    border: 1px solid #dce7ee;
    border-radius: 10px;
    background: #fff;
}

.number-spinner .btn-spinner-minus,
.number-spinner .btn-spinner-plus {
    height: 50px;
    border: 0;
    background: #f7fbfd;
    color: #1a3fa0;
    font-size: 18px;
    font-weight: 700;
    transition: .25s ease;
}

.number-spinner .btn-spinner-minus:hover,
.number-spinner .btn-spinner-plus:hover {
    background: #1a3fa0;
    color: #fff;
}

.number-spinner .form-control {
    height: 50px;
    border: 0;
    border-left: 1px solid #edf2f5;
    border-right: 1px solid #edf2f5;
    background: #fff;
    color: #1a3fa0;
    font-size: 15px;
    font-weight: 700;
    box-shadow: none;
}



.button-container .btn-product-cart {
    position: relative;
    min-width: 190px;
    height: 50px;
    padding: 0 25px;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(
        100deg,
        #1a3fa0,
        #2b8fd4
    );
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(26, 63, 160, .18);
    transition: all .3s ease;
}

.button-container .btn-product-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26, 63, 160, .28);
}

/* Shine */

.button-container .btn-product-cart::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        110deg,
        transparent,
        rgba(255,255,255,.15),
        rgba(255,255,255,.6),
        transparent
    );
    transform: skewX(-20deg);
}

.button-container .btn-product-cart:hover::before {
    animation: waterlifeShine .8s ease;
}

@keyframes waterlifeShine {
    from { left: -120%; }
    to { left: 140%; }
}

.btn-cart-icon {
    margin-right: 7px;
}



.button-container-wishlist {
    margin-left: 0;
}

.btn-wishlist {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0px;
    border: 0;
    background: transparent;
    color: #707b85;
    font-size: 13px;
    font-weight: 600;
    transition: .3s ease;
    
}

.btn-wishlist i {
    color: #2b8fd4;
    font-size: 18px;
    transition: .3s ease;
}

.btn-wishlist:hover {
    color: #1a3fa0;
}

.btn-wishlist:hover i {
    color: #2fa84f;
    transform: scale(1.15);
}



.product-delivery-est {
    padding: 1px 20px;
    border: 1px solid #e5edf2;
    border-radius: 12px;
    background: #fbfdfe;
}

.product-delivery-est .item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 0;
}

.product-delivery-est .item + .item {
    margin-top: 9px;
    padding-top: 13px;
    border-top: 1px solid #edf2f5;
}

.product-delivery-est .title {
    display: flex;
    align-items: center;
    color: #68747e;
    font-size: 13px;
}

.product-delivery-est .title svg {
    fill: #2b8fd4;
}

.result-delivery {
    color: #2fa84f;
    font-size: 13px;
    font-weight: 700;
}

/* Location */

.badge-info-light {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 20px;
    background: #eaf6ff;
    color: #2b8fd4;
    font-size: 11px;
    font-weight: 600;
    transition: .3s ease;
}

.badge-info-light:hover {
    background: #2b8fd4;
    color: #fff;
}



.product-share ul {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-share li {
    margin: 0;
}

.product-share li a,
.product-share li button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    padding: 0;
    border: 1px solid #e1e9ef;
    border-radius: 50%;
    background: #fff;
    color: #1a3fa0;
    transition: all .3s ease;
}

.product-share li a:hover,
.product-share li button:hover {
    transform: translateY(-2px);
    border-color: #2b8fd4;
    background: #2b8fd4;
    color: #fff;
    box-shadow: 0 5px 12px rgba(43, 143, 212, .18);
}

.price span {
    font-size: 15px;
    vertical-align: top;
    margin-right: 2px;
    color: #000;
}

#response_product_details {
    transition: all .35s ease;
}

#response_product_details:hover {
    border-color: rgba(43, 143, 212, .25);
    /* box-shadow: 0 18px 50px rgba(26, 63, 160, .12); */
}



@media (max-width: 767px) {
    #response_product_details {
        padding: 22px 18px;
        border-radius: 15px;
    }

    #response_product_details .product-title {
        font-size: 27px;
    }

    #response_product_details .meta {
        gap: 10px;
    }

    .product-analytics {
        width: 100%;
        margin-left: 0;
    }

    .lbl-price.custom-lbl-price {
        font-size: 27px;
    }

    .product-add-to-cart-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .number-spinner {
        width: 100%;
    }

    .number-spinner .input-group {
        width: 100%;
    }

    .number-spinner .form-control {
        flex: 1;
    }

    .button-container {
        width: 100%;
    }

    .button-container .btn-product-cart {
        width: 100%;
    }

    .button-container-wishlist {
        width: 100%;
    }

    .product-delivery-est {
        padding: 14px;
    }
}

.product-variations {
    margin-bottom: 5px !important;
}

.lbl-price.custom-lbl-price > span {
    font-size: 16px;
}

.product-content-details .price {
    margin-bottom: 1px;
    min-height: 36px;
    align-items: center;
}
.price {
    font-size: 30px;
    font-weight: 700;
    color: #16224f !important;
    letter-spacing: .5px;
}
strong.lbl-price {
    color: #1a3fa0;
}
/*prdt features details*/

.bf-section {
    width: 100%;
    padding: 20px 10px;
    font-family: Arial, sans-serif;
}

.bf-title {
    font-size: 24px;
    font-weight: bold;
    color: #111;
    margin: 0 0 30px;
}

.bf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 50px;
    max-width: 850px;
}

.bf-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bf-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.bf-label {
    font-size: 18px;
    font-weight: 600;
    color: #667080;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .bf-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/*prdt Description-img details*/
.wfg-section {
    width: 100%;
    padding: 30px 10px;
    font-family: Arial, sans-serif;
    background: #f6f9fc;
}

.wfg-title {
    font-size: 22px;
    font-weight: 800;
    color: #16305c;
    margin: 0 0 8px;
}

.wfg-subtitle {
    font-size: 13px;
    color: #6b7c95;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 0 24px;
}

.wfg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    /* max-width: 900px; */
}

.wfg-card-wrap {
    display: flex;
    flex-direction: column;
}

.wfg-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(16, 40, 80, 0.08);
}

.wfg-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.wfg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 22px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 60%, transparent 100%);
}

.wfg-heading {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.3;
}

.wfg-subheading {
    color: #e8edf5;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
    max-width: 85%;
}

.wfg-footer {
    background: #fff;
    padding: 12px 18px;
}

.wfg-footer-title {
    color: #1a3fa0;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px;
}

.wfg-footer-desc {
    color: #8a97ab;
    font-size: 12px;
    margin: 0;
}

.wfg-caption {
    color: #6b7c95;
    font-size: 12px;
    margin: 10px 2px 0;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .wfg-grid {
        grid-template-columns: 1fr;
    }
}
/*video*/
.pv-section {
    width: 100%;
    padding: 20px 10px;
}

.pv-wrap-embed {
    position: relative;
    padding-bottom: 40.25%;
    height: 0;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(16, 40, 80, 0.12);
}

.pv-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/*Shop By Category*/
.ap-tile-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    gap: 16px;
    width: 100%;
}

.ap-tile {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    position: relative;
    display: block;
    text-align: center;
    text-decoration: none;
    background: #dbeafe;
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
}

.ap-tile img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* Mobile: switch to horizontal scroll so tiles don't get crushed */
@media (max-width: 768px) {
    .ap-tile-row {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px 10px;
        scrollbar-width: none;
    }
    .ap-tile-row::-webkit-scrollbar {
        display: none;
    }
    .ap-tile {
        flex: 0 0 auto !important;
        width: 42vw !important;
        max-width: 200px !important;
    }
}
/*prdt card size*/
.ap-prod-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    width: 100%;
}

.ap-prod-cell {
    width: 100%;
}

.ap-prod-cell > * {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    height: 100%;
}

.ap-prod-cell .product-thumb,
.ap-prod-cell .product-image,
.ap-prod-cell img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    display: block;
    margin: 0 0 14px;
    background: #fff;
}

.ap-prod-cell .discount-badge,
.ap-prod-cell .save-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ec1e63;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.ap-prod-cell .sold-out-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #6b7280;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.ap-prod-cell .product-title,
.ap-prod-cell h3,
.ap-prod-cell h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0a1c4e;
    margin: 0 0 6px;
    text-align: left;
}

.ap-prod-cell .product-desc,
.ap-prod-cell .product-description,
.ap-prod-cell p.desc {
    font-size: 12.5px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 14px;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ap-prod-cell .price-block {
    text-align: left;
    margin-bottom: 14px;
}

.ap-prod-cell .best-price {
    font-size: 13.5px;
    font-weight: 700;
    color: #111;
    display: block;
}

.ap-prod-cell .mrp-price {
    font-size: 12.5px;
    color: #9ca3af;
}

.ap-prod-cell .mrp-price del,
.ap-prod-cell .mrp-price s {
    color: #9ca3af;
}

.ap-prod-cell .btn-row {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.ap-prod-cell .btn-buy-now {
    flex: 1;
    background: #14237a;
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 9px 0;
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
    text-align: center;
}

.ap-prod-cell .btn-add-cart {
    flex: 1;
    background: #fff;
    color: #14237a;
    border: 1.5px solid #14237a;
    border-radius: 22px;
    padding: 7.5px 0;
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
    text-align: center;
}

/* Tablet: 2 columns */
@media (max-width: 900px) {
    .ap-prod-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile: 1 column */
@media (max-width: 560px) {
    .ap-prod-grid {
        grid-template-columns: 1fr !important;
    }
}

.row-product {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -10px;
    width: 100%;
}

.row-product:not(.slick-slider) .col-product {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
    padding: 0 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.ap-kt-card {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    height: 100%;
}

.ap-kt-card .row-custom {
    width: 100%;
    min-width: 0;
    position: relative;
}

.ap-kt-card .ratio-product-box {
    width: 100% !important;
    max-width: none !important;
    height: 190px;
    display: block;
    margin: 0 0 14px;
    background: #fff;
}

.ap-kt-card .ratio-product-box a {
    display: block;
    width: 100%;
    height: 100%;
}

.ap-kt-card .img-product {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain;
    display: block;
}

.ap-kt-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ec1e63;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.ap-kt-card .item-details {
    width: 100%;
    /* display: flex; */
    flex-direction: column;
    flex: 1;
    padding: 0;
    min-width: 0;
}

.ap-kt-card .product-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    text-align: left;
}

.ap-kt-card .product-title a {
    color: #0a1c4e;
    text-decoration: none;
}

.ap-kt-price-row {
    text-align: left;
    font-size: 13.5px;
}

.ap-kt-price-row .price {
    font-weight: 700;
    color: #111;
}

.ap-kt-price-row .discount-original-price {
    color: #9ca3af;
    margin-left: 6px;
    font-size: 12.5px;
}

.ap-kt-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.ap-kt-btn {
    flex: 1;
    border-radius: 22px;
    padding: 9px 0;
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    border: 1.5px solid #14237a;
}

.ap-kt-btn-solid {
    background: #14237a;
    color: #fff;
    border: none;
    padding: 10px 0;
}

.ap-kt-btn-outline {
    background: #fff;
    color: #14237a;
}

@media (max-width: 900px) {
    .row-product:not(.slick-slider) .col-product {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

@media (max-width: 560px) {
    .row-product:not(.slick-slider) .col-product {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}
.ap-social-row {
    display: flex;
    align-items: center;
    gap: 6px; /* reduce this value */
}

.ap-social-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
}

/* --- Sort By: left-aligned inline row --- */
.container-filter-products .ap-sort-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.ap-sort-title {
    margin: 0;
    white-space: nowrap;
}

.ap-sort-dropdown {
    position: static;
}

.ap-sort-menu {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    background: transparent;
    float: none;
    min-width: 0;
}

.ap-sort-menu .dropdown-item {
    width: auto;
    padding: 0;
    background: transparent;
    border: none;
    font-weight: 500;
    font-size: 14px;
    color: #666;
}

.ap-sort-menu .dropdown-item.active,
.ap-sort-menu .dropdown-item:hover {
    color: #0b1f4d;
    background: transparent;
}

/* --- Product grid: 3 cards per row (overrides col-lg-3 4-up) --- */
#productListResultContainer.row-product {
    display: flex;
    flex-wrap: wrap;
}

#productListResultContainer .col-product {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
}

@media (max-width: 767px) {
    #productListResultContainer .col-product {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 480px) {
    #productListResultContainer .col-product {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}
/* Kill any right-alignment on the wrapper itself */
.col-content-products .container-filter-products {
    display: flex !important;
    justify-content: flex-start !important;
    text-align: left !important;
    float: none !important;
}

.col-content-products .container-filter-products .ap-sort-list {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: left !important;
    float: none !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    width: auto !important;
}

.col-content-products .ap-sort-title {
    margin: 0 !important;
    text-align: left !important;
}

.col-content-products .ap-sort-dropdown {
    margin-right: auto !important;
    margin-left: 0 !important;
    float: none !important;
}

.col-content-products .ap-sort-menu {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    gap: 20px;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 auto 0 0 !important;
    background: transparent;
    float: none !important;
    min-width: 0;
}

.ap-sort-menu .dropdown-item {
    width: auto;
    padding: 0;
    background: transparent;
    border: none;
    font-weight: 500;
    font-size: 14px;
    color: #666;
}

.ap-sort-menu .dropdown-item.active,
.ap-sort-menu .dropdown-item:hover {
    color: #0b1f4d;
    background: transparent;
}

/* --- Sort By, relocated into sidebar under Category filter --- */
.product-filters .filter-item.ap-sort-list {
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
}

.product-filters .ap-sort-title {
    margin-bottom: 10px;
}

.product-filters .ap-sort-dropdown {
    width: 100%;
}

.product-filters .ap-sort-menu {
    position: static !important;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    background: transparent;
    float: none;
    min-width: 0;
    width: 100%;
}

.product-filters .ap-sort-menu .dropdown-item {
    width: 100%;
    padding: 0;
    text-align: left;
    background: transparent;
    border: none;
    font-weight: 500;
    font-size: 14px;
    color: #666;
}

.product-filters .ap-sort-menu .dropdown-item.active,
.product-filters .ap-sort-menu .dropdown-item:hover {
    color: #0b1f4d;
    font-weight: 600;
    background: transparent;
}

/* --- Product grid: 3 cards per row --- */
#productListResultContainer.row-product {
    display: flex;
    flex-wrap: wrap;
}

#productListResultContainer .col-product {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
}

@media (max-width: 767px) {
    #productListResultContainer .col-product {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 480px) {
    #productListResultContainer .col-product {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}
p.ap-lst-desc {
    display: none !important;
}
/* --- Sidebar: show all filters fully, no internal scroll --- */
.sticky-lg-top.hidden-scrollbar {
    max-height: none !important;
    overflow: visible !important;
}

.product-filters {
    max-height: none !important;
    overflow: visible !important;
}

.product-filters .filter-list-container {
    max-height: none !important;
    overflow: visible !important;
}

.product-filters .filter-list {
    max-height: none !important;
    overflow-y: visible !important;
}

/* Force every collapsible filter section open and visible */
.product-filters .collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
}

/* Remove custom scrollbar styling since there's no scroll area left */
.filter-custom-scrollbar {
    max-height: none !important;
    overflow: visible !important;
}

/* Optional: tighten spacing between filter blocks since more content now shows at once */
.product-filters .filter-item {
    padding-top: 14px;
    padding-bottom: 14px;
}

.nav-breadcrumb {
    padding-bottom: 10px !important;
}

.product-list-header {
    padding-bottom: 4px !important;
}
/* ============ SUPREME AQUA CARD (overrides ap-kt-card) ============ */
body.ap-theme .product-item.ap-kt-card {
    background: #ffffff !important;
    border: 1px solid #e6edf5 !important;
    border-radius: 16px !important;
    /* padding: 16px !important; */
    box-shadow: 0 4px 14px rgba(16, 40, 80, 0.06) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body.ap-theme .product-item.ap-kt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(16, 40, 80, 0.16) !important;
}

/* tag top-left */
.ap-kt-tag {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 100px;
    line-height: 1;
}
.ap-kt-tag-budget  { background: #0f9d58; }
.ap-kt-tag-value   { background: #1e88e5; }
.ap-kt-tag-premium { background: #7e3ff2; }
.ap-kt-tag-plus    { background: #0f3a5f; }
.ap-kt-tag-soldout { background: #6b7280; }

/* image */
body.ap-theme .ap-kt-card .row-img-product-list,
body.ap-theme .ap-kt-card .row-custom {
    background: #ffffff !important;
}
body.ap-theme .ap-kt-card .ratio-product-box {
    height: 230px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 34px 0 14px !important;
    display: block;
}
body.ap-theme .ap-kt-card .ratio-product-box::before {
    display: none !important;
}
body.ap-theme .ap-kt-card .img-product {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

/* title + sub */
body.ap-theme .ap-kt-card .item-details {
    padding: 0 !important;
}
body.ap-theme .ap-kt-card .product-title {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    margin: 0 0 6px;
    min-height: 2.5em;
}
body.ap-theme .ap-kt-card .product-title a {
    color: #1a3fa0;
}
.ap-kt-sub {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 500;
    color: #3d4a63;
    line-height: 1.4;
}

/* spec chips */
.ap-kt-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #eaf3fb;
    border-radius: 10px;
    padding: 10px 6px;
    margin-bottom: 14px;
}
.ap-kt-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.25;
}
.ap-kt-spec + .ap-kt-spec {
    border-left: 1px solid #c9dbea;
}
.ap-kt-spec strong {
    font-size: 14px;
    font-weight: 700;
    color: #16224f;
}
.ap-kt-spec span {
    font-size: 11.5px;
    color: #5b6880;
}

/* price row: MRP | Offer Price | Save box */
body.ap-theme .ap-kt-card .ap-kt-price-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 12px;
    padding: 12px 0 0 !important;
    margin: 0 0 14px;
    border-top: 1px solid #edf2f7;
}
body.ap-theme .ap-kt-price-row > div:not(.ap-kt-save) {
    display: contents;
}
body.ap-theme .ap-kt-price-row .discount-original-price {
    order: 1;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 600;
    color: #16224f;
    padding-right: 12px;
    border-right: 1px solid #dfe6ee;
    margin: 0;
}
body.ap-theme .ap-kt-price-row .discount-original-price::before {
    content: "MRP";
    font-size: 11.5px;
    font-weight: 500;
    color: #6b7280;
}
body.ap-theme .ap-kt-price-row .price {
    order: 2;
    display: flex;
    flex-direction: column;
    font-size: 21px;
    font-weight: 800;
    color: #16224f !important;
    margin: 0;
}
body.ap-theme .ap-kt-price-row .price::before {
    content: "Offer Price";
    font-size: 11.5px;
    font-weight: 500;
    color: #6b7280;
}
.ap-kt-save {
    order: 3;
    margin-left: auto;
    background: #0f9d58;
    color: #ffffff;
    border-radius: 8px;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}
.ap-kt-save em {
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
}
.ap-kt-save b {
    font-size: 15px;
    font-weight: 800;
}

/* buttons */
body.ap-theme .ap-kt-card .ap-kt-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}
body.ap-theme .ap-kt-card .ap-kt-btn {
    padding: 10px 0;
    font-size: 13px;
}
/* ===== PRICE ROW: MRP | Offer Price | Save ===== */
body.ap-theme .product-item.ap-kt-card .item-meta.ap-kt-price-row {
    display: grid !important;
    grid-template-columns: auto auto 1fr !important;
    grid-template-areas: "mrp offer save" !important;
    align-items: center !important;
    column-gap: 12px !important;
    margin: 0 0 14px !important;
    padding: 12px 0 0 !important;
    border-top: 1px solid #edf2f7;
    width: 100% !important;
}

/* MRP (del) */
body.ap-theme .product-item.ap-kt-card .ap-kt-price-row del.discount-original-price {
    grid-area: mrp !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 12px 0 0 !important;
    border-right: 1px solid #dfe6ee;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    color: #ff0000 !important;
    text-decoration: none !important;
    white-space: nowrap;
}
body.ap-theme .product-item.ap-kt-card .ap-kt-price-row del.discount-original-price::before {
    content: "MRP";
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.4;
    color: #6b7280;
    text-decoration: none;
}
body.ap-theme .product-item.ap-kt-card .ap-kt-price-row del.discount-original-price span {
    display: inline !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    vertical-align: baseline !important;
}
/* strike-through only on the amount */
body.ap-theme .product-item.ap-kt-card .ap-kt-price-row del.discount-original-price {
    text-decoration-line: none !important;
}

/* Offer price */
body.ap-theme .product-item.ap-kt-card .ap-kt-price-row > span.price {
    grid-area: offer !important;
    display: block !important;
    margin: 0 !important;
    min-height: 0 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    color: #28a745 !important;
    white-space: nowrap;
}
body.ap-theme .product-item.ap-kt-card .ap-kt-price-row > span.price::before {
    content: "Offer Price";
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.4;
    color: #6b7280;
}
body.ap-theme .product-item.ap-kt-card .ap-kt-price-row > span.price > span {
    display: inline !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    vertical-align: baseline !important;
}

/* Save box */
body.ap-theme .product-item.ap-kt-card .ap-kt-price-row .ap-kt-save {
    grid-area: save !important;
    justify-self: end;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    background: #0f9d58;
    color: #ffffff;
    border-radius: 8px;
    padding: 6px 12px;
    line-height: 1.2;
}
body.ap-theme .product-item.ap-kt-card .ap-kt-save em {
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
}
body.ap-theme .product-item.ap-kt-card .ap-kt-save b {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}

/* title spacing */
body.ap-theme .product-item.ap-kt-card .product-title {
    min-height: 0 !important;
    margin: 0 0 12px !important;
}

/* small cards */
@media (max-width: 1200px) {
    body.ap-theme .product-item.ap-kt-card .ap-kt-price-row > span.price { font-size: 17px !important; }
}
/* body.ap-theme .product-item.ap-kt-card .ap-kt-price-row del.discount-original-price span,
body.ap-theme .product-item.ap-kt-card .ap-kt-price-row del.discount-original-price {
    text-decoration-line: line-through !important;
} */
 /* =====================================================
   MRP: strike only the amount, not the "MRP" label
   (load this AFTER the card CSS)
   ===================================================== */

/* ---------- 1) plain .product-item card (product-item-card-v6.css) ---------- */
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta del.discount-original-price {
    text-decoration: line-through !important;
    white-space: normal !important;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta del.discount-original-price::before {
    display: inline-block !important;
    width: 100%;
    text-decoration: none !important;
    white-space: nowrap;
}

/* ---------- 2) .ap-lst-card ---------- */
.ap-lst-card .ap-lst-mrp .ap-lst-label {
    text-decoration: none !important;
}
.ap-lst-card .ap-lst-mrp del {
    text-decoration: line-through !important;
}

/* ---------- 3) .ap-kt-card (your original rule) ---------- */
body.ap-theme .product-item.ap-kt-card .ap-kt-price-row del.discount-original-price,
body.ap-theme .product-item.ap-kt-card .ap-kt-price-row del.discount-original-price span {
    text-decoration-line: line-through !important;
}
body.ap-theme .product-item.ap-kt-card .ap-kt-price-row del.discount-original-price {
    white-space: normal !important;
}
body.ap-theme .product-item.ap-kt-card .ap-kt-price-row del.discount-original-price::before {
    display: inline-block !important;
    width: 100%;
    text-decoration: none !important;
    white-space: nowrap;
}
/* ===== OFFER TAG: top-right corner ===== */
body.ap-theme .ap-kt-card .row-custom {
    position: relative !important;
}
body.ap-theme .ap-kt-card .ap-kt-offer {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    z-index: 4;
    background: #28a745;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 100px;
    /* box-shadow: 0 4px 10px rgba(236, 28, 99, 0.3); */
}

/* =====================================================
   MOBILE RESPONSIVE
   ===================================================== */

/* never let the card overflow its column */
body.ap-theme .product-item.ap-kt-card {
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
body.ap-theme .ap-kt-card .product-title a,
.ap-kt-sub {
    word-break: break-word;
}

/* ---------- Tablet (<= 991px) ---------- */
@media (max-width: 991px) {
    body.ap-theme .ap-kt-card .ratio-product-box {
        height: 200px !important;
        margin: 30px 0 12px !important;
    }
    body.ap-theme .ap-kt-card .product-title {
        font-size: 17px;
    }
    .ap-kt-sub {
        font-size: 14px;
    }
    body.ap-theme .product-item.ap-kt-card .ap-kt-price-row > span.price {
        font-size: 18px !important;
    }
}

/* ---------- Mobile (<= 767px) ---------- */
@media (max-width: 767px) {
    body.ap-theme .product-item.ap-kt-card {
        border-radius: 14px !important;
    }
    body.ap-theme .product-item.ap-kt-card:hover {
        transform: none;
        box-shadow: 0 4px 14px rgba(16, 40, 80, 0.06) !important;
    }
    .ap-kt-tag {
        font-size: 11px;
        padding: 6px 12px;
    }
    body.ap-theme .ap-kt-card .ap-kt-offer {
        font-size: 11px;
        padding: 6px 12px;
    }
    body.ap-theme .ap-kt-card .ratio-product-box {
        height: 180px !important;
        margin: 28px 0 10px !important;
    }
    body.ap-theme .ap-kt-card .product-title {
        font-size: 16px;
        margin: 0 0 8px !important;
    }
    .ap-kt-sub {
        font-size: 13px;
        margin: 0 0 10px;
    }
    .ap-kt-specs {
        padding: 8px 4px;
        margin-bottom: 12px;
    }
    .ap-kt-spec strong {
        font-size: 13px;
    }
    .ap-kt-spec span {
        font-size: 11px;
    }

    /* price row: MRP | Offer on top, Save box full width below */
    body.ap-theme .product-item.ap-kt-card .item-meta.ap-kt-price-row {
        grid-template-columns: auto 1fr !important;
        grid-template-areas:
            "mrp offer"
            "save save" !important;
        column-gap: 10px !important;
        row-gap: 8px !important;
        padding: 10px 0 0 !important;
        margin: 0 0 12px !important;
    }
    body.ap-theme .product-item.ap-kt-card .ap-kt-price-row del.discount-original-price {
        font-size: 13px !important;
        padding: 0 10px 0 0 !important;
    }
    body.ap-theme .product-item.ap-kt-card .ap-kt-price-row > span.price {
        font-size: 17px !important;
    }
    body.ap-theme .product-item.ap-kt-card .ap-kt-price-row .ap-kt-save {
        justify-self: stretch;
        flex-direction: row;
        justify-content: center;
        gap: 6px;
        padding: 6px 10px;
    }
    body.ap-theme .product-item.ap-kt-card .ap-kt-save em {
        font-size: 12px;
    }
    body.ap-theme .product-item.ap-kt-card .ap-kt-save b {
        font-size: 14px;
    }

    /* buttons */
    body.ap-theme .ap-kt-card .ap-kt-actions {
        gap: 6px;
    }
    body.ap-theme .ap-kt-card .ap-kt-btn {
        padding: 10px 0;
        font-size: 12.5px;
    }
}

/* ---------- Small phones (<= 480px) ---------- */
@media (max-width: 480px) {
    body.ap-theme .ap-kt-card .ratio-product-box {
        height: 150px !important;
        margin: 26px 0 8px !important;
    }
    .ap-kt-tag,
    body.ap-theme .ap-kt-card .ap-kt-offer {
        font-size: 10px;
        padding: 5px 10px;
        letter-spacing: 0.2px;
    }
    body.ap-theme .ap-kt-card .product-title {
        font-size: 14px;
        line-height: 1.3;
    }
    .ap-kt-sub {
        font-size: 12px;
    }
    .ap-kt-specs {
        border-radius: 8px;
    }
    .ap-kt-spec strong {
        font-size: 12px;
    }
    .ap-kt-spec span {
        font-size: 10.5px;
    }
    body.ap-theme .product-item.ap-kt-card .ap-kt-price-row del.discount-original-price {
        font-size: 12px !important;
    }
    body.ap-theme .product-item.ap-kt-card .ap-kt-price-row del.discount-original-price::before,
    body.ap-theme .product-item.ap-kt-card .ap-kt-price-row > span.price::before {
        font-size: 10.5px;
    }
    body.ap-theme .product-item.ap-kt-card .ap-kt-price-row > span.price {
        font-size: 15px !important;
    }
    body.ap-theme .product-item.ap-kt-card .ap-kt-save em {
        font-size: 11px;
    }
    body.ap-theme .product-item.ap-kt-card .ap-kt-save b {
        font-size: 13px;
    }
    body.ap-theme .ap-kt-card .ap-kt-actions {
        flex-wrap: wrap;
    }
    body.ap-theme .ap-kt-card .ap-kt-btn {
        flex: 1 1 100%;
        font-size: 12px;
    }
}

/* ---------- Very small phones (<= 360px) ---------- */
@media (max-width: 360px) {
    body.ap-theme .ap-kt-card .ratio-product-box {
        height: 130px !important;
    }
    body.ap-theme .ap-kt-card .product-title {
        font-size: 13px;
    }
    body.ap-theme .product-item.ap-kt-card .ap-kt-price-row > span.price {
        font-size: 14px !important;
    }
}
/* =====================================================
   PRODUCT CARD ONLY (.ap-lst-card) - matches reference
   ===================================================== */

.product-item.ap-lst-card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    max-width: 100%;
    background: #ffffff !important;
    border: 1px solid #e6edf5 !important;
    border-radius: 20px !important;
    padding: 16px !important;
    margin: 0;
    box-shadow: 0 6px 20px rgba(16, 40, 80, 0.10) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-item.ap-lst-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(16, 40, 80, 0.16) !important;
}

/* image area */
.ap-lst-card .row-img-product-list {
    position: relative !important;
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ap-lst-card .ratio-product-box {
    height: 260px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 10px 0 16px !important;
    display: block;
}
.ap-lst-card .ratio-product-box::before {
    display: none !important;
}
.ap-lst-card .ratio-product-box a {
    display: block;
    width: 100%;
    height: 100%;
}
.ap-lst-card .img-product {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    position: static !important;
}

/* discount badge: green pill, top-right */
.ap-lst-card .ap-lst-badge {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    z-index: 3;
    background: #28a745 !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 100px;
}

/* details */
.ap-lst-card .item-details {
    /* display: flex; */
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0 !important;
    margin: 0 !important;
}
.ap-lst-card .product-title {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    min-height: 0;
    margin: 0 0 16px !important;
    word-break: break-word;
}
.ap-lst-card .product-title a {
    color: #1a3fa0;
}

/* price row: MRP | Offer Price */
.ap-lst-card .ap-lst-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    /* padding: 5px 0 0; */
    margin: 0 0 16px;
    border-top: 1px solid #edf2f7;
}
.ap-lst-card .ap-lst-mrp {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-right: 16px;
    border-right: 1px solid #dfe6ee;
    line-height: 1.4;
}
.ap-lst-card .ap-lst-mrp .ap-lst-label {
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: line-through;
}
.ap-lst-card .ap-lst-mrp del {
    font-size: 16px;
    font-weight: 600;
    color: #ff0000;
    text-decoration: line-through;
}
.ap-lst-card .ap-lst-mrp del span {
    font-size: inherit;
    color: inherit;
}
.ap-lst-card .ap-lst-tax-note {
    display: none;
}
.ap-lst-card .ap-lst-best-price {
    order: 2;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.ap-lst-card .ap-lst-best-price .ap-lst-label {
    font-size: 0;
}
.ap-lst-card .ap-lst-best-price .ap-lst-label::before {
    content: "Offer Price";
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
}
.ap-lst-card .ap-lst-now {
    font-size: 17px;
    font-weight: 800;
    color: #28a745;
    white-space: nowrap;
}
.ap-lst-card .ap-lst-now span {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* buttons: pill shaped */
.ap-lst-card .ap-lst-actions {
    margin-top: auto;
    display: flex;
    gap: 12px;
}
.ap-lst-card .ap-lst-btn {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ap-lst-card .ap-lst-btn-solid {
    background: #1a3fa0 !important;
    border: 1px solid #1a2b6d;
    color: #ffffff;
}
.ap-lst-card .ap-lst-btn-solid:hover {
    background: #16224f;
    border-color: #16224f;
    color: #ffffff;
}
.ap-lst-card .ap-lst-btn-outline {
    background: #ffffff;
    border: 1px solid #16224f;
    color: #16224f;
}
.ap-lst-card .ap-lst-btn-outline:hover {
    background: #eaf3fb;
    color: #16224f;
}

/* =====================================================
   RESPONSIVE (card only)
   ===================================================== */

@media (max-width: 1200px) {
    .ap-lst-card .ap-lst-now { font-size: 20px; }
    .ap-lst-card .ap-lst-mrp .ap-lst-label,
    .ap-lst-card .ap-lst-mrp del { font-size: 14px; }
    .ap-lst-card .ap-lst-btn { font-size: 14px; padding: 12px 0; }
    .ap-lst-card .ap-lst-price { gap: 12px; }
    .ap-lst-card .ap-lst-mrp { padding-right: 12px; }
}

/* tablet */
@media (max-width: 991px) {
    .product-item.ap-lst-card { padding: 14px !important; }
    .ap-lst-card .ratio-product-box { height: 220px !important; }
    .ap-lst-card .product-title { font-size: 16px; }
}

/* mobile */
@media (max-width: 767px) {
    .product-item.ap-lst-card {
        padding: 10px !important;
        border-radius: 16px !important;
    }
    .product-item.ap-lst-card:hover {
        transform: none;
        box-shadow: 0 6px 20px rgba(16, 40, 80, 0.10) !important;
    }
    .ap-lst-card .ap-lst-badge {
        font-size: 11px;
        padding: 7px 12px;
    }
    .ap-lst-card .ratio-product-box {
        height: 170px !important;
        margin: 8px 0 12px !important;
    }
    .ap-lst-card .product-title {
        font-size: 13px;
        margin: 0 0 10px !important;
    }
    .ap-lst-card .ap-lst-price {
        gap: 8px;
        padding-top: 10px;
        margin-bottom: 12px;
    }
    .ap-lst-card .ap-lst-mrp { padding-right: 8px; }
    .ap-lst-card .ap-lst-mrp .ap-lst-label,
    .ap-lst-card .ap-lst-mrp del { font-size: 12px; }
    .ap-lst-card .ap-lst-best-price .ap-lst-label::before { font-size: 12px; }
    .ap-lst-card .ap-lst-now { font-size: 16px; }
    .ap-lst-card .ap-lst-actions {
        flex-direction: column;
        gap: 8px;
    }
    .ap-lst-card .ap-lst-btn {
        flex: 0 0 auto;
        width: 100%;
        padding: 11px 0;
        font-size: 13px;
    }
}

/* small phones */
@media (max-width: 480px) {
    .ap-lst-card .ratio-product-box { height: 140px !important; }
    .ap-lst-card .product-title { font-size: 12.5px; }
    .ap-lst-card .ap-lst-now { font-size: 15px; }
}
/* =====================================================
   PRODUCT CARD - plain .product-item inside .col-product
   (does not touch .ap-lst-card)
   ===================================================== */

.col-product .product-item:not(.ap-lst-card):not(.ap-pc) {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    max-width: 100%;
    background: #ffffff !important;
    border: 1px solid #e6edf5 !important;
    border-radius: 20px !important;
    padding: 12px !important;
    margin: 0;
    box-shadow: 0 6px 20px rgba(16, 40, 80, 0.10) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc):hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(16, 40, 80, 0.16) !important;
}

/* image area */
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .row-img-product-list {
    position: relative !important;
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .ratio-product-box {
    height: 170px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 6px 0 10px !important;
    display: block;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .ratio-product-box::before {
    display: none !important;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .ratio-product-box a {
    display: block;
    width: 100%;
    height: 100%;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .img-product {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    position: static !important;
}

/* wishlist + cart icons: round buttons, top-right, always visible */
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .product-item-options {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    z-index: 4;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-option {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    border: 1px solid #e6edf5 !important;
    border-radius: 50% !important;
    color: #16224f !important;
    box-shadow: 0 4px 10px rgba(16, 40, 80, 0.12);
    transition: background 0.2s ease, color 0.2s ease;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-option:hover {
    background: #1a2b6d !important;
    color: #ffffff !important;
}

/* details */
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-details {
    /* display: flex; */
    flex-direction: column;
    flex: 1 1 auto;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 !important;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .product-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left !important;
    text-transform: uppercase;
    min-height: 0;
    margin: 0 0 10px !important;
    word-break: break-word;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    height: auto !important;
    max-height: none !important;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .product-title a {
    display: block !important;
    text-align: left !important;
    color: #1a3fa0;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
}

/* hide seller name + wishlist count (not in the design) */
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .product-user,
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .product-item-rating {
    display: none !important;
}

/* price row: MRP | Offer Price */
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: auto 0 0 !important;
    padding: 10px 0 0 !important;
    border-top: 1px solid #edf2f7;
    width: 100%;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta del.discount-original-price {
    order: 1;
    display: block !important;
    margin: 0 !important;
    padding: 0 10px 0 0 !important;
    border-right: 1px solid #dfe6ee;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    color: #6b7280 !important;
    text-decoration: line-through !important;
    white-space: nowrap;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta del.discount-original-price::before {
    content: "MRP";
    display: block;
    font-size: 13px;
    letter-spacing: 0;
    font-weight: 600;
    color: #6b7280;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta del.discount-original-price span {
    display: inline !important;
    margin: 0 !important;
    font-size: inherit !important;
    color: inherit !important;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta > span.price {
    order: 2;
    display: block !important;
    margin: 0 !important;
    min-height: 0 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    line-height: 1.3 !important;
    color: #16224f !important;
    white-space: nowrap;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta > span.price::before {
    content: "Offer Price";
    display: block;
    font-size: 12px;
    letter-spacing: 0;
    font-weight: 500;
    color: #6b7280;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta > span.price > span {
    display: inline !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1200px) {
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta > span.price { font-size: 17px !important; }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta del.discount-original-price,
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta del.discount-original-price::before { font-size: 13px !important; }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta { gap: 6px 10px; }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta del.discount-original-price { padding-right: 10px !important; }
}

/* tablet */
@media (max-width: 991px) {
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) { padding: 12px !important; }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .ratio-product-box { height: 150px !important; }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .product-title { font-size: 15px; }
}

/* mobile */
@media (max-width: 767px) {
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) {
        padding: 10px !important;
        border-radius: 16px !important;
    }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc):hover {
        transform: none;
        box-shadow: 0 6px 20px rgba(16, 40, 80, 0.10) !important;
    }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-option {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .ratio-product-box {
        height: 130px !important;
        margin: 6px 0 8px !important;
    }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .product-title {
        font-size: 13px;
        margin: 0 0 10px !important;
    }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta {
        gap: 8px;
        padding-top: 10px !important;
    }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta del.discount-original-price {
        padding-right: 8px !important;
        font-size: 12px !important;
    }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta del.discount-original-price::before {
        font-size: 12px !important;
    }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta > span.price { font-size: 16px !important; }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta > span.price::before { font-size: 12px; }
}

/* small phones */
@media (max-width: 480px) {
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .ratio-product-box { height: 120px !important; }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .product-title { font-size: 12.5px; }
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta > span.price { font-size: 15px !important; }
}

/* slightly wider card on tablet / desktop (uses the column gutter) */
@media (min-width: 768px) {
    .col-product .product-item:not(.ap-lst-card):not(.ap-pc) {
        width: calc(100% + 12px);
        max-width: none;
        margin: 0 -6px;
    }
}

/* =====================================================
   PRICE ROW - AUTO FIT (MRP | Offer Price always on one line)
   Font sizes scale with the card width, so any price fits.
   ===================================================== */
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta {
    container-type: inline-size;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 0 !important;
    min-width: 0;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta del.discount-original-price {
    flex: 0 0 auto;
    font-size: clamp(11px, 6cqw, 13px) !important;
    padding: 0 4cqw 0 0 !important;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta del.discount-original-price::before {
    font-size: clamp(11px, 6cqw, 13px) !important;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta > span.price {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 0 0 4cqw !important;
    font-size: clamp(12px, 10.6cqw, 20px) !important;
}
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta > span.price::before {
    font-size: clamp(10.5px, 5.2cqw, 12px) !important;
}
/* when there is no MRP (no discount), the offer price starts at the left edge */
.col-product .product-item:not(.ap-lst-card):not(.ap-pc) .item-meta > span.price:only-child {
    margin-left: 0 !important;
}
/* =====================================================================
   SUPREME AQUA — POSTER-STYLE PRODUCT CARD (.ap-pc)  +  DETAILS PAGE (.ap-pd-*)
   Added 2026-10. Self-contained; all rules scoped to new class names.
   ===================================================================== */
:root {
    --aq-navy: #16224f;
    --aq-blue: #1d3fa6;
    --aq-blue-2: #1a73e8;
    --aq-green: #18a058;
    --aq-orange: #e8740c;
    --aq-sky: #eef5fc;
    --aq-sky-2: #f5f9fe;
    --aq-line: #e1eaf4;
    --aq-muted: #6b7280;
}
/* ---------- Badge pills (shared by card + details) ---------- */
body.ap-theme .ap-badge {
    display: inline-flex; align-items: center;
    padding: 6px 14px; border-radius: 100px;
    font: 700 11px/1 'Poppins', sans-serif; letter-spacing: .06em; text-transform: uppercase;
    color: #fff; background: var(--aq-blue-2); white-space: nowrap;
    box-shadow: 0 4px 12px -4px rgba(0,0,0,.25);
}
body.ap-theme .ap-badge--budget       { background: linear-gradient(135deg,#1fae62,#11834a); }
body.ap-theme .ap-badge--best         { background: linear-gradient(135deg,#2183f0,#1460c8); }
body.ap-theme .ap-badge--premium      { background: linear-gradient(135deg,#8a4cf0,#6a2fd0); }
body.ap-theme .ap-badge--premium-plus { background: linear-gradient(135deg,#123a73,#0b2147); }
body.ap-theme .ap-badge--default      { background: var(--aq-navy); }
/* ---------- Card ---------- */
body.ap-theme .product-item.ap-pc {
    display: flex !important; flex-direction: column; height: 100%;
    background: #fff !important; border: 1px solid var(--aq-line) !important; border-radius: 18px !important;
    padding: 12px !important; margin: 0 0 22px !important; box-sizing: border-box; width: 100%; min-width: 0;
    box-shadow: 0 6px 22px -14px rgba(22,34,79,.28) !important; transition: transform .25s ease, box-shadow .25s ease;
    text-align: left !important; overflow: hidden;
}
body.ap-theme .product-item.ap-pc:hover { transform: translateY(-4px); box-shadow: 0 20px 38px -20px rgba(22,34,79,.38) !important; }
body.ap-theme .ap-pc .ap-pc__media {
    position: relative !important; display: block; width: 100%;
    aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden;
    background: radial-gradient(120% 90% at 50% 15%, #ffffff 0%, var(--aq-sky) 100%);
}
body.ap-theme .ap-pc .ap-pc__img-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 34px 14px 12px; box-sizing: border-box; }
body.ap-theme .ap-pc .img-product { width: 100% !important; height: 100% !important; object-fit: contain; transition: transform .35s ease; }
body.ap-theme .ap-pc:hover .img-product { transform: scale(1.05); }
body.ap-theme .ap-pc .ap-pc__badge { position: absolute; top: 10px; left: 10px; z-index: 3; }
body.ap-theme .ap-pc .ap-pc__save {
    position: absolute; top: 8px; right: 8px; z-index: 3;
    display: flex; flex-direction: column; align-items: center; line-height: 1;
    background:#dc3545; color: #fff; border-radius: 10px; padding: 6px 9px;
    font: 600 11px/1.1 'Poppins', sans-serif; box-shadow: 0 6px 14px -6px rgba(24,160,88,.6);
}
body.ap-theme .ap-pc .ap-pc__save b { font-size: 17px; font-weight: 800; margin-top: 2px; }
body.ap-theme .ap-pc .ap-pc__save--soldout { background: #6b7280; box-shadow: none; font-weight: 700; text-align: center; }
body.ap-theme .ap-pc .ap-pc__wish {
    position: absolute; right: 10px; bottom: 10px; z-index: 3;
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--aq-line);
    background: #fff; color: var(--aq-navy); display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 4px 10px rgba(16,40,80,.12); transition: background .2s, color .2s;
}
body.ap-theme .ap-pc .ap-pc__wish:hover { background: var(--aq-navy); color: #fff; }
body.ap-theme .ap-pc .ap-pc__wish .icon-heart { color: #ec1c63; }
body.ap-theme .ap-pc .ap-pc__featured { position: absolute; left: 10px; bottom: 10px; z-index: 3; background: var(--aq-navy); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: 100px; }
body.ap-theme .ap-pc .ap-pc__body { display: flex !important; flex-direction: column; flex: 1 1 auto; padding: 14px 4px 2px !important; margin: 0 !important; min-width: 0; overflow: visible !important; text-align: left !important; }
body.ap-theme .ap-pc .ap-pc__title { margin: 0 0 4px !important; font: 800 1.02rem/1.22 'Poppins', sans-serif !important; text-transform: uppercase; letter-spacing: .01em; white-space: normal !important; height: auto !important; min-height: 2.44em; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden !important; }
body.ap-theme .ap-pc .ap-pc__title a { color: var(--aq-blue) !important; text-decoration: none; display: inline !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; font: inherit !important; text-transform: inherit !important; }
body.ap-theme .ap-pc .ap-pc__tech { margin: 0 0 12px; color: var(--aq-navy); font-size: .9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ap-theme .ap-pc .ap-pc__specs { display: flex; align-items: stretch; background: var(--aq-sky); border-radius: 12px; padding: 10px 6px; margin-bottom: 14px; }
body.ap-theme .ap-pc .ap-pc__spec { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px; }
body.ap-theme .ap-pc .ap-pc__spec + .ap-pc__spec { border-left: 1px solid #cddcee; }
body.ap-theme .ap-pc .ap-pc__ico { width: 26px; height: 26px; flex: 0 0 26px; color: var(--aq-blue-2); }
body.ap-theme .ap-pc .ap-pc__spec div { min-width: 0; line-height: 1.15; }
body.ap-theme .ap-pc .ap-pc__spec strong { display: block; color: var(--aq-navy); font-size: .92rem; font-weight: 700; line-height: 1.15; }
body.ap-theme .ap-pc .ap-pc__spec span { display: block; color: var(--aq-muted); font-size: .74rem; }
body.ap-theme .ap-pc .ap-pc__price { display: flex; align-items: flex-end; gap: 14px; margin: auto 0 14px; min-height: 44px; }
body.ap-theme .ap-pc .ap-pc__price small { display: block; font-size: .74rem; font-weight: 600; margin-bottom: 2px; }
body.ap-theme .ap-pc .ap-pc__mrp { padding-right: 14px; border-right: 1px solid var(--aq-line); }
body.ap-theme .ap-pc .ap-pc__mrp small { color: var(--aq-muted); }
body.ap-theme .ap-pc .ap-pc__mrp del { color:#dc3545; font-size: .98rem; font-weight: 500; }
body.ap-theme .ap-pc .ap-pc__offer small { color: var(--aq-orange); }
body.ap-theme .ap-pc .ap-pc__offer strong { color: var(--aq-green); font: 800 1.45rem/1 'Poppins', sans-serif; white-space: nowrap; }
body.ap-theme .ap-pc .ap-pc__quote { color: var(--aq-blue); font-weight: 700; }
body.ap-theme .ap-pc .ap-pc__actions { display: flex; gap: 8px; width: 100%; }
body.ap-theme .ap-pc .ap-pc__btn { flex: 1 1 0; min-width: 0; display: block; text-align: center; padding: 11px 8px; border-radius: 100px; font: 700 .82rem/1.2 'Poppins', sans-serif; text-decoration: none !important; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .2s, color .2s; box-sizing: border-box; }
body.ap-theme .ap-pc .ap-pc__btn--solid { background: var(--aq-navy); color: #fff !important; border: 1px solid var(--aq-navy); }
body.ap-theme .ap-pc .ap-pc__btn--solid:hover { background: var(--aq-blue); border-color: var(--aq-blue); }
body.ap-theme .ap-pc .ap-pc__btn--outline { background: #fff; color: var(--aq-navy) !important; border: 1px solid var(--aq-navy); }
body.ap-theme .ap-pc .ap-pc__btn--outline:hover { background: var(--aq-sky); }
/* slick sliders: keep cards equal height */
body.ap-theme .slick-track:has(.ap-pc) { display: flex !important; }
body.ap-theme .slick-track:has(.ap-pc) .slick-slide { height: auto; }
body.ap-theme .slick-track:has(.ap-pc) .slick-slide > div, body.ap-theme .slick-slide .product-item.ap-pc { height: 100%; }
@media (max-width: 767.98px) {
    body.ap-theme .product-item.ap-pc { padding: 8px !important; border-radius: 14px !important; margin-bottom: 14px !important; }
    body.ap-theme .ap-pc .ap-pc__img-link { padding: 30px 8px 8px; }
    body.ap-theme .ap-pc .ap-badge { font-size: 8.5px; padding: 5px 8px; letter-spacing: .03em; }
    body.ap-theme .ap-pc .ap-pc__badge { top: 7px; left: 7px; }
    body.ap-theme .ap-pc .ap-pc__save { top: 6px; right: 6px; padding: 4px 6px; font-size: 9px; }
    body.ap-theme .ap-pc .ap-pc__save b { font-size: 13px; }
    body.ap-theme .ap-pc .ap-pc__wish { width: 28px; height: 28px; right: 6px; bottom: 6px; }
    body.ap-theme .ap-pc .ap-pc__body { padding: 10px 2px 2px !important; }
    body.ap-theme .ap-pc .ap-pc__title { font-size: .8rem !important; }
    body.ap-theme .ap-pc .ap-pc__tech { font-size: .72rem; margin-bottom: 8px; }
    body.ap-theme .ap-pc .ap-pc__specs { flex-direction: column; gap: 6px; padding: 8px; margin-bottom: 10px; }
    body.ap-theme .ap-pc .ap-pc__spec { padding: 0; gap: 6px; }
    body.ap-theme .ap-pc .ap-pc__spec + .ap-pc__spec { border-left: 0; border-top: 1px solid #cddcee; padding-top: 6px; }
    body.ap-theme .ap-pc .ap-pc__ico { width: 18px; height: 18px; flex-basis: 18px; }
    body.ap-theme .ap-pc .ap-pc__spec strong { font-size: .74rem; }
    body.ap-theme .ap-pc .ap-pc__spec span { font-size: .64rem; }
    body.ap-theme .ap-pc .ap-pc__price { gap: 8px; margin-bottom: 10px; min-height: 0; flex-wrap: wrap;    margin-left: 10px; }
    body.ap-theme .ap-pc .ap-pc__mrp { padding-right: 8px; }
    body.ap-theme .ap-pc .ap-pc__price small { font-size: .62rem; }
    body.ap-theme .ap-pc .ap-pc__mrp del { font-size: .74rem; }
    body.ap-theme .ap-pc .ap-pc__offer strong { font-size: 1.02rem; }
    body.ap-theme .ap-pc .ap-pc__actions { flex-direction: column; gap: 6px; }
    body.ap-theme .ap-pc .ap-pc__btn { padding: 9px 6px; font-size: .72rem; }
}
/* =====================================================================
   PRODUCT DETAILS PAGE
   ===================================================================== */
/* price card */
/* spec tiles */
/* variations: colour circles */
/* quantity + cart */
/* delivery + share */
/* mobile sticky add-to-cart bar */
body.ap-theme .ap-pd-mbar { display: none; }
@media (max-width: 991.98px) {
    body.ap-theme .ap-pd-mbar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
        align-items: center; justify-content: space-between; gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: #fff; border-top: 1px solid var(--aq-line); box-shadow: 0 -10px 24px -16px rgba(22,34,79,.5);
        transform: translateY(110%); transition: transform .25s ease;
    }
    body.ap-theme .ap-pd-mbar.is-visible { transform: translateY(0); }
    body.ap-theme .ap-pd-mbar__price strong { display: block; color: var(--aq-green); font: 800 1.2rem/1.1 'Poppins', sans-serif; }
    body.ap-theme .ap-pd-mbar__price del { color: var(--aq-muted); font-size: .8rem; }
    body.ap-theme .ap-pd-mbar__btn { flex: 0 0 auto; border: 0; border-radius: 100px; padding: 12px 26px; background: linear-gradient(135deg, var(--aq-blue), var(--aq-navy)); color: #fff; font-weight: 700; }
}
/* details: core .row-custom floats left — neutralise inside the new head block */
@media (max-width: 767.98px) {
    body.ap-theme .ap-pc .ap-pc__actions .ap-pc__btn { flex: 0 0 auto; width: 100%; }
}
/* =====================================================================
   TRUST STRIP — 4 features, full-width card above the footer (all pages)
   ===================================================================== */
body.ap-theme .ap-trust-strip { position: relative; z-index: 2; margin: 48px 0 0; }
body.ap-theme .ap-trust-strip + #footer.ap-footer { margin-top: 32px !important; }
body.ap-theme .ap-trust-strip__card {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    background: linear-gradient(135deg, #f5f9fe 0%, #e9f3fc 100%);
    border: 1px solid var(--aq-line); border-radius: 20px;
    box-shadow: 0 18px 40px -30px rgba(22,34,79,.45);
    padding: 22px 8px;
}
body.ap-theme .ap-trust-strip__item { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 18px; min-width: 0; }
body.ap-theme .ap-trust-strip__item + .ap-trust-strip__item { border-left: 1px solid #cddcee; }
body.ap-theme .ap-trust-strip__ico {
    flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%;
    background: #fff; color: var(--aq-blue); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px -8px rgba(22,34,79,.35); transition: transform .25s ease, background .25s, color .25s;
}
body.ap-theme .ap-trust-strip__ico svg { width: 26px; height: 26px; }
body.ap-theme .ap-trust-strip__item:hover .ap-trust-strip__ico { transform: translateY(-3px); background: var(--aq-blue); color: #fff; }
body.ap-theme .ap-trust-strip__text { min-width: 0; line-height: 1.25; }
body.ap-theme .ap-trust-strip__text strong { display: block; color: var(--aq-navy); font: 700 1rem/1.25 'Poppins', sans-serif; }
body.ap-theme .ap-trust-strip__text small { display: block; color: var(--aq-muted); font-size: .82rem; margin-top: 2px; }
@media (max-width: 991.98px) {
    body.ap-theme .ap-trust-strip__card { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; }
    body.ap-theme .ap-trust-strip__item { justify-content: flex-start; padding: 14px 12px; }
    body.ap-theme .ap-trust-strip__item + .ap-trust-strip__item { border-left: 0; }
    body.ap-theme .ap-trust-strip__item:nth-child(even) { border-left: 1px solid #cddcee; }
    body.ap-theme .ap-trust-strip__item:nth-child(n+3) { border-top: 1px solid #cddcee; }
}
@media (max-width: 575.98px) {
    body.ap-theme .ap-trust-strip { margin-top: 32px; }
    body.ap-theme .ap-trust-strip__card { border-radius: 16px; }
    body.ap-theme .ap-trust-strip__item { flex-direction: column; text-align: center; gap: 8px; padding: 14px 6px; }
    body.ap-theme .ap-trust-strip__ico { flex-basis: 42px; width: 42px; height: 42px; }
    body.ap-theme .ap-trust-strip__ico svg { width: 21px; height: 21px; }
    body.ap-theme .ap-trust-strip__text strong { font-size: .82rem; }
    body.ap-theme .ap-trust-strip__text small { font-size: .7rem; }
}
/* ---------- Card: compact spacing (reduce empty space) ---------- */
body.ap-theme .ap-pc .ap-pc__media { aspect-ratio: 1 / 0.86; }
body.ap-theme .ap-pc .ap-pc__img-link { padding: 30px 12px 8px; }
body.ap-theme .ap-pc .ap-pc__body { padding: 12px 2px 0 !important; }
body.ap-theme .ap-pc .ap-pc__title { min-height: 0 !important; margin: 0 0 2px !important; }
body.ap-theme .ap-pc .ap-pc__tech { margin: 0 0 10px; }
body.ap-theme .ap-pc .ap-pc__specs { margin-bottom: 12px; padding: 8px 4px; }
body.ap-theme .ap-pc .ap-pc__price { margin: 0 0 12px; min-height: 0; align-items: flex-end; }
body.ap-theme .ap-pc .ap-pc__price small { margin-bottom: 0; }
body.ap-theme .ap-pc .ap-pc__actions { margin-top: auto; }
body.ap-theme .slick-track:has(.ap-pc) .slick-slide > div,
body.ap-theme .slick-slide .product-item.ap-pc { height: auto; }
body.ap-theme .slick-track:has(.ap-pc) { align-items: flex-start; }
@media (max-width: 767.98px) {
    body.ap-theme .ap-pc .ap-pc__img-link { padding: 26px 6px 6px; }
    body.ap-theme .ap-pc .ap-pc__body { padding: 8px 0 0 !important; }
    body.ap-theme .ap-pc .ap-pc__tech { margin-bottom: 8px; }
    body.ap-theme .ap-pc .ap-pc__specs { margin-bottom: 8px; padding: 6px 8px; }
    body.ap-theme .ap-pc .ap-pc__price { margin-bottom: 8px; }
}
/* equal-height cards without phantom space: the column is the flex box, card fills it */
body.ap-theme .col-product:has(> .ap-pc) { display: flex !important; flex-direction: column; margin-bottom: 20px; }
body.ap-theme .product-item.ap-pc { height: auto !important; flex: 1 1 auto; margin: 0 !important; }
@media (max-width: 767.98px) {
    body.ap-theme .col-product:has(> .ap-pc) { margin-bottom: 12px; }
}
/* =====================================================================
   DETAILS PAGE — FIXES + POLISH (v4)
   ===================================================================== */
/* 1. card height: core sets height:100% + float → big empty space at bottom */
/* 2. spec tiles — icon perfectly centred in a gradient circle */
/* 3. price card — kill legacy ".price span{15px;top;black}" inside it */
/* 4. colour row — label and swatches on one centred line */
/* 5. wishlist — heart and text on one line */
/* 6. polish — image panel + button hover */

/* =====================================================================
   PRODUCT DETAILS — CLASSIC LAYOUT (v5)
   Left: bordered gallery box + 4-feature row. Right: open layout (no card),
   3-part price box, horizontal spec tiles, delivery/share box.
   ===================================================================== */
body.ap-theme .ap-product-detail { --cl-navy: #0f2557; --cl-blue: #1d4ed8; --cl-sky: #eef5fd; --cl-line: #e3eaf3; --cl-green: #12a150; --cl-muted: #6b7280; }

/* ---------- left: gallery box ---------- */
body.ap-theme .ap-product-detail .ap-cl-gallery { border: 1px solid var(--cl-line); border-radius: 14px; background: #fff; overflow: hidden; }
body.ap-theme .ap-product-detail .ap-cl-gallery #product_slider_container { padding: 16px; background: #fff; border: 0; border-radius: 0; }
body.ap-theme .ap-product-detail .ap-cl-gallery .product-slider-container { border-radius: 0; overflow: visible; }
body.ap-theme .ap-product-detail .ap-cl-gallery .product-slider-container .right .product-slider-content { border: 1px solid var(--cl-line); border-radius: 10px; overflow: hidden; background: #fff; }
body.ap-theme .ap-product-detail .ap-cl-gallery .product-thumbnails-slider .item { border: 1px solid var(--cl-line) !important; border-radius: 8px !important; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; cursor: pointer; }
body.ap-theme .ap-product-detail .ap-cl-gallery .product-thumbnails-slider .slick-current .item,
body.ap-theme .ap-product-detail .ap-cl-gallery .product-thumbnails-slider .item.slick-current { border-color: var(--cl-blue) !important; box-shadow: 0 0 0 1px var(--cl-blue); }
body.ap-theme .ap-product-detail .ap-cl-gallery .product-slider-nav button { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--cl-line); box-shadow: 0 4px 12px -4px rgba(15,37,87,.25); color: var(--cl-navy); }

body.ap-theme .ap-product-detail .ap-cl-feats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--cl-line); padding: 18px 6px; }
body.ap-theme .ap-product-detail .ap-cl-feat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 8px; }
body.ap-theme .ap-product-detail .ap-cl-feat + .ap-cl-feat { border-left: 1px solid var(--cl-line); }
body.ap-theme .ap-product-detail .ap-cl-feat svg { width: 34px; height: 34px; color: var(--cl-navy); }
body.ap-theme .ap-product-detail .ap-cl-feat span { color: var(--cl-navy); font-size: .88rem; line-height: 1.35; font-weight: 500; }

/* ---------- right: open layout, no card ---------- */
body.ap-theme .ap-product-detail #response_product_details.product-content-details {
    height: auto !important; float: none !important; overflow: visible;
    background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 0 0 10px !important;
}
body.ap-theme .ap-product-detail #response_product_details::before { display: none !important; }
body.ap-theme .ap-product-detail .ap-pd-head > .row-custom { float: none !important; width: auto !important; display: block; }

body.ap-theme .ap-product-detail .ap-pd-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
body.ap-theme .ap-product-detail .ap-pd-chips .ap-badge { padding: 8px 16px; border-radius: 8px; font-size: 12px; letter-spacing: .04em; box-shadow: none; }
body.ap-theme .ap-product-detail .ap-pd-stock { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; }
body.ap-theme .ap-product-detail .ap-pd-stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
body.ap-theme .ap-product-detail .ap-pd-stock--in  { background: #e6f6ec; color: var(--cl-green); }
body.ap-theme .ap-product-detail .ap-pd-stock--out { background: #fdecec; color: #d64545; }

body.ap-theme .ap-product-detail #response_product_details .product-title { color: var(--cl-navy) !important; font: 800 clamp(1.7rem, 2.8vw, 2.4rem)/1.15 'Poppins', sans-serif !important; letter-spacing: -.01em; margin: 0 0 6px !important; }
body.ap-theme .ap-product-detail #response_product_details .product-short-description { color: #5b6472 !important; font-size: 1.15rem !important; font-weight: 400 !important; margin: 0 !important; padding-bottom: 18px; border-bottom: 1px solid var(--cl-line); }
body.ap-theme .ap-product-detail .ap-pd-meta { margin: 10px 0 0; }

/* ---------- price box ---------- */
body.ap-theme .ap-product-detail .ap-pd-price-card { margin: 18px 0 16px !important; padding: 0 !important; min-height: 0 !important; height: auto !important; background: none !important; border: 0 !important; }
body.ap-theme .ap-product-detail .ap-pd-price-card #product_details_price_container { float: none !important; width: 100% !important; display: block !important; min-height: 0 !important; margin: 0 !important; }
body.ap-theme .ap-product-detail .ap-price { display: flex; align-items: center; gap: 0; border: 1px solid var(--cl-line); border-radius: 12px; background: #fff; padding: 16px 22px; }
body.ap-theme .ap-product-detail .ap-price em { font-style: normal; }
body.ap-theme .ap-product-detail .ap-price span { font-size: inherit !important; color: inherit !important; vertical-align: baseline !important; margin-right: 1px !important; font-weight: inherit; }
body.ap-theme .ap-product-detail .ap-price__main { flex: 0 1 auto; min-width: 0; }
body.ap-theme .ap-product-detail .ap-price__label { display: block; color: var(--cl-blue); font: 600 1.05rem/1.2 'Poppins', sans-serif; margin-bottom: 2px; }
body.ap-theme .ap-product-detail .ap-price__now { display: block; color: var(--cl-navy); font: 800 2.5rem/1.1 'Poppins', sans-serif; letter-spacing: -.01em; }
body.ap-theme .ap-product-detail .ap-price__now--sold { color: var(--cl-muted); font-size: 1.6rem; }
body.ap-theme .ap-product-detail .ap-price__save { color: var(--cl-green); font: 700 1.1rem/1.3 'Poppins', sans-serif; margin-top: 4px; }
body.ap-theme .ap-product-detail .ap-price__tax { display: flex; align-items: center; gap: 8px; color: var(--cl-muted); font-size: .92rem; margin-top: 6px; }
body.ap-theme .ap-product-detail .ap-price__info { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; background: #9aa3af; color: #fff; font: 700 11px/1 Georgia, serif; font-style: normal; cursor: help; }
body.ap-theme .ap-product-detail .ap-price__mrp-col { margin-left: 28px; padding-left: 28px; border-left: 1px solid var(--cl-line); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
body.ap-theme .ap-product-detail .ap-price__mrp-col em { color: #4b5563; font-weight: 600; font-size: .95rem; }
body.ap-theme .ap-product-detail .ap-price__mrp { color: #dc3545; font: 600 1.35rem/1.2 'Poppins', sans-serif; }
body.ap-theme .ap-product-detail .ap-price__off { margin-left: auto; background:#dc3545; color: #fff; font: 700 1.25rem/1 'Poppins', sans-serif; padding: 14px 22px; border-radius: 8px; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(18,161,80,.8); }

/* ---------- spec tiles (horizontal) ---------- */
body.ap-theme .ap-product-detail .ap-cl-specs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: 0 0 18px; }
body.ap-theme .ap-product-detail .ap-cl-spec { display: flex; align-items: center; gap: 12px; background: var(--cl-sky); border: 1px solid #dbe7f6; border-radius: 10px; padding: 14px 14px; min-width: 0; transition: border-color .2s, box-shadow .2s; }
body.ap-theme .ap-product-detail .ap-cl-spec:hover { border-color: #b9d0ef; box-shadow: 0 10px 20px -16px rgba(15,37,87,.5); }
body.ap-theme .ap-product-detail .ap-cl-spec__ico { flex: 0 0 34px; width: 34px; height: 34px; color: var(--cl-blue); display: flex; align-items: center; justify-content: center; font-style: normal; }
body.ap-theme .ap-product-detail .ap-cl-spec__ico svg { width: 34px; height: 34px; display: block; }
body.ap-theme .ap-product-detail .ap-cl-spec__txt { min-width: 0; line-height: 1.25; }
body.ap-theme .ap-product-detail .ap-cl-spec__txt strong { display: block; color: var(--cl-navy); font: 700 1.02rem/1.25 'Poppins', sans-serif; }
body.ap-theme .ap-product-detail .ap-cl-spec__txt em { display: block; font-style: normal; color: #4b5563; font-size: .8rem; margin-top: 2px; }

/* ---------- extra detail rows (SKU etc.) ---------- */
body.ap-theme .ap-product-detail .ap-pd-details .item-details { display: flex; padding: 6px 0; margin: 0; border: 0; }
body.ap-theme .ap-product-detail .ap-pd-details .item-details .left { width: 120px; flex: 0 0 120px; color: var(--cl-navy); }
body.ap-theme .ap-product-detail .ap-pd-details .item-details .left label { margin: 0; font-weight: 500; font-size: 1rem; }
body.ap-theme .ap-product-detail .ap-pd-details .item-details .right { color: var(--cl-navy); font-weight: 500; }

/* ---------- colour swatches ---------- */
body.ap-theme .ap-product-detail .product-variations { margin: 4px 0 6px; }
body.ap-theme .ap-product-detail .row-product-variation { align-items: center; margin: 0; }
body.ap-theme .ap-product-detail .row-product-variation > .col-1.col-product-variation { flex: 0 0 120px; max-width: 120px; padding: 0; }
body.ap-theme .ap-product-detail .row-product-variation > .col-11.col-product-variation { flex: 1 1 auto; max-width: none; width: auto; padding: 0; display: flex; align-items: center; }
body.ap-theme .ap-product-detail .label-product-variation, body.ap-theme .ap-product-detail .product-variations .control-label { margin: 0 !important; color: var(--cl-navy); font-weight: 500; font-size: 1rem; line-height: 1; }
body.ap-theme .ap-product-detail .custom-control-variation { margin: 0 14px 0 0 !important; padding: 0 !important; min-height: 0; }
body.ap-theme .ap-product-detail .label-variation-color { padding: 3px !important; border-radius: 50% !important; border: 2px solid transparent !important; transition: border-color .2s; }
body.ap-theme .ap-product-detail .label-variation-color::before, body.ap-theme .ap-product-detail .label-variation-color::after { display: none !important; }
body.ap-theme .ap-product-detail .label-variation-color .variation-color-box { width: 36px !important; height: 36px !important; border-radius: 50% !important; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
body.ap-theme .ap-product-detail .custom-control-input:checked + .label-variation-color { border-color: var(--cl-blue) !important; }

/* ---------- quantity + cart ---------- */
body.ap-theme .ap-product-detail .product-add-to-cart-container { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 14px; }
body.ap-theme .ap-product-detail .number-spinner { border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; }
body.ap-theme .ap-product-detail .number-spinner .input-group { border: 1px solid #cfd9e6; border-radius: 12px; overflow: hidden; background: #fff; flex-wrap: nowrap; }
body.ap-theme .ap-product-detail .number-spinner .btn { background: var(--cl-sky) !important; border: 0 !important; color: var(--cl-navy) !important; font-size: 1.3rem; font-weight: 600; width: 50px; height: 56px; border-radius: 0 !important; }
body.ap-theme .ap-product-detail .number-spinner .form-control { border: 0 !important; border-left: 1px solid #cfd9e6 !important; border-right: 1px solid #cfd9e6 !important; width: 60px; height: 56px; font-weight: 600; font-size: 1.1rem; color: var(--cl-navy); box-shadow: none !important; border-radius: 0 !important; }
body.ap-theme .ap-product-detail .button-container:not(.button-container-wishlist) { flex: 1 1 220px; margin: 0 !important; }
body.ap-theme .ap-product-detail .btn-product-cart { width: 100%; height: 58px; border-radius: 100px !important; background: var(--cl-navy) !important; color: #fff !important; font: 600 1.15rem/1 'Poppins', sans-serif !important; border: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 14px 26px -16px rgba(15,37,87,.9); transition: background .2s, transform .2s; }
body.ap-theme .ap-product-detail .btn-product-cart:hover { background: var(--cl-blue) !important; transform: translateY(-1px); }
body.ap-theme .ap-product-detail .btn-product-cart .btn-cart-icon i { font-size: 1.3rem; }
body.ap-theme .ap-product-detail .button-container-wishlist { flex: 1 1 100%; margin: 0 !important; }
body.ap-theme .ap-product-detail .button-container-wishlist .btn-add-remove-wishlist { background: none !important; color: var(--cl-navy) !important; border: 0; padding: 4px 6px !important; font-weight: 500; font-size: 1rem; display: inline-flex !important; align-items: center; gap: 10px; line-height: 1 !important; height: auto; }
body.ap-theme .ap-product-detail .btn-wishlist i { font-size: 22px !important; margin: 0 !important; line-height: 1; position: static; color: var(--cl-navy); }
body.ap-theme .ap-product-detail .btn-wishlist .icon-heart { color: #ec1c63; }
body.ap-theme .ap-product-detail .btn-wishlist span { top: 0 !important; position: static; line-height: 1.2; }

/* ---------- delivery + share box ---------- */
body.ap-theme .ap-product-detail .ap-cl-delivery { margin: 22px 0 0 !important; border: 1px solid var(--cl-line); border-radius: 12px; background: #fff; padding: 18px 22px; }
body.ap-theme .ap-product-detail .ap-cl-delivery__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-bottom: 16px; border-bottom: 1px solid var(--cl-line); }
body.ap-theme .ap-product-detail .ap-cl-delivery__ico { width: 34px; height: 34px; color: var(--cl-navy); font-style: normal; display: flex; }
body.ap-theme .ap-product-detail .ap-cl-delivery__ico svg { width: 34px; height: 34px; }
body.ap-theme .ap-product-detail .ap-cl-delivery__lbl { color: #4b5563; font-size: 1rem; }
body.ap-theme .ap-product-detail .ap-cl-delivery__days .result-delivery { display: inline-block; background: #e6f6ec; color: var(--cl-green) !important; font-weight: 700; font-size: 1rem; padding: 6px 14px; border-radius: 8px; }
body.ap-theme .ap-product-detail .ap-cl-delivery__loc { display: inline-flex !important; align-items: center; gap: 6px; background: var(--cl-sky) !important; color: var(--cl-navy) !important; border: 0; border-radius: 8px; padding: 7px 14px !important; font-size: .95rem; font-weight: 500; text-decoration: none !important; }
body.ap-theme .ap-product-detail .ap-cl-delivery__loc svg { width: 16px; height: 16px; color: var(--cl-blue); }
body.ap-theme .ap-product-detail .ap-cl-delivery__note { color: var(--cl-muted); font-size: .85rem; padding-top: 10px; }
body.ap-theme .ap-product-detail .ap-cl-delivery__share { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 16px; }
body.ap-theme .ap-product-detail .ap-cl-delivery__share > strong { color: var(--cl-navy); font-size: 1rem; font-weight: 600; }
body.ap-theme .ap-product-detail .ap-cl-delivery__share a, body.ap-theme .ap-product-detail .ap-cl-delivery__share button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #cfd9e6; display: inline-flex; align-items: center; justify-content: center; color: var(--cl-navy); background: #fff; margin-right: 6px; transition: background .2s, color .2s, border-color .2s; }
body.ap-theme .ap-product-detail .ap-cl-delivery__share a:hover, body.ap-theme .ap-product-detail .ap-cl-delivery__share button:hover { background: var(--cl-navy); color: #fff; border-color: var(--cl-navy); }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
    body.ap-theme .ap-product-detail .ap-price__now { font-size: 2.1rem; }
    body.ap-theme .ap-product-detail .ap-price__mrp-col { margin-left: 18px; padding-left: 18px; }
    body.ap-theme .ap-product-detail .ap-price__off { font-size: 1.05rem; padding: 12px 16px; }
}
@media (max-width: 991.98px) {
    body.ap-theme .ap-product-detail #response_product_details.product-content-details { padding: 22px 0 0 !important; }
}
@media (max-width: 575.98px) {
    body.ap-theme .ap-product-detail .ap-cl-gallery #product_slider_container { padding: 8px; }
    body.ap-theme .ap-product-detail .ap-cl-feats { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 6px; }
    body.ap-theme .ap-product-detail .ap-cl-feat { padding: 12px 6px; }
    body.ap-theme .ap-product-detail .ap-cl-feat + .ap-cl-feat { border-left: 0; }
    body.ap-theme .ap-product-detail .ap-cl-feat:nth-child(even) { border-left: 1px solid var(--cl-line); }
    body.ap-theme .ap-product-detail .ap-cl-feat:nth-child(n+3) { border-top: 1px solid var(--cl-line); }
    body.ap-theme .ap-product-detail .ap-cl-feat svg { width: 28px; height: 28px; }
    body.ap-theme .ap-product-detail .ap-cl-feat span { font-size: .8rem; }
    body.ap-theme .ap-product-detail .ap-price { flex-wrap: wrap; padding: 14px 16px; row-gap: 12px; }
    body.ap-theme .ap-product-detail .ap-price__main { flex: 1 1 100%; }
    body.ap-theme .ap-product-detail .ap-price__now { font-size: 2rem; }
    body.ap-theme .ap-product-detail .ap-price__mrp-col { margin-left: 0; padding-left: 0; border-left: 0; flex-direction: row; align-items: baseline; gap: 8px; }
    body.ap-theme .ap-product-detail .ap-price__mrp { font-size: 1.05rem; }
    body.ap-theme .ap-product-detail .ap-price__off { font-size: .95rem; padding: 9px 14px; }
    body.ap-theme .ap-product-detail .ap-cl-specs { grid-template-columns: 1fr; gap: 8px; }
    body.ap-theme .ap-product-detail .row-product-variation > .col-1.col-product-variation,
    body.ap-theme .ap-product-detail .ap-pd-details .item-details .left { flex-basis: 90px; max-width: 90px; width: 90px; }
    body.ap-theme .ap-product-detail .product-add-to-cart-container { gap: 12px; }
    body.ap-theme .ap-product-detail .button-container:not(.button-container-wishlist) { flex-basis: 100%; }
    body.ap-theme .ap-product-detail .ap-cl-delivery { padding: 14px; }
    body.ap-theme .ap-product-detail .ap-cl-delivery__share a, body.ap-theme .ap-product-detail .ap-cl-delivery__share button { width: 36px; height: 36px; margin-right: 2px; }
}
/* classic fixes: clear core gallery floats, qty input width, inline share */
body.ap-theme .ap-product-detail .ap-cl-gallery #product_slider_container { display: flow-root; }
body.ap-theme .ap-product-detail .ap-cl-feats { clear: both; }
body.ap-theme .ap-product-detail .number-spinner .form-control { flex: 0 0 60px !important; max-width: 60px !important; min-width: 60px !important; text-align: center; padding: 0 !important; }
body.ap-theme .ap-product-detail .number-spinner .input-group-btn { display: flex; }
body.ap-theme .ap-product-detail .ap-cl-delivery__share .product-share { width: auto !important; float: none !important; margin: 0 !important; }
body.ap-theme .ap-product-detail .ap-cl-delivery__share .product-share ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.ap-theme .ap-product-detail .ap-cl-delivery__share .product-share li { margin: 0 !important; padding: 0; display: block; }
body.ap-theme .ap-product-detail .ap-cl-delivery__share .product-share a, body.ap-theme .ap-product-detail .ap-cl-delivery__share .product-share button { margin: 0 !important; }
body.ap-theme .ap-product-detail .ap-cl-spec__txt strong { font-size: .98rem; }
body.ap-theme .ap-product-detail .number-spinner, body.ap-theme .ap-product-detail .number-spinner .input-group { width: auto !important; max-width: none !important; min-width: 0 !important; flex: 0 0 auto; }
body.ap-theme .ap-product-detail .number-spinner .input-group-btn { flex: 0 0 auto; }
body.ap-theme .ap-pd-mbar__price strong { color: #0f2557 !important; } body.ap-theme .ap-pd-mbar__btn { background: #0f2557 !important; }

/* =====================================================================
   LARGE DESKTOP — wider container (Bootstrap stops at 1320px)
   ===================================================================== */
@media (min-width: 1600px) {
    body.ap-theme .container { max-width: 1520px !important; }
    body.ap-theme #footer.ap-footer .ap-wrap { max-width: 1520px; }
    /* listing page: 3 → 4 cards per row */
    body.ap-theme #productListResultContainer .col-product { flex: 0 0 25% !important; max-width: 25% !important; width: 25% !important; }
}
@media (min-width: 1920px) {
    body.ap-theme .container { max-width: 1760px !important; }
    body.ap-theme #footer.ap-footer .ap-wrap { max-width: 1760px; }
}
@media (min-width: 2400px) {
    body.ap-theme .container { max-width: 2140px !important; }
    body.ap-theme #footer.ap-footer .ap-wrap { max-width: 2140px; }
    /* listing page: 5 cards per row */
    body.ap-theme #productListResultContainer .col-product { flex: 0 0 20% !important; max-width: 20% !important; width: 20% !important; }
}
@media (min-width: 1600px) {
    /* keep the filter sidebar a fixed, comfortable width; products take the rest */
    body.ap-theme .col-sidebar-products { flex: 0 0 300px !important; max-width: 300px !important; }
    body.ap-theme .col-content-products { flex: 1 1 0 !important; max-width: none !important; min-width: 0; }
}
.ap-foot-bottom a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.ap-foot-bottom a:hover {
    text-decoration: underline;
}

/* =====================================================================
   v9 — slider sharpness, card price row, Save badge, Why-us / testimonial typography
   ===================================================================== */
/* hero: no hover zoom (re-scaling makes the banner text soft) */
body.ap-theme .ap-hero-card picture { display: block; }
body.ap-theme .ap-hero-card img { transition: none !important; }
body.ap-theme .ap-hero-card:hover img, body.ap-theme .ap-hero-card:hover video { transform: none !important; }

/* card: Save badge — light red */
body.ap-theme .ap-pc .ap-pc__save { background: #fdecee !important; color: #d92d3f !important; border: 1px solid #f6c4ca; box-shadow: none !important; }
body.ap-theme .ap-pc .ap-pc__save b { color: #d92d3f; }
body.ap-theme .ap-pc .ap-pc__save--soldout { background: #f1f2f4 !important; color: #6b7280 !important; border-color: #e2e4e8; }

/* card: price row — MRP + tax note left, Offer Price right */
body.ap-theme .ap-pc .ap-pc__price { justify-content: space-between; align-items: flex-end; gap: 10px; }
body.ap-theme .ap-pc .ap-pc__mrp { border-right: 0 !important; padding-right: 0 !important; display: flex; flex-direction: column; min-width: 0; }
body.ap-theme .ap-pc .ap-pc__mrp del { display: block; line-height: 1.2; }
body.ap-theme .ap-pc .ap-pc__tax { font-style: normal; font-size: .7rem; color: var(--aq-muted); white-space: nowrap; margin-top: 3px; }
body.ap-theme .ap-pc .ap-pc__offer { text-align: right; margin-left: auto; }
@media (max-width: 767.98px) {
    body.ap-theme .ap-pc .ap-pc__tax { font-size: .6rem; white-space: normal; }
}

/* Why Supreme Aqua — clearer, larger type */
body.ap-theme .wcu-section { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.ap-theme .wcu-section .wcu-head { margin-bottom: 32px; gap: 24px; }
body.ap-theme .wcu-section .wcu-title { font: 700 clamp(1.7rem, 2.4vw, 2.25rem)/1.2 'Poppins', sans-serif; letter-spacing: -.01em; color: #0f2557; margin: 0 0 6px; }
body.ap-theme .wcu-section .wcu-subtitle { font-size: 1.05rem; color: #5b6472; margin: 0; }
body.ap-theme .wcu-section .wcu-features { gap: 26px 30px; }
body.ap-theme .wcu-section .wcu-feature { gap: 12px; }
body.ap-theme .wcu-section .wcu-icon { width: 48px; height: 48px; flex: 0 0 48px; border-width: 1.5px; }
body.ap-theme .wcu-section .wcu-icon svg { width: 24px; height: 24px; }
body.ap-theme .wcu-section .wcu-feature-label { font-size: 15px; font-weight: 600; line-height: 1.35; color: #0f2557; }
body.ap-theme .wcu-section .wcu-panel-title,
body.ap-theme .wcu-section .wcu-panel-title-light { font: 700 clamp(1.6rem, 2.2vw, 2.1rem)/1.2 'Poppins', sans-serif; letter-spacing: -.01em; margin-bottom: 10px; }
body.ap-theme .wcu-section .wcu-panel-tagline { font-size: 15px; letter-spacing: .06em; }
body.ap-theme .wcu-section .wcu-panel-tagline-light { font-size: 17px; font-weight: 500; color: #334155; }
body.ap-theme .wcu-section .wcu-panel-desc { font-size: 17px; line-height: 1.65; max-width: 520px; }
body.ap-theme .wcu-section .wcu-checklist li { font-size: 17px; font-weight: 500; line-height: 1.5; margin-bottom: 12px; color: #1e293b; }
body.ap-theme .wcu-section .wcu-panel-btn { font-size: 16px; padding: 14px 26px; }

/* Testimonials — larger, easier to read; soft fade at the scrolling edges */
body.ap-theme .customer-testimonials { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.ap-theme .customer-testimonials .testimonial-heading h2 { font: 700 clamp(1.8rem, 2.8vw, 2.6rem)/1.2 'Poppins', sans-serif; letter-spacing: -.01em; }
body.ap-theme .customer-testimonials .testimonial-heading p { font-size: 1.1rem; opacity: .9; }
body.ap-theme .customer-testimonials .testimonial-carousel {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
body.ap-theme .customer-testimonials .testimonial-card { padding: 26px 26px 22px; border-radius: 16px; }
body.ap-theme .customer-testimonials .testimonial-card p { font-size: 16px; line-height: 1.65; color: #334155; }
body.ap-theme .customer-testimonials .stars { font-size: 17px; letter-spacing: 1px; }
body.ap-theme .customer-testimonials .time-ago { font-size: 13.5px; letter-spacing: 0; color: #64748b; }
body.ap-theme .customer-testimonials .customer-info h4 { font: 600 16px/1.3 'Poppins', sans-serif; color: #0f2557; }
body.ap-theme .customer-testimonials .avatar-initial { width: 42px; height: 42px; font-size: 17px; }

@media (max-width: 767.98px) {
    body.ap-theme .wcu-section .wcu-feature-label { font-size: 13.5px; }
    body.ap-theme .wcu-section .wcu-icon { width: 40px; height: 40px; flex-basis: 40px; }
    body.ap-theme .wcu-section .wcu-icon svg { width: 20px; height: 20px; }
    body.ap-theme .wcu-section .wcu-panel-desc, body.ap-theme .wcu-section .wcu-checklist li { font-size: 15.5px; }
    body.ap-theme .customer-testimonials .testimonial-card p { font-size: 15px; }
    body.ap-theme .customer-testimonials .testimonial-heading p { font-size: 1rem; }
}
body.ap-theme .customer-testimonials { padding-left: 0 !important; padding-right: 0 !important; }
body.ap-theme .customer-testimonials .testimonial-heading { padding: 0 20px; }
body.ap-theme .customer-testimonials .testimonial-carousel { max-width: none !important; padding: 4px 0 !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); }
@media (max-width: 600px) {
    /* show the feature text on phones too: 2-column grid of icon + label */
    body.ap-theme .wcu-section .wcu-features { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; width: 100%; }
    body.ap-theme .wcu-section .wcu-feature-label { display: block !important; font-size: 13.5px; }
}

/* =====================================================================
   v11 — hero slider: blue pill indicators BELOW the banner + round arrows
   ===================================================================== */
body.ap-theme .ap-hero-card { margin-bottom: 0 !important; }
body.ap-theme .ap-hero-carousel:has(.ap-hero-dots) { padding-bottom: 36px; }
body.ap-theme .ap-hero-dots {
    position: absolute; left: 50%; bottom: 8px; top: auto; transform: translateX(-50%);
    display: flex; align-items: center; gap: 8px; z-index: 5;
}
body.ap-theme .ap-hero-dot {
    width: 10px; height: 10px; border-radius: 100px; border: 0; padding: 0;
    background: #c5d5f3; cursor: pointer;
    transition: width .35s ease, background-color .25s ease, transform .2s ease;
}
body.ap-theme .ap-hero-dot:hover { background: #8fb0ec; transform: scale(1.15); }
body.ap-theme .ap-hero-dot.active { width: 32px; background: #1d4ed8; transform: none; box-shadow: 0 3px 8px -2px rgba(29,78,216,.55); }

body.ap-theme .ap-hero-nav {
    top: calc((100% - 36px) / 2); transform: translateY(-50%);
    width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.94); color: #1d4ed8;
    box-shadow: 0 8px 20px -8px rgba(15,37,87,.55);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
body.ap-theme .ap-hero-carousel:not(:has(.ap-hero-dots)) .ap-hero-nav { top: 50%; }
body.ap-theme .ap-hero-nav svg { width: 20px; height: 20px; display: block; }
body.ap-theme .ap-hero-nav:hover { background: #1d4ed8; color: #fff; transform: translateY(-50%) scale(1.06); }
body.ap-theme .ap-hero-nav:focus-visible { outline: 3px solid #93b4ee; outline-offset: 2px; }
body.ap-theme .ap-hero-prev { left: 20px; }
body.ap-theme .ap-hero-next { right: 20px; }

@media (max-width: 767.98px) {
    body.ap-theme .ap-hero-carousel:has(.ap-hero-dots) { padding-bottom: 28px; }
    body.ap-theme .ap-hero-dots { bottom: 6px; gap: 6px; }
    body.ap-theme .ap-hero-dot { width: 8px; height: 8px; }
    body.ap-theme .ap-hero-dot.active { width: 22px; }
    body.ap-theme .ap-hero-nav { width: 32px; height: 32px; top: calc((100% - 28px) / 2); }
    body.ap-theme .ap-hero-nav svg { width: 15px; height: 15px; }
    body.ap-theme .ap-hero-prev { left: 8px; }
    body.ap-theme .ap-hero-next { right: 8px; }
}

/* =====================================================================
   v13 — AUTH PAGES (register / forgot / reset / success / confirm) + LOGIN MODAL
   ===================================================================== */
body.ap-theme #wrapper:has(.auth-container),
body.ap-theme #wrapper:has(.page-confirm) {
    background: radial-gradient(1200px 500px at 50% -10%, #e3efff 0%, rgba(227,239,255,0) 70%), #f6f9fd;
    padding-bottom: 70px;
}
body.ap-theme #wrapper:has(.auth-container) .nav-breadcrumb .breadcrumb { background: none; padding: 18px 0 0; margin: 0; font-size: .86rem; }
body.ap-theme #wrapper:has(.auth-container) .breadcrumb-item a { color: #6b7280; text-decoration: none; }
body.ap-theme #wrapper:has(.auth-container) .breadcrumb-item.active { color: #0f2557; font-weight: 600; }

body.ap-theme .auth-container { display: flex; justify-content: center; padding: 34px 0 0; }
body.ap-theme .auth-box,
body.ap-theme .login-modal .auth-box {
    position: relative; width: 100%; max-width: 460px; margin: 0 auto;
    background: #fff; border: 1px solid #e3eaf3; border-radius: 20px;
    padding: 38px 36px 30px !important;
    box-shadow: 0 30px 60px -36px rgba(15,37,87,.45);
    overflow: hidden;
}
body.ap-theme .auth-box::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
    background: linear-gradient(90deg, #1d4ed8, #2b8fd4 55%, #2fa84f);
}
body.ap-theme .auth-box .title {
    font: 700 1.75rem/1.2 'Poppins', sans-serif !important; color: #0f2557 !important;
    text-align: center; margin: 0 0 6px !important;
}
body.ap-theme .auth-box .ap-auth-sub { text-align: center; color: #6b7280; font-size: .95rem; margin: 0 0 22px; }
body.ap-theme .auth-container .auth-box .title { margin-bottom: 24px !important; }
body.ap-theme .auth-box .form-group { margin-bottom: 14px; }

body.ap-theme .auth-box .form-control,
body.ap-theme .auth-box .auth-form-input,
body.ap-theme .auth-box .form-input {
    height: 50px !important; border: 1px solid #d6e0ec !important; border-radius: 12px !important;
    background: #fbfdff !important; padding: 0 16px !important; font-size: .98rem !important; color: #0f2557 !important;
    box-shadow: none !important; transition: border-color .2s, box-shadow .2s, background .2s;
}
body.ap-theme .auth-box .form-control::placeholder { color: #8a94a6; }
body.ap-theme .auth-box .form-control:focus {
    border-color: #1d4ed8 !important; background: #fff !important;
    box-shadow: 0 0 0 4px rgba(29,78,216,.12) !important; outline: 0;
}

body.ap-theme .auth-box .btn-custom {
    height: 52px; border: 0 !important; border-radius: 100px !important;
    background: linear-gradient(135deg, #1d4ed8 0%, #0f2557 100%) !important; color: #fff !important;
    font: 600 1.02rem/1 'Poppins', sans-serif !important; letter-spacing: .01em;
    box-shadow: 0 14px 26px -16px rgba(15,37,87,.9);
    transition: transform .2s ease, filter .2s ease;
    display: flex; align-items: center; justify-content: center;
}
body.ap-theme .auth-box .btn-custom:hover { transform: translateY(-1px); filter: brightness(1.1); }

body.ap-theme .auth-box .custom-checkbox .custom-control-label { color: #374151; font-size: .9rem; line-height: 1.5; padding-top: 1px; }
body.ap-theme .auth-box .custom-control-label::before { border-radius: 6px; border-color: #b8c6da; }
body.ap-theme .auth-box .custom-control-input:checked ~ .custom-control-label::before { background: #1d4ed8; border-color: #1d4ed8; }
body.ap-theme .auth-box .link-terms, body.ap-theme .auth-box .link-terms strong { color: #1d4ed8; }

body.ap-theme .auth-box .link-forgot-password { color: #1d4ed8; font-size: .88rem; font-weight: 500; text-decoration: none; }
body.ap-theme .auth-box .link-forgot-password:hover { text-decoration: underline; }
body.ap-theme .auth-box .p-social-media { text-align: center; color: #6b7280; font-size: .92rem; margin-top: 14px !important; }
body.ap-theme .auth-box .p-social-media a, body.ap-theme .auth-box a.link { color: #1d4ed8 !important; font-weight: 600; }
body.ap-theme .auth-box .btn-social { border-radius: 12px !important; height: 46px; }
body.ap-theme .auth-box .alert { border-radius: 10px; font-size: .88rem; }

/* login modal */
body.ap-theme .login-modal { max-width: 460px !important; }
body.ap-theme .login-modal .modal-content { border: 0 !important; border-radius: 20px !important; background: transparent !important; box-shadow: none !important; }
body.ap-theme .login-modal .auth-box { box-shadow: 0 40px 80px -30px rgba(15,37,87,.55); }
body.ap-theme .login-modal .close {
    position: absolute; top: 14px; right: 14px; z-index: 2; opacity: 1;
    width: 34px; height: 34px; border-radius: 50%; background: #f1f5fb; color: #0f2557;
    display: flex; align-items: center; justify-content: center; font-size: 14px; text-shadow: none;
    transition: background .2s, color .2s;
}
body.ap-theme .login-modal .close:hover { background: #0f2557; color: #fff; }

/* register success / confirm email */
body.ap-theme .auth-box .text-success { color: #12a150 !important; font-weight: 600 !important; }
body.ap-theme .page-confirm { padding: 50px 0; text-align: center; }
body.ap-theme .page-confirm .title { font: 700 1.6rem/1.3 'Poppins', sans-serif; color: #0f2557; }

@media (max-width: 575.98px) {
    body.ap-theme .auth-container { padding-top: 18px; }
    body.ap-theme .auth-box, body.ap-theme .login-modal .auth-box { padding: 30px 20px 24px !important; border-radius: 16px; }
    body.ap-theme .auth-box .title { font-size: 1.45rem !important; }
}
body.ap-theme .auth-container { min-height: 0 !important; align-items: flex-start; }
body.ap-theme .auth-container .auth-box { margin-top: 0; }
body.ap-theme .auth-box .link-terms, body.ap-theme .auth-box .link-terms strong { color: #1d4ed8 !important; text-decoration: none !important; }
body.ap-theme .auth-box .link-terms:hover strong { text-decoration: underline !important; }

/* =====================================================================
   v14 — CATEGORY TREE SIDEBAR (listing page)
   ===================================================================== */
body.ap-theme .ap-cat-tree .ap-cat-tree__root {
    display: flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 8px 10px;
    border-radius: 10px; color: #0f2557 !important; font-weight: 700; font-size: 1rem; text-decoration: none;
    transition: background .2s;
}
body.ap-theme .ap-cat-tree .ap-cat-tree__root:hover { background: rgba(29,78,216,.07); }
body.ap-theme .ap-cat-tree .ap-cat-tree__root svg { flex: 0 0 auto; font-size: 1.15rem; }
body.ap-theme .ap-cat-tree .ap-cat-tree__root.active { background: #1d4ed8; color: #fff !important; }

body.ap-theme .ap-cat-tree__list { list-style: none; margin: 0; padding: 0; }
body.ap-theme .ap-cat-tree__list--l1 { padding-left: 4px; }
body.ap-theme .ap-cat-tree__list--l2,
body.ap-theme .ap-cat-tree__list--l3,
body.ap-theme .ap-cat-tree__list--l4 { display: none; margin: 2px 0 6px 17px; padding-left: 12px; border-left: 2px solid #d6e2f3; }
body.ap-theme .ap-cat-tree__item.is-open > .ap-cat-tree__list { display: block; }

body.ap-theme .ap-cat-tree__row { display: flex; align-items: center; gap: 4px; min-width: 0; }
body.ap-theme .ap-cat-tree__toggle {
    flex: 0 0 26px; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px;
    background: transparent; color: #64748b; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s;
}
body.ap-theme .ap-cat-tree__toggle:hover { background: rgba(29,78,216,.1); color: #1d4ed8; }
body.ap-theme .ap-cat-tree__toggle svg { width: 15px; height: 15px; transition: transform .2s ease; }
body.ap-theme .ap-cat-tree__item.is-open > .ap-cat-tree__row .ap-cat-tree__toggle svg { transform: rotate(90deg); }
body.ap-theme .ap-cat-tree__item.is-open > .ap-cat-tree__row .ap-cat-tree__toggle { color: #1d4ed8; }
body.ap-theme .ap-cat-tree__dot { flex: 0 0 26px; height: 26px; position: relative; }
body.ap-theme .ap-cat-tree__dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #b9c7dc; }

body.ap-theme .ap-cat-tree__link {
    flex: 1 1 auto; min-width: 0; display: block; padding: 7px 10px; border-radius: 8px;
    color: #1e293b !important; font-size: .98rem; line-height: 1.35; text-decoration: none !important;
    transition: background .2s, color .2s;
}
body.ap-theme .ap-cat-tree__list--l2 .ap-cat-tree__link,
body.ap-theme .ap-cat-tree__list--l3 .ap-cat-tree__link { font-size: .93rem; color: #374151 !important; padding: 6px 10px; }
body.ap-theme .ap-cat-tree__link:hover { background: rgba(29,78,216,.07); color: #1d4ed8 !important; }
body.ap-theme .ap-cat-tree__item.is-open > .ap-cat-tree__row .ap-cat-tree__link { font-weight: 600; color: #0f2557 !important; }
body.ap-theme .ap-cat-tree__link.active,
body.ap-theme .ap-cat-tree__item.is-current > .ap-cat-tree__row .ap-cat-tree__link {
    background: #1d4ed8 !important; color: #fff !important; font-weight: 600;
    box-shadow: 0 8px 16px -10px rgba(29,78,216,.8);
}
body.ap-theme .ap-cat-tree__item.is-current > .ap-cat-tree__row .ap-cat-tree__toggle { color: #1d4ed8; }
/* tree: core floats the filter title + parent link — clear them so rows stack normally */
body.ap-theme .ap-cat-tree .title,
body.ap-theme .ap-cat-tree .ap-cat-tree__root { float: none !important; width: auto !important; }
body.ap-theme .ap-cat-tree .title { display: block; }
body.ap-theme .ap-cat-tree .ap-cat-tree__list { clear: both; }
body.ap-theme .ap-cat-tree .ap-cat-tree__list li { float: none !important; width: auto !important; }

/* =====================================================================
   v15 — category cards (image left / name right), product image fit,
         gap + pill style for the sub-category row
   ===================================================================== */
/* 1. top category cards: horizontal, bigger image */
body.ap-theme .ap-products-page .ap-cat-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 22px 0 28px; }
body.ap-theme .ap-products-page .ap-cat-tile {
    flex-direction: row !important; align-items: center !important; justify-content: flex-start;
    gap: 16px !important; padding: 14px 18px 14px 14px !important; min-height: 0;
    border: 2px solid transparent; border-radius: 16px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
body.ap-theme .ap-products-page .ap-cat-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -18px rgba(15,37,87,.55); }
body.ap-theme .ap-products-page .ap-cat-tile img {
    flex: 0 0 96px; width: 96px !important; height: 96px !important; object-fit: contain;
    background: #fff; border-radius: 14px; padding: 8px; box-sizing: border-box;
    box-shadow: 0 6px 14px -10px rgba(15,37,87,.4);
    transition: transform .25s ease;
}
body.ap-theme .ap-products-page .ap-cat-tile:hover img { transform: scale(1.05); }
body.ap-theme .ap-products-page .ap-cat-tile span {
    flex: 1 1 auto; min-width: 0; text-align: left !important;
    font: 700 1.02rem/1.3 'Poppins', sans-serif !important; color: #0f2557;
}
body.ap-theme .ap-products-page .ap-cat-tile.active { border-color: #0f2557 !important; background: #eaf2fd !important; }

@media (max-width: 1399.98px) {
    body.ap-theme .ap-products-page .ap-cat-tile img { flex-basis: 78px; width: 78px !important; height: 78px !important; }
    body.ap-theme .ap-products-page .ap-cat-tile span { font-size: .95rem !important; }
}
@media (max-width: 1199.98px) {
    /* swipeable row instead of squeezing 5 cards */
    body.ap-theme .ap-products-page .ap-cat-tiles {
        display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
        padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
    }
    body.ap-theme .ap-products-page .ap-cat-tile { flex: 0 0 240px; scroll-snap-align: start; }
}
@media (max-width: 575.98px) {
    body.ap-theme .ap-products-page .ap-cat-tile { flex-basis: 200px; padding: 10px 12px 10px 10px !important; gap: 12px !important; }
    body.ap-theme .ap-products-page .ap-cat-tile img { flex-basis: 64px; width: 64px !important; height: 64px !important; padding: 6px; }
    body.ap-theme .ap-products-page .ap-cat-tile span { font-size: .88rem !important; }
}

/* 2. product details: whole photo always fits (core used object-fit: cover = cropping) */
body.ap-theme .ap-product-detail .product-slider .img-product-slider { object-fit: contain !important; background: #fff; }
body.ap-theme .ap-product-detail .ratio-image-product-details { --bs-aspect-ratio: 92%; background: #fff; }
body.ap-theme .ap-product-detail .product-slider .ratio-image-product-details > img { padding: 14px; box-sizing: border-box; }
@media (min-width: 1600px) {
    /* very wide screens: keep the box from growing taller than the viewport */
    body.ap-theme .ap-product-detail .ratio-image-product-details { --bs-aspect-ratio: 82%; }
}
body.ap-theme .ap-product-detail .product-thumbnails-slider .item img { object-fit: contain !important; background: #fff; }

/* 3. listing title + sub-category row: gap + pill buttons */
body.ap-theme .ap-products-page .product-list-title { margin-bottom: 14px !important; }
body.ap-theme .ap-products-page .product-list-header { padding-bottom: 0 !important; }
body.ap-theme .ap-products-page .ap-cat-tabs {
    gap: 10px !important; flex-wrap: wrap; border-bottom: 1px solid #e6edf5;
    padding: 0 0 18px !important; margin: 0 0 26px !important; overflow: visible;
}
body.ap-theme .ap-products-page .ap-cat-tab {
    display: inline-flex; align-items: center; padding: 9px 18px !important;
    border: 1px solid #d6e2f3 !important; border-radius: 100px; background: #f2f7fd;
    color: #0f2557 !important; font-weight: 600; font-size: .95rem;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
body.ap-theme .ap-products-page .ap-cat-tab:hover { background: #1d4ed8; border-color: #1d4ed8 !important; color: #fff !important; box-shadow: 0 8px 16px -10px rgba(29,78,216,.8); }
body.ap-theme .ap-products-page .ap-cat-tab.active { background: #0f2557; border-color: #0f2557 !important; color: #fff !important; }
@media (max-width: 575.98px) {
    body.ap-theme .ap-products-page .ap-cat-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 8px !important; }
    body.ap-theme .ap-products-page .ap-cat-tab { white-space: nowrap; font-size: .85rem; padding: 8px 14px !important; }
}
/* product image: core fixes the slider area at 525px (made for a 1320px page) while the image box
   grows with width -> bottom got cut on big screens. Box now has its own height that fits. */
body.ap-theme .ap-product-detail .ap-cl-gallery .product-slider-container { max-height: none !important; }
body.ap-theme .ap-product-detail .ap-cl-gallery .product-slider-container .product-slider-content { height: auto !important; }
body.ap-theme .ap-product-detail .ap-cl-gallery .ratio-image-product-details::before { padding-top: 0 !important; }
body.ap-theme .ap-product-detail .ap-cl-gallery .ratio-image-product-details { height: clamp(380px, 32vw, 620px); }
@media (max-width: 575.98px) {
    body.ap-theme .ap-product-detail .ap-cl-gallery .ratio-image-product-details { height: 86vw; }
}
@media (max-width: 575.98px) {
    body.ap-theme #footer.ap-footer .ap-foot-brand img { width: 200px !important; padding: 10px 14px; }
}
/* footer: give the logo column a bit more room so the bigger logo fits */
@media (min-width: 992px) {
    body.ap-theme #footer.ap-footer .ap-foot-top { grid-template-columns: 1.45fr 1fr 1fr 1fr 1.5fr !important; }
}

/* =====================================================================
   v16 — category cards: wider + draggable carousel
   ===================================================================== */
body.ap-theme .ap-products-page .ap-cat-carousel { position: relative; margin: 22px 0 28px; }
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tiles {
    display: flex !important; grid-template-columns: none !important; gap: 16px !important;
    margin: 0 !important; padding: 4px 2px 10px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; cursor: grab; user-select: none;
}
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tiles::-webkit-scrollbar { display: none; }
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tiles.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile { flex: 0 0 340px !important; scroll-snap-align: start; }
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile img { -webkit-user-drag: none; pointer-events: none; }
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile span { white-space: normal; }

/* arrows — only when there is more to scroll */
body.ap-theme .ap-cat-carousel__nav {
    position: absolute; top: calc(50% - 5px); transform: translateY(-50%); z-index: 3;
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid #e3eaf3; padding: 0;
    background: #fff; color: #1d4ed8; box-shadow: 0 8px 20px -8px rgba(15,37,87,.45);
    display: none; align-items: center; justify-content: center; cursor: pointer;
    transition: background .2s, color .2s, opacity .2s;
}
body.ap-theme .ap-cat-carousel__nav svg { width: 18px; height: 18px; }
body.ap-theme .ap-cat-carousel__nav--prev { left: -14px; }
body.ap-theme .ap-cat-carousel__nav--next { right: -14px; }
body.ap-theme .ap-cat-carousel.is-scrollable .ap-cat-carousel__nav { display: flex; }
body.ap-theme .ap-cat-carousel__nav:hover:not(:disabled) { background: #1d4ed8; color: #fff; }
body.ap-theme .ap-cat-carousel__nav:disabled { opacity: 0; pointer-events: none; }

@media (max-width: 767.98px) {
    body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile { flex-basis: 250px !important; }
    body.ap-theme .ap-cat-carousel__nav { display: none !important; }   /* phones: swipe */
}

/* =====================================================================
   v18 — header: tighter menu, "More" dropdown, logo never stretched/hidden
   ===================================================================== */
body.ap-theme .ap-navbar-inner { gap: 20px !important; }
body.ap-theme .ap-logo { flex: 0 0 auto; display: flex; align-items: center; }
body.ap-theme .ap-logo img {
    height: 56px !important; width: auto !important; max-width: 220px;
    object-fit: contain; flex-shrink: 0;
}
body.ap-theme .ap-actions { flex: 0 0 auto; }
body.ap-theme .ap-links { flex: 1 1 auto; min-width: 0; gap: 4px !important; padding: 0 4px !important; }
body.ap-theme .ap-nav-item { flex: 0 0 auto; }
body.ap-theme .ap-nav-item > a { padding: 0 13px !important; white-space: nowrap; }

/* More dropdown */
body.ap-theme .ap-nav-more[hidden] { display: none !important; }
body.ap-theme .ap-nav-more__btn {
    display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
    border: 0; border-radius: 30px; background: transparent; color: var(--ap-text);
    font: 600 .96rem/1 inherit; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s;
}
body.ap-theme .ap-nav-more__btn svg { width: 15px; height: 15px; transition: transform .2s; }
body.ap-theme .ap-nav-more:hover .ap-nav-more__btn,
body.ap-theme .ap-nav-more.is-open .ap-nav-more__btn { background: var(--ap-navy); color: #fff; }
body.ap-theme .ap-nav-more.is-open .ap-nav-more__btn svg,
body.ap-theme .ap-nav-more:hover .ap-nav-more__btn svg { transform: rotate(180deg); }
body.ap-theme .ap-nav-more__menu {
    position: absolute; top: calc(100% + 12px); right: 0; min-width: 250px; z-index: 95;
    background: #fff; border: 1px solid #e3eaf3; border-radius: 14px; padding: 8px;
    box-shadow: 0 24px 50px -18px rgba(15,37,87,.35);
    visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
body.ap-theme .ap-nav-more__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
body.ap-theme .ap-nav-more:hover .ap-nav-more__menu,
body.ap-theme .ap-nav-more.is-open .ap-nav-more__menu { visibility: visible; opacity: 1; transform: none; }
body.ap-theme .ap-nav-more__menu .ap-nav-item { display: block !important; }
body.ap-theme .ap-nav-more__menu .ap-nav-item > a {
    display: flex !important; justify-content: flex-start !important; height: auto !important;
    padding: 11px 14px !important; border-radius: 10px; font-size: .95rem; color: #0f2557 !important;
    background: transparent !important; box-shadow: none !important;
}
body.ap-theme .ap-nav-more__menu .ap-nav-item > a:hover { background: #eef5fd !important; color: #1d4ed8 !important; }
body.ap-theme .ap-nav-more__menu .ap-mega { display: none !important; }   /* sub-panels stay in the main row only */

/* ---------- v18: home "Shop By Category" — compact cards ---------- */
body.ap-theme .ap-hero-section { padding-bottom: 0 !important; }
body.ap-theme .ap-hero-section + .ap-section { padding-top: 14px !important; }
body.ap-theme .ap-section-head { margin-bottom: 18px !important; }
body.ap-theme .ap-tile-row .ap-tile {
    min-height: 0 !important; padding: 16px 18px 14px !important;
    display: flex !important; flex-direction: column; align-items: center; gap: 10px;
}
body.ap-theme .ap-tile-row .ap-tile h4 { margin: 0 !important; font-size: 1.02rem; line-height: 1.3; }
body.ap-theme .ap-tile-row .ap-tile img { width: auto !important; max-width: 100% !important; height: 120px !important; max-height: 120px !important; margin: 0 auto !important; }
body.ap-theme .ap-tile-row .ap-shop-now { bottom: 12px; right: 12px; }
@media (max-width: 768px) {
    body.ap-theme .ap-tile-row .ap-tile img { height: 92px !important; }
    body.ap-theme .ap-tile-row .ap-tile h4 { font-size: .9rem; }
}

/* ---------- v18: listing category cards — compact, light-blue image box, equal spacing ---------- */
body.ap-theme .ap-products-page .ap-cat-carousel { margin: 18px 0 22px !important; }
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tiles { gap: 14px !important; }
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile {
    flex: 0 0 270px !important; gap: 14px !important; padding: 10px 16px 10px 10px !important; border-radius: 14px;
}
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile img {
    flex: 0 0 72px !important; width: 72px !important; height: 72px !important; padding: 6px !important;
    background: #e8f1fc !important; border-radius: 12px !important; box-shadow: none !important;
}
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile.active img { background: #fff !important; }
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile span { font-size: 1rem !important; font-weight: 600 !important; line-height: 1.3; }
@media (max-width: 767.98px) {
    body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile { flex-basis: 220px !important; }
    body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile img { flex-basis: 58px !important; width: 58px !important; height: 58px !important; }
    body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile span { font-size: .9rem !important; }
}

/* ---------- v18: animated empty state ("No products found") ---------- */
body.ap-theme .ap-empty { text-align: center; padding: 34px 16px 46px; max-width: 460px; margin: 0 auto; }
body.ap-theme .ap-empty__art { width: 190px; height: auto; display: block; margin: 0 auto 10px; overflow: visible; }
body.ap-theme .ap-empty__shadow { fill: #e3ecf8; animation: apEmptyShadow 2.4s ease-in-out infinite; transform-origin: 100px 156px; }
body.ap-theme .ap-empty__box-back { fill: #cfe0f6; }
body.ap-theme .ap-empty__box-left { fill: #9cc0ef; }
body.ap-theme .ap-empty__box-right { fill: #7aa8e8; }
body.ap-theme .ap-empty__flap { fill: #b8d2f3; transform-origin: 52px 96px; animation: apEmptyFlapL 2.4s ease-in-out infinite; }
body.ap-theme .ap-empty__flap--r { transform-origin: 148px 96px; animation-name: apEmptyFlapR; }
body.ap-theme .ap-empty__drop path:first-child { fill: #1d4ed8; }
body.ap-theme .ap-empty__shine { stroke: rgba(255,255,255,.75); stroke-width: 3; stroke-linecap: round; }
body.ap-theme .ap-empty__drop { animation: apEmptyDrop 2.4s ease-in-out infinite; transform-origin: 100px 60px; }
body.ap-theme .ap-empty__ripple { fill: none; stroke: #93b4ee; stroke-width: 2; opacity: 0; transform-origin: 100px 92px; animation: apEmptyRipple 2.4s ease-out infinite; }
body.ap-theme .ap-empty__ripple--2 { animation-delay: 1.2s; }
body.ap-theme .ap-empty__title { font: 700 1.35rem/1.3 'Poppins', sans-serif; color: #0f2557; margin: 0 0 6px; }
body.ap-theme .ap-empty__text { color: #64748b !important; font-size: .98rem; line-height: 1.6; margin: 0 0 18px !important; text-align: center !important; }
body.ap-theme .ap-empty__btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 100px;
    background: #0f2557; color: #fff !important; font-weight: 600; text-decoration: none !important;
    box-shadow: 0 12px 24px -14px rgba(15,37,87,.9); transition: background .2s, transform .2s;
}
body.ap-theme .ap-empty__btn svg { width: 17px; height: 17px; transition: transform .2s; }
body.ap-theme .ap-empty__btn:hover { background: #1d4ed8; transform: translateY(-1px); }
body.ap-theme .ap-empty__btn:hover svg { transform: translateX(3px); }
@keyframes apEmptyDrop { 0%,100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
@keyframes apEmptyShadow { 0%,100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.86); opacity: .7; } }
@keyframes apEmptyRipple { 0% { transform: scale(.4); opacity: 0; } 30% { opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes apEmptyFlapL { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(-6deg); } }
@keyframes apEmptyFlapR { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(6deg); } }
@media (prefers-reduced-motion: reduce) {
    body.ap-theme .ap-empty__drop, body.ap-theme .ap-empty__shadow, body.ap-theme .ap-empty__flap, body.ap-theme .ap-empty__ripple { animation: none !important; }
}
body.ap-theme .ap-empty .ap-empty__title { margin: 4px 0 8px !important; padding: 0 !important; }
body.ap-theme .ap-empty p.no-records-found { padding: 0 !important; margin: 0 0 20px !important; min-height: 0 !important; height: auto !important; line-height: 1.6 !important; font-size: .98rem !important; }

/* =====================================================================
   v19 — mega menu: bigger images, readable names, header + "View all"
   ===================================================================== */
body.ap-theme .ap-nav-item .ap-mega {
    display: block !important; width: auto !important; min-width: 360px; max-width: min(720px, 92vw);
    top: calc(100% + 14px) !important; padding: 18px 20px 20px !important;
    border: 1px solid #e3eaf3; border-radius: 18px !important;
    box-shadow: 0 30px 60px -24px rgba(15,37,87,.38) !important;
    transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
body.ap-theme .ap-nav-item:hover .ap-mega { transform: none; }
/* hover bridge so the panel doesn't close while moving the mouse down */
body.ap-theme .ap-nav-item .ap-mega::after { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
/* pointer arrow */
body.ap-theme .ap-nav-item .ap-mega::before {
    content: ""; position: absolute; top: -7px; left: 34px; width: 14px; height: 14px; background: #fff;
    border-left: 1px solid #e3eaf3; border-top: 1px solid #e3eaf3; transform: rotate(45deg);
}
/* keep panels of the last menu items inside the screen */
body.ap-theme .ap-links > .ap-nav-item:nth-last-child(-n+3) .ap-mega { left: auto !important; right: 0; }
body.ap-theme .ap-links > .ap-nav-item:nth-last-child(-n+3) .ap-mega::before { left: auto; right: 34px; }

body.ap-theme .ap-mega-head {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 0 2px 12px; margin: 0 0 14px; border-bottom: 1px solid #edf1f7;
}
body.ap-theme .ap-mega-head .ap-mega-label { margin: 0 !important; font: 700 .78rem/1 'Poppins', sans-serif !important; letter-spacing: .08em; color: #64748b !important; text-transform: uppercase; }
body.ap-theme .ap-mega .ap-mega-all {
    display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px;
    padding: 0 !important; font-size: .85rem; font-weight: 600; color: #1d4ed8 !important;
    white-space: nowrap; background: none !important;
}
body.ap-theme .ap-mega .ap-mega-all svg { width: 15px; height: 15px; transition: transform .2s; }
body.ap-theme .ap-mega .ap-mega-all:hover svg { transform: translateX(3px); }

body.ap-theme .ap-mega-grid-wrap { display: contents; }
body.ap-theme .ap-mega { --ap-mega-cols: 3; }
body.ap-theme .ap-mega > .ap-mega-card:first-of-type { margin-left: 0; }
body.ap-theme .ap-mega .ap-mega-card {
    display: inline-flex !important; flex-direction: column; align-items: center; gap: 10px;
    width: 148px; margin: 0 10px 10px 0; padding: 10px 8px 12px !important; vertical-align: top;
    border-radius: 14px; text-align: center; text-decoration: none; border: 1px solid transparent;
    transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
body.ap-theme .ap-mega .ap-mega-img {
    display: flex; align-items: center; justify-content: center;
    width: 100px; height: 100px; border-radius: 14px; background: #eef5fd; overflow: hidden;
    border: 1px solid #e1ebf8; transition: border-color .2s;
}
body.ap-theme .ap-mega .ap-mega-img img { width: 88px !important; height: 88px !important; object-fit: contain; transition: transform .3s ease; }
body.ap-theme .ap-mega .ap-mega-name { font: 600 .9rem/1.3 'Inter', sans-serif !important; color: #0f2557 !important; }
body.ap-theme .ap-mega .ap-mega-card:hover { background: #f6f9fe !important; border-color: #dbe7f6; transform: translateY(-2px); box-shadow: 0 12px 22px -16px rgba(15,37,87,.45); }
body.ap-theme .ap-mega .ap-mega-card:hover .ap-mega-img { border-color: #1d4ed8; }
body.ap-theme .ap-mega .ap-mega-card:hover .ap-mega-img img { transform: scale(1.07); }
body.ap-theme .ap-mega .ap-mega-card:hover .ap-mega-name { color: #1d4ed8 !important; }
/* width follows the number of sub-categories (max 4 per row) */
body.ap-theme .ap-nav-item .ap-mega { width: calc(var(--ap-mega-cols) * 158px + 40px) !important; }
/* mega: real grid with exact column count (inline cards wrapped too early) */
body.ap-theme .ap-nav-item .ap-mega {
    display: grid !important; grid-template-columns: repeat(var(--ap-mega-cols, 3), 148px) !important;
    gap: 8px 10px !important; width: max-content !important; min-width: 340px; max-width: 92vw;
}
body.ap-theme .ap-mega .ap-mega-head { grid-column: 1 / -1; }
body.ap-theme .ap-mega-head .ap-mega-label { white-space: nowrap; }
body.ap-theme .ap-mega .ap-mega-card { display: flex !important; width: auto; margin: 0 !important; }
body.ap-theme .ap-nav-item .ap-mega { grid-template-columns: repeat(var(--ap-mega-cols, 3), minmax(148px, 1fr)) !important; min-width: 420px !important; }
body.ap-theme .ap-mega-head { flex-wrap: wrap; row-gap: 8px; }

/* =====================================================================
   v20 — listing header: equal, tighter spacing + smaller page title
   rhythm: header -> 18px -> breadcrumb -> 18px -> category cards -> 18px -> title -> 18px -> content
   ===================================================================== */
body.ap-theme .ap-products-page #wrapper { padding-top: 18px !important; }
body.ap-theme .ap-products-page .nav-breadcrumb { padding-bottom: 0 !important; margin: 0 !important; }
body.ap-theme .ap-products-page .breadcrumb-products { margin: 0 !important; }
body.ap-theme .ap-products-page .ap-cat-carousel { margin: 18px 0 18px !important; }
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tiles { padding-top: 0 !important; padding-bottom: 0 !important; }
body.ap-theme .ap-products-page .product-list-header { padding-top: 0 !important; padding-bottom: 0 !important; margin: 0 !important; }
body.ap-theme .ap-products-page .product-list-title,
body.ap-theme .ap-products-page h1.page-title {
    font-size: clamp(1.3rem, 1.7vw, 1.6rem) !important; line-height: 1.25 !important;
    margin: 0 0 18px !important; padding: 0 !important; letter-spacing: -.01em;
}
body.ap-theme .ap-products-page .category-description { margin: -10px 0 18px !important; }
body.ap-theme .ap-products-page .ap-cat-tabs { margin-top: 0 !important; }

/* v22 — listing category cards: bigger image, less padding */
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile { padding: 6px 14px 6px 6px !important; gap: 14px !important; }
body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile img {
    flex: 0 0 88px !important; width: 88px !important; height: 88px !important;
    padding: 2px !important; border-radius: 12px !important;
}
@media (max-width: 767.98px) {
    body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile { padding: 5px 12px 5px 5px !important; gap: 12px !important; }
    body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile img { flex-basis: 68px !important; width: 68px !important; height: 68px !important; }
}

/* =====================================================================
   v23 — taller top bar, proper social icons, bigger logo, "More" font fix
   ===================================================================== */
/* top bar: 36px -> 46px */
body.ap-theme .ap-utilbar .ap-utilbar-inner { min-height: 46px !important; padding-top: 6px !important; padding-bottom: 6px !important; }
body.ap-theme .ap-utilbar .ap-utilbar-inner > a { font-size: 13.5px; letter-spacing: .01em; }

/* social icons: outlined circles, white glyphs, brand colour on hover */
body.ap-theme .ap-utilbar .ap-social-row { gap: 8px !important; }
body.ap-theme .ap-utilbar .ap-social-row a {
    width: 30px !important; height: 30px !important; border-radius: 50%;
    background: transparent !important; border: 1px solid rgba(255,255,255,.32);
    color: #fff !important; display: inline-flex !important; align-items: center; justify-content: center;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
body.ap-theme .ap-utilbar .ap-social-row a svg { width: 14px !important; height: 14px !important; display: block; }
body.ap-theme .ap-utilbar .ap-social-row a:hover { transform: translateY(-1px); border-color: transparent; }
body.ap-theme .ap-utilbar .ap-social-row a[aria-label="Facebook"]:hover  { background: #1877f2 !important; }
body.ap-theme .ap-utilbar .ap-social-row a[aria-label="Instagram"]:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important; }
body.ap-theme .ap-utilbar .ap-social-row a[aria-label="Twitter"]:hover   { background: #000 !important; }
body.ap-theme .ap-utilbar .ap-social-row a[aria-label="YouTube"]:hover   { background: #ff0000 !important; }

/* menu bar: logo 56px -> 68px, bar 75px -> 88px */
body.ap-theme .ap-navbar-inner { height: 88px !important; }
body.ap-theme .ap-logo img { height: 68px !important; width: auto !important; max-width: 270px !important; }
@media (max-width: 991.98px) {
    body.ap-theme .ap-navbar-inner { height: 72px !important; }
    body.ap-theme .ap-logo img { height: 52px !important; }
}

/* "More": same font as the other menu items (v18 shorthand was invalid) */
body.ap-theme .ap-nav-more__btn { font-family: inherit !important; font-weight: 600 !important; font-size: .96rem !important; line-height: 1 !important; color: var(--ap-text); }

/* =====================================================================
   v24 — MOBILE fixes
   ===================================================================== */
/* listing grid: symmetric gutters (old rule = width:100% + negative margin -> right gap) */
body.ap-theme #productListResultContainer.row-product { width: auto !important; margin-left: -8px !important; margin-right: -8px !important; }
body.ap-theme #productListResultContainer .col-product { padding-left: 8px !important; padding-right: 8px !important; }

/* mobile filter + sort bar: two equal pills, text never wraps or gets cut */
@media (max-width: 767.98px) {
    body.ap-theme .container-filter-products-mobile { display: flex !important; gap: 10px; align-items: stretch; margin-bottom: 16px !important; }
    body.ap-theme .container-filter-products-mobile > .btn-filter-products-mobile,
    body.ap-theme .container-filter-products-mobile > .product-sort-by { flex: 1 1 0; min-width: 0; width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
    body.ap-theme .container-filter-products-mobile .dropdown { width: 100%; }
    body.ap-theme .container-filter-products-mobile .btn {
        width: 100%; height: 46px !important; min-height: 0; padding: 0 14px !important; margin: 0 !important;
        display: flex !important; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
        border: 1px solid #d6e2f3 !important; border-radius: 100px !important; background: #fff !important;
        color: #0f2557 !important; font-weight: 600; font-size: .9rem; line-height: 1; box-shadow: none !important; overflow: hidden;
    }
    body.ap-theme .container-filter-products-mobile .btn svg { flex: 0 0 auto; width: 18px; height: 18px; }
    body.ap-theme .container-filter-products-mobile .btn svg path { fill: #1d4ed8; }
    body.ap-theme .container-filter-products-mobile .btn .text { overflow: hidden; text-overflow: ellipsis; }
    body.ap-theme .container-filter-products-mobile .dropdown-toggle::after { display: none !important; }
    body.ap-theme .container-filter-products-mobile .btn .icon-arrow-down { font-size: 11px; margin-left: 2px; }
    body.ap-theme .container-filter-products-mobile .btn:active { background: #eef5fd !important; }
    body.ap-theme .container-filter-products-mobile .dropdown-menu { width: 100%; border-radius: 14px; border: 1px solid #e3eaf3; box-shadow: 0 20px 40px -20px rgba(15,37,87,.4); padding: 6px; }
    body.ap-theme .container-filter-products-mobile .dropdown-item { border-radius: 10px; padding: 10px 14px; font-weight: 500; }
}

/* product card layout follows the CARD's width (container query), not the screen:
   wide card (single column on phones, desktop) = specs + buttons side by side */
body.ap-theme .product-item.ap-pc { container-type: inline-size; container-name: apcard; }
@container apcard (min-width: 260px) {
    body.ap-theme .ap-pc .ap-pc__img-link { padding: 30px 12px 8px; }
    body.ap-theme .ap-pc .ap-pc__title { font-size: 1rem !important; }
    body.ap-theme .ap-pc .ap-pc__tech { font-size: .88rem; margin-bottom: 10px; }
    body.ap-theme .ap-pc .ap-pc__specs { flex-direction: row !important; gap: 0 !important; padding: 9px 4px !important; margin-bottom: 12px; }
    body.ap-theme .ap-pc .ap-pc__spec { padding: 0 10px !important; gap: 8px; }
    body.ap-theme .ap-pc .ap-pc__spec + .ap-pc__spec { border-top: 0 !important; padding-top: 0 !important; border-left: 1px solid #cddcee !important; }
    body.ap-theme .ap-pc .ap-pc__ico { width: 24px; height: 24px; flex-basis: 24px; }
    body.ap-theme .ap-pc .ap-pc__spec strong { font-size: .9rem; }
    body.ap-theme .ap-pc .ap-pc__spec span { font-size: .72rem; }
    body.ap-theme .ap-pc .ap-pc__price small { font-size: .72rem; }
    body.ap-theme .ap-pc .ap-pc__mrp del { font-size: .95rem; }
    body.ap-theme .ap-pc .ap-pc__tax { font-size: .68rem; white-space: nowrap; }
    body.ap-theme .ap-pc .ap-pc__offer strong { font-size: 1.4rem; }
    body.ap-theme .ap-pc .ap-pc__actions { flex-direction: row !important; gap: 8px; }
    body.ap-theme .ap-pc .ap-pc__actions .ap-pc__btn { flex: 1 1 0 !important; width: auto !important; padding: 11px 8px; font-size: .84rem; }
}
@media (max-width: 767.98px) {
    body.ap-theme .container-filter-products-mobile .btn > * { margin: 0 !important; padding: 0 !important; }
    body.ap-theme .container-filter-products-mobile .btn .text { margin-left: 2px !important; }
}
@media (max-width: 575.98px) {
    /* details: 3 spec tiles in one compact row (icon on top) */
    body.ap-theme .ap-product-detail .ap-cl-specs { grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 8px !important; }
    body.ap-theme .ap-product-detail .ap-cl-spec { flex-direction: column; text-align: center; gap: 6px; padding: 12px 6px; }
    body.ap-theme .ap-product-detail .ap-cl-spec__ico, body.ap-theme .ap-product-detail .ap-cl-spec__ico svg { width: 26px; height: 26px; flex-basis: 26px; }
    body.ap-theme .ap-product-detail .ap-cl-spec__txt strong { font-size: .82rem; }
    body.ap-theme .ap-product-detail .ap-cl-spec__txt em { font-size: .68rem; }
}

/* v25 — FIX: product cards inside sliders (home category rows / special offers) collapsed.
   An old ".row-product:not(.slick-slider) .col-product { width:25% !important }" rule overrode slick's inline width:100%;
   the card's size-container (v24) no longer pushed it wider. Slides now always use the full slide width. */
body.ap-theme .slick-slide .col-product,
body.ap-theme .slick-slide > div > .col-product {
    width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; display: block !important;
}
body.ap-theme .slick-slide .col-product > .product-item.ap-pc { width: 100% !important; }
/* safety: a card is never narrower than 160px */
body.ap-theme .product-item.ap-pc { min-width: 160px; }

/* v27 — narrow product cards (inner width < 260px): nothing overlaps or gets cut */
@container apcard (max-width: 259px) {
    body.ap-theme .ap-pc .ap-pc__badge { max-width: calc(100% - 78px); overflow: hidden; text-overflow: ellipsis; }
    body.ap-theme .ap-pc .ap-pc__title { font-size: .9rem !important; }
    body.ap-theme .ap-pc .ap-pc__tech { white-space: normal; font-size: .8rem; }
    body.ap-theme .ap-pc .ap-pc__specs { flex-direction: column !important; gap: 6px !important; padding: 8px 10px !important; }
    body.ap-theme .ap-pc .ap-pc__spec { padding: 0 !important; }
    body.ap-theme .ap-pc .ap-pc__spec + .ap-pc__spec { border-left: 0 !important; border-top: 1px solid #cddcee !important; padding-top: 6px !important; }
    body.ap-theme .ap-pc .ap-pc__spec strong { white-space: normal; font-size: .82rem; }
    body.ap-theme .ap-pc .ap-pc__price { flex-direction: column; align-items: flex-start !important; gap: 4px !important; }
    body.ap-theme .ap-pc .ap-pc__offer { text-align: left !important; margin-left: 0 !important; }
    body.ap-theme .ap-pc .ap-pc__tax { white-space: normal !important; }
    body.ap-theme .ap-pc .ap-pc__offer strong { font-size: 1.2rem !important; }
    body.ap-theme .ap-pc .ap-pc__actions { flex-direction: column !important; gap: 6px !important; }
    body.ap-theme .ap-pc .ap-pc__actions .ap-pc__btn { flex: 0 0 auto !important; width: 100% !important; text-overflow: clip; }
}

/* v28 — FIX: slider slides. In this slick version the .col-product IS the slide; the old
   ".row-product .col-product {width:25% !important}" rule (now excluded from sliders) made each slide
   25% of the whole track. Slides now keep slick's own width. */
body.ap-theme .slick-slider .slick-track > .slick-slide { flex: 0 0 auto !important; max-width: none !important; min-width: 0 !important; }
body.ap-theme .slick-slider .slick-track > .slick-slide.col-product { padding-left: 8px !important; padding-right: 8px !important; }

/* =====================================================================
   v29 — TYPE & SPACING SCALE (all screens)
   ===================================================================== */
body.ap-theme { font-size: 15px; line-height: 1.55; }
body.ap-theme .ap-section-head h2,
body.ap-theme .section-category-products .section-header .title,
body.ap-theme .wcu-section .wcu-title,
body.ap-theme .customer-testimonials .testimonial-heading h2,
body.ap-theme .sb-title,
body.ap-theme .sf-title {
    font-family: 'Poppins', sans-serif !important; font-weight: 700 !important;
    font-size: clamp(1.25rem, 0.95rem + 1.1vw, 1.625rem) !important; line-height: 1.25 !important; letter-spacing: -.01em;
}
body.ap-theme .section-category-products .section-header .title a { font: inherit !important; color: inherit; }
body.ap-theme .ap-product-detail #response_product_details .product-title { font-size: clamp(1.375rem, 1.05rem + 1.3vw, 1.75rem) !important; }
body.ap-theme .ap-products-page .product-list-title { font-size: clamp(1.25rem, 0.95rem + 1.1vw, 1.625rem) !important; }
body.ap-theme .ap-section { padding: 24px 0 !important; }

/* =====================================================================
   v29 — APP-STYLE MOBILE (< 768px)
   ===================================================================== */
body.ap-theme .ap-tabbar { display: none; }
@media (max-width: 767.98px) {
    body.ap-theme { font-size: 14px; padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
    body.ap-theme .ap-section { padding: 14px 0 !important; }

    /* ---- slim sticky header + full-width search ---- */
    body.ap-theme .ap-utilbar { display: none !important; }
    body.ap-theme #header.ap-header { position: sticky; top: 0; z-index: 1020; background: #fff; box-shadow: 0 4px 16px -12px rgba(15,37,87,.45); }
    body.ap-theme .ap-navbar-inner { height: auto !important; flex-wrap: wrap; gap: 8px 10px !important; padding: 8px 14px 10px !important; }
    body.ap-theme .ap-logo img { height: 42px !important; }
    body.ap-theme .ap-actions { margin-left: auto; gap: 6px; display: flex; align-items: center; flex-wrap: wrap; }
    body.ap-theme .ap-actions .ap-cart-btn, body.ap-theme .ap-actions .ap-pill { display: none !important; }
    body.ap-theme .ap-actions .ap-icon-btn, body.ap-theme .ap-actions .ap-burger { width: 40px; height: 40px; }
    body.ap-theme .ap-actions .ap-search {
        display: flex !important; order: 10; flex: 1 0 100%; width: 100%; height: 42px; margin: 2px 0 0;
        border-radius: 12px !important; background: #f1f5fb !important; border: 1px solid #e3eaf3 !important; padding: 0 6px 0 14px;
    }
    body.ap-theme .ap-actions .ap-search input { font-size: 14px; background: transparent; }
    body.ap-theme .ap-actions { flex: 1 1 auto; justify-content: flex-end; }

    /* ---- bottom tab bar ---- */
    body.ap-theme .ap-tabbar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
        height: calc(62px + env(safe-area-inset-bottom)); padding: 4px 6px env(safe-area-inset-bottom);
        background: #fff; border-top: 1px solid #e3eaf3; box-shadow: 0 -8px 24px -16px rgba(15,37,87,.4);
    }
    body.ap-theme .ap-tabbar__item {
        flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        border: 0; background: none; padding: 0; color: #64748b !important; text-decoration: none !important;
        font: 600 10.5px/1 'Inter', sans-serif; -webkit-tap-highlight-color: transparent;
    }
    body.ap-theme .ap-tabbar__item svg { width: 23px; height: 23px; }
    body.ap-theme .ap-tabbar__item.is-active { color: #1d4ed8 !important; }
    body.ap-theme .ap-tabbar__item.is-active svg { stroke-width: 2.3; }
    body.ap-theme .ap-tabbar__icon { position: relative; display: inline-flex; }
    body.ap-theme .ap-tabbar__badge {
        position: absolute; top: -5px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
        background: #ec1c63; color: #fff; font: 700 10px/17px 'Inter', sans-serif; text-align: center; font-style: normal;
    }
    body.ap-theme .ap-tabbar__wa { color: #128c4b !important; }
    body.ap-theme .ap-tabbar__wa-btn {
        width: 46px; height: 46px; margin-top: -22px; border-radius: 50%; background: #25d366; color: #fff;
        display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -6px rgba(37,211,102,.7); border: 3px solid #fff;
    }
    body.ap-theme .ap-tabbar__wa-btn svg { width: 24px; height: 24px; }
    body.ap-theme .scrollup { bottom: calc(76px + env(safe-area-inset-bottom)) !important; right: 12px !important; }
    body.ap-theme .ap-pd-mbar { bottom: 0; }

    /* ---- product page: app buy bar always visible, tab bar hidden there ---- */
    body.ap-theme:has(.ap-product-detail) .ap-tabbar { display: none; }
    body.ap-theme:has(.ap-pd-mbar) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    body.ap-theme .ap-pd-mbar { transform: none !important; padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important; }

    /* ---- home: rounded banner, compact category tiles ---- */
    body.ap-theme .ap-hero-section .ap-hero-carousel { margin: 10px 12px 0; border-radius: 16px; overflow: hidden; }
    body.ap-theme .ap-section-head { margin-bottom: 12px !important; align-items: center !important; }
    body.ap-theme .ap-viewall { font-size: 13px; }
    body.ap-theme .ap-tile-row .ap-tile { width: 108px !important; padding: 10px 8px !important; border-radius: 16px !important; gap: 6px; }
    body.ap-theme .ap-tile-row .ap-tile img { height: 64px !important; }
    body.ap-theme .ap-tile-row .ap-tile h4 { font-size: 12px !important; order: 2; }
    body.ap-theme .ap-tile-row .ap-tile img { order: 1; }
    body.ap-theme .ap-tile-row .ap-shop-now { display: none !important; }

    /* ---- footer accordion ---- */
    body.ap-theme #footer.ap-footer .ap-foot-col { border-bottom: 1px solid rgba(255,255,255,.12); padding: 0; }
    body.ap-theme #footer.ap-footer .ap-foot-col > h6 { display: flex; justify-content: space-between; align-items: center; margin: 0 !important; padding: 14px 0 !important; cursor: pointer; }
    body.ap-theme #footer.ap-footer .ap-foot-col > h6::after { content: "+"; font-size: 20px; font-weight: 400; line-height: 1; }
    body.ap-theme #footer.ap-footer .ap-foot-col.is-open > h6::after { content: "–"; }
    body.ap-theme #footer.ap-footer .ap-foot-col > h6 + ul { display: none; padding-bottom: 12px; }
    body.ap-theme #footer.ap-footer .ap-foot-col.is-open > h6 + ul { display: block; }
    body.ap-theme #footer.ap-footer .ap-foot-col:has(.ap-foot-note) > h6::after { content: none; }
}

/* ---- phones: category chips (cards keep the full design; compact 2-col cards removed in v30) ---- */
@media (max-width: 575.98px) {
    /* listing: category chips */
    body.ap-theme .ap-products-page .ap-cat-carousel { margin: 12px 0 14px !important; }
    body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tiles { gap: 8px !important; }
    body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile { flex: 0 0 auto !important; padding: 4px 14px 4px 4px !important; gap: 8px !important; border-radius: 100px !important; border-width: 1px !important; }
    body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile img { flex: 0 0 34px !important; width: 34px !important; height: 34px !important; border-radius: 50% !important; padding: 2px !important; }
    body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile span { font-size: 13px !important; white-space: nowrap !important; }
    body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile.active { background: #0f2557 !important; border-color: #0f2557 !important; }
    body.ap-theme .ap-products-page .ap-cat-carousel .ap-cat-tile.active span { color: #fff !important; }
    body.ap-theme .ap-products-page .ap-cat-tabs { margin-bottom: 14px !important; padding-bottom: 12px !important; }
}

/* filter panel = bottom sheet on phones/tablets */
body.ap-theme .ap-sheet-head { display: none; }
@media (max-width: 767.98px) {
    body.ap-theme #collapseFilters.collapse.show,
    body.ap-theme #collapseFilters.collapsing {
        position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 1040; height: auto !important; max-height: 82vh;
        overflow-y: auto; margin: 0 !important; border-radius: 20px 20px 0 0 !important; background: #fff !important;
        padding: 0 18px calc(18px + env(safe-area-inset-bottom)) !important; box-shadow: 0 0 0 100vmax rgba(15,23,42,.45);
        animation: apSheetUp .25s ease-out; transition: none !important;
    }
    body.ap-theme #collapseFilters .ap-sheet-head {
        display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2;
        background: #fff; padding: 16px 0 12px; margin-bottom: 4px; border-bottom: 1px solid #edf1f7;
    }
    body.ap-theme #collapseFilters .ap-sheet-head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #d6dfeb; }
    body.ap-theme #collapseFilters .ap-sheet-head strong { font: 700 16px/1 'Poppins', sans-serif; color: #0f2557; }
    body.ap-theme .ap-sheet-close { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f1f5fb; color: #0f2557; font-size: 22px; line-height: 1; }
    @keyframes apSheetUp { from { transform: translateY(100%); } to { transform: none; } }
}
@media (max-width: 767.98px) {
    /* header rows: [logo ........ ♡ ☰] then [ full-width search ] */
    body.ap-theme .ap-navbar-inner .ap-actions { display: contents !important; }
    body.ap-theme .ap-navbar-inner .ap-logo { order: 1; margin-right: auto; }
    body.ap-theme .ap-navbar-inner .ap-icon-btn, body.ap-theme .ap-navbar-inner .ap-burger { order: 2; }
    body.ap-theme .ap-navbar-inner .ap-search { order: 3 !important; flex: 1 0 100% !important; }
    body.ap-theme .ap-navbar-inner .ap-links { display: none !important; }
}
@media (max-width: 767.98px) { body.ap-theme .ap-navbar-inner .ap-burger { display: flex !important; align-items: center; justify-content: center; } }

/* v30 — phones: same full card design as desktop, 1 per row; bigger mobile logo */
@media (max-width: 575.98px) {
    body.ap-theme #productListResultContainer .col-product,
    body.ap-theme .row-product:not(.slick-slider) .col-product { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
    body.ap-theme .col-product:has(> .ap-pc) { margin-bottom: 14px !important; }
}
@media (max-width: 767.98px) {
    body.ap-theme .ap-logo img { height: 54px !important; max-width: 220px !important; }
    body.ap-theme .ap-navbar-inner { padding-top: 6px !important; }
}
@media (max-width: 575.98px) { body.ap-theme .ap-pc .ap-pc__media { aspect-ratio: 4 / 3 !important; } }

/* v31 — mobile app bar: one row [logo .. 🔍 ♡ ☰]; search drops down over the page */
body.ap-theme .ap-search-toggle { display: none; }
@media (max-width: 767.98px) {
    body.ap-theme .ap-navbar-inner { flex-wrap: nowrap !important; padding: 6px 14px !important; position: relative; }
    body.ap-theme .ap-search-toggle { display: inline-flex !important; align-items: center; justify-content: center; order: 2; border: 0; cursor: pointer; }
    body.ap-theme .ap-navbar-inner .ap-search {
        display: none !important; position: absolute; left: 0; right: 0; top: 100%; z-index: 1025;
        margin: 0 !important; border-radius: 0 0 16px 16px !important; height: 58px; padding: 8px 14px !important;
        background: #fff !important; border: 0 !important; border-top: 1px solid #edf1f7 !important;
        box-shadow: 0 14px 24px -14px rgba(15,37,87,.45);
    }
    body.ap-theme #header.is-search-open .ap-navbar-inner .ap-search { display: flex !important; animation: apSearchIn .18s ease-out; }
    body.ap-theme #header.is-search-open .ap-navbar-inner .ap-search input {
        background: #f1f5fb !important; border: 1px solid #e3eaf3; border-radius: 12px; height: 42px; padding: 0 14px; flex: 1;
    }
    body.ap-theme #header.is-search-open .ap-search-toggle { background: #0f2557 !important; color: #fff !important; }
    @keyframes apSearchIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* =====================================================================
   v32 — CART page (desktop + app-style mobile)
   ===================================================================== */
body.ap-theme .shopping-cart { margin-top: 18px; }
body.ap-theme .shopping-cart .left { padding: 0 !important; border: 0 !important; background: none !important; }
body.ap-theme .cart-section-title { font: 700 clamp(1.25rem, .95rem + 1.1vw, 1.625rem)/1.25 'Poppins', sans-serif !important; color: #0f2557; border: 0 !important; padding: 0 0 14px !important; margin: 0 0 4px !important; }

/* item = card: [image] [details] [qty] */
body.ap-theme .shopping-cart .item {
    display: grid !important; grid-template-columns: 96px minmax(0,1fr) auto; grid-template-areas: "img det qty"; gap: 16px; align-items: start;
    float: none !important; width: 100% !important; margin: 0 0 12px !important; padding: 14px !important;
    background: #fff; border: 1px solid #e3eaf3 !important; border-radius: 16px; box-shadow: 0 8px 20px -18px rgba(15,37,87,.5);
}
body.ap-theme .shopping-cart .item > * { display: block !important; float: none !important; width: auto !important; padding: 0 !important; }
body.ap-theme .shopping-cart .item .cart-item-image { grid-area: img; }
body.ap-theme .shopping-cart .item .cart-item-details { grid-area: det; min-width: 0; }
body.ap-theme .shopping-cart .item .cart-item-quantity { grid-area: qty; }
body.ap-theme .shopping-cart .item .img-cart-product {
    float: none !important; width: 96px !important; height: 96px !important; border-radius: 12px; overflow: hidden;
    background: #f1f6fd; display: flex; align-items: center; justify-content: center;
}
body.ap-theme .shopping-cart .item .img-cart-product img { width: 100% !important; height: 100% !important; max-width: 100% !important; object-fit: contain; padding: 6px; }
body.ap-theme .shopping-cart .item .list-item { margin: 0 0 4px !important; font-size: 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
body.ap-theme .shopping-cart .item .list-item > a { font: 600 15px/1.35 'Inter', sans-serif; color: #0f2557 !important; text-decoration: none; }
body.ap-theme .shopping-cart .item .list-item label { min-width: 0 !important; margin: 0; color: #6b7280; font-size: 13px; }
body.ap-theme .shopping-cart .item .list-item .lbl-price { color: #0f2557 !important; font: 700 15px/1.2 'Poppins', sans-serif; }
body.ap-theme .shopping-cart .item .list-item.m-t-15 { margin-top: 8px !important; }
body.ap-theme .shopping-cart .item .seller { font-size: 12.5px; color: #94a3b8; }
body.ap-theme .shopping-cart .item .seller a { color: #64748b !important; font-weight: 600; }
body.ap-theme .shopping-cart .btn-cart-remove {
    display: inline-flex !important; align-items: center; gap: 6px; margin-top: 8px !important; padding: 6px 14px !important;
    border: 1px solid #fbd5da !important; border-radius: 100px !important; background: #fff5f6 !important; color: #d92d3f !important;
    font-size: 13px !important; font-weight: 600;
}
/* quantity stepper */
body.ap-theme .shopping-cart .number-spinner { width: auto !important; margin: 0 !important; }
body.ap-theme .shopping-cart .number-spinner .input-group {
    display: inline-flex !important; flex-wrap: nowrap !important; width: auto !important;
    border: 1px solid #d6e2f3; border-radius: 12px; overflow: hidden; background: #fff;
}
body.ap-theme .shopping-cart .number-spinner .input-group-btn { display: flex !important; width: auto !important; }
body.ap-theme .shopping-cart .number-spinner .btn {
    width: 36px !important; height: 38px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: #eef5fd !important; color: #0f2557 !important; font-size: 18px !important; font-weight: 600; line-height: 1 !important;
}
body.ap-theme .shopping-cart .number-spinner .form-control {
    flex: 0 0 42px !important; width: 42px !important; min-width: 42px !important; max-width: 42px !important; height: 38px !important;
    padding: 0 !important; border: 0 !important; border-left: 1px solid #d6e2f3 !important; border-right: 1px solid #d6e2f3 !important;
    border-radius: 0 !important; box-shadow: none !important; font-weight: 700; font-size: 15px; color: #0f2557; text-align: center;
}
body.ap-theme .shopping-cart > .row > div > .btn-custom,
body.ap-theme .shopping-cart .left + .btn-custom {
    border-radius: 100px !important; background: #fff !important; color: #0f2557 !important; border: 1px solid #0f2557 !important;
    padding: 10px 20px !important; font-weight: 600;
}
/* summary card */
body.ap-theme .shopping-cart .right {
    background: #fff !important; border: 1px solid #e3eaf3 !important; border-radius: 18px !important; padding: 22px !important;
    box-shadow: 0 16px 34px -26px rgba(15,37,87,.55); position: sticky; top: 110px;
}
body.ap-theme .shopping-cart .right strong { font-size: 15px; color: #0f2557; }
body.ap-theme .shopping-cart .right .btn-block, body.ap-theme .shopping-cart .right .btn-custom {
    height: 50px; border-radius: 100px !important; background: linear-gradient(135deg,#1d4ed8,#0f2557) !important; border: 0 !important;
    color: #fff !important; font: 600 15px/50px 'Poppins', sans-serif !important; padding: 0 !important; box-shadow: 0 12px 24px -14px rgba(15,37,87,.9);
}
body.ap-theme .shopping-cart .right .form-control { border-radius: 12px !important; height: 44px; }

@media (max-width: 991.98px) {
    body.ap-theme .shopping-cart .right { position: static; margin-top: 16px; }
}
@media (max-width: 575.98px) {
    /* phone: [img][details]  then  qty stepper under details */
    body.ap-theme .shopping-cart .item {
        grid-template-columns: 76px minmax(0,1fr); grid-template-areas: "img det" "img qty"; gap: 8px 12px; padding: 12px !important;
    }
    body.ap-theme .shopping-cart .item .img-cart-product { width: 76px !important; height: 76px !important; }
    body.ap-theme .shopping-cart .item .list-item > a { font-size: 14px; }
    body.ap-theme .shopping-cart .item .list-item { margin-bottom: 2px !important; }
    body.ap-theme .shopping-cart .item .list-item label { font-size: 12px; }
    body.ap-theme .shopping-cart .item .list-item .lbl-price { font-size: 14px; }
    /* qty + remove on one line */
    body.ap-theme .shopping-cart .item { position: relative; }
    body.ap-theme .shopping-cart .item .cart-item-details { padding-bottom: 0 !important; }
    body.ap-theme .shopping-cart .btn-cart-remove {
        position: absolute; right: 12px; bottom: 12px; margin: 0 !important; padding: 0 !important; width: 38px; height: 38px;
        justify-content: center; font-size: 0 !important; border-radius: 12px !important;
    }
    body.ap-theme .shopping-cart .btn-cart-remove i, body.ap-theme .shopping-cart .btn-cart-remove::before { font-size: 16px; }
    body.ap-theme .shopping-cart .btn-cart-remove::before { content: "\2715"; font-size: 15px !important; }
    body.ap-theme .shopping-cart .btn-cart-remove i { display: none; }
    body.ap-theme .shopping-cart .right { padding: 18px !important; border-radius: 16px !important; }
}
body.ap-theme .shopping-cart .number-spinner { border: 0 !important; background: none !important; padding: 0 !important; box-shadow: none !important; display: inline-block !important; height: auto !important; }
body.ap-theme .shopping-cart .number-spinner .input-group { height: 40px; align-items: stretch; }
@media (max-width: 575.98px) {
    body.ap-theme .shopping-cart .btn-cart-remove { top: auto !important; bottom: 12px !important; right: 12px !important; left: auto !important; }
}
body.ap-theme .shopping-cart .item .img-cart-product a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
body.ap-theme .shopping-cart .item .img-cart-product img { position: static !important; transform: none !important; left: auto !important; top: auto !important; margin: 0 !important; }
body.ap-theme .shopping-cart .right .btn-custom:not(.btn-block) { height: 44px; padding: 0 18px !important; line-height: 44px !important; border-radius: 12px !important; width: auto !important; }
body.ap-theme .shopping-cart .item .img-cart-product { margin: 0 !important; }
