/* =========================================================================
   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: 500px !important;
    height: 74px !important;
    max-width: 170px;
    margin: 0 0 18px;
    padding: 8px 14px;
    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 .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 .col-product {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

@media (max-width: 560px) {
    .row-product .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;
}
