/* ==========================================================================
   Asoug AP — storefront design system (header, home sections, footer)
   Spec: html/Home (4).png (1920px artboard). Measurements below are taken
   from that file: 60px purple top bar, 100px white header, #efefef page,
   white bordered product cards with orange prices, purple footer.

   Classes are "ap-" prefixed. custom.css forces font-size/line-height on
   every h1-h6/p/li/a with !important, so every rule below that sizes one of
   those tags needs !important too (this file loads after it).
   ========================================================================== */

:root {
    --ap-purple: #3d0567;
    --ap-purple-dark: #2f0450;
    --ap-purple-badge: #5a0b8f;
    --ap-logo: #75418f; /* main colour of the site logo */
    --ap-logo-light: #e3cdf0; /* logo colour, light tint for text/icons on dark backgrounds */
    --ap-orange: #ff6a00;
    --ap-orange-dark: #e55d00;
    --ap-yellow: #ffb400;
    --ap-ink: #222;
    --ap-text: #333;
    --ap-muted: #8a8a8a;
    --ap-heading: #555;
    --ap-line: #e2e2e2;
    --ap-rule: #cfcfcf;
    --ap-page: #efefef;
    --ap-gutter: clamp(16px, 2.6vw, 50px);
    --ap-gap: clamp(12px, 1.05vw, 20px);
    --ap-font: 'Inter', 'Roboto', system-ui, sans-serif;
}

html[dir="rtl"] {
    --ap-font: 'Cairo', 'Inter', system-ui, sans-serif;
}

.ap-body {
    font-family: var(--ap-font);
    color: var(--ap-text);
    background: var(--ap-page);
}

.ap-body h1, .ap-body h2, .ap-body h3, .ap-body h4, .ap-body h5, .ap-body h6,
.ap-body p, .ap-body li, .ap-body a, .ap-body span, .ap-body strong, .ap-body button,
.ap-body input, .ap-body textarea, .ap-body select {
    font-family: var(--ap-font);
}

.ap-container {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
    padding-inline: var(--ap-gutter);
}
html[dir="rtl"] .ap-flip { transform: scaleX(-1); }

/* ---------- Top bar ---------- */
.ap-topbar {
    background: var(--ap-purple);
    color: #fff;
}

.ap-topbar .ap-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
}

.ap-topbar-start {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
    min-width: 0;
}

.ap-topbar-start > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ap-topbar a,
.ap-topbar button {
    color: #fff;
    background: none;
    border: 0;
    padding: 0;
    font-size: 15px !important;
    line-height: 1.4 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ap-topbar a:hover,
.ap-topbar button:hover { color: var(--ap-yellow); }

.ap-topbar-actions {
    display: flex;
    align-items: center;
}

.ap-topbar-actions > * {
    padding-inline: 22px !important;
    border-inline-start: 1px solid rgba(255, 255, 255, .45) !important;
}

.ap-topbar-actions > *:first-child { border-inline-start: 0 !important; }
.ap-topbar-actions > *:last-child { padding-inline-end: 0 !important; }

/* ---------- Header ---------- */
.ap-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.ap-header .ap-container {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 100px;
}

.ap-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.ap-logo img { max-height: 54px; width: auto; }

.ap-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 1.4vw, 28px);
    /* menu sits next to the logo; the search box takes the free space instead */
    margin-inline-start: clamp(12px, 2.5vw, 48px);
}

.ap-nav a {
    color: var(--ap-text);
    font-size: 17px !important;
    line-height: 1.4 !important;
    text-decoration: none;
    white-space: nowrap;
}

.ap-nav a:hover,
.ap-nav a.is-active { color: var(--ap-orange); }

.ap-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 250px;
    height: 44px;
    padding-inline: 16px;
    border: 1px solid #9a9a9a;
    border-radius: 22px;
    background: #fff;
}

/* search takes the free space, so logo + menu sit together at the start */
.ap-header .ap-search { margin-inline-start: auto; }
.ap-header .ap-search ~ .ap-nav-toggle { margin-inline-start: 16px; }

.ap-search i { color: #aaa; font-size: 17px; }

.ap-search input {
    border: 0;
    outline: 0;
    width: 100%;
    background: transparent;
    font-size: 16px;
    color: var(--ap-text);
}

.ap-cart-link {
    align-items: center;
    gap: 8px;
    padding-inline-start: 18px;
    border-inline-start: 1px solid #9a9a9a;
    color: var(--ap-orange) !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.ap-nav-toggle {
    margin-inline-start: auto;
    font-size: 32px;
    color: var(--ap-purple);
    cursor: pointer;
}

.ap-mobile-menu .offcanvas-body > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--ap-line);
    color: var(--ap-text);
    text-decoration: none;
    font-size: 16px !important;
}

.ap-mobile-menu .offcanvas-body > a i { color: var(--ap-purple); width: 20px; text-align: center; }
.ap-mobile-menu .ap-search { width: 100%; }

/* ---------- Shared blocks ---------- */
.ap-block { padding-top: clamp(36px, 3.6vw, 70px); }

.ap-head {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: clamp(20px, 2vw, 40px);
}

.ap-head h2 {
    margin: 0;
    color: var(--ap-heading);
    font-size: clamp(24px, 1.9vw, 36px) !important;
    line-height: 1.2 !important;
    font-weight: 600;
    white-space: nowrap;
}

.ap-head::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--ap-rule);
}

.ap-head--plain::after { display: none; }

.ap-panel {
    background: #fff;
    padding: 20px;
}

.ap-panel-title {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ap-rule);
    color: var(--ap-text);
    font-size: 17px !important;
    line-height: 1.4 !important;
    font-weight: 600;
}

.ap-stars {
    display: inline-flex;
    gap: 5px;
    color: #9d9d9d;
    font-size: 13px;
}

.ap-stars .is-on { color: var(--ap-yellow); }
html[dir="rtl"] .ap-stars .fa-star-half-stroke { transform: scaleX(-1); }

/* ---------- Mini product (New Arrival / Best Demand) ---------- */
.ap-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 7px 0;
    color: var(--ap-ink);
    text-decoration: none;
}

.ap-mini-img {
    width: 94px;
    height: 80px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid #c9c9c9;
    background: #fff;
    overflow: hidden;
}

.ap-mini-img img { width: 100%; height: 100%; object-fit: contain; }

.ap-mini-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.ap-mini-info strong {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ap-mini-price {
    color: var(--ap-orange);
    font-size: 17px;
    font-weight: 500;
}

.ap-mini:hover strong { color: var(--ap-orange); }

/* ---------- Hero promo ---------- */
.ap-hero { padding-top: 20px; }

.ap-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 286px;
    gap: 22px;
    align-items: stretch;
}

.ap-promo {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    background: #232323;
    isolation: isolate;
}

/* faint wheel texture on the dark side, like the artwork */
.ap-promo::before {
    content: "";
    position: absolute;
    inset-block: -20%;
    inset-inline-end: -12%;
    width: 60%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 38%, rgba(255, 255, 255, .04) 39% 55%, transparent 56% 64%, rgba(255, 255, 255, .03) 65% 70%, transparent 71%);
    z-index: -1;
}

.ap-promo-art {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #232323 0 23%, #ffb11a 23%, #f7a017 100%);
}

.ap-promo-top {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: clamp(20px, 2.2vw, 36px) clamp(20px, 3.5vw, 68px) 0;
    min-height: 23%;
}

.ap-promo-brand {
    color: #fff;
    font-size: clamp(30px, 3.6vw, 66px);
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.ap-promo-chevrons { display: inline-flex; gap: 6px; }

.ap-promo-chevrons i {
    width: clamp(14px, 1.3vw, 24px);
    height: clamp(32px, 3vw, 56px);
    background: var(--ap-yellow);
    transform: skewX(-28deg);
}

.ap-promo-chevrons i:first-child { background: #ff8a00; }
html[dir="rtl"] .ap-promo-chevrons i { transform: skewX(28deg); }

.ap-promo-img {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: block;
    object-fit: cover;
    object-position: 30% bottom;
}


.ap-promo-note {
    display: none;
    position: absolute;
    inset-inline: clamp(20px, 3.5vw, 68px);
    bottom: 14px;
    margin: 0;
    color: #2b2b2b;
    font-size: 12px !important;
    line-height: 1.5 !important;
    max-width: 640px;
}

.ap-promo-copy {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(24px, 2.4vw, 40px) clamp(16px, 2vw, 40px) 0;
    text-align: center;
}

.ap-promo-copy h1 {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ap-promo-title {
    color: #fff;
    font-size: clamp(28px, 2.9vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: clamp(10px, 1.1vw, 20px);
}

.ap-promo-line {
    color: var(--ap-yellow);
    font-size: clamp(22px, 2vw, 38px);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.ap-promo-line.is-small {
    font-size: clamp(18px, 1.7vw, 32px);
    font-weight: 600;
}

/* the diagonal orange band, bottom-right (the "160 $" area in the artwork) */
.ap-promo-strip {
    position: absolute;
    inset-inline-end: 0;
    bottom: 0;
    width: 40%;
    height: 30%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-inline-start: 12%;
    background: linear-gradient(115deg, #ffb11a, #f7a017);
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 44% 100%);
}

html[dir="rtl"] .ap-promo-strip { clip-path: polygon(0 0, 78% 0, 56% 100%, 0 100%); }

.ap-promo-cta {
    color: #1c1c1c !important;
    font-size: clamp(22px, 2.3vw, 44px) !important;
    line-height: 1 !important;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.ap-promo-link {
    color: #1c1c1c !important;
    font-size: 14px !important;
    font-weight: 600;
    text-decoration: underline !important;
    white-space: nowrap;
}

.ap-promo-cta:hover,
.ap-promo-link:hover { color: #fff !important; }

.ap-hero-side { padding-block: 18px 8px; }

/* ---------- Categories ---------- */
.ap-cats {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: var(--ap-gap);
}

.ap-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--ap-ink);
    text-decoration: none;
}

.ap-cat-img {
    width: min(100%, 154px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 44px;
    color: var(--ap-purple);
    transition: transform .2s, box-shadow .2s;
}

.ap-cat-img img { width: 100%; height: 100%; object-fit: cover; }

.ap-cat:hover .ap-cat-img { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(0, 0, 0, .12); }

.ap-cat-name {
    margin-top: 18px;
    font-size: clamp(15px, 1.05vw, 20px);
    font-weight: 500;
    line-height: 1.3;
}

.ap-cat:hover .ap-cat-name { color: var(--ap-orange); }

/* ---------- Product card ---------- */
.ap-products {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--ap-gap);
}

.ap-products--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.ap-product {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ap-line);
    transition: box-shadow .2s;
}

.ap-product:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .1); }

.ap-product-media {
    position: relative;
    display: block;
    aspect-ratio: 287 / 295;
    border-bottom: 1px solid var(--ap-line);
    background: #fff;
    overflow: hidden;
}

.ap-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s;
}

.ap-product:hover .ap-product-media img { transform: scale(1.04); }

.ap-product-badge {
    position: absolute;
    top: 14px;
    inset-inline-start: 15px;
    z-index: 1;
    padding: 4px 12px 4px 10px;
    background: var(--ap-purple-badge);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.ap-product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 15px 16px;
}

.ap-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--ap-muted);
    font-size: 14px;
}

.ap-product-title {
    margin: 12px 0 14px;
    color: var(--ap-text);
    font-size: clamp(14px, .9vw, 17px) !important;
    line-height: 1.55 !important;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.1em;
}

.ap-product-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ap-price {
    color: var(--ap-orange);
    font-size: clamp(16px, 1.1vw, 21px);
    font-weight: 700;
    white-space: nowrap;
}

.ap-old-price {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ap-muted);
    font-size: 12px;
    white-space: nowrap;
}

.ap-cart-btn {
    margin-inline-start: auto;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ap-logo);
    color: #fff !important;
    font-size: 17px !important;
    text-decoration: none;
    transition: background .2s;
}

.ap-cart-btn:hover { background: var(--ap-purple); }

/* ---------- Oil solution ---------- */
.ap-oil {
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    gap: var(--ap-gap);
    align-items: start;
}

.ap-oil-side { padding-block: 16px 8px; }

.ap-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 25px;
    margin-bottom: var(--ap-gap);
    background: #fff;
}

.ap-toolbar-filters,
.ap-toolbar-sort {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ap-toolbar-sort span { font-size: 16px; }

.ap-select {
    position: relative;
    margin: 0;
}

.ap-select select {
    appearance: none;
    height: 44px;
    min-width: 150px;
    padding-inline: 16px 42px;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: var(--ap-text);
    font-size: 16px;
    cursor: pointer;
    outline: 0;
}

.ap-select::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    position: absolute;
    inset-inline-end: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
}

.ap-select--gray select { background: #d3d3d3; border-color: #d3d3d3; }

/* ---------- Brands ---------- */
.ap-brands {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: clamp(10px, 1.55vw, 30px);
}

.ap-brand {
    display: grid;
    place-items: center;
    height: 60px;
    padding: 8px;
    background: #e4e4e4;
    text-align: center;
    transition: background .2s;
}

.ap-brand.is-white { background: #fff; }
.ap-brand:hover { background: #fff; }

.ap-brand img { max-height: 42px; max-width: 100%; object-fit: contain; }

.ap-brand span {
    color: var(--ap-purple);
    font-size: clamp(12px, .8vw, 15px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .3px;
    text-transform: uppercase;
}

/* ---------- Shop more ---------- */
.ap-more {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 160px;
    gap: var(--ap-gap);
}

.ap-more-feature,
.ap-more-item {
    background: #fff;
    color: var(--ap-ink);
    text-decoration: none;
    transition: box-shadow .2s;
}

.ap-more-feature:hover,
.ap-more-item:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .1); }

.ap-more-feature {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 4px 16px 14px;
}

.ap-more-feature img { flex: 1; min-height: 0; max-width: 100%; object-fit: contain; }

.ap-more-feature strong { font-size: 20px; font-weight: 500; }

.ap-more-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
}

.ap-more-img {
    width: 45%;
    height: 100%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
}

.ap-more-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.ap-more-price { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

.ap-more-price strong { font-size: clamp(16px, 1.1vw, 21px); font-weight: 500; white-space: nowrap; }

.ap-more-price del { color: var(--ap-text); font-size: 11px; }

/* Tablet / mobile: cards are too narrow for image + price side by side,
   so stack them (image on top, price centred below). */
@media (max-width: 991.98px) {
    .ap-more { grid-auto-rows: 190px; }
    .ap-more-feature strong { font-size: 18px; }
    .ap-more-item {
        flex-direction: column;
        justify-content: space-between;
        gap: 6px;
        padding: 12px 10px;
    }
    .ap-more-img { position: relative; width: 100%; height: auto; flex: 1; min-height: 0; }
    .ap-more-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
    .ap-more-price { align-items: center; gap: 2px; text-align: center; }
    .ap-more-price strong { font-size: 15px; }
}

/* ---------- Procurement (requirements form) ---------- */
.ap-block--procurement { padding-bottom: clamp(40px, 4vw, 80px); }

.ap-block--procurement .ap-container > .ap-split {
    background: #fff;
    padding: clamp(22px, 3vw, 50px);
}

.ap-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(24px, 4vw, 60px);
    align-items: start;
}

.ap-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--ap-orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ap-title {
    margin: 0 0 8px;
    color: var(--ap-ink);
    font-size: clamp(24px, 1.9vw, 36px) !important;
    line-height: 1.25 !important;
    font-weight: 700;
}

.ap-subtitle {
    margin: 0 0 16px;
    color: var(--ap-purple);
    font-size: 18px !important;
    line-height: 1.5 !important;
    font-weight: 600;
}

.ap-lead {
    margin: 0;
    color: #555;
    font-size: 16px !important;
    line-height: 1.75 !important;
}

.ap-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.ap-chip-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f1ebf7;
    color: var(--ap-purple);
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 600;
}

.ap-form-card {
    padding: clamp(20px, 2.4vw, 32px);
    border: 1px solid var(--ap-line);
    border-top: 4px solid var(--ap-orange);
    background: #fff;
}

.ap-form-card h3 {
    margin: 0 0 6px;
    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 700;
}

.ap-form-card > p {
    margin: 0 0 18px;
    color: #666;
    font-size: 14px !important;
}

.ap-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ap-field--full { grid-column: 1 / -1; }

.ap-field input,
.ap-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d5d5d5;
    background: #fafafa;
    font-size: 15px;
    outline: 0;
    transition: border-color .2s, background .2s;
}

.ap-field input:focus,
.ap-field textarea:focus { border-color: var(--ap-orange); background: #fff; }

.ap-field textarea { min-height: 120px; resize: vertical; }

.ap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 0;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s;
}

.ap-btn-orange { background: var(--ap-orange); color: #fff; }
.ap-btn-orange:hover { background: var(--ap-orange-dark); color: #fff; }

.ap-form-card .ap-btn { width: 100%; margin-top: 14px; }

/* ---------- Footer ---------- */
.ap-footer {
    color: rgba(255, 255, 255, .85);
    background:
        repeating-linear-gradient(120deg, rgba(255, 255, 255, .018) 0 140px, transparent 140px 280px),
        var(--ap-purple);
}

.ap-footer-inner {
    width: 100%;
    max-width: 1220px;
    margin-inline: auto;
    padding-inline: var(--ap-gutter);
}

.ap-footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-block: clamp(48px, 6vw, 110px) clamp(40px, 4.5vw, 90px);
}

.ap-footer h5 {
    display: inline-block;
    min-width: 165px;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600;
}

/* footer logo: the purple logo on a white rounded card */
.ap-footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px -16px rgba(0, 0, 0, .5);
    transition: transform .3s;
}
.ap-footer-logo:hover { transform: translateY(-2px); }
.ap-footer-logo img { display: block; max-height: 52px; width: auto; }

.ap-footer h6 {
    display: inline-block;
    min-width: 165px;
    margin: 26px 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 15px !important;
    font-weight: 600;
}

.ap-footer p {
    margin: 10px 0 0;
    font-size: 13px !important;
    line-height: 1.6 !important;
    max-width: 260px;
}

.ap-footer ul { margin: 0; padding: 0; list-style: none; }

.ap-footer li { margin-bottom: 12px; font-size: 13px !important; line-height: 1.5 !important; }

.ap-footer a {
    color: rgba(255, 255, 255, .85);
    font-size: 13px !important;
    text-decoration: none;
}

.ap-footer a:hover { color: var(--ap-orange); }

.ap-footer-contact b { font-weight: 600; color: #fff; }

.ap-socials { display: flex; gap: 12px; }

.ap-socials a {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid #fff;
    border-radius: 50%;
    color: #fff !important;
    font-size: 11px !important;
}

.ap-socials a:hover { background: var(--ap-orange); border-color: var(--ap-orange); }

.ap-socials a i { color: inherit !important; }

.ap-subscribe { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.ap-subscribe input {
    width: 100%;
    max-width: 270px;
    height: 40px;
    padding-inline: 10px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 14px;
    outline: 0;
}

.ap-subscribe input::placeholder { color: rgba(255, 255, 255, .8); }

.ap-subscribe button {
    padding: 9px 24px;
    border: 0;
    border-radius: 4px;
    background: var(--ap-orange);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.ap-subscribe button:hover { background: var(--ap-orange-dark); }

.ap-footer-bottom {
    background: rgba(0, 0, 0, .18);
    font-size: 15px;
}

.ap-footer-bottom .ap-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 78px;
    padding-block: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1599.98px) {
    .ap-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ap-products--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ap-brands { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .ap-more { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ap-search { width: 200px; }
}

@media (max-width: 1199.98px) {
    .ap-hero-grid { grid-template-columns: 1fr; }
    .ap-hero-side { display: none; }
    .ap-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 26px; }
    .ap-products,
    .ap-products--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ap-oil { grid-template-columns: 1fr; }
    .ap-oil-side { display: none; }
    .ap-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ap-split { grid-template-columns: 1fr; }
    .ap-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767.98px) {
    .ap-topbar-start { display: none; }
    .ap-topbar .ap-container { justify-content: flex-end; min-height: 44px; }
    .ap-topbar a, .ap-topbar button { font-size: 14px !important; }
    .ap-header .ap-container { min-height: 72px; }
    .ap-logo img { max-height: 42px; }

    .ap-promo { grid-template-columns: 1fr; min-height: 0; }
    .ap-promo-copy { order: -1; padding-bottom: 20px; }
    .ap-promo-art { background: linear-gradient(180deg, #232323 0 18%, #ffb11a 18%, #f7a017 100%); }
    .ap-promo-note { display: none; }
    .ap-promo-strip,
    html[dir="rtl"] .ap-promo-strip {
        position: static;
        width: auto;
        height: auto;
        padding: 18px;
        clip-path: none;
    }

    .ap-products,
    .ap-products--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ap-product-body { padding: 12px; }
    .ap-product-meta .ap-stars { display: none; }
    .ap-product-foot { flex-wrap: wrap; gap: 4px 8px; }
    .ap-cart-btn { width: 32px; height: 32px; }
    .ap-toolbar { padding: 14px; }
    .ap-select select { min-width: 0; }
    .ap-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ap-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ap-head h2 { white-space: normal; }
    .ap-form-grid { grid-template-columns: 1fr; }
    .ap-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 575.98px) {
    .ap-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ap-toolbar-filters { width: 100%; }
    .ap-toolbar-filters .ap-select { flex: 1; }
    .ap-toolbar-filters select { width: 100%; }
}

/* ---------- Product details (html/Details page (2).png) ---------- */
.ap-product-title a { color: inherit; text-decoration: none; font-size: inherit !important; line-height: inherit !important; }
.ap-product-title a:hover { color: var(--ap-orange); }

.ap-detail-top { padding-top: 40px; }

.ap-detail-layout {
    display: grid;
    grid-template-columns: 440px minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.ap-filter-side { padding: 30px; }

.ap-side-title {
    margin: 0 0 22px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ap-rule);
    color: #444;
    font-size: 21px !important;
    line-height: 1.3 !important;
    font-weight: 600;
}

.ap-side-title--short {
    display: inline-block;
    min-width: 220px;
    margin-top: 40px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    font-size: 18px !important;
    font-weight: 500;
}

.ap-side-cat summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    color: #555;
    font-size: 15px;
    cursor: pointer;
}

.ap-side-cat summary::-webkit-details-marker { display: none; }

.ap-side-cat summary::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    font-size: 11px;
    color: #999;
    transition: transform .2s;
}

.ap-side-cat[open] summary { color: var(--ap-orange); font-weight: 500; }
.ap-side-cat[open] summary::after { transform: rotate(180deg); }

.ap-side-cat ul {
    margin: 0 0 8px;
    padding-inline-start: 14px;
    list-style: none;
    border-inline-start: 2px solid #f1f1f1;
}

.ap-side-cat li { font-size: 14px !important; line-height: 1.5 !important; }

.ap-side-cat li a {
    display: block;
    padding: 4px 0;
    color: #777;
    font-size: 14px !important;
    text-decoration: none;
}

.ap-side-cat li a:hover { color: var(--ap-orange); }

.ap-view-more {
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: none;
    color: #555;
    font-size: 12px;
    text-decoration: underline;
}

.ap-radio-list { display: flex; flex-direction: column; gap: 12px; }

.ap-radio {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: #333;
    font-size: 15px;
    cursor: pointer;
}

.ap-radio input { width: 18px; height: 18px; accent-color: var(--ap-orange); }

.ap-detail-main { display: flex; flex-direction: column; min-width: 0; }

.ap-toolbar-label {
    margin-inline-end: 30px;
    color: #444;
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
}

.ap-detail-main .ap-select select { min-width: 120px; background-color: #e8e8e8; border-color: #e8e8e8; }

.ap-detail {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.26fr) minmax(0, 1fr);
    gap: 20px;
}

.ap-detail-media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 520px;
    padding: 30px;
    background: #fff;
}

.ap-detail-media img { width: min(100%, 560px); max-height: 580px; object-fit: contain; }

.ap-detail-info {
    padding: 30px 35px;
    background: #fff;
}

.ap-detail-info h1 {
    margin: 0 0 22px;
    color: #333;
    font-size: clamp(22px, 1.65vw, 32px) !important;
    line-height: 1.4 !important;
    font-weight: 600;
}

.ap-detail-desc {
    margin: 0 0 28px;
    color: #444;
    font-size: 14px !important;
    line-height: 1.85 !important;
}

.ap-detail-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.ap-detail-price strong { color: var(--ap-orange); font-size: clamp(24px, 1.7vw, 32px); font-weight: 700; }
.ap-detail-price del { color: #555; font-size: 16px; }

.ap-detail-facts { margin: 0; padding: 0; list-style: none; }

.ap-detail-facts li {
    margin-bottom: 12px;
    color: #444;
    font-size: 15px !important;
    line-height: 1.4 !important;
}

.ap-detail-facts b { color: #333; font-weight: 600; }

.ap-qty {
    display: inline-flex;
    margin-bottom: 36px;
    border: 1px solid #333;
}

.ap-qty button,
.ap-qty input {
    height: 38px;
    border: 0;
    background: #fff;
    color: #333;
    text-align: center;
    font-size: 15px;
}

.ap-qty button { width: 38px; cursor: pointer; }
.ap-qty button:hover { background: #f3f3f3; }

.ap-qty input {
    width: 60px;
    border-inline: 1px solid #333;
    outline: 0;
    -moz-appearance: textfield;
}

.ap-qty input::-webkit-outer-spin-button,
.ap-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ap-detail-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 250px));
    gap: 20px;
    margin-bottom: 30px;
}

.ap-buy-btn,
.ap-chat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 58px;
    padding-inline: 12px;
    border: 1px solid #0a1464;
    font-size: 15px !important;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, color .2s;
}

.ap-buy-btn { background: #0a1464; color: #fff !important; text-transform: uppercase; }
.ap-buy-btn:hover { background: var(--ap-orange); border-color: var(--ap-orange); }

.ap-chat-btn { background: #fff; color: #333 !important; }
.ap-chat-btn:hover { background: #0a1464; color: #fff !important; }

.ap-online-dot { width: 8px; height: 8px; border-radius: 50%; background: #1bb35b; }

.ap-detail-follow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.ap-detail-follow span { color: #333; font-size: 15px; font-weight: 600; }

.ap-detail-follow a {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid #333;
    border-radius: 50%;
    color: #333 !important;
    font-size: 11px !important;
}

.ap-detail-follow a i { color: inherit !important; }
.ap-detail-follow a:hover { background: var(--ap-orange); border-color: var(--ap-orange); color: #fff !important; }

@media (max-width: 1599.98px) {
    .ap-detail-layout { grid-template-columns: 320px minmax(0, 1fr); }
    .ap-toolbar-label { margin-inline-end: 6px; }
}

@media (max-width: 1199.98px) {
    .ap-detail-layout { grid-template-columns: 1fr; }
    .ap-filter-side { display: none; }
}

@media (max-width: 991.98px) {
    .ap-detail { grid-template-columns: 1fr; }
    .ap-detail-media { min-height: 0; }
    .ap-detail-media img { max-height: 380px; }
}

@media (max-width: 575.98px) {
    .ap-detail-top { padding-top: 20px; }
    .ap-toolbar-label { width: 100%; }
    .ap-toolbar-filters { flex-wrap: wrap; }
    .ap-detail-info { padding: 22px; }
    .ap-detail-actions { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ==========================================================================
   Motion & polish — softer surfaces, smooth transitions, scroll reveals.
   Reveal/fade classes are added by assets/web/asset/js/asoug.js only, so the
   page stays fully visible without JS; prefers-reduced-motion turns it off.
   ========================================================================== */
:root {
    --ap-ease: cubic-bezier(.22, .61, .36, 1);
    --ap-radius-sm: 8px;
    --ap-radius-lg: 14px;
    --ap-shadow-sm: 0 1px 2px rgba(20, 10, 40, .04), 0 2px 8px rgba(20, 10, 40, .04);
    --ap-shadow-lg: 0 18px 40px -12px rgba(40, 10, 80, .22), 0 4px 12px rgba(20, 10, 40, .06);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

.ap-body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.ap-body ::selection { background: var(--ap-orange); color: #fff; }

.ap-body a,
.ap-body button { transition: color .25s var(--ap-ease), background-color .25s var(--ap-ease), border-color .25s var(--ap-ease), box-shadow .3s var(--ap-ease), transform .3s var(--ap-ease); }

.ap-body :focus-visible {
    outline: 2px solid var(--ap-orange);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---- Softer surfaces ---- */
.ap-product,
.ap-panel,
.ap-toolbar,
.ap-more-feature,
.ap-more-item,
.ap-form-card,
.ap-detail-media,
.ap-detail-info,
.ap-block--procurement .ap-container > .ap-split {
    border-radius: var(--ap-radius-lg);
    box-shadow: var(--ap-shadow-sm);
}

.ap-product { overflow: hidden; border-color: #ebebeb; }
.ap-promo { border-radius: var(--ap-radius-lg); box-shadow: var(--ap-shadow-sm); }
.ap-brand { border-radius: var(--ap-radius-sm); }
.ap-mini-img { border-radius: var(--ap-radius-sm); border-color: #e3e3e3; }
.ap-select select { border-radius: var(--ap-radius-sm); }
.ap-field input,
.ap-field textarea { border-radius: var(--ap-radius-sm); }
.ap-btn,
.ap-buy-btn,
.ap-chat-btn,
.ap-subscribe button,
.ap-subscribe input { border-radius: var(--ap-radius-sm); }
.ap-qty { border-radius: var(--ap-radius-sm); overflow: hidden; }
.ap-product-badge { border-radius: 3px; }

/* ---- Header: slims down on scroll ---- */
/* Scrolled header: the bar keeps its height (so the page below never jumps);
   only the shadow, background and a transform-scaled logo change, which the
   browser animates without re-laying out the page. */
.ap-header { transition: box-shadow .5s var(--ap-ease), background-color .5s var(--ap-ease); }
.ap-logo img {
    transform-origin: left center;
    transition: transform .5s var(--ap-ease);
    will-change: transform;
}
html[dir="rtl"] .ap-logo img { transform-origin: right center; }

.ap-header.is-scrolled {
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 8px 28px -12px rgba(40, 10, 80, .2);
}

.ap-header.is-scrolled .ap-logo img { transform: scale(.84); }

@media (prefers-reduced-motion: reduce) {
    .ap-header, .ap-logo img { transition: none; }
}

.ap-nav a { position: relative; }

.ap-nav a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: var(--ap-orange);
    transform: scaleX(0);
    transition: transform .3s var(--ap-ease);
}

.ap-nav a:hover::after,
.ap-nav a.is-active::after { transform: scaleX(1); }

.ap-search { transition: border-color .25s var(--ap-ease), box-shadow .25s var(--ap-ease); }
.ap-search:focus-within { border-color: var(--ap-orange); box-shadow: 0 0 0 4px rgba(255, 106, 0, .12); }

/* ---- Hover depth ---- */
.ap-product { transition: transform .4s var(--ap-ease), box-shadow .4s var(--ap-ease), border-color .4s var(--ap-ease); }
.ap-product:hover { transform: translateY(-6px); box-shadow: var(--ap-shadow-lg); border-color: transparent; }
.ap-product-media img { transition: transform .6s var(--ap-ease), opacity .5s var(--ap-ease); }
.ap-product:hover .ap-product-media img { transform: scale(1.06); }

.ap-cart-btn { box-shadow: 0 6px 14px -4px rgba(117, 65, 143, .55); }
.ap-cart-btn:hover { transform: scale(1.1) rotate(-6deg); box-shadow: 0 8px 18px -4px rgba(61, 5, 103, .5); }

.ap-mini { border-radius: var(--ap-radius-sm); transition: background-color .3s var(--ap-ease), padding .3s var(--ap-ease); }
.ap-mini:hover { background: #faf7fd; padding-inline: 8px; }
.ap-mini-img img { transition: transform .5s var(--ap-ease), opacity .5s var(--ap-ease); }
.ap-mini:hover .ap-mini-img img { transform: scale(1.08); }

.ap-cat-img { transition: transform .45s var(--ap-ease), box-shadow .45s var(--ap-ease), border-color .45s var(--ap-ease); }
.ap-cat-img img { transition: transform .6s var(--ap-ease), opacity .5s var(--ap-ease); }
.ap-cat:hover .ap-cat-img { transform: translateY(-6px); border-color: var(--ap-orange); box-shadow: 0 16px 30px -10px rgba(255, 106, 0, .45); }
.ap-cat:hover .ap-cat-img img { transform: scale(1.08); }
.ap-cat-name { transition: color .25s var(--ap-ease); }

.ap-brand { transition: background-color .3s var(--ap-ease), transform .35s var(--ap-ease), box-shadow .35s var(--ap-ease); }
.ap-brand:hover { transform: translateY(-3px); box-shadow: var(--ap-shadow-sm); }

.ap-more-feature,
.ap-more-item { transition: transform .4s var(--ap-ease), box-shadow .4s var(--ap-ease); }
.ap-more-feature:hover,
.ap-more-item:hover { transform: translateY(-4px); box-shadow: var(--ap-shadow-lg); }
.ap-more img { transition: transform .6s var(--ap-ease), opacity .5s var(--ap-ease); }
.ap-more-feature:hover img,
.ap-more-item:hover img { transform: scale(1.06); }

.ap-buy-btn:hover,
.ap-btn-orange:hover,
.ap-subscribe button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(255, 106, 0, .6); }

.ap-promo-cta { display: inline-block; transition: transform .3s var(--ap-ease), color .25s var(--ap-ease); }
.ap-promo-cta:hover { transform: translateX(6px); }
html[dir="rtl"] .ap-promo-cta:hover { transform: translateX(-6px); }

/* ---- Hero entrance ---- */
@keyframes ap-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ap-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes ap-slide { from { opacity: 0; transform: translateX(-24px) skewX(-28deg); } to { opacity: 1; transform: skewX(-28deg); } }
@keyframes ap-slide-rtl { from { opacity: 0; transform: translateX(24px) skewX(28deg); } to { opacity: 1; transform: skewX(28deg); } }

.ap-js .ap-promo-img { animation: ap-settle 1.6s var(--ap-ease) both; }
.ap-js .ap-promo-brand { animation: ap-rise .8s var(--ap-ease) .1s both; }
.ap-js .ap-promo-chevrons i { animation: ap-slide .6s var(--ap-ease) both; }
html[dir="rtl"].ap-js .ap-promo-chevrons i { animation-name: ap-slide-rtl; }
.ap-js .ap-promo-chevrons i:nth-child(1) { animation-delay: .35s; }
.ap-js .ap-promo-chevrons i:nth-child(2) { animation-delay: .45s; }
.ap-js .ap-promo-chevrons i:nth-child(3) { animation-delay: .55s; }
.ap-js .ap-promo-copy h1 > * { animation: ap-rise .8s var(--ap-ease) both; }
.ap-js .ap-promo-copy h1 > *:nth-child(1) { animation-delay: .2s; }
.ap-js .ap-promo-copy h1 > *:nth-child(2) { animation-delay: .32s; }
.ap-js .ap-promo-copy h1 > *:nth-child(3) { animation-delay: .44s; }
.ap-js .ap-promo-copy h1 > *:nth-child(4) { animation-delay: .56s; }
.ap-js .ap-promo-strip { animation: ap-rise .8s var(--ap-ease) .6s both; }
.ap-js .ap-hero-side { animation: ap-rise .8s var(--ap-ease) .3s both; }

/* ---- Scroll reveal + image fade (opt-in via JS) ---- */
.ap-js .ap-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ap-ease) var(--ap-delay, 0ms), transform .7s var(--ap-ease) var(--ap-delay, 0ms), box-shadow .4s var(--ap-ease), border-color .4s var(--ap-ease);
}

.ap-js .ap-reveal.is-in { opacity: 1; transform: none; }

/* once revealed, the hover lift must win over the reveal transform */
.ap-js .ap-product.ap-reveal.is-in:hover { transform: translateY(-6px); transition-delay: 0ms; }
.ap-js .ap-more-feature.ap-reveal.is-in:hover,
.ap-js .ap-more-item.ap-reveal.is-in:hover { transform: translateY(-4px); transition-delay: 0ms; }
.ap-js .ap-brand.ap-reveal.is-in:hover { transform: translateY(-3px); transition-delay: 0ms; }

.ap-js img.ap-fade { opacity: 0; }
.ap-js img.ap-fade.is-loaded { opacity: 1; }

/* ---- Back to top ---- */
.ap-to-top {
    position: fixed;
    inset-inline-end: 24px;
    bottom: 24px;
    z-index: 1040;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--ap-orange);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 10px 24px -6px rgba(255, 106, 0, .6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .35s var(--ap-ease), transform .35s var(--ap-ease), visibility .35s, background-color .25s var(--ap-ease);
}

.ap-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.ap-to-top:hover { background: var(--ap-purple); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ap-body *,
    .ap-body *::before,
    .ap-body *::after {
        animation: none !important;
        transition: none !important;
    }
    .ap-js .ap-reveal,
    .ap-js img.ap-fade { opacity: 1; transform: none; }
}

/* price + old price wrap as a unit so the old price drops a line instead of truncating */
.ap-price-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 10px;
    row-gap: 2px;
    min-width: 0;
}

.ap-price-wrap .ap-old-price { overflow: visible; text-overflow: clip; }

/* ==========================================================================
   Cart & checkout (html/checkout page.png) — 1170px centred column.
   ========================================================================== */
.ap-cart-form { margin-inline-start: auto; flex-shrink: 0; }
.ap-cart-form .ap-cart-btn { border: 0; cursor: pointer; margin: 0; }

.ap-cart-btn.is-busy { opacity: .6; pointer-events: none; }
.ap-cart-btn.is-added { background: #1bb35b; }
.ap-cart-btn.is-added i::before { content: "\F26E"; } /* bi-check-lg */

.ap-buy-btn { cursor: pointer; font-family: var(--ap-font); width: 100%; }

/* header cart badge */
.ap-cart-link { position: relative; }

.ap-cart-count {
    min-width: 20px;
    height: 20px;
    padding-inline: 6px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--ap-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.ap-cart-count.is-empty { background: #d6d6d6; color: #555; }

@keyframes ap-bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
.ap-cart-count.is-bump { animation: ap-bump .45s var(--ap-ease, ease); }

.ap-cart-mini {
    position: relative;
    margin-inline-start: auto;
    color: var(--ap-purple);
    font-size: 26px;
    line-height: 1;
    text-decoration: none;
}

.ap-cart-mini .ap-cart-count {
    position: absolute;
    top: -6px;
    inset-inline-end: -10px;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
}

.ap-cart-mini + .ap-nav-toggle { margin-inline-start: 18px; }

/* mobile header cart (language and sign-in live in the top bar) */
.ap-header-icons {
    display: flex;
    align-items: center;
    margin-inline-start: auto;
}

.ap-header-icons .ap-cart-mini { margin-inline-start: 0; }

/* sized on the <i>: a global link font-size rule otherwise shrinks icons inside <a> */
.ap-header-icons i { font-size: 24px !important; line-height: 1 !important; }
.ap-cart-mini:hover { color: var(--ap-orange); }

.ap-header-icons + .ap-nav-toggle { margin-inline-start: 18px; }

/* page */
.ap-cart { padding-block: 32px clamp(48px, 5vw, 100px); }

.ap-cart-inner {
    width: 100%;
    max-width: 1220px;
    margin-inline: auto;
    padding-inline: var(--ap-gutter);
}

.ap-cart-title {
    display: grid;
    place-items: center;
    min-height: 75px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: var(--ap-radius-lg, 14px);
    box-shadow: var(--ap-shadow-sm, none);
}

.ap-cart-title h1 {
    margin: 0;
    color: #444;
    font-size: 25px !important;
    line-height: 1.3 !important;
    font-weight: 600;
}

.ap-cart-done {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px 24px;
    border: 1px solid #bfe8cf;
    border-radius: var(--ap-radius-lg, 14px);
    background: #f0fbf4;
}

.ap-cart-done > i { color: #1bb35b; font-size: 28px; }
.ap-cart-done h2 { margin: 0 0 4px; font-size: 18px !important; line-height: 1.4 !important; font-weight: 600; color: #1d6b3d; }
.ap-cart-done p { margin: 0; font-size: 14px !important; color: #2f5d41; }

/* table */
.ap-cart-head,
.ap-cart-row {
    display: grid;
    grid-template-columns: 98px 175px minmax(0, 1fr) 149px 149px;
    align-items: center;
}

.ap-cart-head {
    min-height: 54px;
    margin-bottom: 22px;
    border: 1px solid #cfcfcf;
    border-radius: var(--ap-radius-sm, 8px);
    background: #fff;
}

.ap-cart-head span {
    align-self: stretch;
    display: grid;
    place-items: center;
    color: #555;
    font-size: 16px;
    border-inline-start: 1px solid #cfcfcf;
}

.ap-cart-head span:first-child { border-inline-start: 0; }
.ap-cart-head span.is-start { justify-items: start; padding-inline: 16px; }

.ap-cart-row {
    min-height: 150px;
    margin-bottom: 10px;
    border: 1px solid #d9d9d9;
    border-radius: var(--ap-radius-sm, 8px);
    background: #fff;
    overflow: hidden;
    transition: box-shadow .3s var(--ap-ease, ease);
}

.ap-cart-row:hover { box-shadow: var(--ap-shadow-lg, 0 10px 24px rgba(0, 0, 0, .1)); }

.ap-cart-sno {
    align-self: stretch;
    display: grid;
    place-items: center;
    color: #222;
    font-size: 16px;
    font-weight: 500;
    border-inline-end: 1px solid #d9d9d9;
}

.ap-cart-img {
    align-self: stretch;
    display: grid;
    place-items: center;
    padding: 8px;
    border-inline-end: 1px solid #d9d9d9;
}

.ap-cart-img img { max-width: 100%; max-height: 132px; object-fit: contain; }

.ap-cart-desc { padding: 18px 20px; min-width: 0; }

.ap-cart-desc h3 {
    margin: 0 0 8px;
    font-size: 16px !important;
    line-height: 1.4 !important;
    font-weight: 600;
}

.ap-cart-desc h3 a { color: #333; text-decoration: none; font-size: inherit !important; }
.ap-cart-desc h3 a:hover { color: var(--ap-orange); }

.ap-cart-price {
    display: block;
    margin-bottom: 8px;
    color: #222;
    font-size: 21px;
    font-weight: 700;
}

.ap-cart-desc p {
    margin: 0 0 6px;
    color: #555;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.ap-cart-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: #b3261e;
    font-size: 13px;
    cursor: pointer;
}

.ap-cart-remove:hover { text-decoration: underline; }

.ap-cart-qty input,
.ap-cart-total {
    width: 100%;
    height: 38px;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #444;
    font-size: 16px;
    text-align: center;
}

.ap-cart-qty input { border-inline-end: 0; border-radius: 0; outline: 0; -moz-appearance: textfield; }
.ap-cart-qty input:focus { border-color: var(--ap-orange); }
.ap-cart-qty input::-webkit-outer-spin-button,
.ap-cart-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ap-cart-total { display: grid; place-items: center; white-space: nowrap; padding-inline: 4px; }

/* bottom: back / coupon / summary */
.ap-cart-bottom {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr) 457px;
    gap: 20px;
    align-items: start;
    margin-top: 4px;
}

.ap-cart-btn-purple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding-inline: 18px;
    border: 0;
    border-radius: var(--ap-radius-sm, 8px);
    background: var(--ap-purple-badge);
    color: #fff !important;
    font-size: 17px !important;
    line-height: 1 !important;
    text-decoration: none;
    white-space: nowrap;
    width: fit-content;
    transition: background-color .25s var(--ap-ease, ease), transform .3s var(--ap-ease, ease), box-shadow .3s var(--ap-ease, ease);
}

.ap-cart-btn-purple i { font-size: 20px; }
.ap-cart-btn-purple:hover { background: var(--ap-purple); transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(61, 5, 103, .55); }

.ap-coupon {
    display: flex;
    height: 54px;
    border: 1px solid #cfcfcf;
    border-radius: var(--ap-radius-sm, 8px);
    background: #fff;
    overflow: hidden;
}

.ap-coupon input {
    flex: 1;
    min-width: 0;
    padding-inline: 16px;
    border: 0;
    outline: 0;
    font-size: 16px;
    text-transform: uppercase;
}

.ap-coupon input::placeholder { text-transform: none; }

.ap-coupon button {
    padding-inline: 20px;
    border: 0;
    background: #f1f1f1;
    color: var(--ap-purple);
    font-weight: 600;
    cursor: pointer;
}

.ap-coupon button:hover { background: var(--ap-orange); color: #fff; }

.ap-cart-summary {
    padding: 22px 30px;
    border: 1px solid #d9d9d9;
    border-radius: var(--ap-radius-sm, 8px);
    background: #fff;
}

.ap-cart-summary dl { margin: 0; }

.ap-cart-summary dl > div {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    padding: 8px 0;
    color: #555;
    font-size: 20px;
    font-weight: 500;
}

.ap-cart-summary dt { font-weight: 500; }
.ap-cart-summary dd { margin: 0; min-width: 120px; text-align: end; }
.ap-cart-summary .is-discount { color: #1d8a4a; font-size: 17px; }

.ap-cart-summary .is-net {
    margin-top: 12px;
    padding-top: 22px;
    border-top: 1px solid #cfcfcf;
}

.ap-cart-proceed { display: flex; justify-content: flex-end; margin-top: 20px; }

/* checkout form */
.ap-checkout {
    margin-top: 40px;
    padding: clamp(22px, 3vw, 40px);
    border-top: 4px solid var(--ap-orange);
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
    scroll-margin-top: 120px;
}

.ap-checkout-head h2 { margin: 0 0 6px; font-size: 22px !important; line-height: 1.3 !important; font-weight: 700; color: #333; }
.ap-checkout-head p { margin: 0 0 20px; color: #666; font-size: 14px !important; }

.ap-checkout-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 18px;
}

.ap-checkout-foot span { color: #555; font-size: 17px; }
.ap-checkout-foot b { color: var(--ap-orange); font-size: 22px; }
.ap-checkout-foot .ap-btn { min-width: 220px; height: 52px; }

/* empty */
.ap-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 60px 20px;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    text-align: center;
}

.ap-cart-empty > i { color: #c9c9c9; font-size: 64px; }
.ap-cart-empty h2 { margin: 0; font-size: 22px !important; color: #444; }
.ap-cart-empty p { margin: 0 0 12px; color: #777; font-size: 15px !important; }

@media (max-width: 1199.98px) {
    .ap-cart-bottom { grid-template-columns: 1fr 1fr; }
    .ap-cart-summary { grid-column: 1 / -1; }
}

@media (max-width: 991.98px) {
    .ap-cart-head { display: none; }

    .ap-cart-row {
        grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "img desc desc"
            "img qty total";
        position: relative;
        min-height: 0;
    }

    .ap-cart-sno { display: none; }
    .ap-cart-img { grid-area: img; border-inline-end: 1px solid #d9d9d9; }
    .ap-cart-desc { grid-area: desc; padding: 14px 16px 8px; }
    .ap-cart-qty { grid-area: qty; padding: 0 0 14px 16px; }
    html[dir="rtl"] .ap-cart-qty { padding: 0 16px 14px 0; }
    .ap-cart-total { grid-area: total; width: auto; margin: 0 16px 14px 0; }
    html[dir="rtl"] .ap-cart-total { margin: 0 0 14px 16px; }
    .ap-cart-qty input { border-inline-end: 1px solid #cfcfcf; }
}

@media (max-width: 575.98px) {
    .ap-cart-bottom { grid-template-columns: 1fr; }
    .ap-cart-btn-purple { width: 100%; }
    .ap-cart-summary { padding: 16px 18px; }
    .ap-cart-summary dl > div { font-size: 16px; gap: 14px; }
    .ap-cart-summary dd { min-width: 0; }
    .ap-cart-row { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); }
    .ap-checkout-foot { justify-content: stretch; }
    .ap-checkout-foot .ap-btn { width: 100%; }
}

/* ==========================================================================
   Shop listing, content pages (about / services / policy / training / jobs)
   ========================================================================== */
.ap-shop-cats { margin: 0 0 8px; padding: 0; list-style: none; }

.ap-shop-cats a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    margin-inline: -12px;
    border-radius: var(--ap-radius-sm, 8px);
    color: #555;
    font-size: 15px !important;
    line-height: 1.4 !important;
    text-decoration: none;
}

.ap-shop-cats a small {
    min-width: 28px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f1f1f1;
    color: #777;
    font-size: 12px;
    text-align: center;
}

.ap-shop-cats a:hover { background: #faf7fd; color: var(--ap-orange); }
.ap-shop-cats a.is-active { background: #f4eefb; color: var(--ap-purple); font-weight: 600; }
.ap-shop-cats a.is-active small { background: var(--ap-purple); color: #fff; }

a.ap-radio { text-decoration: none; }

a.ap-radio i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 2px solid #9a9a9a;
    border-radius: 50%;
    transition: border-color .2s, box-shadow .2s;
}

a.ap-radio.is-checked i { border-color: var(--ap-orange); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 9px var(--ap-orange); }
a.ap-radio:hover span { color: var(--ap-orange); }

.ap-result-count {
    display: block;
    margin-top: 2px;
    color: var(--ap-muted);
    font-size: 13px;
    font-weight: 400;
}

.ap-shop-search { width: min(360px, 100%); height: 44px; }

.ap-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -6px 0 18px;
}

.ap-active-filters a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px 5px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #444;
    font-size: 13px !important;
    text-decoration: none;
}

.ap-active-filters a:hover { border-color: var(--ap-orange); color: var(--ap-orange); }
.ap-active-filters a.is-clear { border-color: transparent; background: none; color: var(--ap-orange); text-decoration: underline; }

.ap-products--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ap-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
}

.ap-pagination a,
.ap-pagination span {
    min-width: 42px;
    height: 42px;
    padding-inline: 10px;
    display: grid;
    place-items: center;
    border-radius: var(--ap-radius-sm, 8px);
    background: #fff;
    color: #444;
    font-size: 15px !important;
    text-decoration: none;
    box-shadow: var(--ap-shadow-sm, none);
}

.ap-pagination a:hover { color: var(--ap-orange); }
.ap-pagination .is-current { background: var(--ap-purple); color: #fff; font-weight: 600; }
.ap-pagination .is-disabled { opacity: .4; }

/* content pages */
.ap-page { padding-block: 40px clamp(48px, 5vw, 90px); }

.ap-page-inner {
    width: 100%;
    max-width: 1220px;
    margin-inline: auto;
    padding-inline: var(--ap-gutter);
}

.ap-page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    padding: clamp(28px, 4vw, 56px);
    border-radius: var(--ap-radius-lg, 14px);
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 180, 0, .35), transparent 45%),
        linear-gradient(120deg, #232323 0%, var(--ap-purple) 100%);
}

.ap-page-hero .ap-kicker { color: var(--ap-yellow); }

.ap-page-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(26px, 2.6vw, 42px) !important;
    line-height: 1.2 !important;
    font-weight: 800;
}

.ap-page-hero p {
    max-width: 860px;
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 16px !important;
    line-height: 1.75 !important;
}

.ap-page-hero .ap-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.ap-page-card {
    padding: clamp(22px, 3vw, 44px);
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
}

.ap-page-card + .ap-page-card,
.ap-page-grid + .ap-page-card,
.ap-page-card + .ap-page-grid { margin-top: 20px; }

.ap-page-card > h1,
.ap-page-card > h2 {
    margin: 0 0 16px;
    color: #333;
    font-size: clamp(22px, 1.8vw, 30px) !important;
    line-height: 1.3 !important;
    font-weight: 700;
}

.ap-prose,
.ap-prose p,
.ap-prose li {
    color: #555;
    font-size: 15.5px !important;
    line-height: 1.85 !important;
}

.ap-prose p { margin: 0 0 14px; }
.ap-prose ul { padding-inline-start: 20px; }

.ap-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.ap-info-card {
    padding: 26px;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
    transition: transform .35s var(--ap-ease, ease), box-shadow .35s var(--ap-ease, ease);
}

.ap-info-card:hover { transform: translateY(-4px); box-shadow: var(--ap-shadow-lg, none); }

.ap-info-card .ap-info-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 12px;
    background: #fff1e8;
    color: var(--ap-orange);
    font-size: 22px;
}

.ap-info-card h3 {
    margin: 0 0 8px;
    color: #333;
    font-size: 18px !important;
    line-height: 1.4 !important;
    font-weight: 700;
}

.ap-info-card p {
    margin: 0;
    color: #666;
    font-size: 14.5px !important;
    line-height: 1.75 !important;
}

.ap-check-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ap-check-list li {
    position: relative;
    padding-inline-start: 28px;
    color: #444;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

.ap-check-list li::before {
    content: "\F26E";
    font-family: "bootstrap-icons";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    color: var(--ap-orange);
    font-weight: 700;
}

@media (max-width: 1599.98px) {
    .ap-products--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1199.98px) {
    .ap-shop-side { display: block; }
    .ap-shop-side .ap-radio-list { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 767.98px) {
    .ap-products--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ap-shop-search { width: 100%; }
}

/* ==========================================================================
   Order page, My Orders, misc buttons
   ========================================================================== */
.ap-btn-ghost-light { border: 2px solid rgba(255, 255, 255, .6); color: #fff !important; background: transparent; }
.ap-btn-ghost-light:hover { background: #fff; color: var(--ap-purple) !important; }

.ap-info-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--ap-orange) !important;
    font-weight: 600;
    font-size: 14px !important;
    text-decoration: none;
}

.ap-info-link:hover { gap: 10px; }

.ap-cart-btn-outline { background: #fff; color: var(--ap-purple-badge) !important; border: 2px solid var(--ap-purple-badge); }
.ap-cart-btn-outline:hover { background: var(--ap-purple-badge); color: #fff !important; }

.ap-order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding: 24px 28px;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
}

.ap-order-head h1 { margin: 0; color: #333; font-size: 26px !important; line-height: 1.2 !important; font-weight: 700; letter-spacing: .5px; }
.ap-order-head p { margin: 4px 0 0; color: #777; font-size: 14px !important; }

.ap-order-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    background: #eee;
    color: #555;
}

.ap-order-status.is-pending { background: #fff4d6; color: #8a5a00; }
.ap-order-status.is-confirmed { background: #e3f2fd; color: #0d5c9e; }
.ap-order-status.is-processing { background: #ede4f8; color: var(--ap-purple); }
.ap-order-status.is-shipped { background: #e6e6e6; color: #333; }
.ap-order-status.is-delivered { background: #e3f7ea; color: #1d6b3d; }
.ap-order-status.is-cancelled { background: #fde8e8; color: #b3261e; }

.ap-order-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0 0 20px;
    padding: 26px 20px 18px;
    list-style: none;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
}

.ap-order-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.ap-order-steps li::before {
    content: "";
    position: absolute;
    top: 21px;
    inset-inline-end: 50%;
    width: 100%;
    height: 3px;
    background: #e5e5e5;
    z-index: 0;
}

.ap-order-steps li:first-child::before { display: none; }
.ap-order-steps li.is-done::before { background: var(--ap-orange); }

.ap-order-steps span {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f1f1f1;
    color: #999;
    font-size: 18px;
}

.ap-order-steps li.is-done span { background: var(--ap-orange); color: #fff; }
.ap-order-steps li.is-current span { box-shadow: 0 0 0 6px rgba(255, 106, 0, .18); }
.ap-order-steps small { color: #777; font-size: 13px; }
.ap-order-steps li.is-done small { color: #333; font-weight: 600; }

.ap-order-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.ap-order-grid aside { display: flex; flex-direction: column; gap: 20px; }
.ap-order-grid .ap-cart-summary dl > div { font-size: 17px; gap: 16px; }

.ap-order-items { display: flex; flex-direction: column; }

.ap-order-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.ap-order-item:last-child { border-bottom: 0; }

.ap-order-thumb {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid #eee;
    border-radius: var(--ap-radius-sm, 8px);
    overflow: hidden;
    background: #fff;
}

.ap-order-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ap-order-item strong { display: block; color: #333; font-size: 15px; font-weight: 600; }
.ap-order-item small { color: #777; font-size: 13px; }
.ap-order-item b { color: #222; font-size: 15px; white-space: nowrap; }

.ap-order-customer h2 { font-size: 18px !important; margin-bottom: 12px !important; }

.ap-order-customer p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 8px;
    color: #555;
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    word-break: break-word;
}

.ap-order-customer p i { color: var(--ap-orange); }

.ap-order-actions { grid-template-columns: auto auto 1fr; margin-top: 20px; }

/* My Orders */
.ap-orders-list { display: flex; flex-direction: column; gap: 10px; }

.ap-orders-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
    color: #333;
    text-decoration: none;
    transition: transform .3s var(--ap-ease, ease), box-shadow .3s var(--ap-ease, ease);
}

.ap-orders-row:hover { transform: translateY(-3px); box-shadow: var(--ap-shadow-lg, none); color: #333; }
.ap-orders-row strong { display: block; font-size: 16px; letter-spacing: .3px; }
.ap-orders-row small { color: #777; font-size: 13px; }
.ap-orders-row b { font-size: 16px; white-space: nowrap; }
.ap-orders-row > i { color: #bbb; }

@media (max-width: 991.98px) {
    .ap-order-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .ap-order-steps { padding-inline: 6px; }
    .ap-order-steps span { width: 36px; height: 36px; font-size: 15px; }
    .ap-order-steps li::before { top: 17px; }
    .ap-order-steps small { font-size: 11px; }
    .ap-order-actions { grid-template-columns: 1fr; }
    .ap-orders-row { grid-template-columns: minmax(0, 1fr) auto; }
    .ap-orders-row b { grid-column: 1; }
    .ap-orders-row > i { display: none; }
}

/* account dashboard stat cards */
.ap-stat-card { display: block; color: inherit; text-decoration: none; }
.ap-stat-card b { display: block; margin-bottom: 4px; color: #222; font-size: 30px; line-height: 1.1; font-weight: 800; }
.ap-stat-card h3 { margin: 0 !important; color: #666 !important; font-size: 15px !important; font-weight: 600; }
.ap-stat-card:hover h3 { color: var(--ap-orange) !important; }
.ap-page-grid + .ap-page-card { margin-top: 20px; }

/* ==========================================================================
   "For Businesses & Government" cards (home) + Submit Requirements page
   ========================================================================== */
.ap-biz {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 3vw, 56px);
    align-items: center;
    padding: clamp(24px, 3.4vw, 60px);
    border-radius: var(--ap-radius-lg, 14px);
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 106, 0, .08), transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(61, 5, 103, .08), transparent 45%),
        #fff;
    box-shadow: var(--ap-shadow-sm, none);
}

.ap-biz-intro .ap-lead { font-size: 15.5px !important; }

.ap-biz-modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
}

.ap-biz-modes li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--ap-radius-sm, 8px);
    background: #faf7fd;
    color: var(--ap-purple);
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 600;
}

.ap-biz-modes i { color: var(--ap-orange); font-size: 17px; }

.ap-biz-cta { min-height: 52px; padding-inline: 28px; }

.ap-biz-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ap-biz-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 150px;
    padding: 20px 18px 16px;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    color: var(--ap-ink);
    text-decoration: none;
    transition: transform .4s var(--ap-ease, ease), box-shadow .4s var(--ap-ease, ease), border-color .4s var(--ap-ease, ease);
}

.ap-biz-card::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ap-orange), var(--ap-yellow));
    transform: scaleX(0);
    transform-origin: inline-start;
    transition: transform .4s var(--ap-ease, ease);
}

.ap-biz-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--ap-shadow-lg, 0 14px 30px rgba(0, 0, 0, .12));
    color: var(--ap-ink);
}

.ap-biz-card:hover::after { transform: scaleX(1); }

.ap-biz-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f4eefb;
    color: var(--ap-purple);
    font-size: 20px;
    transition: background-color .35s var(--ap-ease, ease), color .35s var(--ap-ease, ease), transform .35s var(--ap-ease, ease);
}

.ap-biz-card:hover .ap-biz-icon { background: var(--ap-orange); color: #fff; transform: rotate(-6deg) scale(1.05); }

.ap-biz-card strong { font-size: 15.5px; font-weight: 700; line-height: 1.35; }

.ap-biz-card small {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ap-orange);
    font-size: 13px;
    font-weight: 600;
    opacity: .85;
    transition: gap .3s var(--ap-ease, ease), opacity .3s;
}

.ap-biz-card:hover small { gap: 10px; opacity: 1; }

/* requirements page */
.ap-req-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.ap-req-form { scroll-margin-top: 120px; border-radius: var(--ap-radius-lg, 14px); }
.ap-req-form > h2 { margin: 0 0 4px; font-size: 24px !important; line-height: 1.3 !important; font-weight: 700; color: #333; }
.ap-req-form > p { margin: 0 0 22px; color: var(--ap-purple); font-size: 15px !important; font-weight: 600; }

.ap-req-form .ap-field label,
.ap-req-types legend {
    display: block;
    margin-bottom: 6px;
    color: #444;
    font-size: 14px;
    font-weight: 600;
}

.ap-req { color: var(--ap-orange); }

.ap-req-form .ap-field select {
    width: 100%;
    height: 46px;
    padding-inline: 14px;
    border: 1px solid #d5d5d5;
    border-radius: var(--ap-radius-sm, 8px);
    background: #fafafa;
    font-size: 15px;
    outline: 0;
}

.ap-req-form .ap-field select:focus { border-color: var(--ap-orange); background: #fff; }
.ap-req-form .ap-field textarea { min-height: 160px; }

.ap-req-types { margin: 0 0 20px; padding: 0; border: 0; }

.ap-type-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.ap-type-option { position: relative; margin: 0; cursor: pointer; }

.ap-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ap-type-option span {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    border: 1.5px solid #e3e3e3;
    border-radius: var(--ap-radius-sm, 8px);
    background: #fff;
    color: #555;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    transition: border-color .25s, background-color .25s, color .25s, box-shadow .25s;
}

.ap-type-option span i { color: var(--ap-purple); font-size: 18px; transition: color .25s; }
.ap-type-option:hover span { border-color: var(--ap-orange); }
.ap-type-option input:checked + span { border-color: var(--ap-orange); background: #fff6ef; color: var(--ap-orange-dark, #e55d00); box-shadow: 0 0 0 3px rgba(255, 106, 0, .12); }
.ap-type-option input:checked + span i { color: var(--ap-orange); }
.ap-type-option input:focus-visible + span { outline: 2px solid var(--ap-orange); outline-offset: 2px; }

.ap-req-submit { width: 100%; min-height: 54px; margin-top: 18px; font-size: 17px !important; }

.ap-req-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.ap-req-side .ap-page-card h2 { font-size: 20px !important; }

.ap-req-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }

.ap-req-steps li {
    position: relative;
    display: flex;
    gap: 14px;
    padding-bottom: 20px;
}

.ap-req-steps li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 44px;
    bottom: 4px;
    inset-inline-start: 21px;
    width: 2px;
    background: repeating-linear-gradient(180deg, #ffd2b0 0 6px, transparent 6px 11px);
}

.ap-req-steps span {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff1e8;
    color: var(--ap-orange);
    font-size: 18px;
}

.ap-req-steps strong { display: block; color: #333; font-size: 15px; font-weight: 700; margin-top: 2px; }
.ap-req-steps small { display: block; color: #777; font-size: 13.5px; line-height: 1.55; }

.ap-req-note { display: flex; flex-direction: column; gap: 6px; background: linear-gradient(135deg, #2a0a47, var(--ap-purple)) !important; }
.ap-req-note > i { color: var(--ap-yellow); font-size: 28px; }
.ap-req-note p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 14.5px !important; line-height: 1.7 !important; }
.ap-req-note .ap-info-link { color: var(--ap-yellow) !important; }

@media (max-width: 1399.98px) {
    .ap-biz { grid-template-columns: 1fr; }
    .ap-type-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .ap-req-layout { grid-template-columns: 1fr; }
    .ap-req-side { position: static; }
    .ap-biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ap-type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .ap-biz-modes { grid-template-columns: 1fr; }
    .ap-biz-card { min-height: 0; }
    .ap-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* cart quantity stepper: [−][ n ][+] */
.ap-cart-stepper {
    display: flex;
    align-items: stretch;
    height: 38px;
    border: 1px solid #cfcfcf;
    border-inline-end: 0;
    background: #fff;
}

.ap-cart-stepper button {
    width: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: #f6f6f6;
    color: #444;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.ap-cart-stepper button:hover:not(:disabled) { background: var(--ap-orange); color: #fff; }
.ap-cart-stepper button:disabled { color: #c4c4c4; cursor: not-allowed; }
.ap-cart-stepper button:focus-visible { outline: 2px solid var(--ap-orange); outline-offset: -2px; }

.ap-cart-qty .ap-cart-stepper input {
    flex: 1;
    min-width: 0;
    width: auto;
    height: auto;
    border: 0;
    border-inline: 1px solid #e3e3e3;
    font-weight: 600;
}

#apCartUpdate.is-saving .ap-cart-row { opacity: .7; transition: opacity .2s; }

@media (max-width: 991.98px) {
    .ap-cart-stepper { border-inline-end: 1px solid #cfcfcf; }
}

/* ==========================================================================
   Checkout page (/checkout) — step after the cart
   ========================================================================== */
.ap-checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0 0 24px;
    padding: 18px;
    list-style: none;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
}

.ap-checkout-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #999;
    font-size: 15px;
    font-weight: 600;
}

.ap-checkout-steps li + li::before {
    content: "";
    width: clamp(30px, 8vw, 110px);
    height: 2px;
    margin-inline: 14px;
    background: #e3e3e3;
}

.ap-checkout-steps li.is-done + li::before { background: var(--ap-orange); }
.ap-checkout-steps a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }

.ap-checkout-steps span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f1f1f1;
    color: #999;
    font-size: 14px;
}

.ap-checkout-steps .is-done { color: #333; }
.ap-checkout-steps .is-done span { background: var(--ap-orange); color: #fff; }
.ap-checkout-steps .is-current { color: var(--ap-purple); }
.ap-checkout-steps .is-current span { background: var(--ap-purple); color: #fff; box-shadow: 0 0 0 5px rgba(61, 5, 103, .12); }

.ap-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.ap-checkout-layout .ap-checkout {
    margin-top: 0;
    padding: 0;
    border-top: 0;
    background: transparent;
    box-shadow: none;
}

.ap-checkout-block {
    margin-bottom: 18px;
    padding: clamp(20px, 2.4vw, 32px);
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
}

.ap-checkout-block h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    color: #333;
    font-size: 19px !important;
    line-height: 1.3 !important;
    font-weight: 700;
}

.ap-checkout-block h2 span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff1e8;
    color: var(--ap-orange);
    font-size: 14px;
}

.ap-checkout-block .ap-field label {
    display: block;
    margin-bottom: 6px;
    color: #444;
    font-size: 14px;
    font-weight: 600;
}

.ap-pay-note {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border: 1.5px solid var(--ap-orange);
    border-radius: var(--ap-radius-sm, 8px);
    background: #fff8f2;
}

.ap-pay-note > i { color: var(--ap-orange); font-size: 24px; }
.ap-pay-note strong { display: block; color: #333; font-size: 15px; margin-bottom: 2px; }
.ap-pay-note p { margin: 0; color: #666; font-size: 14px !important; line-height: 1.6 !important; }

.ap-checkout-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.ap-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555 !important;
    font-size: 15px !important;
    font-weight: 600;
    text-decoration: none;
}

.ap-back-link:hover { color: var(--ap-orange) !important; }

.ap-place-order { min-height: 56px; padding-inline: 32px; font-size: 17px !important; }
.ap-place-order.is-busy { opacity: .7; cursor: progress; }

.ap-checkout-summary {
    position: sticky;
    top: 110px;
    padding: 24px;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
}

.ap-summary-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ap-summary-head h2 { margin: 0; color: #333; font-size: 19px !important; line-height: 1.3 !important; font-weight: 700; }
.ap-summary-head a { color: var(--ap-orange) !important; font-size: 14px !important; font-weight: 600; }
.ap-summary-count { margin: 2px 0 14px; color: #888; font-size: 13px !important; }

.ap-summary-items {
    max-height: 340px;
    margin: 0 0 14px;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    border-block: 1px solid #eee;
}

.ap-summary-items li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.ap-summary-items li:last-child { border-bottom: 0; }
.ap-summary-items .ap-order-thumb { position: relative; width: 56px; height: 56px; overflow: visible; }
.ap-summary-items .ap-order-thumb img { border-radius: var(--ap-radius-sm, 8px); }

.ap-summary-items .ap-order-thumb em {
    position: absolute;
    top: -7px;
    inset-inline-end: -7px;
    min-width: 20px;
    height: 20px;
    padding-inline: 5px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--ap-purple);
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.ap-summary-name { min-width: 0; }
.ap-summary-name strong { display: block; overflow: hidden; color: #333; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ap-summary-name small { color: #888; font-size: 12.5px; }
.ap-summary-items b { color: #222; font-size: 14px; white-space: nowrap; }

.ap-summary-totals { margin: 0; }

.ap-summary-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    color: #555;
    font-size: 15px;
}

.ap-summary-totals dt { font-weight: 500; }
.ap-summary-totals dd { margin: 0; font-weight: 600; }
.ap-summary-totals .is-discount { color: #1d8a4a; }

.ap-summary-totals .is-net {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #e5e5e5;
    color: #222;
    font-size: 18px;
}

.ap-summary-totals .is-net dd { color: var(--ap-orange); font-weight: 800; }

@media (max-width: 991.98px) {
    .ap-checkout-layout { grid-template-columns: 1fr; }
    .ap-checkout-summary { position: static; order: -1; }
}

@media (max-width: 575.98px) {
    .ap-checkout-steps li { font-size: 12px; gap: 6px; }
    .ap-checkout-steps li + li::before { margin-inline: 6px; }
    .ap-checkout-steps span { width: 26px; height: 26px; font-size: 12px; }
    .ap-checkout-actions { flex-direction: column-reverse; align-items: stretch; }
    .ap-place-order { width: 100%; }
}

/* ==========================================================================
   Payment method choice (checkout) + payment card (order page)
   ========================================================================== */
.ap-pay-options { display: grid; gap: 12px; }

.ap-pay-option { position: relative; margin: 0; cursor: pointer; }
.ap-pay-option input { position: absolute; opacity: 0; pointer-events: none; }

.ap-pay-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1.5px solid #e1e1e1;
    border-radius: var(--ap-radius-sm, 8px);
    background: #fff;
    transition: border-color .25s, background-color .25s, box-shadow .25s;
}

.ap-pay-option:hover .ap-pay-card { border-color: #f3b98f; }

.ap-pay-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f4eefb;
    color: var(--ap-purple);
    font-size: 24px;
    transition: background-color .25s, color .25s;
}

.ap-pay-text strong { display: flex; align-items: center; gap: 8px; color: #333; font-size: 16px; font-weight: 700; }
.ap-pay-text small { display: block; margin-top: 3px; color: #777; font-size: 13.5px; line-height: 1.55; }

.ap-pay-brands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.ap-pay-brands b {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    background: #fafafa;
    color: #444;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
}

.ap-pay-check {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 2px solid #d0d0d0;
    border-radius: 50%;
    color: transparent;
    font-size: 14px;
    transition: all .25s;
}

.ap-pay-option input:checked + .ap-pay-card { border-color: var(--ap-orange); background: #fffaf6; box-shadow: 0 0 0 3px rgba(255, 106, 0, .12); }
.ap-pay-option input:checked + .ap-pay-card .ap-pay-icon { background: var(--ap-orange); color: #fff; }
.ap-pay-option input:checked + .ap-pay-card .ap-pay-check { border-color: var(--ap-orange); background: var(--ap-orange); color: #fff; }
.ap-pay-option input:focus-visible + .ap-pay-card { outline: 2px solid var(--ap-orange); outline-offset: 2px; }

.ap-pay-option.is-disabled { cursor: not-allowed; }
.ap-pay-option.is-disabled .ap-pay-card { opacity: .55; background: #f8f8f8; }

.ap-soon {
    padding: 2px 8px;
    border-radius: 999px;
    background: #ede4f8;
    color: var(--ap-purple);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.ap-pay-secure { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: #888; font-size: 13px !important; }
.ap-pay-secure i { color: #1d8a4a; }

/* order page payment card */
.ap-order-payment h2 { font-size: 18px !important; margin-bottom: 12px !important; }

.ap-pay-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 10px;
    color: #555;
    font-size: 14.5px !important;
}

.ap-pay-row i { color: var(--ap-orange); }
.ap-pay-row small { color: #999; font-size: 12.5px; }

.ap-pay-state { padding: 3px 10px; border-radius: 999px; background: #eee; font-size: 13px; font-weight: 700; }
.ap-pay-state.is-0 { background: #fff4d6; color: #8a5a00; }
.ap-pay-state.is-1 { background: #e3f7ea; color: #1d6b3d; }
.ap-pay-state.is-2 { background: #eef1f5; color: #4a5568; }
.ap-pay-state.is-3 { background: #fde8e8; color: #b3261e; }
.ap-order-payment.is-paid .ap-pay-row i.bi-check-circle-fill { color: #1bb35b; }

.ap-pay-now { width: 100%; margin-top: 6px; min-height: 50px; }

/* ==========================================================================
   Top Categories as cards
   ========================================================================== */
.ap-cats { gap: var(--ap-gap); }

.ap-cat {
    position: relative;
    padding: 22px 14px 18px;
    overflow: hidden;
    border: 1px solid #ebebeb;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
    transition: transform .4s var(--ap-ease, ease), box-shadow .4s var(--ap-ease, ease), border-color .4s var(--ap-ease, ease);
}

/* soft tinted backdrop behind the photo */
.ap-cat::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 46%;
    background: linear-gradient(180deg, #f6f1fc, rgba(246, 241, 252, 0));
    transition: opacity .4s var(--ap-ease, ease);
}

.ap-cat::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ap-orange), var(--ap-yellow));
    transform: scaleX(0);
    transition: transform .4s var(--ap-ease, ease);
}

.ap-cat > * { position: relative; }

.ap-cat .ap-cat-img {
    width: min(100%, 132px);
    border: 4px solid #fff;
    box-shadow: 0 8px 22px -8px rgba(40, 10, 80, .25);
}

.ap-cat-name { margin-top: 14px; font-size: clamp(14px, .95vw, 17px); font-weight: 600; }

.ap-cat-more {
    margin-top: auto;
    padding-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ap-orange);
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .3s var(--ap-ease, ease), transform .3s var(--ap-ease, ease), gap .3s var(--ap-ease, ease);
}

.ap-cat:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--ap-shadow-lg, 0 14px 30px rgba(0, 0, 0, .12));
}

.ap-cat:hover::after { transform: scaleX(1); }
.ap-cat:hover .ap-cat-img { transform: none; border-color: #fff; box-shadow: 0 12px 26px -8px rgba(255, 106, 0, .45); }
.ap-cat:hover .ap-cat-more { opacity: 1; transform: none; gap: 9px; }

/* the reveal + hover rules both set transform; hover wins once revealed */
.ap-js .ap-cat.ap-reveal.is-in:hover { transform: translateY(-6px); transition-delay: 0ms; }

@media (hover: none) {
    .ap-cat-more { opacity: 1; transform: none; }
}

@media (max-width: 575.98px) {
    .ap-cat { padding: 16px 10px 14px; }
    .ap-cat .ap-cat-img { width: min(100%, 104px); }
}

/* ==========================================================================
   Brand Shop as cards (partner types, or uploaded logos)
   ========================================================================== */
.ap-brand-cards { gap: var(--ap-gap); }

.ap-brand-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 150px;
    padding: 20px 12px 16px;
    overflow: hidden;
    border: 1px solid #ebebeb;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
    text-align: center;
    transition: transform .4s var(--ap-ease, ease), box-shadow .4s var(--ap-ease, ease), border-color .4s var(--ap-ease, ease);
}

.ap-brand-card::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ap-purple), var(--ap-orange));
    transform: scaleX(0);
    transition: transform .4s var(--ap-ease, ease);
}

.ap-brand-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #f4eefb;
    color: var(--ap-purple);
    font-size: 22px;
    transition: background-color .35s var(--ap-ease, ease), color .35s var(--ap-ease, ease), transform .35s var(--ap-ease, ease);
}

.ap-brand-card strong {
    color: #333;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
}

.ap-brand-card small {
    color: #999;
    font-size: 12px;
    font-weight: 500;
}

.ap-brand-logo {
    width: 100%;
    height: 70px;
    display: grid;
    place-items: center;
}

.ap-brand-logo img {
    max-width: 85%;
    max-height: 64px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .8;
    transition: filter .35s var(--ap-ease, ease), opacity .35s var(--ap-ease, ease);
}

.ap-brand-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--ap-shadow-lg, 0 14px 30px rgba(0, 0, 0, .12));
}

.ap-brand-card:hover::after { transform: scaleX(1); }
.ap-brand-card:hover .ap-brand-icon { background: var(--ap-orange); color: #fff; transform: rotate(-6deg) scale(1.05); }
.ap-brand-card:hover .ap-brand-logo img { filter: none; opacity: 1; }

.ap-js .ap-brand-card.ap-reveal.is-in:hover { transform: translateY(-5px); transition-delay: 0ms; }

@media (max-width: 575.98px) {
    .ap-brand-card { min-height: 130px; padding: 16px 10px 14px; }
    .ap-brand-icon { width: 46px; height: 46px; font-size: 19px; }
}

/* top bar cart link */
.ap-topbar-cart .ap-cart-count { margin-inline-start: 2px; }
.ap-topbar-cart .ap-cart-count.is-empty { background: rgba(255, 255, 255, .25); color: #fff; }

/* Top Categories: square photo instead of the round frame. The category photos
   were cut from circular artwork, so the image is zoomed to its inscribed
   square (1 / 0.707 ≈ 1.42) — no circle edge or grey corners show. */
.ap-cat { padding: 12px 12px 16px; }
.ap-cat::before { display: none; }

.ap-cat .ap-cat-img {
    width: 100%;
    aspect-ratio: 1;
    border: 0;
    border-radius: 0;
    background: #f7f7f7;
    box-shadow: none;
}

.ap-cat .ap-cat-img img { transform: scale(1.42); }

.ap-cat:hover .ap-cat-img { box-shadow: none; }
.ap-cat:hover .ap-cat-img img { transform: scale(1.52); }

.ap-cat-name { margin-top: 12px; }

/* ==========================================================================
   Customer account area (user.layouts.account)
   ========================================================================== */
.ap-account { padding-block: 32px clamp(48px, 5vw, 90px); }

.ap-account-inner {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: var(--ap-gutter);
}

.ap-account-nav {
    position: sticky;
    top: 110px;
    padding: 20px 14px;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
}

.ap-account-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 6px 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.ap-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ap-purple), #7a2bc2);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.ap-account-user div { min-width: 0; }
.ap-account-user strong { display: block; overflow: hidden; color: #333; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.ap-account-user small { display: block; overflow: hidden; color: #888; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }

.ap-account-nav nav { display: flex; flex-direction: column; gap: 2px; }

.ap-account-nav nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    color: #555 !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .25s, color .25s;
}

.ap-account-nav nav a i { width: 20px; color: #999; font-size: 17px; text-align: center; transition: color .25s; }
.ap-account-nav nav a em { margin-inline-start: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--ap-orange); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; text-align: center; }
.ap-account-nav nav a:hover { background: #faf7fd; color: var(--ap-purple) !important; }
.ap-account-nav nav a:hover i { color: var(--ap-purple); }
.ap-account-nav nav a.is-active { background: var(--ap-purple); color: #fff !important; }
.ap-account-nav nav a.is-active i { color: #fff; }
.ap-account-nav nav a.is-logout { margin-top: 8px; border-top: 1px solid #eee; border-radius: 0 0 10px 10px; padding-top: 14px; }
.ap-account-nav nav a.is-logout:hover { background: #fdf0f0; color: #b3261e !important; }
.ap-account-nav nav a.is-logout:hover i { color: #b3261e; }

.ap-account-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ap-account-body { display: flex; flex-direction: column; gap: 20px; }

.ap-account-title h1 { margin: 0; color: #333; font-size: 26px !important; line-height: 1.3 !important; font-weight: 700; }

/* legacy support pages: give bare tables/forms a card */
.ap-account-body > .table-responsive,
.ap-account-body > form:not(.ap-page-card),
.ap-account-body > .row,
.ap-account-body > .card {
    padding: 22px;
    border: 0;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
}

.ap-account-body .table { margin: 0; }
.ap-account-body .table th { color: #666; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }

/* welcome banner */
.ap-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: clamp(22px, 3vw, 36px);
    border-radius: var(--ap-radius-lg, 14px);
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 180, 0, .35), transparent 45%),
        linear-gradient(120deg, #232323 0%, var(--ap-purple) 100%);
}

.ap-welcome .ap-kicker { color: var(--ap-yellow); }
.ap-welcome h1 { margin: 0 0 6px; color: #fff; font-size: clamp(22px, 2vw, 30px) !important; line-height: 1.25 !important; font-weight: 800; }
.ap-welcome p { max-width: 560px; margin: 0; color: rgba(255, 255, 255, .82); font-size: 15px !important; line-height: 1.6 !important; }
.ap-welcome-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.ap-alert-pay {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1.5px solid #ffd2b0;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff8f2;
}

.ap-alert-pay > i { color: var(--ap-orange); font-size: 22px; }
.ap-alert-pay div { flex: 1; }
.ap-alert-pay strong { display: block; color: #333; font-size: 15px; }
.ap-alert-pay small { color: #777; font-size: 13px; }

/* stat tiles */
.ap-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ap-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
    color: #333;
    text-decoration: none;
    transition: transform .35s var(--ap-ease, ease), box-shadow .35s var(--ap-ease, ease);
}

.ap-stat:hover { transform: translateY(-3px); box-shadow: var(--ap-shadow-lg, none); color: #333; }

.ap-stat-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 21px;
}

.ap-stat.is-purple .ap-stat-icon { background: #f1eafa; color: var(--ap-purple); }
.ap-stat.is-orange .ap-stat-icon { background: #fff1e8; color: var(--ap-orange); }
.ap-stat.is-green .ap-stat-icon { background: #e6f7ec; color: #1d8a4a; }
.ap-stat.is-blue .ap-stat-icon { background: #e7f1fd; color: #1565c0; }

.ap-stat b { display: block; color: #222; font-size: 22px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.ap-stat small { color: #888; font-size: 13px; }

.ap-dash-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.ap-dash-side { display: flex; flex-direction: column; gap: 20px; }

.ap-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ap-card-head h2 { margin: 0 !important; font-size: 18px !important; }
.ap-card-head a { color: var(--ap-orange) !important; font-size: 14px !important; font-weight: 600; text-decoration: none; }

.ap-dash-grid .ap-orders-row { box-shadow: none; border: 1px solid #f0f0f0; }

.ap-empty-mini { padding: 20px 0 6px; text-align: center; }
.ap-empty-mini > i { color: #ccc; font-size: 40px; }
.ap-empty-mini p { margin: 6px 0; color: #777; font-size: 14px !important; }

.ap-req-list { margin: 0; padding: 0; list-style: none; }

.ap-req-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.ap-req-list li:last-child { border-bottom: 0; }
.ap-req-list a { min-width: 0; color: #333; text-decoration: none; }
.ap-req-list strong { display: block; font-size: 14px; }
.ap-req-list small { display: block; overflow: hidden; color: #888; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }

.ap-muted-text { margin: 0 0 8px; color: #777; font-size: 14px !important; line-height: 1.6 !important; }

.ap-account-info p { display: flex; align-items: center; gap: 10px; margin: 0 0 9px; color: #555; font-size: 14px !important; word-break: break-word; }
.ap-account-info p i { color: var(--ap-orange); }

.ap-products--dash { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* profile / password forms */
.ap-account-form .ap-field label { display: block; margin-bottom: 6px; color: #444; font-size: 14px; font-weight: 600; }
.ap-account-form > .ap-field + .ap-field { margin-top: 14px; }
.ap-account-form--narrow { max-width: 560px; }
.ap-hint { display: block; margin-top: 5px; color: #999; font-size: 12.5px; }
.ap-account-submit { margin-top: 22px; min-height: 50px; padding-inline: 28px; }

.ap-profile-top { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.ap-profile-top strong { display: block; color: #333; font-size: 18px; }
.ap-profile-top small { display: block; color: #888; font-size: 13.5px; }

.ap-photo {
    position: relative;
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 0 4px #f1eafa;
}

.ap-photo img { width: 100%; height: 100%; object-fit: cover; }
.ap-photo span { position: absolute; inset: auto 0 0; display: grid; place-items: center; height: 28px; background: rgba(0, 0, 0, .5); color: #fff; font-size: 13px; }
.ap-photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

@media (max-width: 1399.98px) {
    .ap-products--dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1199.98px) {
    .ap-dash-grid { grid-template-columns: 1fr; }
    .ap-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .ap-account-inner { grid-template-columns: 1fr; }
    .ap-account-nav { position: static; padding: 14px; }
    .ap-account-user { padding-bottom: 12px; }
    .ap-account-nav nav { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: thin; }
    .ap-account-nav nav a { flex-shrink: 0; padding: 9px 12px; white-space: nowrap; }
    .ap-account-nav nav a.is-logout { margin-top: 0; border-top: 0; border-radius: 10px; padding-top: 9px; }
}

@media (max-width: 575.98px) {
    .ap-stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ap-stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .ap-stat b { font-size: 18px; }
    .ap-alert-pay { flex-wrap: wrap; }
}

/* Sticky header fix: custom.css sets html, body { overflow-x: hidden !important }, which
   turns the body into a scroll container so position: sticky never sticks to the window.
   overflow-x: clip still blocks horizontal scroll but creates no scroll container.
   (Browsers without clip support ignore this line and keep the old behaviour.) */
html,
body {
    overflow-x: clip !important;
}

/* ==========================================================================
   Page header + breadcrumb (x-ap-page-header) and About page
   ========================================================================== */
/* Centred title with "Home // Page" underneath. Layers, bottom to top:
   dark purple, the tire photo in greyscale (::before) so it reads as texture
   in the brand colour, soft logo-purple glows (::after), then the text.
   The inset shadow at the top separates it from the purple menu bar above. */
.ap-page-header {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-block: clamp(64px, 7vw, 110px);
    color: #fff;
    text-align: center;
    background: #2a0447;
    box-shadow: inset 0 14px 22px -14px rgba(0, 0, 0, .55);
}

.ap-page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url('../../../images/asoug/hero/tires.jpg') center / cover no-repeat;
    filter: grayscale(1) contrast(1.15);
    opacity: .22;
    mix-blend-mode: luminosity;
}

.ap-page-header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 34% 90% at 12% 18%, rgba(117, 65, 143, .75), transparent 70%),
        radial-gradient(ellipse 30% 80% at 92% 100%, rgba(117, 65, 143, .6), transparent 70%),
        linear-gradient(180deg, rgba(42, 4, 71, .35), rgba(61, 5, 103, .55));
}

.ap-page-header-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1220px;
    margin-inline: auto;
    padding-inline: var(--ap-gutter);
}

.ap-page-header h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(30px, 3vw, 44px) !important;
    line-height: 1.15 !important;
    font-weight: 800;
}

.ap-breadcrumb ol {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ap-breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); font-size: 16px !important; line-height: 1.3 !important; font-weight: 500; }
.ap-breadcrumb li + li::before { content: "//"; color: rgba(255, 255, 255, .6); letter-spacing: -1px; }
.ap-breadcrumb a { color: #fff !important; font-size: 16px !important; text-decoration: none; transition: opacity .2s; }
.ap-breadcrumb a:hover { opacity: .75; }
.ap-breadcrumb li[aria-current] span { color: rgba(255, 255, 255, .85); }

/* about page */
.ap-about { display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 40px); margin-top: -34px; padding-bottom: clamp(48px, 5vw, 90px); position: relative; z-index: 2; }

.ap-about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(26px, 4vw, 64px);
    align-items: center;
    padding: clamp(24px, 3.4vw, 54px);
}

.ap-about-text h2 { margin: 0 0 16px; color: #222; font-size: clamp(24px, 2.2vw, 34px) !important; line-height: 1.25 !important; font-weight: 800; }
.ap-about-text p { margin: 0 0 14px; color: #555; font-size: 15.5px !important; line-height: 1.85 !important; }

.ap-about-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 20px 0 26px; padding: 0; list-style: none; }
.ap-about-points li { display: flex; align-items: flex-start; gap: 9px; color: #333; font-size: 14.5px !important; line-height: 1.5 !important; font-weight: 600; }
.ap-about-points i { color: var(--ap-orange); margin-top: 2px; }

.ap-about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.ap-about-visual { position: relative; padding: 26px 10px 34px; }

.ap-about-collage {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: 190px 190px 150px;
    gap: 14px;
}

.ap-about-collage span {
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(160deg, #fff, #f4f1f8);
    box-shadow: 0 14px 34px -14px rgba(40, 10, 80, .28);
}

.ap-about-collage span.is-tall { grid-row: span 2; }
.ap-about-collage span.is-wide { grid-column: span 2; }
.ap-about-collage img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .6s var(--ap-ease, ease); }
.ap-about-collage span:hover img { transform: scale(1.06); }

.ap-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px -14px rgba(40, 10, 80, .35);
    animation: ap-float 5s ease-in-out infinite;
}

.ap-float-card.is-top { top: 0; inset-inline-end: -6px; }
.ap-float-card.is-bottom { bottom: 0; inset-inline-start: -6px; animation-delay: -2.5s; }
.ap-float-card > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #fff1e8; color: var(--ap-orange); font-size: 18px; }
.ap-float-card.is-bottom > span { background: #f1eafa; color: var(--ap-purple); }
.ap-float-card strong { display: block; color: #222; font-size: 14px; }
.ap-float-card small { color: #888; font-size: 12px; }

@keyframes ap-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.ap-about-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.ap-fact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
}

.ap-fact > span { width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--ap-purple), #7a2bc2); color: #fff; font-size: 21px; }
.ap-fact b { display: block; color: #222; font-size: 20px; font-weight: 800; line-height: 1.2; }
.ap-fact small { color: #888; font-size: 13px; }

/* vision & mission */
.ap-vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.ap-vm-card {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 3vw, 42px);
    border: 1px solid rgba(61, 5, 103, .07);
    border-radius: 20px;
    background: linear-gradient(180deg, #faf6fd 0%, #fff 60%);
    box-shadow: 0 1px 2px rgba(20, 10, 40, .03), 0 14px 34px -20px rgba(61, 5, 103, .22);
    transition: transform .6s var(--ap-ease, ease), box-shadow .6s var(--ap-ease, ease), border-color .6s var(--ap-ease, ease);
}

.ap-vm-card.is-mission {
    border-color: rgba(255, 106, 0, .09);
    background: linear-gradient(180deg, #fff7f1 0%, #fff 60%);
}

/* soft accent line that fades out at both ends */
.ap-vm-card::before {
    content: "";
    position: absolute;
    inset: 0 12% auto;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, transparent, var(--ap-logo), transparent);
}
.ap-vm-card.is-mission::before { background: linear-gradient(90deg, transparent, var(--ap-orange), transparent); }

/* blurred glow instead of a hard-edged circle */
.ap-vm-card::after {
    content: "";
    position: absolute;
    inset-inline-end: -90px;
    bottom: -110px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(117, 65, 143, .14), transparent 70%);
    transition: transform .8s var(--ap-ease, ease);
    pointer-events: none;
}
.ap-vm-card.is-mission::after { background: radial-gradient(circle, rgba(255, 106, 0, .13), transparent 70%); }

.ap-vm-card:hover {
    transform: translateY(-4px);
    border-color: rgba(61, 5, 103, .12);
    box-shadow: 0 2px 4px rgba(20, 10, 40, .03), 0 24px 48px -22px rgba(61, 5, 103, .32);
}
.ap-vm-card.is-mission:hover { border-color: rgba(255, 106, 0, .16); box-shadow: 0 2px 4px rgba(20, 10, 40, .03), 0 24px 48px -22px rgba(255, 106, 0, .3); }
.ap-vm-card:hover::after { transform: scale(1.2); }

.ap-vm-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(145deg, #f4ecfb, #e9dcf5);
    color: var(--ap-logo);
    font-size: 26px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 18px -10px rgba(117, 65, 143, .45);
}
.ap-vm-card.is-vision .ap-kicker { color: var(--ap-logo); }
.ap-vm-card.is-mission .ap-vm-icon {
    background: linear-gradient(145deg, #fff3ea, #ffe4d1);
    color: var(--ap-orange);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 18px -10px rgba(255, 106, 0, .45);
}
.ap-vm-card h3 { position: relative; z-index: 1; margin: 0 0 12px; color: #222; font-size: clamp(19px, 1.5vw, 23px) !important; line-height: 1.35 !important; font-weight: 800; }
.ap-vm-card p { position: relative; z-index: 1; margin: 0; color: #555; font-size: 15px !important; line-height: 1.85 !important; }

/* sectors */
.ap-section-intro { max-width: 820px; margin-bottom: 22px; }
.ap-section-intro.is-center { margin-inline: auto; text-align: center; }
.ap-section-intro h2 { margin: 0 0 10px; color: #222; font-size: clamp(22px, 2vw, 30px) !important; line-height: 1.3 !important; font-weight: 800; }
.ap-section-intro p { margin: 0; color: #666; font-size: 15px !important; line-height: 1.75 !important; }

.ap-sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.ap-sector {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-height: 170px;
    padding: 22px 22px 20px;
    border: 1px solid rgba(61, 5, 103, .08);
    border-radius: 18px;
    background: linear-gradient(160deg, #fbf8fe 0%, #fff 55%);
    color: #222 !important;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(20, 10, 40, .03);
    transition: transform .5s var(--ap-ease, ease), box-shadow .5s var(--ap-ease, ease), border-color .5s var(--ap-ease, ease);
}

/* large faded icon as a watermark */
.ap-sector-bg {
    position: absolute;
    inset-inline-end: -10px;
    bottom: -14px;
    font-size: 96px !important;
    line-height: 1 !important;
    color: var(--ap-logo);
    opacity: .05;
    transition: opacity .5s var(--ap-ease, ease), transform .7s var(--ap-ease, ease);
    pointer-events: none;
}
html[dir="rtl"] .ap-sector-bg { transform: scaleX(-1); }

.ap-sector-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(145deg, #f4ecfb, #e9dcf5);
    color: var(--ap-logo);
    font-size: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 18px -10px rgba(117, 65, 143, .45);
    transition: background .5s var(--ap-ease, ease), color .5s var(--ap-ease, ease);
}

.ap-sector-title {
    position: relative;
    color: #222;
    font-size: 16.5px !important;
    line-height: 1.35 !important;
    font-weight: 700;
}

.ap-sector-cta {
    position: relative;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ap-logo);
    font-size: 13.5px !important;
    font-weight: 600;
}
.ap-sector-cta i { font-size: 14px; transition: transform .4s var(--ap-ease, ease); }

.ap-sector:hover {
    transform: translateY(-4px);
    border-color: rgba(117, 65, 143, .28);
    box-shadow: 0 22px 44px -24px rgba(61, 5, 103, .35);
}
.ap-sector:hover .ap-sector-icon { background: linear-gradient(145deg, var(--ap-logo), var(--ap-purple)); color: #fff; }
.ap-sector:hover .ap-sector-bg { opacity: .09; }
.ap-sector:hover .ap-sector-cta { color: var(--ap-purple); }
.ap-sector:hover .ap-sector-cta i { transform: translateX(4px); }
html[dir="rtl"] .ap-sector:hover .ap-sector-cta i { transform: translateX(-4px); }

@media (max-width: 991.98px) {
    .ap-sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* odd count: last card spans the row instead of leaving a gap */
    .ap-sector:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
    .ap-sector-grid { gap: 12px; }
    .ap-sector { min-height: 150px; padding: 18px 16px 16px; gap: 12px; }
    .ap-sector-icon { width: 46px; height: 46px; font-size: 18px; }
    .ap-sector-title { font-size: 15px !important; }
    .ap-sector-cta { font-size: 12.5px !important; }
}

/* objectives */
.ap-objective-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.ap-objective {
    position: relative;
    padding: 24px 22px 22px;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
    transition: transform .4s var(--ap-ease, ease), box-shadow .4s var(--ap-ease, ease);
}

.ap-objective:hover { transform: translateY(-5px); box-shadow: var(--ap-shadow-lg, none); }
.ap-objective-num { position: absolute; top: 16px; inset-inline-end: 18px; color: #eee5f6; font-size: 40px; font-weight: 900; line-height: 1; }
.ap-objective-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 13px; background: #fff1e8; color: var(--ap-orange); font-size: 21px; transition: background-color .3s, color .3s; }
.ap-objective:hover .ap-objective-icon { background: var(--ap-orange); color: #fff; }
.ap-objective p { position: relative; margin: 0; color: #444; font-size: 15px !important; line-height: 1.7 !important; font-weight: 500; }

/* About page objectives: icon tiles in the logo colour */
.ap-about-objectives .ap-objective-icon {
    background: var(--ap-logo);
    color: #fff;
    box-shadow: 0 8px 18px -10px rgba(117, 65, 143, .6);
}
.ap-about-objectives .ap-objective:hover .ap-objective-icon { background: var(--ap-purple); color: #fff; }

/* values */
.ap-value-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }

.ap-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px 12px;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
    text-align: center;
    transition: transform .35s var(--ap-ease, ease), box-shadow .35s var(--ap-ease, ease);
}

.ap-value > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #f1eafa; color: var(--ap-purple); font-size: 22px; transition: background-color .3s, color .3s; }
.ap-value strong { color: #333; font-size: 14.5px; line-height: 1.35; }
.ap-value:hover { transform: translateY(-4px); box-shadow: var(--ap-shadow-lg, none); }
.ap-value:hover > span { background: var(--ap-purple); color: #fff; }

/* cta */
.ap-about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: clamp(24px, 3.4vw, 48px);
    border-radius: var(--ap-radius-lg, 14px);
    color: #fff;
    background:
        radial-gradient(circle at 0% 100%, rgba(255, 106, 0, .4), transparent 40%),
        linear-gradient(120deg, #2a0a47, var(--ap-purple));
}

.ap-about-cta h2 { margin: 0 0 6px; color: #fff; font-size: clamp(22px, 2vw, 30px) !important; font-weight: 800; }
.ap-about-cta p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 15px !important; }
.ap-about-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1199.98px) {
    .ap-about-intro { grid-template-columns: 1fr; }
    .ap-about-visual { max-width: 560px; margin-inline: auto; width: 100%; }
    .ap-about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ap-value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .ap-vm, .ap-objective-grid { grid-template-columns: 1fr; }
    .ap-about-points { grid-template-columns: 1fr; }
    .ap-about-collage { grid-template-rows: 150px 150px 120px; }
    .ap-value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .ap-about-facts { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ap-fact { flex-direction: column; align-items: flex-start; padding: 16px; }
    .ap-float-card { padding: 9px 12px; }
    .ap-float-card small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ap-float-card { animation: none; }
}

/* hover lift must win over the scroll-reveal transform once revealed */
.ap-js .ap-vm-card.ap-reveal.is-in:hover,
.ap-js .ap-objective.ap-reveal.is-in:hover { transform: translateY(-5px); transition-delay: 0ms; }
.ap-js .ap-value.ap-reveal.is-in:hover { transform: translateY(-4px); transition-delay: 0ms; }
.ap-js .ap-sector.ap-reveal.is-in:hover { transform: translateY(-4px); transition-delay: 0ms; }

/* collage tiles: image fills the tile (percentage height did not resolve inside the grid cell) */
.ap-about-collage span { position: relative; display: block; }
.ap-about-collage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ap-about-collage span { background: #fff; border: 1px solid #f0edf5; }

/* Objectives: each card has its own accent colour (--obj, set inline) */
.ap-objective { --obj: var(--ap-orange); border-top: 3px solid transparent; }
.ap-objective-icon {
    background: color-mix(in srgb, var(--obj) 12%, #fff);
    color: var(--obj);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--obj) 18%, transparent);
}
.ap-objective-num { color: color-mix(in srgb, var(--obj) 14%, #fff); }
.ap-objective:hover { border-top-color: var(--obj); }
.ap-objective:hover .ap-objective-icon { background: var(--obj); color: #fff; box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--obj) 60%, transparent); }

/* ==========================================================================
   Our Services page
   ========================================================================== */
/* value-chain visual (intro, right side) */
.ap-chain {
    position: relative;
    padding: 30px 26px 26px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 180, 0, .28), transparent 45%),
        linear-gradient(150deg, #23182f 0%, var(--ap-purple) 100%);
    box-shadow: 0 24px 50px -22px rgba(40, 10, 80, .55);
}

.ap-chain-badge {
    position: absolute;
    top: -16px;
    inset-inline-end: 22px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--ap-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 22px -8px rgba(255, 106, 0, .7);
}

.ap-chain ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }

.ap-chain li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(4px);
    transition: background-color .3s, transform .3s var(--ap-ease, ease);
}

.ap-chain li:not(:last-child)::after {
    content: "";
    position: absolute;
    inset-inline-start: 39px;
    top: 100%;
    width: 2px;
    height: 14px;
    background: repeating-linear-gradient(180deg, var(--ap-yellow) 0 4px, transparent 4px 7px);
}

.ap-chain li:hover { background: rgba(255, 255, 255, .13); transform: translateX(4px); }
html[dir="rtl"] .ap-chain li:hover { transform: translateX(-4px); }

.ap-chain-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ap-yellow), var(--ap-orange));
    color: #fff;
    font-size: 20px;
}

.ap-chain-label { color: #fff; font-size: 16px; font-weight: 700; }
.ap-chain-label small { display: block; color: var(--ap-yellow); font-size: 11.5px; font-weight: 700; letter-spacing: 1px; }

.ap-js .ap-chain li { animation: ap-rise .7s var(--ap-ease, ease) both; animation-delay: var(--d, 0ms); }

/* service cards — reuse the objective icon/number styles via --obj */
.ap-svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.ap-svc-card {
    --obj: var(--ap-orange);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 24px 22px;
    border-top: 3px solid transparent;
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
    transition: transform .4s var(--ap-ease, ease), box-shadow .4s var(--ap-ease, ease), border-color .4s;
}

.ap-svc-card:hover { transform: translateY(-5px); border-top-color: var(--obj); box-shadow: var(--ap-shadow-lg, none); }
.ap-svc-card .ap-objective-icon { width: 54px; height: 54px; margin-bottom: 16px; border-radius: 15px; font-size: 23px; }
.ap-svc-card:hover .ap-objective-icon { background: var(--obj); color: #fff; box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--obj) 60%, transparent); }
.ap-svc-card h3 { position: relative; margin: 0 0 10px; color: #222; font-size: 17.5px !important; line-height: 1.35 !important; font-weight: 800; }
.ap-svc-card p { position: relative; margin: 0; color: #5d5d5d; font-size: 14.5px !important; line-height: 1.75 !important; }

.ap-svc-link {
    margin-top: auto;
    padding-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--obj) !important;
    font-size: 14px !important;
    font-weight: 700;
    text-decoration: none;
    transition: gap .3s;
}

.ap-svc-link:hover { gap: 11px; }

.ap-js .ap-svc-card.ap-reveal.is-in:hover { transform: translateY(-5px); transition-delay: 0ms; }

/* how it works */
.ap-how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 6px 0 0; padding: 0; list-style: none; }

.ap-how li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }

.ap-how li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    inset-inline-start: calc(50% + 46px);
    width: calc(100% - 92px + 20px);
    height: 2px;
    background: repeating-linear-gradient(90deg, #ffc699 0 7px, transparent 7px 13px);
}

.ap-how-icon {
    position: relative;
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin-bottom: 6px;
    border-radius: 50%;
    background: #fff1e8;
    color: var(--ap-orange);
    font-size: 27px;
    box-shadow: 0 0 0 7px #fff8f2;
}

.ap-how-icon em {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ap-purple);
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.ap-how strong { color: #222; font-size: 16px; font-weight: 800; }
.ap-how small { max-width: 240px; color: #6a6a6a; font-size: 14px; line-height: 1.6; }

/* why asougap */
.ap-why {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(24px, 3.4vw, 56px);
    align-items: center;
    padding: clamp(26px, 3.6vw, 56px);
    border-radius: var(--ap-radius-lg, 14px);
    color: #fff;
    background:
        radial-gradient(circle at 100% 100%, rgba(255, 106, 0, .3), transparent 42%),
        linear-gradient(130deg, #1d1a24 0%, var(--ap-purple) 100%);
}

.ap-why-head .ap-kicker { color: var(--ap-yellow); }
.ap-why-head h2 { margin: 0 0 12px; color: #fff; font-size: clamp(24px, 2.3vw, 34px) !important; line-height: 1.25 !important; font-weight: 800; }
.ap-why-head p { margin: 0 0 22px; color: rgba(255, 255, 255, .78); font-size: 15px !important; line-height: 1.7 !important; }

.ap-why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }

.ap-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .92);
    font-size: 14px !important;
    line-height: 1.55 !important;
    transition: background-color .3s, border-color .3s;
}

.ap-why-list li:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 180, 0, .5); }
.ap-why-list span { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 180, 0, .16); color: var(--ap-yellow); font-size: 16px; }

@media (max-width: 1199.98px) {
    .ap-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ap-why { grid-template-columns: 1fr; }
    .ap-chain { max-width: 560px; margin-inline: auto; width: 100%; }
}

@media (max-width: 991.98px) {
    .ap-how { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .ap-how li::after { display: none; }
}

@media (max-width: 575.98px) {
    .ap-svc-grid, .ap-why-list { grid-template-columns: 1fr; }
    .ap-how { grid-template-columns: 1fr; }
}

/* 10 service cards in a 3-column grid: first and last span two columns -> 4 full rows, no orphan */
.ap-svc-card:first-child,
.ap-svc-card:last-child { grid-column: span 2; }
.ap-svc-card:first-child p,
.ap-svc-card:last-child p { max-width: 640px; }
@media (max-width: 575.98px) {
    .ap-svc-card:first-child,
    .ap-svc-card:last-child { grid-column: auto; }
}

/* Contact page */
.ap-contact-channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }

.ap-channel {
    --obj: var(--ap-orange);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-top: 3px solid var(--obj);
    border-radius: var(--ap-radius-lg, 14px);
    background: #fff;
    box-shadow: var(--ap-shadow-sm, none);
    color: #222 !important;
    text-decoration: none;
    transition: transform .35s var(--ap-ease, ease), box-shadow .35s var(--ap-ease, ease);
}

a.ap-channel:hover { transform: translateY(-4px); box-shadow: var(--ap-shadow-lg, none); }
a.ap-channel:hover .ap-objective-icon { background: var(--obj); color: #fff; }
.ap-channel .ap-objective-icon { margin: 0; flex-shrink: 0; }
.ap-channel small { display: block; color: #888; font-size: 13px; }
.ap-channel strong { display: block; color: #222; font-size: 16px; font-weight: 700; word-break: break-word; }

.ap-contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ap-contact-form .ap-field textarea { min-height: 150px; }

.ap-help-links { display: flex; flex-direction: column; gap: 10px; }

.ap-help-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 12px;
    color: #333 !important;
    text-decoration: none;
    transition: border-color .3s, background-color .3s;
}

.ap-help-links a:hover { border-color: var(--ap-orange); background: #fffaf6; }
.ap-help-links span { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: #f1eafa; color: var(--ap-purple); font-size: 17px; transition: background-color .3s, color .3s; }
.ap-help-links a:hover span { background: var(--ap-orange); color: #fff; }
.ap-help-links strong { display: block; font-size: 14.5px; }
.ap-help-links small { display: block; color: #888; font-size: 12.5px; }

.ap-contact .ap-cart-done { margin-bottom: 0; }

@media (max-width: 991.98px) {
    .ap-contact-layout { grid-template-columns: 1fr; }
}

/* Full-width background band: the white runs edge to edge (container-fluid)
   while the content stays aligned with the page container. */
.ap-full-bleed {
    border-radius: 0;
    box-shadow: 0 0 0 100vmax #fff;
    clip-path: inset(0 -100vmax);
}

/* ==========================================================================
   About page: full-width bands (layout modelled on the client's reference)
   ========================================================================== */
.ab-page { --ab-tint: #f6f2fb; --ab-dark: #1c0638; --ab-line: #ece5f4; background: #fff; }

.ab-band { padding-block: clamp(48px, 6vw, 88px); background: #fff; }
.ab-band.is-tint { background: var(--ab-tint); }
.ab-band.is-dark { background: var(--ab-dark); color: #fff; }

.ab-wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: var(--ap-gutter); }

/* section titles: start-aligned with a rule underneath, or centred */
.ab-title {
    margin: 0 0 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ab-line);
    color: #222;
    font-size: clamp(24px, 2.2vw, 32px) !important;
    line-height: 1.3 !important;
    font-weight: 800;
}
.ab-title.is-center { padding-bottom: 0; border-bottom: 0; text-align: center; }
.ab-lead { max-width: 820px; margin: -14px 0 26px; color: #666; font-size: 15px !important; line-height: 1.75 !important; }

/* ---------- intro ---------- */
.ab-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(28px, 4.5vw, 72px);
    align-items: center;
}
.ab-kicker { display: block; margin-bottom: 8px; color: #333; font-size: 13px !important; font-weight: 700; letter-spacing: .02em; }
.ab-intro-title { margin: 0 0 10px; color: var(--ap-logo); font-size: clamp(28px, 3vw, 44px) !important; line-height: 1.2 !important; font-weight: 800; }
.ab-intro-sub { margin: 0 0 18px; color: #222; font-size: clamp(16px, 1.3vw, 19px) !important; line-height: 1.5 !important; font-weight: 700; }
.ab-intro-text p { margin: 0 0 14px; color: #555; font-size: 15px !important; line-height: 1.9 !important; }

.ab-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.ab-points li { display: flex; align-items: flex-start; gap: 8px; color: #333; font-size: 14px !important; line-height: 1.5 !important; font-weight: 600; }
.ab-points i { margin-top: 2px; color: var(--ap-logo); }

/* brand card: purple panel, ringed white circle with the logo, two corner shapes */
.ab-brand-card {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    aspect-ratio: 5 / 4;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ap-logo) 0%, var(--ap-purple) 100%);
    box-shadow: 0 30px 60px -30px rgba(61, 5, 103, .55);
}
.ab-brand-card::before {
    content: "";
    position: absolute;
    top: -22%;
    inset-inline-end: -14%;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #efe6dc;
}
.ab-brand-card::after {
    content: "";
    position: absolute;
    bottom: -9%;
    inset-inline-end: -5%;
    width: 22%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--ap-logo-light);
}
.ab-brand-ring {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 58%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 0 0 18px rgba(255, 255, 255, .07);
}
.ab-brand-logo {
    display: grid;
    place-items: center;
    width: 76%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45);
}
.ab-brand-logo img { width: 58%; height: auto; }

/* facts strip */
.ab-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 4vw, 52px); }
.ab-fact { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--ab-line); border-radius: 12px; background: #fff; }
.ab-fact > span { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--ap-logo); color: #fff; font-size: 19px; }
.ab-fact b { display: block; color: #222; font-size: 17px; font-weight: 800; line-height: 1.2; }
.ab-fact small { color: #777; font-size: 12.5px; }

/* ---------- vision & mission ---------- */
.ab-mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ab-mv-card {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 3vw, 40px);
    border-radius: 14px;
    color: #fff;
}
.ab-mv-card.is-vision { background: linear-gradient(135deg, #2a0b4f 0%, var(--ab-dark) 100%); }
.ab-mv-card.is-mission { background: linear-gradient(135deg, #8a52a8 0%, var(--ap-logo) 55%, #5d2d78 100%); }
.ab-mv-card::before {
    content: "";
    position: absolute;
    top: -70px;
    inset-inline-end: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}
.ab-mv-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #fff;
    color: var(--ap-logo);
    font-size: 22px;
}
.ab-mv-card.is-vision .ab-mv-icon { color: var(--ab-dark); }
.ab-mv-card h3 { position: relative; margin: 0 0 6px; color: #fff; font-size: clamp(22px, 1.9vw, 28px) !important; line-height: 1.3 !important; font-weight: 800; }
.ab-mv-card strong { position: relative; display: block; margin-bottom: 12px; color: var(--ap-logo-light); font-size: 15px; font-weight: 700; }
.ab-mv-card p { position: relative; margin: 0; color: rgba(255, 255, 255, .85); font-size: 15px !important; line-height: 1.85 !important; }

/* ---------- objectives ---------- */
.ab-obj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ab-obj {
    position: relative;
    padding: 22px 22px 26px;
    border: 1px solid var(--ab-line);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #faf7fd 100%);
    box-shadow: 0 10px 26px -20px rgba(61, 5, 103, .3);
    transition: transform .4s var(--ap-ease, ease), box-shadow .4s var(--ap-ease, ease);
}
.ab-obj::after {
    content: "";
    position: absolute;
    bottom: -1px;
    inset-inline-end: 22px;
    width: 46px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--ap-purple), var(--ap-logo));
}
.ab-obj:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(61, 5, 103, .4); }
.ab-obj-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ab-obj-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--ap-logo); color: #fff; font-size: 20px; }
.ab-obj-num { color: transparent; -webkit-text-stroke: 1.5px #d8c8ea; font-size: 38px; font-weight: 800; line-height: 1; }
.ab-obj p { margin: 0; color: #222; font-size: 15px !important; line-height: 1.7 !important; font-weight: 600; }

/* ---------- values ---------- */
.ab-value-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ab-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 24px 14px 22px;
    border: 1px solid var(--ab-line);
    border-bottom: 3px solid var(--ap-logo);
    border-radius: 10px;
    background: #fff;
    text-align: center;
    transition: transform .4s var(--ap-ease, ease), box-shadow .4s var(--ap-ease, ease);
}
.ab-value:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -24px rgba(61, 5, 103, .4); }
.ab-value > span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #f1e9f8; color: var(--ap-logo); font-size: 23px; transition: background .4s, color .4s; }
.ab-value:hover > span { background: var(--ap-logo); color: #fff; }
.ab-value strong { color: #222; font-size: 15px; font-weight: 700; line-height: 1.4; }

/* ---------- call to action ---------- */
.ab-cta { max-width: 820px; text-align: center; }
.ab-cta h2 { margin: 0; color: #fff; font-size: clamp(26px, 2.6vw, 38px) !important; line-height: 1.25 !important; font-weight: 800; }
.ab-cta-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px auto 22px; color: rgba(255, 255, 255, .85); font-size: 20px; }
.ab-cta-divider::before,
.ab-cta-divider::after { content: ""; width: 150px; height: 1px; background: rgba(255, 255, 255, .35); }
.ab-cta strong { display: block; margin-bottom: 10px; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.6; }
.ab-cta p { margin: 0 auto; color: rgba(255, 255, 255, .7); font-size: 15px !important; line-height: 1.8 !important; }
.ab-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.ab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 8px;
    font-size: 15px !important;
    font-weight: 700;
    text-decoration: none;
    transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.ab-btn.is-solid { background: var(--ap-logo); color: #fff !important; border: 1px solid var(--ap-logo); }
.ab-btn.is-solid:hover { background: var(--ap-purple); border-color: var(--ap-purple); transform: translateY(-2px); }
.ab-band.is-dark .ab-btn.is-solid:hover,
.ab-why-head .ab-btn.is-solid:hover { background: #fff; border-color: #fff; color: var(--ap-logo) !important; }
.ab-btn.is-outline { border: 1px solid rgba(255, 255, 255, .6); color: #fff !important; }
.ab-btn.is-outline:hover { background: #fff; color: var(--ab-dark) !important; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
    .ab-value-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .ab-intro { grid-template-columns: 1fr; }
    .ab-brand-card { max-width: 460px; width: 100%; margin-inline: auto; }
    .ab-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-mv { grid-template-columns: 1fr; }
    .ab-obj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .ab-points { grid-template-columns: 1fr; }
    .ab-facts { gap: 10px; }
    .ab-fact { padding: 12px; gap: 10px; }
    .ab-fact > span { width: 38px; height: 38px; font-size: 16px; }
    .ab-fact b { font-size: 15px; }
    .ab-obj-grid { grid-template-columns: 1fr; }
    .ab-value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .ab-cta-divider::before,
    .ab-cta-divider::after { width: 70px; }
}

/* ==========================================================================
   Services page: builds on the About page bands (ab-*)
   ========================================================================== */

/* short accent line + sparkle under a title */
.ab-accent { display: flex; align-items: center; gap: 8px; margin: 4px 0 18px; color: var(--ap-logo); font-size: 14px; }
.ab-accent::before { content: ""; width: 52px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--ap-logo), var(--ap-logo-light)); }

/* intro visual: brand card with orbit rings and floating icon tiles */
.ab-orbit-ring {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    aspect-ratio: 1;
    border: 1px dashed rgba(255, 255, 255, .22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.ab-orbit-ring.is-outer { width: 92%; }
.ab-orbit-ring.is-inner { width: 70%; }
.ab-orbit .ab-brand-ring { width: 42%; }

.ab-orbit-tile {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 13%;
    aspect-ratio: 1;
    border-radius: 14px;
    font-size: clamp(17px, 1.6vw, 24px);
    box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .55);
    animation: ab-bob 6s ease-in-out infinite alternate;
}
.ab-orbit-tile.is-white { background: #fff; color: var(--ap-logo); }
.ab-orbit-tile.is-tint { background: var(--ap-logo-light); color: var(--ap-purple); }
.ab-orbit-tile.is-dark { background: var(--ab-dark); color: var(--ap-logo-light); }
.ab-orbit-tile.is-1 { top: 9%; left: 43%; }
.ab-orbit-tile.is-2 { top: 26%; left: 12%; animation-delay: -1s; }
.ab-orbit-tile.is-3 { top: 26%; right: 12%; animation-delay: -2s; }
.ab-orbit-tile.is-4 { bottom: 9%; left: 43%; animation-delay: -3s; }
.ab-orbit-tile.is-5 { bottom: 24%; right: 13%; animation-delay: -4s; }
.ab-orbit-tile.is-6 { bottom: 24%; left: 13%; animation-delay: -5s; }

@keyframes ab-bob { from { transform: translateY(0); } to { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .ab-orbit-tile { animation: none; } }

/* services grid: objective-style cards with a title and a link */
.ab-svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.ab-svc { display: flex; flex-direction: column; }
.ab-svc h3 { margin: 0 0 8px; color: #222; font-size: 17px !important; line-height: 1.4 !important; font-weight: 800; }
.ab-svc p { color: #666; font-size: 14px !important; line-height: 1.75 !important; font-weight: 400; }
.ab-svc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--ap-logo) !important; font-size: 14px !important; font-weight: 700; text-decoration: none; }
.ab-svc-link:hover { color: var(--ap-purple) !important; }

/* how it works: four numbered steps */
.ab-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.ab-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 18px 24px;
    border: 1px solid var(--ab-line);
    border-bottom: 3px solid var(--ap-logo);
    border-radius: 12px;
    background: #fff;
    text-align: center;
}
.ab-step-icon { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 4px; border-radius: 50%; background: #f1e9f8; color: var(--ap-logo); font-size: 24px; }
.ab-step-icon em {
    position: absolute;
    top: -4px;
    inset-inline-end: -6px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--ap-logo);
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}
.ab-step strong { color: #222; font-size: 16px; font-weight: 800; }
.ab-step small { color: #666; font-size: 14px; line-height: 1.65; }

/* why: dark panel joined to a white checklist panel */
.ab-why {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 2fr);
    overflow: hidden;
    border: 1px solid var(--ab-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 44px -30px rgba(61, 5, 103, .35);
}
.ab-why-head { padding: clamp(28px, 3vw, 40px); background: var(--ab-dark); color: #fff; }
.ab-why-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--ap-logo); color: #fff; font-size: 24px; }
.ab-why-head h2 { margin: 0 0 10px; color: #fff; font-size: clamp(22px, 2vw, 30px) !important; line-height: 1.3 !important; font-weight: 800; }
.ab-why-head p { margin: 0 0 22px; color: rgba(255, 255, 255, .72); font-size: 14.5px !important; line-height: 1.7 !important; }
.ab-why-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 16px 26px;
    margin: 0;
    padding: clamp(24px, 3vw, 40px);
    list-style: none;
}
.ab-why-list li { display: flex; align-items: flex-start; gap: 10px; color: #333; font-size: 14.5px !important; line-height: 1.6 !important; font-weight: 600; }
.ab-why-list i { margin-top: 2px; color: var(--ap-logo); font-size: 17px; }

@media (max-width: 991.98px) {
    .ab-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-why { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .ab-svc-grid { grid-template-columns: 1fr; }
    .ab-steps { gap: 12px; }
    .ab-step { padding: 22px 12px 18px; }
    .ab-why-list { grid-template-columns: 1fr; }
    .ab-orbit-tile { border-radius: 10px; }
}

/* 3-column services grid: a lone last card spans the row instead of leaving a gap */
@media (min-width: 992px) {
    .ab-svc-grid > .ab-svc:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
    .ab-svc-grid > .ab-svc:last-child:nth-child(3n + 1) p { max-width: 760px; }
}

/* ==========================================================================
   Header v2 (layout modelled on the client's reference):
   white top row (logo · search · pills) + purple menu bar
   ========================================================================== */
.ap-hdr-top { position: relative; z-index: 1031; background: #fff; }
.ap-hdr-top .ap-container { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.ap-hdr-top .ap-logo img { max-height: 56px; }

/* search: wide input + purple button, centred between logo and pills */
.ap-hdr-search { flex: 1; align-items: stretch; gap: 8px; max-width: 620px; margin-inline: auto; }
.ap-hdr-search input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding-inline: 16px;
    border: 1px solid #dcd6e3;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 15px !important;
    outline: 0;
    transition: border-color .25s, box-shadow .25s;
}
.ap-hdr-search input::placeholder { color: #9a94a3; }
.ap-hdr-search input:focus { border-color: var(--ap-logo) !important; outline: 0 !important; box-shadow: 0 0 0 4px rgba(117, 65, 143, .12) !important; }
.ap-hdr-search button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding-inline: 22px;
    border: 0;
    border-radius: 6px;
    background: var(--ap-logo);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s;
}
.ap-hdr-search button:hover { background: var(--ap-purple); }

/* grey rounded pills: cart, language, account */
.ap-hdr-actions { display: flex; align-items: center; gap: 10px; }
.ap-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding-inline: 18px;
    border: 0;
    border-radius: 999px;
    background: #ebe7f0;
    color: #2b2433 !important;
    font-size: 14.5px !important;
    font-weight: 700;
    line-height: 1 !important;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .25s, color .25s;
}
.ap-pill > i { color: var(--ap-logo); font-size: 19px; line-height: 1; }
.ap-pill > .ap-pill-caret { color: #6d6577; font-size: 11px; }
.ap-pill:hover,
.ap-pill[aria-expanded="true"] { background: #e0d6ea; }
.ap-pill-cart { position: relative; padding-inline: 16px; }
.ap-pill-cart .ap-cart-count { background: var(--ap-logo); color: #fff; }
.ap-pill-cart .ap-cart-count.is-empty { background: #d3cbdc; color: #4a4253; }

.ap-hdr-menu { min-width: 200px; padding: 8px; border: 1px solid #ece5f4; border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(40, 10, 80, .35); }
.ap-hdr-menu .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: #2b2433; font-size: 14.5px; font-weight: 600; }
.ap-hdr-menu .dropdown-item i { color: var(--ap-logo); font-size: 16px; }
.ap-hdr-menu .dropdown-item:hover,
.ap-hdr-menu .dropdown-item:focus { background: #f3edf8; color: var(--ap-purple); }

.ap-hdr-top .ap-nav-toggle { margin-inline-start: 4px; font-size: 32px; color: var(--ap-purple); cursor: pointer; }

/* purple menu bar */
.ap-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--ap-purple);
    transition: box-shadow .4s var(--ap-ease, ease);
}
.ap-navbar.is-scrolled { box-shadow: 0 10px 26px -12px rgba(30, 0, 60, .55); }
.ap-navbar .ap-container { display: flex; align-items: stretch; justify-content: space-between; gap: 16px; min-height: 58px; }
.ap-navbar-menu { display: flex; align-items: stretch; }
.ap-navbar-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-inline: clamp(14px, 1.4vw, 22px);
    color: #fff !important;
    font-size: 15.5px !important;
    font-weight: 600;
    line-height: 1 !important;
    text-decoration: none;
    white-space: nowrap;
    transition: background .25s;
}
.ap-navbar-menu a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: var(--ap-logo-light);
    transform: scaleX(0);
    transition: transform .3s var(--ap-ease, ease);
}
.ap-navbar-menu a:hover { background: rgba(255, 255, 255, .06); }
.ap-navbar-menu a.is-active { background: rgba(255, 255, 255, .1); }
.ap-navbar-menu a.is-active::after,
.ap-navbar-menu a:hover::after { transform: scaleX(1); }
.ap-navbar-menu a i { font-size: 18px; }


/* below lg: the menu bar is hidden (offcanvas menu instead), so the white row sticks */
@media (max-width: 991.98px) {
    .ap-hdr-top { position: sticky; top: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); transition: box-shadow .4s var(--ap-ease, ease); }
    .ap-hdr-top.is-scrolled { box-shadow: 0 8px 24px -12px rgba(40, 10, 80, .25); }
    .ap-hdr-top .ap-container { min-height: 72px; gap: 12px; }
    .ap-hdr-top .ap-logo img { max-height: 44px; }
    .ap-hdr-actions { gap: 8px; margin-inline-start: auto; }

    /* round grey menu button, same family as the pills */
    .ap-pill-menu { width: 44px; height: 44px; padding: 0; justify-content: center; }
    .ap-pill-menu > i { color: #2b2433; font-size: 22px; }

    /* second row: full-width search with a square icon button */
    .ap-hdr-search-row { padding-bottom: 12px; }
    .ap-hdr-search.is-compact { display: flex; max-width: none; margin: 0; }
    .ap-hdr-search.is-compact input { height: 46px; font-size: 14.5px !important; }
    .ap-hdr-search.is-compact button { width: 50px; height: 46px; padding: 0; justify-content: center; font-size: 18px; }
}

/* phones: compact pills so logo + En/Ar + Sign In + menu fit one row */
@media (max-width: 575.98px) {
    .ap-hdr-top .ap-container { gap: 8px; min-height: 66px; }
    .ap-hdr-top .ap-logo img { max-height: 40px; }
    .ap-hdr-actions { gap: 6px; }
    .ap-pill { height: 40px; padding-inline: 12px; gap: 6px; font-size: 13.5px !important; }
    .ap-pill > i { font-size: 17px; }
    .ap-pill-lang > i,
    .ap-pill-account .ap-pill-caret { display: none; }
    .ap-pill-cart { padding-inline: 10px; }
    .ap-pill-menu { width: 40px; height: 40px; }
}

/* very narrow phones (under 340px): account pill shows the icon only */
@media (max-width: 339.98px) {
    .ap-pill-account > span { display: none; }
    .ap-pill-account { width: 40px; padding: 0; justify-content: center; }
}

/* Header search: live product suggestions (asoug.js) */
.ap-hdr-search { position: relative; }
.ap-suggest {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 0;
    z-index: 1045;
    display: none;
    max-height: min(440px, 70vh);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #ece5f4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 22px 48px -20px rgba(40, 10, 80, .35);
}
.ap-suggest.is-open { display: block; animation: ap-suggest-in .18s ease-out; }
@keyframes ap-suggest-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.ap-suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    color: #222 !important;
    text-decoration: none;
}
.ap-suggest-item:hover,
.ap-suggest-item.is-active { background: #f5f0fa; }
.ap-suggest-img { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; overflow: hidden; border: 1px solid #f0ebf5; border-radius: 8px; background: #fff; }
.ap-suggest-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ap-suggest-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
.ap-suggest-text strong { overflow: hidden; color: #222; font-size: 14px; font-weight: 600; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.ap-suggest-text small { color: #8a8392; font-size: 12px; }
.ap-suggest-price { flex-shrink: 0; color: var(--ap-logo); font-size: 13.5px; font-weight: 700; white-space: nowrap; }

.ap-suggest-all {
    display: block;
    margin-top: 6px;
    padding: 11px 10px;
    border-top: 1px solid #f0ebf5;
    color: var(--ap-logo) !important;
    font-size: 14px !important;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.ap-suggest-all:hover,
.ap-suggest-all.is-active { background: #f5f0fa; border-radius: 0 0 8px 8px; }

.ap-suggest-empty { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 10px; color: #8a8392; font-size: 14px; }
