
/* Story viewer modal markup lives in base.html (shared across every shop
   page), but its open/close styling ships in stories.css, which is only
   loaded on pages that actually use stories. Hidden here by default so it
   never shows up as plain content (e.g. below the footer) on pages that
   don't load stories.css; stories.css still controls `.is-open` to reveal it. */
.cw-story-viewer { display: none; }

/* Shared breadcrumb — used consistently across shop pages. */
.cw-crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 16px;
}
.cw-crumbs a,
.cw-crumbs span { color: var(--muted); font-weight: 400; }

/* ===================================================================
   My shop - base styles: tokens, reset, top banner, header,
   category modal, bottom nav, SEO block and footer.
=================================================================== */

@font-face {
    font-family: 'MyCustomFont';
    src: url('../../fonts/YekanBakh-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand: #B4233F;
    --brand-dark: #8C1A31;
    --brand-soft: #FBEAEE;

    --ink: #211C1B;
    --muted: #8B8079;
    --border: #EDE4DF;
    --surface: #FFFFFF;
    --white: #FFFFFF;
    --toman-color: #756862;
    --toman-bg: #F6F0EC;
    --toman-border: #E7DDD6;

    --topbanner-h: 46px;
    --header-h: 64px;
    --subheader-h: 48px;
    --bottom-nav-h: 58px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-full: 999px;
    --container: 1280px;

    /* aliases used by the shared stories stylesheet */
    --cw-bg: var(--white);
    --cw-border: var(--border);
    --cw-muted: var(--muted);
    --cw-pink: var(--brand);
    --cw-pink-dark: var(--brand-dark);
    --cw-gold: #D9A441;
    --cw-radius-lg: var(--radius-md);
    --cw-story-footer-h: 54px;
    --cw-story-footer-gap: 10px;
    --cw-story-footer-bottom: 14px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: 'MyCustomFont', Tahoma, sans-serif;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* buttons/links shouldn't keep a leftover ring after being clicked
   (e.g. a story keeping a red border after its viewer is closed) */
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
    outline: none;
}

.cw-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.cw-skip-link {
    position: absolute;
    right: -9999px;
    top: 0;
    z-index: 999;
    background: var(--brand);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 13px;
}
.cw-skip-link:focus { right: 16px; }

/* ===================== drag to scroll ===================== */

[data-drag-scroll] { cursor: grab; }
[data-drag-scroll].is-dragging { cursor: grabbing; scroll-snap-type: none !important; }
[data-drag-scroll].is-dragging * { pointer-events: none; }

/* ===================== top banner ===================== */

.cw-topbanner {
    position: relative;
    z-index: 620;
    height: var(--topbanner-h);
    background: var(--brand-dark);
    overflow: hidden;
}
.cw-topbanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}
.cw-topbanner__link { display: block; width: 100%; height: 100%; }
.cw-topbanner__close {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: var(--radius-sm);
    border: 0;
    background: rgba(0, 0, 0, .38);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.cw-topbanner__close svg { width: 14px; height: 14px; }
.cw-topbanner__close:hover { background: rgba(0, 0, 0, .58); }

@media (min-width: 992px) {
    .cw-topbanner { position: sticky; top: 0; }
}

/* ===================== header ===================== */

.cw-header {
    position: sticky;
    top: 0;
    z-index: 600;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 992px) {
    body.cw-has-topbanner .cw-header { top: var(--topbanner-h); }
}

.cw-topbar {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cw-topbar__start {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.cw-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    flex: 0 0 auto;
}
.cw-logo__title { font-size: 20px; font-weight: 800; color: var(--brand); }
.cw-logo__subtitle { font-size: 10.5px; color: var(--muted); letter-spacing: .3px; }

/* ---- search ---- */

.cw-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0 6px;
    height: 42px;
    flex: 1;
    max-width: 560px;
    min-width: 0;
    transition: border-color .18s ease, background .18s ease;
}
.cw-search:focus-within { border-color: var(--brand); background: var(--white); }

.cw-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.cw-search__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--muted);
    margin-inline-start: 8px;
}
.cw-search__input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 13.5px;
    color: var(--ink);
    padding: 0 2px;
}
.cw-search__input::placeholder { color: var(--muted); }
.cw-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }

.cw-search__submit {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: var(--brand);
    color: #fff;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.cw-search__submit svg { width: 17px; height: 17px; }
.cw-search__submit:hover { background: var(--brand-dark); }

.cw-topbar__end {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.cw-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink);
    cursor: pointer;
}
.cw-icon-btn svg { width: 19px; height: 19px; }
.cw-icon-btn:hover { border-color: var(--brand); color: var(--brand); }
/* An empty cart must not show a notification badge. */
.cw-icon-btn__badge[hidden],
.cw-bottom-nav__badge[hidden] { display: none !important; }

.cw-icon-btn__badge {
    position: absolute;
    top: -6px;
    left: -6px;
    background: var(--brand);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.cw-auth-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--white);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.cw-auth-btn svg { width: 16px; height: 16px; }
.cw-auth-btn:hover { border-color: var(--brand); color: var(--brand); }

@media (max-width: 991.98px) {
    .cw-topbar { height: 58px; }
    .cw-logo,
    .cw-topbar__end,
    .cw-search__submit { display: none; }
    .cw-search { max-width: none; }
}
@media (min-width: 992px) {
    .cw-search__icon { display: none; }
}

/* ---- second row ---- */

.cw-subheader { display: none; height: var(--subheader-h); }
.cw-subheader__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.cw-subheader__start {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    min-width: 0;
    flex: 0 1 auto;
}

.cw-cat-trigger { position: relative; height: 100%; display: flex; align-items: center; }
.cw-cat-trigger__btn {
    display: flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    border: 0;
    height: 100%;
    font-size: 15.5px;
    font-weight: 800;
    color: var(--ink);
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}
.cw-cat-trigger__btn svg { width: 20px; height: 20px; }
.cw-cat-trigger:hover .cw-cat-trigger__btn { color: var(--brand); }

.cw-subheader__divider { color: var(--border); font-size: 18px; user-select: none; }

.cw-navlinks {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    min-width: 0;
    overflow: hidden;
}
.cw-navlinks a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}
.cw-navlinks a svg { width: 16px; height: 16px; color: var(--brand); }
.cw-navlinks a.is-active svg { color: var(--brand); }
.cw-navlinks a:hover,
.cw-navlinks a.is-active { background: var(--brand-soft); color: var(--brand); }

.cw-headphone {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    margin-inline-start: auto;
    color: var(--brand);
    font-size: 14.5px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background .15s ease;
}
.cw-headphone svg { width: 18px; height: 18px; }
.cw-headphone:hover { background: var(--brand-soft); }

/* ---- mega menu ---- */

.cw-megamenu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 260px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 18px 40px rgba(33, 28, 27, .12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 50;
}
.cw-cat-trigger:hover .cw-megamenu,
.cw-megamenu:hover { opacity: 1; visibility: visible; transform: translateY(0); }

.cw-megamenu__item { position: relative; }
.cw-megamenu__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.cw-megamenu__row img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.cw-megamenu__row svg { width: 14px; height: 14px; margin-inline-start: auto; color: var(--muted); }
.cw-megamenu__item:hover > .cw-megamenu__row { background: var(--brand-soft); color: var(--brand); }
.cw-megamenu__item:hover > .cw-megamenu__row svg { color: var(--brand); }

.cw-megamenu__sub {
    position: absolute;
    top: 0;
    right: 100%;
    margin-inline-end: 6px;
    width: 224px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 40px rgba(33, 28, 27, .12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.cw-megamenu__item:hover > .cw-megamenu__sub { opacity: 1; visibility: visible; transform: translateX(0); }
.cw-megamenu__sub a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 13px; }
.cw-megamenu__sub a:hover { background: var(--brand-soft); color: var(--brand); }

@media (min-width: 992px) {
    .cw-subheader { display: block; }
    .cw-header .cw-container { max-width: 1720px; }
}

/* ===================== categories modal (mobile) ===================== */

.cw-cat-modal { position: fixed; inset: 0; z-index: 9000; display: none; }
.cw-cat-modal.is-open { display: block; }

.cw-cat-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 15, 14, .55);
    opacity: 0;
    transition: opacity .25s ease;
}
.cw-cat-modal.is-visible .cw-cat-modal__backdrop { opacity: 1; }

.cw-cat-modal__panel {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    max-height: 88vh;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.22, .8, .3, 1);
    overflow: hidden;
}
.cw-cat-modal.is-visible .cw-cat-modal__panel { transform: translateY(0); }

.cw-cat-modal__panel::before {
    content: '';
    width: 44px;
    height: 4px;
    border-radius: var(--radius-full);
    background: var(--border);
    margin: 8px auto 0;
    flex: 0 0 auto;
}

.cw-cat-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    flex: 0 0 auto;
}
.cw-cat-modal__title { font-size: 15.5px; font-weight: 800; margin: 0; }
.cw-cat-modal__close {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.cw-cat-modal__close svg { width: 17px; height: 17px; }

.cw-cat-modal__body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 14px calc(18px + env(safe-area-inset-bottom, 0px));
}

.cw-cat-acc {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
}
.cw-cat-acc.is-open { border-color: var(--brand); }

.cw-cat-acc__head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: start;
}
.cw-cat-acc__head--link { color: inherit; text-decoration: none; }
.cw-cat-acc__head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--surface); flex: 0 0 auto; }
.cw-cat-acc__title { flex: 1; font-size: 14px; font-weight: 700; color: var(--ink); }
.cw-cat-acc__chev { width: 18px; height: 18px; color: var(--muted); transition: transform .25s ease; flex: 0 0 auto; }
.cw-cat-acc.is-open .cw-cat-acc__chev { transform: rotate(180deg); color: var(--brand); }
.cw-cat-acc.is-open .cw-cat-acc__title { color: var(--brand); }

.cw-cat-acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.cw-cat-acc.is-open .cw-cat-acc__body { grid-template-rows: 1fr; }
.cw-cat-acc__links { overflow: hidden; }
.cw-cat-acc__links a {
    display: block;
    padding: 10px 14px;
    margin: 0 10px;
    font-size: 13px;
    border-top: 1px dashed var(--border);
}
.cw-cat-acc__links a:first-child { border-top: 0; }
.cw-cat-acc__all { color: var(--brand); font-weight: 700; }

body.cw-no-scroll { overflow: hidden; }

@media (min-width: 992px) {
    .cw-cat-modal { display: none !important; }
}

/* ===================== bottom nav ===================== */

.cw-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 700;
    height: var(--bottom-nav-h);
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 18px rgba(33, 28, 27, .06);
}
.cw-bottom-nav a,
.cw-bottom-nav button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 600;
    font-family: inherit;
    color: var(--muted);
    background: transparent;
    border: 0;
    cursor: pointer;
}
.cw-bottom-nav svg { width: 21px; height: 21px; }
.cw-bottom-nav .is-active { color: var(--brand); }

@media (min-width: 992px) {
    .cw-bottom-nav { display: none; }
}
@media (max-width: 991.98px) {
    body { padding-bottom: var(--bottom-nav-h); }

    /* keep the ai chat launcher above the bottom navigation */
    .aichat-toggle { bottom: calc(var(--bottom-nav-h) + 16px) !important; }
    .aichat-toggle__prompt { bottom: calc(var(--bottom-nav-h) + 82px) !important; }
    .aichat-window { bottom: calc(var(--bottom-nav-h) + 12px) !important; }
}

/* ===================== SEO text block ===================== */

.cw-seo { margin-top: 40px; }

.cw-seo__box {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 22px 56px;
}

.cw-seo__content {
    max-height: 168px;
    overflow: hidden;
    transition: max-height .35s ease;
    font-size: 13.5px;
    line-height: 2.1;
    color: #4A423F;
}
.cw-seo__box.is-open .cw-seo__content { max-height: 4000px; }

.cw-seo__content h1 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 12px; line-height: 1.7; }
.cw-seo__content h2 { font-size: 15px; font-weight: 800; color: var(--ink); margin: 20px 0 8px; }
.cw-seo__content p { margin: 0 0 10px; }
.cw-seo__content a { color: var(--brand); font-weight: 600; }
.cw-seo__content a:hover { text-decoration: underline; }
.cw-seo__content strong { color: var(--ink); }

.cw-seo__fade {
    position: absolute;
    right: 1px;
    left: 1px;
    bottom: 44px;
    height: 78px;
    background: linear-gradient(to top, var(--surface) 30%, rgba(250, 247, 245, 0));
    pointer-events: none;
    transition: opacity .25s ease;
}
.cw-seo__box.is-open .cw-seo__fade { opacity: 0; }

.cw-seo__toggle {
    position: absolute;
    bottom: 16px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand);
    cursor: pointer;
}
.cw-seo__toggle svg { width: 15px; height: 15px; transition: transform .25s ease; }
.cw-seo__box.is-open .cw-seo__toggle svg { transform: rotate(180deg); }

/* ===================== footer ===================== */

.cw-footer {
    margin-top: 40px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 30px 0 22px;
}

.cw-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.cw-footer__brand { display: flex; flex-direction: column; line-height: 1.2; }
.cw-footer__brand-title { font-size: 22px; font-weight: 800; color: var(--brand); }
.cw-footer__brand-sub { font-size: 11px; color: var(--muted); }

.cw-footer__badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cw-footer__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
}
.cw-footer__badge svg { width: 18px; height: 18px; color: var(--brand); }

.cw-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 0;
}
@media (min-width: 330px) {
    .cw-footer__grid { grid-template-columns: repeat(2, 1fr); }
    .cw-footer__col--contact { grid-column: 1 / -1; }
}
@media (min-width: 992px) {
    .cw-footer__grid { grid-template-columns: 1fr 1fr 1.5fr; gap: 26px; }
    .cw-footer__col--contact { grid-column: auto; }
}

.cw-footer__title { font-size: 14px; font-weight: 800; margin: 0 0 12px; }
.cw-footer__list { list-style: none; margin: 0; padding: 0; }
.cw-footer__categories-list { max-height: 150px; overflow-y: auto; padding-left: 6px; scrollbar-width: thin; }
.cw-footer__categories-list::-webkit-scrollbar { width: 5px; }
.cw-footer__categories-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.cw-footer__categories-list::-webkit-scrollbar-track { background: transparent; }
.cw-footer__list li { margin-bottom: 9px; }
.cw-footer__list a { font-size: 12.5px; color: #5C534F; }
.cw-footer__list a:hover { color: var(--brand); }
.cw-footer__report-link { display:inline-flex; align-items:center; gap:7px; min-height:38px; padding:7px 12px; border:1px solid rgba(180,35,63,.22); border-radius:11px; background:linear-gradient(180deg, var(--brand-soft), #fff); color:var(--brand); font:inherit; font-size:12px; font-weight:850; cursor:pointer; text-align:right; box-shadow:0 4px 12px rgba(180,35,63,.08); transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease; }
.cw-footer__report-link svg { width:18px; height:18px; flex:0 0 auto; }
.cw-footer__report-link:hover { color:var(--brand-dark); border-color:rgba(180,35,63,.42); background:var(--brand-soft); box-shadow:0 7px 18px rgba(180,35,63,.15); transform:translateY(-1px); }
.cw-footer__report-link:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.cw-footer__empty { font-size: 12.5px; color: var(--muted); }

.cw-footer__address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-style: normal;
    font-size: 12.5px;
    line-height: 1.9;
    color: #5C534F;
    margin-bottom: 12px;
}
.cw-footer__address svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 4px; color: var(--brand); }

.cw-footer__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 800;
    color: var(--brand);
}
.cw-footer__phone svg { width: 17px; height: 17px; }
.cw-footer__phone:hover { border-color: var(--brand); }

.cw-socials { display: flex; align-items: center; gap: 9px; margin-top: 16px; flex-wrap: wrap; }
.cw-social {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition: transform .18s ease, border-color .18s ease;
}
.cw-social img { width: 100%; height: 100%; object-fit: cover; }
.cw-social:hover { transform: translateY(-3px); border-color: var(--brand); }

.cw-trust { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.cw-trust img { max-width: 110px; height: auto; background: var(--white); border-radius: var(--radius-sm); }

.cw-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    font-size: 11.5px;
    color: var(--muted);
}
.cw-footer__bottom p { margin: 0; }
.cw-footer__made a { color: var(--brand); font-weight: 700; }

@media (max-width: 560px) {
    .cw-container { padding: 0 14px; }
    .cw-seo__box { padding: 18px 16px 54px; }
    .cw-seo__toggle { right: 16px; }
}

/* Purchase-flow cart badge in mobile bottom navigation */
.cw-bottom-nav__icon-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center}
.cw-bottom-nav__badge{position:absolute;top:-7px;right:-9px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--brand);color:#fff;font-size:9px;font-weight:900;line-height:17px;text-align:center}
.cw-bottom-nav .is-active .cw-bottom-nav__badge{background:var(--brand);color:#fff}

/* Search button stays inactive until something is typed. */
.cw-search__submit:disabled { opacity: .45; cursor: not-allowed; }
.cw-search__submit:disabled:hover { background: var(--brand); }

/* Site problem report modal */
.cw-site-report-modal[hidden]{display:none!important}
.cw-site-report-modal{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:18px}
.cw-site-report-modal__backdrop{position:absolute;inset:0;background:rgba(33,28,27,.48)}
.cw-site-report-modal__dialog{position:relative;z-index:1;width:min(560px,100%);max-height:min(90vh,720px);overflow:auto;padding:20px;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(33,28,27,.2)}
.cw-site-report-modal__close{position:absolute;top:10px;left:10px;width:34px;height:34px;border:0;border-radius:9px;background:transparent;color:#756c67;font-size:26px;line-height:1;cursor:pointer}
.cw-site-report-modal__close:hover{background:#f7f3f0;color:var(--brand)}
.cw-site-report-modal__head{display:flex;gap:12px;align-items:flex-start;padding-left:35px}
.cw-site-report-modal__icon{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border-radius:11px;background:var(--brand-soft);color:var(--brand)}
.cw-site-report-modal__icon svg{width:22px;height:22px}
.cw-site-report-modal__head h2{margin:1px 0 4px;font-size:17px}
.cw-site-report-modal__head p{margin:0;color:var(--muted);font-size:11.5px;line-height:1.95}
.cw-site-report-modal__form{display:grid;gap:12px;margin-top:18px}
.cw-site-report-modal__form label{display:grid;gap:6px}
.cw-site-report-modal__form label>span{font-size:11.5px;font-weight:800;color:var(--ink)}
.cw-site-report-modal__form label>span em{font-style:normal;color:var(--muted);font-size:9.5px;font-weight:600;margin-right:4px}
.cw-site-report-modal__form label>span b{color:var(--brand)}
.cw-site-report-modal__form input,.cw-site-report-modal__form textarea{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:12px;outline:none;padding:10px 12px}
.cw-site-report-modal__form textarea{resize:vertical;min-height:130px;line-height:1.9}
.cw-site-report-modal__form input:focus,.cw-site-report-modal__form textarea:focus{border-color:var(--brand)}
.cw-site-report-modal__submit{min-height:44px;border:0;border-radius:10px;background:var(--brand);color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.cw-site-report-modal__submit:hover{background:var(--brand-dark)}
.cw-site-report-modal__submit:disabled{opacity:.6;cursor:not-allowed}
.cw-site-report-modal__honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:639.98px){.cw-site-report-modal{padding:10px}.cw-site-report-modal__dialog{padding:16px;border-radius:14px}.cw-site-report-modal__head{padding-left:30px}.cw-site-report-modal__head p{font-size:11px}}


/* Prevent the site-report dialog from ever creating a horizontal scroll area. */
.cw-site-report-modal {
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
    overscroll-behavior: contain;
}
.cw-site-report-modal__dialog {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
.cw-site-report-modal__head,
.cw-site-report-modal__form,
.cw-site-report-modal__form label {
    min-width: 0;
    max-width: 100%;
}
.cw-site-report-modal__head > div {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}
