@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Alexandria:wght@400;600;700&display=swap');

/* =====================================================================
   KIVO — books & education
   Ink navy, paper cream and a pencil-mustard highlighter; calm "page"
   motion. Sticky paper logo bar over a navy menu band, add-to-cart
   sidebar (layouts/cart-drawer + kivo.js) that leads to the cart page
   (VAT is shown there, then checkout).

    0. Tokens & base               10. Store features (sticky notes)
    1. Logo preloader (book)       11. Reviews (index cards)
    2. Section titles & links      12. FAQ (chapters)
    3. Store-notify ticker         13. List of items
    4. Header + navy menu          14. Footer (graph paper)
    5. Phone header & account      15. Product page
    6. Reveals                     16. Cart page
    7. Product cards + gallery     17. Cart sidebar
    8. Categories (book covers)    18. Responsive · reduced motion
    9. Brands (bookmarks)
   ===================================================================== */

/* ---------- 0. Tokens & base ---------- */
:root {
    --kivo-ink: #1f2a44;        /* navy ink: menu band, footer, text */
    --kivo-ink-2: #2c3a5c;
    --kivo-paper: #fbf8f1;      /* page */
    --kivo-cream: #f3ecdd;      /* soft surfaces */
    --kivo-line: #e8e0cf;
    --kivo-mustard: #e3a623;    /* pencil / highlighter accent */
    --kivo-mustard-d: #c78c0e;
    --kivo-mustard-l: #f7d774;
    --kivo-brick: #c4513a;      /* sale, margin lines */
    --kivo-teal: #2e7d72;
    --kivo-mute: #6f6a5f;
    --kivo-mist: #b0a99a;
    --kivo-text: #22252b;

    --kivo-r-sm: 8px;
    --kivo-r: 12px;
    --kivo-r-lg: 18px;
    --kivo-shadow: 0 16px 34px -24px rgba(31, 42, 68, .45);
    --kivo-shadow-lg: 0 30px 60px -32px rgba(31, 42, 68, .5);
    --kivo-ease: cubic-bezier(.22, .8, .25, 1);
    --kivo-turn: cubic-bezier(.6, .05, .3, 1);
    --kivo-bounce: cubic-bezier(.34, 1.4, .64, 1);
    --kivo-head: 'Amiri', 'IBM Plex Sans Arabic', Georgia, serif;
    --kivo-ui: 'IBM Plex Sans Arabic', 'Alexandria', system-ui, sans-serif;
    /* a highlighter stroke behind the lower half of the text */
    --kivo-hl: linear-gradient(transparent 58%, rgba(247, 215, 116, .85) 58% 92%, transparent 92%);
}
html body {
    background-color: var(--kivo-paper);
    color: var(--kivo-text);
    font-family: var(--kivo-ui);
}
body ::selection { background: var(--kivo-mustard-l); color: var(--kivo-ink); }
body .angel_anime.animate__fadeInUp,
body .angel_anime.animate__fadeIn { animation-name: none; }
html, body { overflow-x: clip; }
html.kivo-drawer-open { overflow: hidden; }
body :focus-visible { outline: 3px solid var(--kivo-mustard) !important; outline-offset: 2px; }

/* ---------- 1. Logo preloader: an open book — pages flip, a pencil line writes itself ---------- */
.kivo-preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 22px;
    background: radial-gradient(circle at 50% 40%, #fff 0, var(--kivo-paper) 45%, var(--kivo-cream) 100%);
    clip-path: polygon(0 0, 200% 0, 0 200%);
    transition: clip-path .85s var(--kivo-turn), visibility 0s linear .9s;
}
.kivo-preloader__logo {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 1px var(--kivo-line), 0 16px 36px -20px rgba(31, 42, 68, .5);
    animation: kivo-logo-in .8s var(--kivo-ease) both;
}
.kivo-preloader__logo img { max-width: 72px; max-height: 58px; object-fit: contain; }
.kivo-preloader__name { font-family: var(--kivo-head); font-weight: 700; font-size: 19px; color: var(--kivo-ink); text-align: center; padding: 8px; }
@keyframes kivo-logo-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.kivo-preloader__book { position: relative; width: 150px; height: 96px; perspective: 600px; }
.kivo-preloader__cover {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--kivo-ink);
    box-shadow: inset 0 0 0 4px var(--kivo-ink-2);
}
.kivo-preloader__cover--start { left: 0; border-radius: 8px 2px 2px 8px; }
.kivo-preloader__cover--end { right: 0; border-radius: 2px 8px 8px 2px; }
/* paper inside both covers */
.kivo-preloader__cover::after { content: ""; position: absolute; inset: 5px 4px 5px 4px; background: repeating-linear-gradient(transparent 0 11px, #e6dcc6 11px 12px), #fffdf7; }
.kivo-preloader__cover--start::after { border-radius: 5px 0 0 5px; }
.kivo-preloader__cover--end::after { border-radius: 0 5px 5px 0; }
.kivo-preloader__page {
    position: absolute;
    top: 5px;
    left: 50%;
    width: calc(50% - 4px);
    height: calc(100% - 10px);
    background: repeating-linear-gradient(transparent 0 11px, #ece3d0 11px 12px), #fff;
    border-radius: 0 5px 5px 0;
    transform-origin: 0 50%;
    box-shadow: 1px 0 2px rgba(31, 42, 68, .15);
    animation: kivo-flip 2.1s var(--kivo-turn) infinite;
    animation-delay: calc(var(--k) * .22s);
}
@keyframes kivo-flip { 0%, 15% { transform: rotateY(0); } 55%, 100% { transform: rotateY(-180deg); } }
html[dir="rtl"] .kivo-preloader__page { left: auto; right: 50%; border-radius: 5px 0 0 5px; transform-origin: 100% 50%; animation-name: kivo-flip-rtl; }
@keyframes kivo-flip-rtl { 0%, 15% { transform: rotateY(0); } 55%, 100% { transform: rotateY(180deg); } }
.kivo-preloader__line { display: block; width: 160px; height: 3px; border-radius: 3px; background: var(--kivo-mustard); transform-origin: 0 50%; animation: kivo-write 2.1s var(--kivo-ease) infinite; }
html[dir="rtl"] .kivo-preloader__line { transform-origin: 100% 50%; }
@keyframes kivo-write { 0% { transform: scaleX(0); opacity: 1; } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
/* done: the screen folds away into the top corner like a turned page */
.kivo-preloader.is-done { clip-path: polygon(0 0, 0 0, 0 0); visibility: hidden; pointer-events: none; }
html[dir="rtl"] .kivo-preloader { clip-path: polygon(100% 0, -100% 0, 100% 200%); }
html[dir="rtl"] .kivo-preloader.is-done { clip-path: polygon(100% 0, 100% 0, 100% 0); }

/* ---------- 2. Section titles & links ---------- */
body .s-block__title h2,
body .s-slider-block__title h2,
body .s-block__title .da-cp {
    position: relative;
    display: inline-block;
    width: auto !important;
    padding: 0 4px;
    font-family: var(--kivo-head) !important;
    font-weight: 700 !important;
    font-size: clamp(25px, 2.7vw, 35px) !important;
    line-height: 1.4 !important;
    color: var(--kivo-ink) !important;
    /* a highlighter stroke grows under the title when the section is hovered */
    background: var(--kivo-hl) no-repeat 100% 0 / 38% 100%;
    transition: background-size .7s var(--kivo-ease);
}
html[dir="ltr"] body .s-block__title h2,
html[dir="ltr"] body .s-slider-block__title h2,
html[dir="ltr"] body .s-block__title .da-cp { background-position: 0 0; }
body .s-block:hover .s-block__title h2,
body .s-block:hover .s-slider-block__title h2,
body .s-block:hover .s-block__title .da-cp { background-size: 100% 100%; }
body .s-block__title p,
body .s-block__title .da-ts { color: var(--kivo-mute) !important; }
body .s-block__title { margin-bottom: 22px !important; }
body .s-slider-block__title { align-items: center !important; margin-bottom: 22px; gap: 12px; }
body .s-slider-block__title-right { flex: 1 1 auto; min-width: 0; width: auto !important; }
body .s-slider-block__title-left { flex: none; display: flex !important; align-items: center; gap: 10px; }
body .s-slider-block__display-all {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    padding: 8px 16px !important;
    border-radius: 999px;
    background: transparent !important;
    border: 1.5px solid var(--kivo-ink) !important;
    color: var(--kivo-ink) !important;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background-color .25s ease, color .25s ease;
}
body .s-slider-block__display-all * { color: inherit !important; }
body .s-slider-block__display-all::after { content: "←"; transition: transform .3s var(--kivo-ease); }
html[dir="ltr"] body .s-slider-block__display-all::after { content: "→"; }
body .s-slider-block__display-all:hover { background: var(--kivo-ink) !important; color: #fff !important; }
body .s-slider-block__display-all:hover::after { transform: translateX(-4px); }
html[dir="ltr"] body .s-slider-block__display-all:hover::after { transform: translateX(4px); }
body .s-slider-block__title-nav { display: flex !important; gap: 6px; }
body .s-slider-nav-arrow {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid var(--kivo-line) !important;
    color: var(--kivo-ink) !important;
    display: grid !important;
    place-items: center;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
body .s-slider-nav-arrow svg { width: 22px; height: 22px; fill: currentColor; }
body .s-slider-nav-arrow:not(.swiper-button-disabled):hover { background: var(--kivo-ink) !important; color: #fff !important; border-color: var(--kivo-ink) !important; }
body .s-slider-nav-arrow.swiper-button-disabled { opacity: .3; }
body .s-block--fixed-banner .banner,
body .s-block--banners .banner { border-radius: var(--kivo-r-lg) !important; overflow: hidden; }
body .s-block--fixed-banner .banner img,
body .s-block--banners .banner img { transition: transform 1.2s var(--kivo-ease); }
body .s-block--fixed-banner .banner:hover img,
body .s-block--banners .banner:hover img { transform: scale(1.03); }

/* ---------- 3. Store-notify: a ticker, each ad in its own style ---------- */
body .store-notify { position: relative; z-index: 160; }
body .store-notify > .container {
    position: relative;
    overflow: hidden;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
body .store-notify h2 {
    flex: none !important;
    white-space: nowrap;
    padding-inline-start: 100%;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    animation: kivo-marquee-rtl 26s linear infinite;
    will-change: transform;
}
/* 1st ad: a pencil writes the message along */
body .store-notify h2::before { content: "✎"; display: inline-block; margin-inline-end: 12px; font-size: 15px; animation: kivo-pencil 1.2s ease-in-out infinite; }
@keyframes kivo-pencil { 0%, 100% { transform: rotate(0) translateY(0); } 50% { transform: rotate(-12deg) translateY(-2px); } }
html[dir="ltr"] body .store-notify h2 { animation-name: kivo-marquee-ltr; }
body .store-notify:hover h2 { animation-play-state: paused; }
body .store-notify h2 a { color: inherit !important; text-decoration: none; }
body .store-notify h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
@keyframes kivo-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes kivo-marquee-ltr { from { transform: translateX(0); } to { transform: translateX(-100%); } }
body .store-notify .ad-close {
    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 0 !important;
    background: rgba(0, 0, 0, .2);
    color: inherit;
    font-size: 10px;
    transition: background-color .2s ease;
}
body .store-notify .ad-close:hover { background: rgba(0, 0, 0, .4); }
/* 2nd ad: notebook ruled lines, scrolls the other way, a book instead of the pencil */
body .store-notify ~ .store-notify {
    z-index: 159;
    background-image: repeating-linear-gradient(transparent 0 9px, rgba(255, 255, 255, .16) 9px 10px) !important;
}
body .store-notify ~ .store-notify h2 { animation-direction: reverse; animation-duration: 32s; font-family: var(--kivo-head); font-size: 15px !important; }
body .store-notify ~ .store-notify h2::before { content: "📖"; animation: none; }
/* 3rd ad: centred and still, a highlighter sweeps across the message */
body .store-notify ~ .store-notify ~ .store-notify { z-index: 158; background-image: none !important; }
body .store-notify ~ .store-notify ~ .store-notify > .container { -webkit-mask-image: none; mask-image: none; }
body .store-notify ~ .store-notify ~ .store-notify h2 { animation: none; padding-inline-start: 0; flex: 1 !important; white-space: normal; text-align: center; }
body .store-notify ~ .store-notify ~ .store-notify h2::before { content: none; }
body .store-notify ~ .store-notify ~ .store-notify h2 a { background: linear-gradient(transparent 60%, rgba(255, 255, 255, .3) 60% 95%, transparent 95%) no-repeat 100% 0 / 0 100%; animation: kivo-mark 3.5s var(--kivo-ease) infinite; }
@keyframes kivo-mark { 0% { background-size: 0 100%; } 45%, 80% { background-size: 100% 100%; } 100% { background-size: 100% 100%; opacity: 1; } }

/* ---------- 4. Header: sticky paper logo bar + navy menu band ---------- */
/* only the logo bar sticks (the menu band can wrap to two rows): the header box dissolves and
   #mainnav becomes the sticky element. Solid background and no filter/transform on it — those
   would become the containing block of the phone account sheet (position: fixed) */
body header.store-header { display: contents !important; }
body header.store-header #mainnav {
    position: sticky !important;
    top: 0;
    z-index: 150;
    background: #fffdf8;
    box-shadow: none !important;
    transition: box-shadow .3s ease;
}
html.kivo-scrolled body header.store-header #mainnav { box-shadow: 0 12px 28px -20px rgba(31, 42, 68, .55) !important; }
body header.store-header #mainnav > .inner { background: transparent !important; }
body header.store-header #mainnav .container > .flex { min-height: 0 !important; padding: 8px 0; transition: padding .3s ease; }
html.kivo-scrolled body header.store-header #mainnav .container > .flex { padding: 3px 0; }
body header.store-header .navbar-brand { padding: 4px !important; display: inline-flex; }
body header.store-header .navbar-brand img {
    max-height: 62px;
    min-height: 38px;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    transition: max-height .3s ease;
}
html.kivo-scrolled body header.store-header .navbar-brand img { max-height: 46px; }
@media (min-width: 768px) {
    body header.store-header #mainnav .container > .flex > div:last-child { gap: 10px; }
}

/* round outlined buttons: account, cart, search, burger (hover only changes colour) */
body header.store-header #customerLogin,
body header.store-header .s-cart-summary-wrapper,
body header.store-header .search-btn,
body header.store-header .mburger,
body header.store-header .s-user-menu-trigger-slot {
    position: relative;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: inline-grid !important;
    place-items: center;
    padding: 0 !important;
    background: #fff !important;
    border: 1.5px solid var(--kivo-line) !important;
    color: var(--kivo-ink) !important;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
body header.store-header .s-cart-summary-wrapper { width: auto !important; min-width: 44px; padding: 0 6px 0 16px !important; border-radius: 999px !important; display: inline-flex !important; gap: 8px; align-items: center; background: var(--kivo-ink) !important; border-color: var(--kivo-ink) !important; }
html[dir="ltr"] body header.store-header .s-cart-summary-wrapper { padding: 0 16px 0 6px !important; }
body header.store-header .s-cart-summary-wrapper * { color: #fff !important; }
body header.store-header #customerLogin:hover,
body header.store-header .search-btn:hover,
body header.store-header .mburger:hover,
body header.store-header .s-user-menu-trigger-slot:hover {
    background: var(--kivo-ink) !important;
    border-color: var(--kivo-ink) !important;
    color: #fff !important;
}
body header.store-header .s-cart-summary-wrapper:hover { background: var(--kivo-mustard) !important; border-color: var(--kivo-mustard) !important; }
body header.store-header .s-cart-summary-wrapper:hover * { color: var(--kivo-ink) !important; }
body header.store-header #customerLogin i,
body header.store-header .search-btn i,
body header.store-header .mburger i,
body header.store-header #s-cart-icon i,
body header.store-header .s-user-menu-trigger-slot i { color: inherit !important; font-size: 18px !important; }
body header.store-header #s-cart-icon .header-btn { background: transparent !important; padding: 0 !important; width: 32px; height: 32px; display: grid; place-items: center; }
body header.store-header .s-cart-summary-count,
body header.store-header .s-wallet-summary-count {
    top: -6px !important;
    inset-inline-end: -6px;
    left: auto;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 5px;
    border-radius: 999px !important;
    background: var(--kivo-mustard) !important;
    color: var(--kivo-ink) !important;
    font-size: 11px !important;
    font-weight: 700;
    line-height: 20px !important;
    text-align: center;
    border: 2px solid #fffdf8;
}
body header.store-header .s-cart-summary-content { margin: 0 !important; font-weight: 700; font-size: 13px; }
body header.store-header :is(.s-wallet-summary-count, .s-cart-summary-count) img { filter: none !important; }
body header.store-header .lang.btn {
    height: 40px;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1.5px solid var(--kivo-line) !important;
    background: #fff !important;
    font-weight: 600;
    color: var(--kivo-ink) !important;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
body header.store-header .lang.btn:hover { background: var(--kivo-ink) !important; border-color: var(--kivo-ink) !important; color: #fff !important; }
body header.store-header .lang.btn * { color: inherit !important; }

/* the menu band: navy with a mustard pencil line underneath (fixed design colours) */
body header.store-header .inner.nav-header {
    position: relative;
    z-index: 140;
    background: var(--kivo-ink) !important;
    border-top: 0 !important;
    border-bottom: 3px solid var(--kivo-mustard);
}
@media (min-width: 1024px) {
    body header.store-header .inner.nav-header > .container {
        align-items: center !important;
        gap: 16px;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
        border: 0 !important;
    }
    body header.store-header .inner.nav-header > .container > div:first-child { flex: 1 1 auto; min-width: 0; }
    /* Angle's menu list is a scroll box (.hide-scroll) — it clipped the dropdowns; the menu wraps instead */
    body header.store-header .inner.nav-header .main-menu,
    body header.store-header .inner.nav-header nav.mobile-menu { overflow: visible !important; }
    body header.store-header .inner.nav-header .main-menu {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0 2px;
    }
    body header.store-header .inner.nav-header .main-menu > li.root-level { position: relative; }
    body header.store-header .inner.nav-header .main-menu > li.root-level:hover { z-index: 90; }
    body header.store-header .inner.nav-header .main-menu > li.root-level > a {
        position: relative;
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        padding: 10px 13px !important;
        color: #eef0f5 !important;
        font-weight: 600 !important;
        font-size: 14.5px !important;
        white-space: nowrap;
        transition: color .2s ease;
    }
    body header.store-header .inner.nav-header .main-menu > li.root-level > a * { color: inherit !important; }
    /* hover: a highlighter stroke is drawn under the label from the reading start */
    body header.store-header .inner.nav-header .main-menu > li.root-level > a::before {
        content: "";
        position: absolute;
        inset-inline: 9px;
        top: 52%;
        height: 38%;
        border-radius: 3px;
        background: rgba(227, 166, 35, .55);
        transform: scaleX(0) skewX(-12deg);
        transform-origin: 100% 50%;
        transition: transform .45s var(--kivo-ease);
        z-index: -1;
    }
    html[dir="ltr"] body header.store-header .inner.nav-header .main-menu > li.root-level > a::before { transform-origin: 0 50%; }
    body header.store-header .inner.nav-header .main-menu > li.root-level > a { isolation: isolate; }
    body header.store-header .inner.nav-header .main-menu > li.root-level:hover > a { color: #fff !important; }
    body header.store-header .inner.nav-header .main-menu > li.root-level:hover > a::before { transform: scaleX(1) skewX(-12deg); }
    /* chevron: a small down arrow after the label, it flips while open */
    body header.store-header .inner.nav-header .main-menu > li.has-children > a::after {
        content: "";
        width: 10px;
        height: 10px;
        margin-top: 1px;
        border: 0 !important;
        opacity: .6;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
        transform: none;
        transition: transform .3s var(--kivo-ease), opacity .2s ease;
    }
    body header.store-header .inner.nav-header .main-menu > li.has-children:hover > a::after { transform: rotate(180deg); opacity: 1; }
    /* dropdown: a notebook page — ruled lines and a red margin */
    body header.store-header .inner.nav-header .sub-menu {
        top: calc(100% + 4px) !important;
        z-index: 90 !important;
        min-width: 230px;
        padding: 10px !important;
        padding-inline-start: 22px !important;
        border-radius: 6px 6px 14px 14px !important;
        background:
            linear-gradient(90deg, transparent 13px, rgba(196, 81, 58, .45) 13px 14px, transparent 14px),
            #fffdf8 !important;
        border: 1px solid var(--kivo-line) !important;
        border-top: 3px solid var(--kivo-mustard) !important;
        box-shadow: var(--kivo-shadow-lg) !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        overflow: visible;
        animation: kivo-drop .3s var(--kivo-ease) both;
    }
    html[dir="rtl"] body header.store-header .inner.nav-header .sub-menu { background: linear-gradient(-90deg, transparent 13px, rgba(196, 81, 58, .45) 13px 14px, transparent 14px), #fffdf8 !important; }
    body header.store-header .inner.nav-header .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
    @keyframes kivo-drop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
    body header.store-header .inner.nav-header .sub-menu li > a {
        display: flex !important;
        align-items: center;
        gap: 8px;
        padding: 9px 12px !important;
        border-bottom: 1px solid #efe7d6;
        color: var(--kivo-text) !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        transition: background-color .2s ease, color .2s ease;
    }
    body header.store-header .inner.nav-header .sub-menu li:last-child > a { border-bottom: 0; }
    body header.store-header .inner.nav-header .sub-menu li > a * { color: inherit !important; }
    body header.store-header .inner.nav-header .sub-menu li > a:hover { background: var(--kivo-hl); color: var(--kivo-ink) !important; }
    body header.store-header .inner.nav-header .sub-menu .sub-menu { top: -13px !important; }
    body header.store-header .inner.nav-header .sub-menu:has(li.has-children) { overflow: visible !important; }
    /* search: a paper field with the icon inside on the start side */
    body header.store-header .inner.nav-header > .container > div:last-child { flex: none; align-self: center; gap: 8px !important; }
    body header.store-header .inner.nav-header .s-search-container { position: relative; }
    body header.store-header .inner.nav-header .s-search-input {
        height: 42px !important;
        width: 250px !important;
        min-width: 0 !important;
        padding-inline: 42px 16px !important;
        border-radius: 999px !important;
        border: 0 !important;
        background: #fffdf8 !important;
        color: var(--kivo-ink) !important;
        font-size: 14px;
        transition: width .4s var(--kivo-ease), box-shadow .2s ease;
    }
    body header.store-header .inner.nav-header .s-search-input:focus { width: 290px !important; box-shadow: 0 0 0 3px rgba(227, 166, 35, .7) !important; outline: none; }
    body header.store-header .inner.nav-header .s-search-icon { left: auto !important; right: auto !important; inset-inline-start: 15px !important; z-index: 2; pointer-events: none; color: var(--kivo-ink) !important; }
    body header.store-header .inner.nav-header .camera-btn {
        width: 42px;
        height: 42px;
        flex: none;
        border-radius: 50%;
        background: var(--kivo-mustard);
        color: var(--kivo-ink) !important;
        transition: background-color .2s ease;
    }
    body header.store-header .inner.nav-header .camera-btn:hover { background: var(--kivo-mustard-l); }
    body header.store-header .inner.nav-header .camera-btn * { color: inherit !important; }
    /* the burger and the in-menu search are for phones only */
    body header.store-header .mburger,
    body header.store-header .search-btn.lg\:hidden { display: none !important; }
}
body .s-search-input::placeholder { color: var(--kivo-mute) !important; opacity: 1; }

/* ---------- 5. Phone header & account bottom sheet ---------- */
body header.store-header .s-user-menu-wrapper { padding: 0 !important; margin: 0 !important; }
@media (max-width: 1023px) {
    body header.store-header .inner.nav-header { background: transparent !important; border-bottom: 0; }
    body header.store-header #mainnav { border-bottom: 3px solid var(--kivo-mustard); }
}
@media (max-width: 767px) {
    body header.store-header #mainnav .container > .flex { gap: 6px; }
    body header.store-header #mainnav .container > .flex > div:first-child,
    body header.store-header #mainnav .container > .flex > div:last-child { flex: 1 1 0%; width: auto !important; min-width: 0; gap: 6px; }
    body header.store-header #mainnav .container > .flex > div:nth-child(2) { flex: none; }
    body header.store-header .navbar-brand img { max-height: 42px !important; max-width: 96px; }
    body header.store-header .s-cart-summary-total,
    body header.store-header .s-cart-summary-content { display: none !important; }
    body header.store-header :is(#customerLogin, .s-cart-summary-wrapper, .search-btn, .mburger, .s-user-menu-trigger-slot) { width: 38px !important; min-width: 38px !important; height: 38px !important; padding: 0 !important; flex: none; justify-content: center; border-radius: 50% !important; }
    body header.store-header :is(.s-cart-summary-count, .s-wallet-summary-count) { top: -6px !important; inset-inline-end: -6px; min-width: 17px !important; height: 17px !important; line-height: 17px !important; font-size: 10px !important; padding: 0 3px; }
    /* the account menu opens as a bottom sheet above everything (floating buttons included) */
    body header.store-header #mainnav:has(.s-user-menu-trigger-slot.active) { z-index: 10050 !important; }
    body header.store-header .s-user-menu-toggler.opened::before { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; background: rgba(31, 42, 68, .5) !important; }
    body header.store-header .s-user-menu-dropdown { position: fixed !important; inset: auto 0 0 0 !important; top: auto !important; width: 100% !important; height: auto !important; max-height: 85vh !important; overflow-y: auto !important; z-index: 10051 !important; border: 0 !important; border-top: 4px solid var(--kivo-mustard) !important; border-radius: 22px 22px 0 0 !important; background: #fffdf8 !important; box-shadow: 0 -20px 50px rgba(31, 42, 68, .3) !important; padding-bottom: env(safe-area-inset-bottom); animation: kivo-sheet .4s var(--kivo-ease) both; }
    @keyframes kivo-sheet { from { transform: translateY(40px); opacity: 0; } }
    body header.store-header .s-user-menu-dropdown::before { content: ""; display: block; width: 44px; height: 5px; margin: 10px auto 0; border-radius: 9px; background: var(--kivo-line); }
    body header.store-header .s-user-menu-dropdown-header { display: flex !important; align-items: center; padding: 14px 20px !important; border-bottom: 1px solid var(--kivo-line) !important; }
    body header.store-header .s-user-menu-dropdown-header-content p { color: var(--kivo-ink) !important; font-weight: 700; }
    body header.store-header .s-user-menu-dropdown-header-close { top: 50% !important; transform: translateY(-50%); }
    body header.store-header .s-user-menu-dropdown-list { padding: 6px 0 12px !important; }
    body header.store-header .s-user-menu-dropdown-item a { padding: 14px 22px !important; font-size: 15px !important; color: var(--kivo-ink) !important; border-bottom: 1px solid var(--kivo-line); }
    body header.store-header .s-user-menu-dropdown-item a i { color: var(--kivo-mustard-d) !important; }
    body header.store-header .s-user-menu-dropdown-item:last-child a { border-bottom: 0; }
    body header.store-header .s-user-menu-dropdown-item-logout a,
    body header.store-header .s-user-menu-dropdown-item-logout a i { color: var(--kivo-brick) !important; }
}
@media (max-width: 374px) {
    body header.store-header #mainnav .container > .flex > div:first-child,
    body header.store-header #mainnav .container > .flex > div:last-child { gap: 4px; }
    body header.store-header :is(#customerLogin, .s-cart-summary-wrapper, .search-btn, .mburger, .s-user-menu-trigger-slot) { width: 34px !important; min-width: 34px !important; height: 34px !important; }
    body header.store-header .navbar-brand img { max-width: 78px; }
}
/* mobile drawer (Angle's mm-spn menu): navy title bar, mustard accents */
body .mm-spn.mm-spn--light { background: #fffdf8; color: var(--kivo-ink); }
body .mm-spn.mm-spn--navbar::before { color: #fff; }
body .mm-spn.mm-spn--navbar::after { background: var(--kivo-ink); color: #fff; font-family: var(--kivo-head); font-weight: 700; font-size: 18px; }
body .mm-spn li::before { border-color: var(--kivo-mustard-d) !important; opacity: .8; }
body .mm-spn li a,
body .mm-spn li > span { color: var(--kivo-ink) !important; font-weight: 500; }
body .mm-spn li:hover > a { color: var(--kivo-mustard-d) !important; }

/* ---------- 6. Reveals: sections rise like pages settling after the preloader, then on scroll ---------- */
@keyframes kivo-settle { from { opacity: 0; transform: translateY(26px) rotate(-.6deg); } to { opacity: 1; transform: none; } }
@keyframes kivo-pop { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes kivo-fade { from { opacity: 0; } }
body .main-container-wrapper > .container > .s-block:nth-child(-n+3) { animation: kivo-settle .8s var(--kivo-ease) both; }
body .main-container-wrapper > .container > .s-block:nth-child(1) { animation-delay: 1s; }
body .main-container-wrapper > .container > .s-block:nth-child(2) { animation-delay: 1.1s; }
body .main-container-wrapper > .container > .s-block:nth-child(3) { animation-delay: 1.2s; }
/* header row fades in (fade only: a transform here would trap the phone account sheet) */
body header.store-header #mainnav .container > .flex > * { animation: kivo-fade .6s var(--kivo-ease) both; animation-delay: .9s; }
@supports (animation-timeline: view()) {
    body .main-container-wrapper > .container > .s-block:nth-child(n+4),
    body .store-footer .footer-container > div,
    body section.product-detail,
    body .main-content .cart-item {
        animation: kivo-settle linear both !important;
        animation-timeline: view() !important;
        animation-range: entry 0% entry 50% !important;
    }
    body .products-container > .product-entry {
        animation: kivo-pop linear both !important;
        animation-timeline: view() !important;
        animation-range: entry 0% entry 45% !important;
    }
}

/* ---------- 7. Product cards: white cards that become a stack of pages on hover, gallery on hover ---------- */
body .product-entry.product-entry--vertical {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    background: #fff !important;
    border: 1px solid var(--kivo-line) !important;
    border-radius: 12px !important;
    overflow: hidden !important; /* box-shadow (the page stack) still paints outside */
    position: relative;
    box-shadow: none;
    transition: box-shadow .35s var(--kivo-ease), border-color .3s ease;
}
@media (hover: hover) {
    /* two pages peek out behind the card */
    body .product-entry.product-entry--vertical:hover {
        border-color: #dcd2bd !important;
        box-shadow: -4px 4px 0 -1px #fff, -4px 4px 0 0 #dcd2bd, -8px 8px 0 -1px #fff, -8px 8px 0 0 #e6dcc6;
    }
    html[dir="ltr"] body .product-entry.product-entry--vertical:hover { box-shadow: 4px 4px 0 -1px #fff, 4px 4px 0 0 #dcd2bd, 8px 8px 0 -1px #fff, 8px 8px 0 0 #e6dcc6; }
}
body .product-entry.product-entry--vertical > a { display: block; position: relative; margin: 8px 8px 0; border-radius: 8px; background: #fff; overflow: hidden; }
body .product-entry.product-entry--vertical > a img { background: #fff; }
/* the promotion title: a ribbon with a swallow-tail end */
body .product-entry .promo-title {
    top: 10px !important;
    inset-inline-start: 10px !important;
    left: auto;
    max-width: calc(100% - 20px) !important;
    padding: 4px 18px 4px 10px !important;
    border-radius: 3px 0 0 3px !important;
    background: var(--kivo-brick) !important;
    color: #fff !important;
    opacity: 1 !important;
    font-size: 11px !important;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%);
}
html[dir="rtl"] body .product-entry .promo-title { padding: 4px 10px 4px 18px !important; border-radius: 0 3px 3px 0 !important; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 8px 50%); }
body .product-entry .sticker.new {
    top: 18px !important;
    inset-inline-end: 18px;
    left: auto;
    z-index: 3;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: var(--kivo-ink) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700;
}
body .product-entry .donating-wrap { padding: 12px 14px 14px !important; gap: 6px; flex: 1; }
body .product-entry .title-wrapper { text-align: start !important; }
body .product-entry .product-entry__title { margin: 0; }
body .product-entry .product-entry__title a { color: var(--kivo-text) !important; font-size: 14.5px; font-weight: 600; line-height: 1.65; transition: color .2s ease; }
body .product-entry .product-entry__title a:hover { color: var(--kivo-ink-2) !important; text-decoration: underline; text-decoration-color: var(--kivo-mustard); text-underline-offset: 4px; }
body .product-entry .s-product-card-content-subtitle { font-size: 12px; color: var(--kivo-mute); margin: 2px 0 0; }
body .product-entry .s-product-card-content-subtitle:empty { display: none; }
body .product-entry .price-wrapper { margin: 4px 0 10px !important; }
body .product-entry .price-wrapper .on-sale { justify-content: flex-start !important; align-items: baseline !important; gap: 6px; }
body .product-entry .price-label,
body .product-entry .price.d-flex,
body .product-entry .final-price { color: var(--kivo-ink) !important; font-weight: 700 !important; font-size: 18px; }
body .product-entry .special-price { color: var(--kivo-brick) !important; font-weight: 700 !important; font-size: 18px; }
body .product-entry .regular-price { color: var(--kivo-mist) !important; font-size: 12.5px; }
body .product-entry .product-footer { margin-top: auto !important; }
body .product-entry .cart-wish-wrap,
body .product-entry .cart-wish-wrap form { width: 100%; display: block; }
body .product-entry .addToCart {
    height: 44px !important;
    width: 100%;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--kivo-ink) !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    transition: background-color .2s ease, color .2s ease, transform .15s ease !important;
}
body .product-entry .addToCart * { color: inherit !important; }
body .product-entry .addToCart:not([disabled]):hover { background: var(--kivo-mustard) !important; color: var(--kivo-ink) !important; }
body .product-entry .addToCart:not([disabled]):active { transform: scale(.97); }
body .product-entry .addToCart[disabled],
body .product-entry .addToCart.s-button-disabled { background: var(--kivo-cream) !important; color: var(--kivo-mute) !important; cursor: not-allowed; opacity: 1 !important; }
body .products-container.grid { gap: 20px !important; }
body .s-block--best-offers .swiper-slide,
body .mySwiper .slide--one-sixth { height: auto; padding-bottom: 12px; }

/* card gallery: photos slide through on hover (swipe on touch) — markup in products/list/card */
body .product-entry .kivo-gallery { position: relative; display: block !important; direction: ltr; }
body .product-entry .kivo-gallery__track { display: flex; transition: transform .6s var(--kivo-turn); will-change: transform; }
body .product-entry .kivo-gallery__track > img { flex: 0 0 100%; width: 100%; min-width: 0; }
body .product-entry .kivo-gallery__dots {
    position: absolute; z-index: 3; bottom: 10px; left: 50%;
    display: flex; gap: 5px; padding: 4px 7px; border-radius: 999px;
    background: rgba(31, 42, 68, .5);
    transform: translate(-50%, 6px); opacity: 0;
    transition: opacity .3s ease, transform .35s var(--kivo-ease);
}
body .product-entry .kivo-gallery__dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .55); transition: width .35s var(--kivo-ease), background-color .3s ease; }
body .product-entry .kivo-gallery__dots i.is-on { width: 16px; background: var(--kivo-mustard-l); }
body .product-entry:hover .kivo-gallery__dots,
body .product-entry .kivo-gallery.is-moved .kivo-gallery__dots { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { body .product-entry .kivo-gallery:not([data-count="1"]) .kivo-gallery__dots { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- 8. Categories: book covers with a spine, they turn like pages (motion in kivo.js) ---------- */
body .kivo-cats { overflow: hidden; padding: 18px 10px 24px !important; }
body .kivo-cats .swiper-slide { width: 156px !important; height: auto; transform-origin: 100% 50%; transition-property: transform !important; transition-timing-function: var(--kivo-ease) !important; }
html[dir="ltr"] body .kivo-cats .swiper-slide { transform-origin: 0 50%; }
body .kivo-cats .banner-square { position: relative; padding: 0 !important; background: none !important; text-align: center; }
body .kivo-cats .banner-square > a { display: block; position: relative; }
body .kivo-cats .box-img {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto !important;
    border-radius: 10px 4px 4px 10px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 0 var(--kivo-line), 6px 8px 18px -12px rgba(31, 42, 68, .55);
    transition: box-shadow .35s ease, transform .45s var(--kivo-ease);
}
html[dir="ltr"] body .kivo-cats .box-img { border-radius: 4px 10px 10px 4px !important; }
body .kivo-cats .box-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; filter: none !important; }
/* the spine: a darker strip with a crease on the binding side */
body .kivo-cats .box-img::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: 14px;
    z-index: 1;
    background: linear-gradient(90deg, rgba(31, 42, 68, .35), rgba(31, 42, 68, .08) 70%, rgba(255, 255, 255, .25) 85%, transparent);
}
html[dir="rtl"] body .kivo-cats .box-img::before { background: linear-gradient(-90deg, rgba(31, 42, 68, .35), rgba(31, 42, 68, .08) 70%, rgba(255, 255, 255, .25) 85%, transparent); }
body .kivo-cats .banner-square > div.relative { position: relative !important; inset: auto; padding: 12px 2px 0 !important; background: none !important; }
body .kivo-cats .banner-square h3 {
    display: inline;
    color: var(--kivo-ink) !important;
    font-family: var(--kivo-head);
    font-weight: 700;
    font-size: 17px !important;
    line-height: 1.6;
    background: var(--kivo-hl) no-repeat 100% 0 / 0 100%;
    transition: background-size .45s var(--kivo-ease);
}
html[dir="ltr"] body .kivo-cats .banner-square h3 { background-position: 0 0; }
@media (hover: hover) {
    body .kivo-cats .banner-square:hover .box-img { transform: translateY(-4px); box-shadow: 0 1px 0 var(--kivo-line), 10px 16px 26px -14px rgba(31, 42, 68, .6); }
    body .kivo-cats .banner-square:hover h3 { background-size: 100% 100%; }
}

/* ---------- 9. Brands: bookmarks hanging from a string, they swing as the row moves (kivo.js) ---------- */
body .kivo-brands { overflow: hidden; padding: 34px 6px 22px !important; }
body .kivo-brands .swiper-slide { width: 150px !important; height: auto; transform-origin: 50% -26px; transition-property: transform !important; transition-timing-function: var(--kivo-ease) !important; }
body .kivo-brands .banner-square {
    max-width: none !important;
    height: 100%;
    padding: 26px 12px 34px !important;
    border-radius: 6px 6px 0 0 !important;
    background: #fff !important;
    border-top: 6px solid var(--kivo-ink);
    box-shadow: 0 0 0 1px var(--kivo-line), 0 12px 22px -18px rgba(31, 42, 68, .6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    clip-path: polygon(0 -40px, 100% -40px, 100% 100%, 50% calc(100% - 18px), 0 100%);
}
body .kivo-brands .swiper-slide:nth-child(4n+2) .banner-square,
body .kivo-brands .swiper-slide:nth-child(4n+2).banner-square { border-top-color: var(--kivo-mustard); }
body .kivo-brands .swiper-slide:nth-child(4n+3) .banner-square,
body .kivo-brands .swiper-slide:nth-child(4n+3).banner-square { border-top-color: var(--kivo-brick); }
body .kivo-brands .swiper-slide:nth-child(4n+4) .banner-square,
body .kivo-brands .swiper-slide:nth-child(4n+4).banner-square { border-top-color: var(--kivo-teal); }
/* the punched hole and its string */
body .kivo-brands .banner-square::before { content: ""; position: absolute; top: 8px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--kivo-paper); box-shadow: inset 0 1px 2px rgba(31, 42, 68, .35); }
body .kivo-brands .banner-square::after { content: ""; position: absolute; top: -40px; left: 50%; width: 1.5px; height: 53px; margin-left: -.75px; background: var(--kivo-mist); }
body .kivo-brands .box-img { width: 100%; aspect-ratio: 1 / 1; border-radius: 8px !important; background: #fff; display: grid; grid-template: 100% / 100%; place-items: center; padding: 14px; overflow: hidden; }
body .kivo-brands .box-img img { width: 100% !important; height: 100% !important; object-fit: contain !important; filter: none !important; transition: transform .5s var(--kivo-ease); }
body .kivo-brands .banner-square > div.relative { padding: 0 !important; width: 100%; }
body .kivo-brands .banner-square h3 { font-family: var(--kivo-head); font-weight: 700; font-size: 15px !important; color: var(--kivo-ink) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
/* a logo that fails to load becomes a name plate (img::before only renders for broken images) */
body .kivo-brands .box-img img { color: transparent; font-size: 0; position: relative; display: block; min-width: 100%; min-height: 100%; }
body .kivo-brands .box-img img::before { content: attr(alt); position: absolute; inset: 0; display: grid; place-items: center; padding: 6px; border-radius: 8px; background: var(--kivo-cream); color: var(--kivo-ink); font-family: var(--kivo-head); font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; }
@media (hover: hover) {
    body .kivo-brands .banner-square:hover .box-img img { transform: scale(1.06); }
    body .kivo-brands .banner-square:hover { box-shadow: 0 0 0 1px #dcd2bd, 0 18px 30px -18px rgba(31, 42, 68, .65); }
}

/* ---------- 10. Store features: icons on a taped sticky note that straightens on hover ---------- */
body .myStoreSwiper { overflow: hidden; padding: 10px 2px 14px !important; }
body .myStoreSwiper .swiper-wrapper { transition-timing-function: var(--kivo-ease) !important; }
body .myStoreSwiper .swiper-slide { height: auto; margin-top: 0 !important; }
body .myStoreSwiper .s-block--features__item {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    gap: 6px;
    padding: 30px 22px 26px !important;
    border-radius: var(--kivo-r-lg) !important;
    background: #fff !important;
    border: 1px solid var(--kivo-line);
    box-shadow: none !important;
    transition: box-shadow .3s ease, border-color .3s ease;
}
body .myStoreSwiper .feature-icon {
    position: relative;
    width: 66px !important;
    height: 66px !important;
    margin: 6px 0 14px !important;
    border-radius: 3px !important;
    display: grid !important;
    place-items: center;
    background: linear-gradient(160deg, var(--kivo-mustard-l), #f2c752) !important;
    color: var(--kivo-ink) !important;
    box-shadow: 0 10px 16px -12px rgba(31, 42, 68, .6);
    transform: rotate(-5deg);
    transition: transform .5s var(--kivo-bounce);
}
/* a strip of tape on top */
body .myStoreSwiper .feature-icon::before { content: ""; position: absolute; top: -8px; left: 50%; width: 34px; height: 13px; margin-left: -17px; background: rgba(255, 255, 255, .65); box-shadow: 0 0 0 1px rgba(31, 42, 68, .06); transform: rotate(4deg); }
body .myStoreSwiper .feature-icon i { color: inherit !important; font-size: 26px !important; }
body .myStoreSwiper .swiper-slide:nth-child(even) .feature-icon { transform: rotate(4deg); background: linear-gradient(160deg, #cfe6e2, #b4d8d1) !important; }
body .myStoreSwiper .s-block--features__item h2 { margin: 0 !important; font-family: var(--kivo-head); font-weight: 700 !important; font-size: 19px !important; line-height: 1.5 !important; color: var(--kivo-ink) !important; text-align: center !important; }
body .myStoreSwiper .s-block--features__item p { margin: 2px 0 0 !important; font-size: 13.5px !important; line-height: 1.85 !important; color: var(--kivo-mute) !important; text-align: center !important; }
@media (hover: hover) {
    body .myStoreSwiper .s-block--features__item:hover { border-color: #dcd2bd; box-shadow: var(--kivo-shadow-lg) !important; }
    body .myStoreSwiper .s-block--features__item:hover .feature-icon { transform: rotate(0) scale(1.05) !important; }
}

/* ---------- 11. Reviews: ruled index cards with a red margin ---------- */
body .myReviewSwiper { overflow: hidden; padding: 6px 4px 18px !important; }
body .myReviewSwiper .swiper-wrapper { transition-timing-function: var(--kivo-ease) !important; }
body .myReviewSwiper .swiper-slide { height: auto !important; margin-top: 0 !important; }
body .myReviewSwiper .swiper-slide > div {
    height: 100%;
    border-radius: 6px !important;
    background:
        linear-gradient(90deg, transparent 34px, rgba(196, 81, 58, .4) 34px 35px, transparent 35px),
        repeating-linear-gradient(transparent 0 29px, #e3ebf5 29px 30px),
        #fffefb !important;
    border: 1px solid var(--kivo-line);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px -18px rgba(31, 42, 68, .5) !important;
    transition: box-shadow .35s ease, transform .4s var(--kivo-ease);
}
html[dir="rtl"] body .myReviewSwiper .swiper-slide > div { background: linear-gradient(-90deg, transparent 34px, rgba(196, 81, 58, .4) 34px 35px, transparent 35px), repeating-linear-gradient(transparent 0 29px, #e3ebf5 29px 30px), #fffefb !important; }
body .myReviewSwiper .swiper-slide > div > div { margin: 0 !important; padding: 20px 22px 18px !important; padding-inline-start: 48px !important; display: flex !important; flex-direction: column; gap: 14px; height: 100%; }
body .myReviewSwiper .swiper-slide > div > div > p { order: 1; flex: 1; margin: 0 !important; font-family: var(--kivo-head); font-size: 17px !important; line-height: 30px !important; text-align: start !important; color: var(--kivo-ink) !important; }
body .myReviewSwiper .s-testimonials--slider--img { order: 2; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 12px !important; }
body .myReviewSwiper .testimonial__avatar { flex: none; order: 0; width: 42px !important; height: 42px !important; border-radius: 50% !important; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--kivo-line) !important; background: var(--kivo-cream); }
body .myReviewSwiper .testimonial__avatar img { width: 100% !important; height: 100% !important; object-fit: cover; }
body .myReviewSwiper .s-testimonials--slider--img > p { order: 1; margin: 0; text-align: start; font-weight: 700; font-size: 14px !important; line-height: 1.3 !important; color: var(--kivo-ink) !important; }
body .myReviewSwiper .testimonial__rating { order: 2; margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; }
body .myReviewSwiper .s-rating-stars-wrapper i { font-size: 12.5px; }
body .myReviewSwiper .s-rating-stars-wrapper i[style*="255, 215, 0"] { color: var(--kivo-mustard) !important; }
body .myReviewSwiper .testimonial__icon { display: none; }
@media (hover: hover) { body .myReviewSwiper .swiper-slide > div:hover { box-shadow: var(--kivo-shadow-lg) !important; transform: rotate(-.6deg); } }

/* ---------- 12. FAQ: chapters — a numbered tab, a highlighted question, a turning plus ---------- */
body .s-block:has(.accordion) { counter-reset: kivo-faq; }
body .accordion { display: grid; gap: 10px; }
body .accordion .accordion-item { position: relative; counter-increment: kivo-faq; border: 1px solid var(--kivo-line) !important; border-radius: 12px !important; background: #fff !important; overflow: hidden; box-shadow: none !important; transition: border-color .25s ease, box-shadow .3s ease, background-color .3s ease; }
body .accordion .accordion-item.active { border-color: #dcd2bd !important; background: #fffdf8 !important; box-shadow: var(--kivo-shadow) !important; }
body .accordion .accordion-header { display: flex !important; align-items: center; gap: 14px; width: 100%; padding: 15px 20px !important; background: transparent !important; border: 0 !important; color: var(--kivo-ink) !important; font-family: var(--kivo-head); font-weight: 700; font-size: 18px !important; line-height: 1.6; text-align: start; cursor: pointer; }
body .accordion .accordion-header::before { content: counter(kivo-faq); flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--kivo-cream); color: var(--kivo-ink); font-family: var(--kivo-head); font-size: 18px; font-weight: 700; transition: background-color .25s ease, color .25s ease; }
body .accordion .accordion-item.active .accordion-header::before { background: var(--kivo-ink); color: var(--kivo-mustard-l); }
body .accordion .accordion-icon { flex: none; margin-inline-start: auto; width: 32px; height: 32px; border-radius: 50%; position: relative; font-size: 0 !important; border: 1.5px solid var(--kivo-line); transition: transform .4s var(--kivo-ease), background-color .25s ease, border-color .25s ease; }
body .accordion .accordion-icon::before,
body .accordion .accordion-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--kivo-ink); border-radius: 2px; transition: transform .4s var(--kivo-ease), background-color .25s ease; }
body .accordion .accordion-icon::after { transform: rotate(90deg); }
body .accordion .accordion-item.active .accordion-icon { background: var(--kivo-mustard); border-color: var(--kivo-mustard); transform: rotate(180deg); }
body .accordion .accordion-item.active .accordion-icon::after { transform: rotate(0); }
body .accordion .accordion-content { padding: 0 20px 0 72px !important; background: transparent !important; }
html[dir="rtl"] body .accordion .accordion-content { padding: 0 72px 0 20px !important; }
body .accordion .accordion-item.active .accordion-content { padding-bottom: 18px !important; }
body .accordion .accordion-content p { color: var(--kivo-mute) !important; font-size: 14.5px; line-height: 1.9; }

/* ---------- 13. List of items: photo tiles with a bookmark-tab label ---------- */
body .s-block[data-item="list_of_items"] > .grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px !important; }
body .banner-entry,
body .banner-entry-list {
    position: relative;
    min-height: 240px;
    border-radius: var(--kivo-r-lg) !important;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 2px 12px -10px rgba(31, 42, 68, .45);
    transition: box-shadow .35s ease;
}
body .banner-entry .lazy__bg,
body .banner-entry-list .lazy__bg { position: absolute; inset: 0; background-size: cover !important; background-position: center !important; transition: transform 1.1s var(--kivo-ease); }
body .banner-entry.has-overlay::before,
body .banner-entry-list.has-overlay::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(31, 42, 68, .6)); }
body .banner-entry > a,
body .banner-entry-list > a { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: flex-start; padding: 0 18px 18px; }
body .banner-entry h3,
body .banner-entry-list h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 16px 14px;
    background: var(--kivo-paper);
    color: var(--kivo-ink) !important;
    font-family: var(--kivo-head);
    font-weight: 700;
    font-size: 17px !important;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 6px), 0 100%);
    transition: background-color .25s ease, transform .4s var(--kivo-ease);
}
@media (hover: hover) {
    body .banner-entry:hover,
    body .banner-entry-list:hover { box-shadow: var(--kivo-shadow-lg); }
    body .banner-entry:hover .lazy__bg,
    body .banner-entry-list:hover .lazy__bg { transform: scale(1.05); }
    body .banner-entry:hover h3,
    body .banner-entry-list:hover h3 { background: var(--kivo-mustard-l); transform: translateY(-4px); }
}
body .myListSwiper .swiper-pagination-bullet-active { background: var(--kivo-ink) !important; }

/* ---------- 14. Footer: navy graph paper with a mustard pencil line ---------- */
body .store-footer { position: relative; margin-top: 70px; }
body .store-footer .store-footer__inner {
    position: relative;
    border-top: 4px solid var(--kivo-mustard);
    background:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 24px 24px,
        var(--kivo-ink) !important;
    color: #d6dbe6;
}
body .store-footer .to-top { padding-top: 24px; }
body .store-footer .to-top a { padding: 9px 18px !important; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff !important; transition: background-color .2s ease, color .2s ease; }
body .store-footer .to-top a * { color: inherit !important; }
body .store-footer .to-top a:hover { background: var(--kivo-mustard); color: var(--kivo-ink) !important; }
body .store-footer .footer-container { border-color: rgba(255, 255, 255, .08) !important; padding: 34px 0 20px !important; }
body .store-footer .logo-footer { padding: 12px 18px; border-radius: 14px; background: #fffdf8; width: max-content; margin-inline: auto; }
body .store-footer .logo-footer img { max-height: 60px; width: auto; }
body .store-footer,
body .store-footer p,
body .store-footer span,
body .store-footer a,
body .store-footer .da-tm,
body .store-footer .text-text-grey,
body .store-footer .vat-num,
body .store-footer .vat-num * { color: #e4e8f0 !important; }
body .store-footer h3 { position: relative; display: inline-block; font-family: var(--kivo-head); font-weight: 700 !important; font-size: 20px !important; color: #fff !important; margin-bottom: 14px !important; background: linear-gradient(transparent 62%, rgba(227, 166, 35, .5) 62% 92%, transparent 92%); padding: 0 4px; }
body .store-footer .footer-list a { display: inline-flex; align-items: center; gap: 8px; line-height: 2.1; opacity: .85; transition: opacity .2s ease, color .2s ease; }
body .store-footer .footer-list a:hover { opacity: 1; color: var(--kivo-mustard-l) !important; }
body .store-footer .social-links a { width: 40px; height: 40px; border-radius: 50%; display: inline-grid !important; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .2s ease, border-color .2s ease; }
body .store-footer .social-links a img,
body .store-footer .social-links a svg { filter: brightness(0) invert(1); max-height: 16px; }
body .store-footer .social-links a:hover { background: var(--kivo-mustard); border-color: var(--kivo-mustard); }
body .store-footer .contact-links a { min-width: 64px; padding: 12px 10px !important; border-radius: 14px !important; background: rgba(255, 255, 255, .06) !important; border: 1px solid rgba(255, 255, 255, .12); color: #fff !important; transition: background-color .2s ease, color .2s ease; }
body .store-footer .contact-links a * { color: inherit !important; }
body .store-footer .contact-links a:hover { background: var(--kivo-mustard) !important; color: var(--kivo-ink) !important; }
body .store-footer .footer-vat { align-items: center; }
body .store-footer .footer-vat img { border-radius: 8px; background: #fff; padding: 3px; }
body .store-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px !important; }
body .store-footer .footer-bottom li { background: #fff !important; border-radius: 6px !important; }
body .store-footer .copyrights p { color: #a9b2c4 !important; }

/* ---------- 15. Product page ---------- */
body section.product-detail { color: var(--kivo-text); }
body section.product-detail .sidebar { top: calc(var(--kivo-header-h, 90px) + 16px) !important; }
body section.product-detail .product-hero-image {
    position: relative;
    border-radius: var(--kivo-r-lg) !important;
    background: #fff !important;
    border: 1px solid var(--kivo-line);
    overflow: hidden;
    padding: 14px;
}
body section.product-detail .product-hero-image img { border-radius: var(--kivo-r) !important; transition: transform .7s var(--kivo-ease); }
@media (hover: hover) { body section.product-detail .product-hero-image:hover img { transform: scale(1.03); } }
body section.product-detail .discountPercentage {
    position: absolute;
    bottom: 22px;
    top: auto;
    inset-inline-start: 22px;
    z-index: 3;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    background: var(--kivo-brick) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 13px !important;
}
body section.product-detail .thumb-frame,
body section.product-detail .gallery-thumb,
body section.product-detail [class*="thumbnails"] img {
    border-radius: 10px !important;
    border: 2px solid var(--kivo-line) !important;
    background: #fff;
    transition: border-color .2s ease;
}
body section.product-detail .thumb-frame.active,
body section.product-detail .gallery-thumb.active { border-color: var(--kivo-mustard) !important; }
body section.product-detail .swiper-button-next,
body section.product-detail .swiper-button-prev {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--kivo-line);
    color: var(--kivo-ink) !important;
    transition: background-color .2s ease, color .2s ease;
}
body section.product-detail .swiper-button-next::after,
body section.product-detail .swiper-button-prev::after { font-size: 15px !important; font-weight: 900; }
body section.product-detail .swiper-button-next:hover,
body section.product-detail .swiper-button-prev:hover { background: var(--kivo-ink); color: #fff !important; }
body section.product-detail h1 {
    font-family: var(--kivo-head);
    font-weight: 700 !important;
    font-size: clamp(25px, 2.7vw, 36px) !important;
    line-height: 1.5 !important;
    color: var(--kivo-ink);
}
body section.product-detail .s-rating-stars-wrapper i { color: var(--kivo-mustard) !important; }
body section.product-detail .price { margin-top: 18px !important; }
body section.product-detail .productDetails { gap: 12px !important; align-items: baseline !important; }
body section.product-detail .special-price,
body section.product-detail .price-label,
body section.product-detail .final-price { font-weight: 700 !important; font-size: 30px !important; color: var(--kivo-ink) !important; }
body section.product-detail .regular-price ~ .special-price { color: var(--kivo-brick) !important; }
body section.product-detail .regular-price { color: var(--kivo-mist) !important; font-size: 16px !important; }
/* details rows: a library catalogue card */
body section.product-detail section.details { background: #fffdf8 !important; border: 1px solid var(--kivo-line) !important; border-radius: 10px !important; margin: 0 0 6px !important; }
body section.product-detail .details__title { color: var(--kivo-mute) !important; font-weight: 600; }
body section.product-detail .details__title i { color: var(--kivo-mustard-d) !important; }
body section.product-detail .details__action span { font-weight: 700; color: var(--kivo-ink); }
body section.product-detail .product-metadata.weight { color: var(--kivo-mute); font-size: 13px; margin: 10px 0; }
/* buy bar */
body section.product-detail .sticky-product-bar {
    border-radius: var(--kivo-r-lg) !important;
    background: #fff !important;
    border: 1px solid var(--kivo-line);
    box-shadow: var(--kivo-shadow) !important;
}
body .s-quantity-input-container { border: 0 !important; border-radius: 999px !important; background: var(--kivo-cream) !important; padding: 3px; overflow: hidden; }
body .s-quantity-input-button {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--kivo-ink) !important;
    font-weight: 900;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
body .s-quantity-input-button:hover { background: var(--kivo-ink) !important; color: #fff !important; }
body .s-quantity-input-button:active { transform: scale(.9); }
body .s-quantity-input-input { background: transparent !important; font-weight: 700 !important; color: var(--kivo-ink) !important; border: 0 !important; }
body section.product-detail .sticky-product-bar button[type="submit"] {
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--kivo-ink) !important;
    color: #fff !important;
    font-weight: 700 !important;
    min-height: 50px;
    transition: background-color .2s ease, color .2s ease !important;
}
body section.product-detail .sticky-product-bar button[type="submit"] * { color: inherit !important; }
body section.product-detail .sticky-product-bar button[type="submit"]:hover { background: var(--kivo-mustard) !important; color: var(--kivo-ink) !important; }
body section.product-detail .s-quick-buy-button {
    border-radius: 999px !important;
    border: 2px solid var(--kivo-ink) !important;
    background: #fff !important;
    color: var(--kivo-ink) !important;
    font-weight: 700 !important;
    min-height: 50px;
    transition: background-color .2s ease, color .2s ease;
}
body section.product-detail .s-quick-buy-button * { color: inherit !important; }
body section.product-detail .s-quick-buy-button:hover { background: var(--kivo-ink) !important; color: #fff !important; }
/* tabs (description / offers / reviews) */
body section.product-detail .s-product-tabs .nav-tabs { gap: 6px; border: 0 !important; }
body section.product-detail .s-product-tabs .nav-link {
    border-radius: 999px !important;
    background: #fff !important;
    border: 1px solid var(--kivo-line) !important;
    color: var(--kivo-mute) !important;
    font-weight: 600;
    padding: 8px 18px !important;
    transition: background-color .2s ease, color .2s ease;
}
body section.product-detail .s-product-tabs .nav-link.active,
body section.product-detail .s-product-tabs .nav-link:hover { background: var(--kivo-ink) !important; color: #fff !important; border-color: var(--kivo-ink) !important; }
body section.product-detail .s-product-tabs .tab-content { margin-top: 12px; border-radius: var(--kivo-r) !important; border: 1px solid var(--kivo-line); background: #fff; line-height: 1.9; }
body section.product-detail .s-comment-form-content textarea,
body section.product-detail .s-comment-form-input { border-radius: 12px !important; border: 2px solid var(--kivo-line) !important; background: #fffdf8 !important; }
body section.product-detail .s-comment-form-content textarea:focus { border-color: var(--kivo-mustard) !important; outline: none; }
body section.product-detail .comment { border-radius: 12px; background: #fffdf8 !important; padding: 12px; }
body section.product-detail #load-more,
body section.product-detail .s-comment-form-content button { border-radius: 999px !important; background: var(--kivo-ink) !important; border: 0 !important; color: #fff !important; }

/* ---------- 16. Cart page ---------- */
body .container > .nav-header.bg-gray-100 {
    margin-top: 18px;
    border-radius: var(--kivo-r-lg);
    padding: 30px 28px !important;
    padding-inline-start: 56px !important;
    /* a notebook page: ruled lines and a red margin */
    background:
        linear-gradient(90deg, transparent 34px, rgba(196, 81, 58, .45) 34px 36px, transparent 36px),
        repeating-linear-gradient(transparent 0 27px, #e3ebf5 27px 28px),
        #fffefb !important;
    border: 1px solid var(--kivo-line);
    position: relative;
    overflow: hidden;
}
html[dir="rtl"] body .container > .nav-header.bg-gray-100 { background: linear-gradient(-90deg, transparent 34px, rgba(196, 81, 58, .45) 34px 36px, transparent 36px), repeating-linear-gradient(transparent 0 27px, #e3ebf5 27px 28px), #fffefb !important; }
body .container > .nav-header.bg-gray-100 h1 { display: inline; font-family: var(--kivo-head); font-weight: 700 !important; font-size: clamp(27px, 2.9vw, 36px) !important; color: var(--kivo-ink) !important; background: var(--kivo-hl); padding: 0 4px; }
body .container > .nav-header.bg-gray-100 a,
body .container > .nav-header.bg-gray-100 span,
body .container > .nav-header.bg-gray-100 li,
body .container > .nav-header.bg-gray-100 i { color: var(--kivo-mute) !important; }
body .s-conditional-offer-progress-container,
body .s-conditional-offer-container { border-radius: var(--kivo-r) !important; }
body .s-conditional-offer-progress-line-container { height: 10px !important; border-radius: 999px; background: var(--kivo-cream) !important; overflow: hidden; }
body .s-conditional-offer-progress-line-active { border-radius: 999px; background: linear-gradient(90deg, var(--kivo-mustard-l), var(--kivo-mustard)) !important; }
body .s-conditional-offer-checkpoint { background: #fff !important; border: 2px solid var(--kivo-mustard) !important; font-weight: 700; }
body .main-content .cart-item {
    border-radius: var(--kivo-r-lg) !important;
    border: 1px solid var(--kivo-line);
    background: #fff !important;
    box-shadow: none !important;
    padding: 16px !important;
    transition: border-color .2s ease, box-shadow .3s ease;
}
body .main-content .cart-item:hover { border-color: #dcd2bd; box-shadow: var(--kivo-shadow) !important; }
body .main-content .cart-item img { border-radius: 10px !important; border: 1px solid var(--kivo-line) !important; background: #fff; }
body .main-content .cart-item a { color: var(--kivo-ink); font-weight: 600; }
body .main-content .cart-item .text-primary,
body .main-content .cart-item [class*="text-green"] { color: var(--kivo-ink) !important; font-weight: 700; }
body .main-content .cart-item .btn--delete { border-radius: 999px !important; background: #fbeae6 !important; color: var(--kivo-brick) !important; border: 0 !important; font-weight: 600; transition: background-color .2s ease, color .2s ease; }
body .main-content .cart-item .btn--delete * { color: inherit !important; }
body .main-content .cart-item .btn--delete:hover { background: var(--kivo-brick) !important; color: #fff !important; }
body .main-content .cart-item .btn--wishlist { border-radius: 999px !important; }
body .main-content ~ .sticky.top-20 { top: calc(var(--kivo-header-h, 90px) + 16px) !important; }
body .main-content ~ .sticky.top-20 > div,
body .main-content ~ .sticky.top-20 .shadow-default { border-radius: var(--kivo-r-lg) !important; border: 1px solid var(--kivo-line); box-shadow: none !important; }
body .main-content ~ .sticky.top-20 .s-loyalty-widget .s-list-tile-item { background: var(--kivo-ink); border-radius: var(--kivo-r); padding: 14px; color: #fff; }
body .main-content ~ .sticky.top-20 .s-loyalty-widget * { color: inherit; }
body .s-loyalty-widget .s-list-tile-item-icon { background: var(--kivo-mustard) !important; color: var(--kivo-ink) !important; border-radius: 50% !important; }
body .s-loyalty-widget .s-list-tile-item-icon * { background-color: transparent !important; color: var(--kivo-ink) !important; }
body .main-content ~ .sticky.top-20 input.form-input,
body .main-content ~ .sticky.top-20 input.s-form-control,
body .main-content ~ .sticky.top-20 input[type="text"] { height: 46px; border-radius: 999px !important; border: 2px solid var(--kivo-line) !important; background: #fffdf8 !important; padding-inline: 18px !important; transition: border-color .2s ease; }
body .main-content ~ .sticky.top-20 input:focus { border-color: var(--kivo-mustard) !important; outline: none; }
body .main-content ~ .sticky.top-20 .btn--coupon { border-radius: 999px !important; background: var(--kivo-ink) !important; color: #fff !important; border: 0 !important; }
body .main-content ~ .sticky.top-20 .cart-submit-wrap .s-button-primary,
body .main-content ~ .sticky.top-20 .cart-submit-wrap a,
body .main-content ~ .sticky.top-20 .cart-submit-wrap button {
    width: 100%;
    min-height: 54px;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--kivo-ink) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 15.5px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease, color .2s ease !important;
}
body .main-content ~ .sticky.top-20 .cart-submit-wrap .s-button-primary *,
body .main-content ~ .sticky.top-20 .cart-submit-wrap a * { color: inherit !important; background: none !important; }
body .main-content ~ .sticky.top-20 .cart-submit-wrap .s-button-primary:hover,
body .main-content ~ .sticky.top-20 .cart-submit-wrap > a:hover { background: var(--kivo-mustard) !important; color: var(--kivo-ink) !important; }
body .main-content ~ .sticky.top-20 .text-primary { color: var(--kivo-ink) !important; font-weight: 700; }

/* ---------- 17. Cart sidebar (markup: layouts/cart-drawer, behaviour: kivo.js) ---------- */
.kivo-drawer { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; visibility: hidden; transition: visibility 0s linear .55s; }
.kivo-drawer.is-open { pointer-events: auto; visibility: visible; transition: visibility 0s; }
.kivo-drawer__overlay { position: absolute; inset: 0; background: rgba(31, 42, 68, .5); opacity: 0; transition: opacity .45s ease; }
.kivo-drawer.is-open .kivo-drawer__overlay { opacity: 1; }
.kivo-drawer__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    width: min(420px, 100%);
    display: flex;
    flex-direction: column;
    background: #fffdf8;
    color: var(--kivo-ink);
    font-family: var(--kivo-ui);
    overflow: hidden;
    outline: none;
    transform: translateX(105%);
    transition: transform .55s var(--kivo-turn);
    box-shadow: 0 30px 70px -30px rgba(31, 42, 68, .6);
}
html[dir="rtl"] .kivo-drawer__panel { transform: translateX(-105%); }
.kivo-drawer.is-open .kivo-drawer__panel { transform: none; }
.kivo-drawer__content { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.kivo-drawer__head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; background: var(--kivo-ink); color: #fff; border-bottom: 3px solid var(--kivo-mustard); }
.kivo-drawer__title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--kivo-head); font-weight: 700; font-size: 22px; color: #fff; }
.kivo-drawer__count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--kivo-mustard); color: var(--kivo-ink); font-family: var(--kivo-ui); font-size: 12px; font-weight: 700; }
.kivo-drawer__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.kivo-drawer__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.kivo-drawer__close:hover { background: var(--kivo-mustard); color: var(--kivo-ink); }
.kivo-drawer__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 6px 22px; overscroll-behavior: contain; }
.kivo-drawer__item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--kivo-line); transition: opacity .3s ease; }
.kivo-drawer.is-open .kivo-drawer__item { animation: kivo-item-in .5s var(--kivo-ease) both; animation-delay: calc(.07s * var(--i) + .15s); }
@keyframes kivo-item-in { from { opacity: 0; transform: translateY(12px); } }
.kivo-drawer__item.is-removing { opacity: .3; }
.kivo-drawer__thumb { display: block; aspect-ratio: 3 / 4; border-radius: 4px 8px 8px 4px; border: 1px solid var(--kivo-line); background: #fff; overflow: hidden; }
.kivo-drawer__thumb img { width: 100%; height: 100%; object-fit: contain; }
.kivo-drawer__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kivo-drawer__name { font-weight: 600; font-size: 14px; line-height: 1.55; color: var(--kivo-ink) !important; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kivo-drawer__price { font-weight: 700; font-size: 15px; color: var(--kivo-ink); }
.kivo-drawer__price img.sar-icon { width: 11px !important; }
.kivo-drawer__row-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.kivo-qty { display: inline-flex; align-items: center; border-radius: 999px; background: var(--kivo-cream); padding: 2px; }
.kivo-qty__btn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 0; cursor: pointer; color: var(--kivo-ink); transition: background-color .2s ease, color .2s ease; }
.kivo-qty__btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.kivo-qty__btn:hover { background: var(--kivo-ink); color: #fff; }
.kivo-qty__value { min-width: 32px; text-align: center; font-weight: 700; font-size: 14px; }
.kivo-drawer__qty-text { font-size: 13px; color: var(--kivo-mute); }
.kivo-drawer__remove { font-size: 12.5px; font-weight: 600; color: var(--kivo-mute) !important; text-decoration: underline; text-underline-offset: 3px; }
.kivo-drawer__remove:hover { color: var(--kivo-brick) !important; }
.kivo-drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--kivo-line); background: var(--kivo-cream); }
.kivo-drawer__total { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--kivo-head); font-weight: 700; font-size: 18px; }
.kivo-drawer__total b { font-family: var(--kivo-ui); font-size: 20px; font-weight: 700; color: var(--kivo-ink); }
.kivo-drawer__total img.sar-icon { width: 13px !important; }
.kivo-drawer__note { margin: 6px 0 16px; font-size: 12px; color: var(--kivo-mute); }
.kivo-drawer__actions { display: grid; gap: 10px; }
.kivo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 999px; font-family: var(--kivo-ui); font-weight: 700; font-size: 15px; text-align: center; border: 2px solid var(--kivo-ink); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.kivo-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--kivo-ease); }
html[dir="rtl"] .kivo-btn svg { transform: scaleX(-1); }
.kivo-btn--solid { background: var(--kivo-ink); border-color: var(--kivo-ink); color: #fff !important; }
.kivo-btn--solid:hover { background: var(--kivo-mustard); border-color: var(--kivo-mustard); color: var(--kivo-ink) !important; }
.kivo-btn--solid:hover svg { transform: translateX(4px); }
html[dir="rtl"] .kivo-btn--solid:hover svg { transform: scaleX(-1) translateX(4px); }
.kivo-btn--outline { background: transparent; color: var(--kivo-ink) !important; }
.kivo-btn--outline:hover { background: var(--kivo-ink); color: #fff !important; }
.kivo-drawer__empty { display: grid; justify-items: center; gap: 10px; padding: 70px 10px; text-align: center; }
.kivo-drawer__empty-icon svg { width: 56px; height: 56px; fill: none; stroke: var(--kivo-mustard-d); stroke-width: 1.5; }
.kivo-drawer__empty-title { margin: 6px 0 0; font-family: var(--kivo-head); font-weight: 700; font-size: 22px; }
.kivo-drawer__empty-sub { margin: 0 0 12px; color: var(--kivo-mute); font-size: 14px; }
.kivo-drawer__loading { position: absolute; inset: 0 0 auto 0; height: 3px; overflow: hidden; opacity: 0; transition: opacity .2s ease; z-index: 2; }
.kivo-drawer.is-loading .kivo-drawer__loading { opacity: 1; }
.kivo-drawer__loading span { display: block; width: 40%; height: 100%; background: var(--kivo-mustard); animation: kivo-bar-run 1s var(--kivo-ease) infinite; }
@keyframes kivo-bar-run { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.kivo-drawer.is-loading .kivo-drawer__body { opacity: .55; pointer-events: none; }

/* ---------- 18. Floating bits, responsive, reduced motion ---------- */
body .s-block--best-offers,
body .s-block { scroll-margin-top: calc(var(--kivo-header-h, 90px) + 10px); }
@media (max-width: 1023px) {
    body .floating-social:has(.whatsapp) .floating-btn:not(.whatsapp) { display: none !important; }
    body .floating-social:not(:has(.whatsapp)) .floating-btn:not(:first-child) { display: none !important; }
    body section.product-detail .sidebar { top: 90px !important; }
    body .main-content ~ .sticky.top-20 { position: static !important; }
}
/* tablets: the footer's fixed-width columns overflow — lay them out 2 × 2 */
@media (min-width: 768px) and (max-width: 1023px) {
    body .store-footer .footer-container { display: grid !important; grid-template-columns: 1fr 1fr; gap: 32px 28px !important; align-items: start; }
    body .store-footer .footer-container > div { width: auto !important; max-width: none !important; min-width: 0; }
}
@media (max-width: 767px) {
    body .s-slider-block__title-nav { display: none !important; }
    body .floating-social .floating-btn { width: 46px !important; height: 46px !important; }
    body .store-notify h2 { font-size: 13px !important; animation-duration: 17s; }
    body .product-entry.product-entry--vertical > a { margin: 6px 6px 0; }
    body .product-entry .donating-wrap { padding: 10px !important; }
    body .product-entry .product-entry__title a { font-size: 13px; }
    body .product-entry .price-label,
    body .product-entry .price.d-flex,
    body .product-entry .special-price { font-size: 16px; }
    body .product-entry .addToCart { height: 40px !important; font-size: 12.5px !important; }
    body .products-container.grid { gap: 12px !important; }
    body .kivo-cats .swiper-slide { width: 120px !important; }
    body .kivo-cats .banner-square h3 { font-size: 15px !important; }
    body .kivo-brands .swiper-slide { width: 124px !important; }
    body .myStoreSwiper .s-block--features__item { padding: 24px 16px 22px !important; }
    body .banner-entry, body .banner-entry-list { min-height: 190px; }
    body .container > .nav-header.bg-gray-100 { padding: 22px 18px !important; padding-inline-start: 50px !important; }
    body .store-footer .footer-container { text-align: center; }
    .kivo-drawer__panel { top: auto; inset-inline: 0; width: 100%; height: 88vh; border-radius: 20px 20px 0 0; transform: translateY(100%) !important; }
    .kivo-drawer.is-open .kivo-drawer__panel { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    body .store-notify h2 { animation: none !important; padding-inline-start: 0 !important; white-space: normal; flex: 1 !important; }
    .kivo-preloader__page, .kivo-preloader__line { animation: none !important; }
    body *, body *::before, body *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: .01ms !important;
    }
}

/* ---------- 19. Fixes: highlighter fits the text, bookmark logo box keeps its height ---------- */
:root { --kivo-hl: linear-gradient(transparent 52%, rgba(247, 215, 116, .85) 52% 84%, transparent 84%); }
body .s-block__title h2,
body .s-slider-block__title h2,
body .s-block__title .da-cp,
body .store-footer h3 { width: fit-content !important; max-width: 100%; }
body .store-footer h3 { background: linear-gradient(transparent 55%, rgba(227, 166, 35, .5) 55% 85%, transparent 85%); }
body .kivo-brands .box-img { height: 104px !important; aspect-ratio: auto; }
/* let the logo fill the box (so a missing logo's name plate is full width, not a thin strip) */
body .kivo-brands .box-img img { justify-self: stretch; align-self: stretch; }
body .kivo-brands .banner-square > a { display: block; width: 100%; }
@media (max-width: 767px) {
    body .store-footer h3 { margin-inline: auto !important; }
}
