/* Corvista - corporate-style online store for digital services and computer accessories (mdsdubai.ae-style look, own content).
   White, forest green and night; Urbanist headings, Source Sans 3 body. A thin contact bar and the menu over a full-width city
   photo on the homepage; a category slider (text card | photo | green "Up next" panel); About with a photo; product cards; offers
   in labelled rows; four round "advantage" steps; a white call-to-action band; a dark city-photo footer. */
:root {
    --bg: #FFFFFF;
    --surface: #FFFFFF;
    --soft: #F3F6F4;
    --line: #DCE5E0;
    --ink: #17201C;
    --muted: #4C5A54;
    --primary: #1F8A4C;
    --primary-deep: #166B3A;
    --secondary: #0E1A16;
    --accent: #7BD3A0;
    --night-text: #C9D6D0;
    --radius: 6px;
    --radius-s: 4px;
    --shadow: 0 2px 6px rgba(14, 26, 22, .06), 0 18px 40px rgba(14, 26, 22, .08);
    --head: "Urbanist", "Segoe UI", system-ui, sans-serif;
    --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    --gutter: clamp(18px, 4vw, 40px);
    --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.cvs { margin: 0; background: var(--bg); color: var(--ink); font: 400 clamp(16px, .2vw + 15px, 17.5px)/1.7 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-deep); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.cvs-ic { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.cvs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cvs-skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); text-decoration: none; }
.cvs-skip:focus { top: 12px; }
.cvs-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.cvs-announce { background: var(--primary); color: #fff; text-align: center; font-size: .9rem; padding: 7px var(--gutter); }
.cvs-announce a { color: inherit; }

/* ---------- buttons, links, kickers ---------- */
.cvs-btn, .cvs-b1, .cvs-b2, .cvs-b3 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: var(--radius-s);
    font: 700 .98rem/1 var(--head); letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.cvs-btn, .cvs-b1 { background: var(--primary); color: #fff !important; }
.cvs-btn:hover, .cvs-b1:hover { background: var(--primary-deep); }
.cvs-b2 { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.cvs-b2:hover { background: var(--ink); color: #fff !important; }
.cvs-b3 { background: var(--secondary); color: #fff !important; }
.cvs-b3:hover { background: #22312B; }
.cvs-btn-light, .cvs-btn-amber { background: #fff; color: var(--ink) !important; }
.cvs-btn-light:hover, .cvs-btn-amber:hover { background: var(--accent); }
.cvs-btn-ghost { background: #fff; color: var(--ink) !important; border-color: var(--line); }
.cvs-btn-ghost:hover { border-color: var(--primary); color: var(--primary-deep) !important; }
.cvs-link { display: inline-flex; align-items: center; gap: 8px; font: 700 .98rem/1.3 var(--head); color: var(--primary-deep); text-decoration: none; }
.cvs-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.cvs-kicker, .cvs-kicker p { margin: 0 0 6px; font: 700 .82rem/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.cvs-chip p { display: inline-flex; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); color: #fff; font: 600 .9rem/1.3 var(--body); }

/* ---------- contact bar + header ---------- */
.cvs-topbar { background: var(--secondary); color: var(--night-text); font-size: .88rem; }
.cvs-topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; min-height: 40px; flex-wrap: wrap; }
.cvs-topbar-tag { margin: 0; }
.cvs-topbar-links { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.cvs-topbar-links a { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; }
.cvs-topbar-links a:hover { color: var(--accent); }
.cvs-topbar-links .cvs-ic { color: var(--accent); }
.cvs-topbar-social .cvs-ic { color: #fff; }
.cvs-top { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); transition: background-color .3s, box-shadow .3s, border-color .3s; }
.cvs-top.is-stuck { box-shadow: 0 10px 30px rgba(14, 26, 22, .1); }
.cvs-bar { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; flex-wrap: wrap; }
.cvs-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.cvs-logo img { max-height: 46px; width: auto; }
.cvs-logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-s); background: var(--primary); color: #fff; }
.cvs-logo-mark .cvs-ic { width: 22px; height: 22px; }
.cvs-logo-word { font: 800 1.45rem/1 var(--head); letter-spacing: -.02em; }
.cvs-nav { display: flex; align-items: center; justify-content: flex-end; gap: 2px; flex: 1; min-width: 0; }
.cvs-nav > a, .cvs-dept-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; text-decoration: none; color: var(--ink); font: 600 .98rem/1 var(--head); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.cvs-nav > a::after, .cvs-dept-btn::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .25s; }
.cvs-nav > a:hover::after, .cvs-nav > a.on::after, .cvs-dept-btn:hover::after, .cvs-dept-btn[aria-expanded="true"]::after { transform: scaleX(1); }
.cvs-nav > a.on { color: var(--primary-deep); }
.cvs-dept { position: relative; }
.cvs-dept-btn[aria-expanded="true"] .cvs-i-down { transform: rotate(180deg); }
.cvs-dept-panel { position: absolute; right: 0; top: calc(100% + 14px); width: min(760px, calc(100vw - 32px)); display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 16px; background: #fff;
    border-top: 3px solid var(--primary); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 30px 60px rgba(14, 26, 22, .18); padding: 16px; z-index: 70; }
.cvs-dept-panel[hidden] { display: none !important; }
.cvs-dept-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* keeps the hover open across the gap */
.cvs-dept-intro { background: var(--soft); border-radius: var(--radius); padding: 18px; color: var(--muted); font-size: .95rem; }
.cvs-dept-h { margin: 0 0 6px; font: 700 1.1rem/1.2 var(--head); color: var(--ink); }
.cvs-dept-panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; align-content: start; }
.cvs-dept-panel li a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.cvs-dept-panel li a:hover { background: var(--soft); }
.cvs-dept-panel b { display: block; font: 700 1rem/1.25 var(--head); }
.cvs-dept-panel small { color: var(--muted); font-size: .86rem; }
.cvs-dept-img { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: var(--radius-s); overflow: hidden; background: var(--soft); color: var(--primary); }
.cvs-dept-img img { width: 100%; height: 100%; object-fit: cover; }
.cvs-actions { display: flex; align-items: center; gap: 2px; }
.cvs-act { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 10px; border: 0; border-radius: var(--radius-s); background: none; color: var(--ink); text-decoration: none; font: 600 .95rem/1 var(--head); cursor: pointer; white-space: nowrap; }
.cvs-act:hover { color: var(--primary-deep); }
.cvs-act .cvs-ic { width: 20px; height: 20px; }
.cvs-act-track span, .cvs-act-account span { display: none; }
.cvs-act-cart { margin-left: 6px; padding: 0 18px; background: var(--primary); color: #fff; }
.cvs-act-cart:hover { background: var(--primary-deep); color: #fff; }
.cvs-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--secondary); color: #fff; font: 700 .74rem/20px var(--head); text-align: center; }
.cvs-search { flex: 1 1 100%; display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 5px 5px 5px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--soft); }
.cvs-search[hidden] { display: none !important; }
.cvs-search > .cvs-ic { color: var(--muted); }
.cvs-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; color: var(--ink); padding: 8px 0; }
.cvs-search input:focus { outline: none; }
.cvs-search:focus-within { border-color: var(--primary); }
.cvs-search .cvs-btn { min-height: 40px; }
.cvs-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.cvs-burger .cvs-ic { width: 22px; height: 22px; }
.cvs-burger .cvs-i-close, .cvs-top.is-open .cvs-burger .cvs-i-open { display: none; }
.cvs-top.is-open .cvs-burger .cvs-i-close { display: block; }
/* homepage: the contact bar and the menu over the city photo, white once scrolled (or while searching / the menu is open) */
.cvs-front .cvs-topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 61; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.cvs-front .cvs-top { position: fixed; left: 0; right: 0; top: 40px; background: transparent; border-color: transparent; }
.cvs-front .cvs-top:not(.is-stuck):not(.is-open):not(.is-searching) :is(.cvs-logo, .cvs-nav > a, .cvs-dept-btn, .cvs-act:not(.cvs-act-cart)) { color: #fff; }
.cvs-front .cvs-top:not(.is-stuck):not(.is-open):not(.is-searching) .cvs-burger { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.cvs-front .cvs-top.is-stuck, .cvs-front .cvs-top.is-searching, .cvs-front .cvs-top.is-open { top: 0; background: #fff; border-color: var(--line); }

/* ---------- main, sections ---------- */
.cvs-main { min-height: 50vh; }
.cvs-flash { max-width: var(--wrap); margin: 14px auto 0; padding-inline: var(--gutter); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cvs-flash .ec-alert { margin: 0; flex: 1 1 260px; }
.cvs-flash > a { font-weight: 600; color: var(--primary); }
.cvs-front .cvs-flash { position: relative; z-index: 5; margin-top: 140px; }
.cvs-content { width: 100%; }
.cvs-home .pb-section, .cvs-page .pb-section { max-width: var(--wrap); margin-inline: auto; padding: clamp(48px, 7vw, 96px) var(--gutter); }
.cvs-bsec > .pb-column { min-width: 0; }
.cvs-page { padding-bottom: 32px; }
.cvs-page > :not(.pb-root):not(.ec-shop):not(.ec-cart):not(.ec-checkout) { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.cvs-title { margin-bottom: 18px; }
.cvs-more { margin: -8px 0 18px; }
.cvs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.cvs-head h2 { margin: 0; }
.cvs-sec { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter); }
.cvs-bsec .cvs-sec { padding: 0; max-width: none; }
/* a section's "See all" link sits to the right of its heading */
.cvs-bsec > .pb-column { position: relative; }
.cvs-bsec .cvs-more { position: absolute; right: 0; top: 0; margin: 0; }
.cvs-bsec .cvs-title { padding-right: 170px; }
.cvs-lede, .cvs-lede p { font-size: clamp(1.08rem, .5vw + 1rem, 1.25rem); color: var(--muted); max-width: 58ch; margin: 0 0 8px; }
/* sections that run edge to edge, their content still in the page width */
.cvs-home .cvs-hero, .cvs-s-cats, .cvs-about-home, .cvs-s-perks, .cvs-intro, .cvs-s-deals {
    max-width: none !important; padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))) !important; }

/* ---------- hero: a full-width city photo ---------- */
.cvs-home .cvs-hero { position: relative; display: flex !important; align-items: center; gap: 40px; min-height: min(92vh, 860px); padding-top: 170px !important; padding-bottom: 90px !important; color: #fff;
    background: linear-gradient(90deg, rgba(8, 18, 14, .86) 0%, rgba(8, 18, 14, .55) 55%, rgba(8, 18, 14, .2) 100%), url(../images/demo/hero.jpg) center / cover no-repeat; }
.cvs-home .cvs-hero > .pb-column { min-width: 0; }
.cvs-hero-text { flex: 1 1 0; max-width: 720px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cvs-hero-text > * { flex: 0 0 100%; }
.cvs-hero-text > .cvs-b1, .cvs-hero-text > .cvs-b2 { flex: 0 0 auto; }
.cvs-hero h1, .cvs-hero .cvs-h1 { color: #fff; margin: 0; max-width: 16ch; }
.cvs-hero .cvs-lede, .cvs-hero .cvs-lede p { color: #E2EAE6; }
.cvs-hero .cvs-b2 { color: #fff !important; border-color: rgba(255, 255, 255, .75); }
.cvs-hero .cvs-b2:hover { background: #fff; color: var(--ink) !important; }
.cvs-hero-visual { flex: 0 1 420px; }
.cvs-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* the storefront board (Corvista Store Studio > Homepage > hero visual, off by default) */
.cvs-board { background: rgba(8, 18, 14, .55); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); padding: 18px; backdrop-filter: blur(6px); color: #fff; }
.cvs-board-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 12px; font: 700 1.05rem/1.2 var(--head); }
.cvs-board-h em { font: 500 .78rem/1 var(--body); font-style: normal; color: var(--night-text); }
.cvs-board ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cvs-board li > a, .cvs-board li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.cvs-board li:has(> a) { display: block; }
.cvs-board li > a { padding: 8px; border-radius: var(--radius-s); background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.cvs-board li > a:hover { background: rgba(255, 255, 255, .12); }
.cvs-board-img { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-s); overflow: hidden; background: rgba(255, 255, 255, .1); }
.cvs-board-img img { width: 100%; height: 100%; object-fit: cover; }
.cvs-board-name b { display: block; font: 700 .95rem/1.25 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cvs-board-name small { color: var(--night-text); font-size: .8rem; }
.cvs-board-end { display: grid; justify-items: end; gap: 3px; font-size: .8rem; }
.cvs-board .cvs-price { color: #fff; font-size: .98rem; }
.cvs-board .cvs-price s { color: var(--night-text); }
.cvs-board .is-ok, .cvs-board .is-svc, .cvs-board .is-plan { color: var(--accent); }
.cvs-board-f { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--accent); font: 700 .95rem/1 var(--head); text-decoration: none; }

/* ---------- the category slider: text card | photo | green panel ---------- */
.cvs-s-cats { padding-top: clamp(40px, 5vw, 64px) !important; padding-bottom: 0 !important; background: linear-gradient(90deg, #fff 0 62%, var(--primary) 62% 100%); }
.cvs-s-cats .cvs-kicker, .cvs-s-cats .cvs-title { max-width: 55%; }
.cvs-s-cats .cvs-more { position: static; margin: 0 0 6px; }
.cvs-slider { position: relative; padding-block: clamp(20px, 3vw, 36px) clamp(48px, 6vw, 80px); }
.cvs-slides { list-style: none; margin: 0; padding: 0; display: grid; }
.cvs-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr) minmax(0, .8fr); align-items: center; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.cvs-slide.is-on { opacity: 1; visibility: visible; }
.cvs-slide-card { position: relative; z-index: 1; padding: clamp(18px, 3vw, 36px) clamp(18px, 3vw, 40px) clamp(18px, 3vw, 36px) 0; }
.cvs-slide-kicker { margin: 0 0 8px; font: 700 .82rem/1.3 var(--head); letter-spacing: .14em; color: var(--primary); }
.cvs-slide-card h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); margin-bottom: 12px; }
.cvs-slide-card p { color: var(--muted); }
.cvs-slide-photo { position: relative; z-index: 2; margin-block: -20px; box-shadow: 0 30px 60px rgba(14, 26, 22, .25); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); display: grid; place-items: center; color: var(--primary); }
.cvs-slide-photo img { width: 100%; height: 100%; object-fit: cover; }
.cvs-slide-panel { color: #fff; padding: 24px clamp(18px, 3vw, 44px); }
.cvs-slide-ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .16); margin-bottom: 16px; }
.cvs-slide-ic .cvs-ic { width: 26px; height: 26px; }
.cvs-slide-panel b { display: block; font: 700 .82rem/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; color: #E3F5EA; margin-bottom: 10px; }
.cvs-slide-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cvs-slide-panel li { font: 600 1.05rem/1.3 var(--head); padding-left: 16px; border-left: 2px solid rgba(255, 255, 255, .45); }
.cvs-slider-nav { display: flex; align-items: center; gap: 14px; margin-top: 26px; width: 62%; }
.cvs-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.cvs-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.cvs-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.cvs-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: #C7D3CD; cursor: pointer; }
.cvs-dot.is-on { background: var(--primary); width: 28px; border-radius: 999px; }

/* ---------- About on the homepage: photo + text on soft grey ---------- */
.cvs-about-home { background: var(--soft); display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) !important; gap: clamp(28px, 5vw, 70px); align-items: center; }
.cvs-about-home > .pb-column { grid-column: auto !important; }
.cvs-about-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.cvs-about-text { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: center; }
.cvs-about-text > * { flex: 0 0 100%; }
.cvs-about-text > .cvs-b1, .cvs-about-text > .cvs-b3 { flex: 0 0 auto; margin-top: 8px; }
.cvs-about-text h2 { color: var(--primary-deep); }

/* ---------- product cards ---------- */
.cvs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cvs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.cvs-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.cvs-card-img { position: relative; display: block; aspect-ratio: 1; background: var(--soft); overflow: hidden; }
.cvs-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cvs-card:hover .cvs-card-img img { transform: scale(1.04); }
.cvs-noimg { display: grid; place-items: center; height: 100%; color: var(--primary); }
.cvs-noimg .cvs-ic { width: 40px; height: 40px; }
.cvs-flags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.cvs-flag { padding: 5px 9px; border-radius: var(--radius-s); background: var(--secondary); color: #fff; font: 700 .76rem/1 var(--head); letter-spacing: .04em; }
.cvs-flag-off { background: var(--primary); }
.cvs-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.cvs-card-cat { margin: 0 0 4px; font: 700 .74rem/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.cvs-card-title { margin: 0 0 6px; font-size: 1.08rem; line-height: 1.3; }
.cvs-card-title a { color: var(--ink); text-decoration: none; }
.cvs-card-title a:hover { color: var(--primary-deep); }
.cvs-card-kind { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; font-size: .86rem; color: var(--muted); }
.cvs-card-kind .cvs-ic { color: var(--primary); }
.cvs-card-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.cvs-price { font: 800 1.12rem/1 var(--head); color: var(--ink); }
.cvs-price s { margin-left: 4px; font-size: .85rem; font-weight: 500; color: var(--muted); }
.cvs-add-form { margin: 0; }
.cvs-add { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: var(--radius-s); background: var(--primary); color: #fff; cursor: pointer; transition: background-color .2s; }
.cvs-add:hover { background: var(--primary-deep); }
.cvs-sold { font-size: .85rem; color: var(--muted); }

/* ---------- offers: labelled rows (a big label on one side, product tiles on the other) ---------- */
.cvs-s-deals { border-top: 1px solid var(--line); }
.cvs-deals { display: grid; gap: 18px; }
.cvs-deals-intro { text-align: center; margin-bottom: 10px; }
.cvs-deals-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); gap: 20px; align-items: center; }
.cvs-deals-row.is-right { grid-template-columns: minmax(0, 2.1fr) minmax(0, .9fr); }
.cvs-deals-row.is-right .cvs-deals-label { order: 2; text-align: right; }
.cvs-deals-label { margin: 0; font: 800 clamp(1.4rem, 2.4vw, 2.1rem)/1.1 var(--head); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.cvs-deals-save { margin: -6px 0 16px; color: var(--muted); text-align: center; }
.cvs-deals-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cvs-deal { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
.cvs-deal:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.cvs-deal-img { position: relative; grid-column: 1 / -1; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-s); overflow: hidden; background: var(--soft); }
.cvs-deal-img img { width: 100%; height: 100%; object-fit: cover; }
.cvs-deal-img .cvs-flag { position: absolute; left: 8px; top: 8px; }
.cvs-deal h3 { margin: 0 0 6px; font-size: .98rem; line-height: 1.3; }
.cvs-deal h3 a { color: var(--ink); text-decoration: none; }
.cvs-deal .cvs-price { font-size: 1rem; color: var(--primary-deep); }

/* ---------- new in: a row that scrolls sideways ---------- */
.cvs-rail { position: relative; }
.cvs-rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, calc((100% - 60px) / 4)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 12px; }
.cvs-rail-track > * { scroll-snap-align: start; }
.cvs-rail-btn { position: absolute; top: calc(50% - 64px); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; }
.cvs-rail-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.cvs-rail-btn[data-go="-1"] { left: -18px; }
.cvs-rail-btn[data-go="1"] { right: -18px; }

/* ---------- our advantage: four round steps ---------- */
.cvs-s-perks { background: var(--soft); text-align: center; }
.cvs-s-perks .cvs-title { padding-right: 0; }
.cvs-adv-lede p, .cvs-adv-lede { max-width: 70ch; margin-inline: auto; color: var(--muted); }
.cvs-perks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; text-align: center; }
.cvs-perks li > a, .cvs-perks li > div { display: flex; flex-direction: column; align-items: center; color: var(--ink); text-decoration: none; }
.cvs-perk-ring { display: grid; place-items: center; width: min(150px, 60%); aspect-ratio: 1; margin-bottom: 18px; border-radius: 50%; background: #fff; border: 6px solid #fff; box-shadow: var(--shadow), inset 0 0 0 2px var(--accent); color: var(--primary); transition: transform .3s; }
.cvs-perks li > a:hover .cvs-perk-ring { transform: translateY(-4px); }
.cvs-perk-ring .cvs-ic { width: 44%; height: 44%; }
.cvs-perks b { font: 700 1.22rem/1.2 var(--head); margin-bottom: 6px; }
.cvs-perk-text { color: var(--muted); font-size: .97rem; max-width: 30ch; }
.cvs-catpage + .cvs-perks-sec, .cvs-page .cvs-perks-sec { text-align: center; }

/* ---------- call to action: a white band ---------- */
.cvs-home .cvs-end, .cvs-page .cvs-end { padding-block: clamp(40px, 6vw, 70px) !important; }
.cvs-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px; }
.cvs-callout > .cvs-title { flex: 1 1 420px; margin: 0; max-width: 26ch; padding-right: 0; }
.cvs-callout > .cvs-call-text { flex: 1 1 100%; order: 3; }
.cvs-call-text p { margin: 0; color: var(--muted); }
.cvs-callout > .cvs-b1 { order: 2; }

/* ---------- homepage "About our online store" block, inner pages ---------- */
.cvs-home-intro { border-top: 1px solid var(--line); }
.cvs-home-intro h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.cvs-home-intro p { color: var(--muted); max-width: 80ch; }
.cvs-intro { color: #fff; padding-block: clamp(70px, 10vw, 120px) clamp(50px, 7vw, 80px) !important;
    background: linear-gradient(90deg, rgba(8, 18, 14, .88), rgba(8, 18, 14, .55)), url(../images/demo/page-default.jpg) center / cover no-repeat; }
.cvs-i-about { background-image: linear-gradient(90deg, rgba(8, 18, 14, .88), rgba(8, 18, 14, .55)), url(../images/demo/page-about.jpg); }
.cvs-intro h1 { color: #fff; max-width: 20ch; margin-bottom: 14px; }
.cvs-intro h1::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 18px; background: var(--primary); border-radius: 2px; }
.cvs-intro .cvs-lede, .cvs-intro .cvs-lede p { color: #E2EAE6; }
.cvs-about { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: clamp(24px, 4vw, 56px); }
.cvs-about > .pb-column { grid-column: auto !important; min-width: 0; }
.cvs-about h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.cvs-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 26px; align-items: start; }
.cvs-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cvs-ways a, .cvs-ways div { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.cvs-ways a:hover { border-color: var(--primary); }
.cvs-ways .cvs-ic { width: 42px; height: 42px; padding: 10px; border-radius: var(--radius-s); background: rgba(31, 138, 76, .1); color: var(--primary); }
.cvs-ways b { display: block; font-family: var(--head); }
.cvs-ways span { color: var(--muted); }
.cvs-ways span b { color: var(--ink); }
.cvs-form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); }
.cvs-form-alt h3 { margin: 0 0 8px; }
.cvs-form-alt p { color: var(--muted); margin: 0 0 18px; }
.cvs-page h1:first-child { margin-top: 28px; }

.cvs-legal-body { max-width: 820px; }
.cvs-legal-body .cvs-title { margin: 34px 0 10px; padding-right: 0; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.cvs-legal-body .cvs-title:first-child { margin-top: 0; }
.cvs-legal-body p { color: var(--muted); }
.cvs-legal-note p { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; }
/* ---------- category pages, store-page help ---------- */
.cvs-catpage { padding-block: clamp(20px, 3vw, 36px) 8px; }
.cvs-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.cvs-crumbs a { color: var(--primary-deep); text-decoration: none; }
.cvs-crumbs a:hover { text-decoration: underline; }
.cvs-cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 30px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.cvs-cat-head h1 { margin: 0 0 10px; }
.cvs-cat-head h1::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 14px; background: var(--primary); border-radius: 2px; }
.cvs-cat-head .cvs-lede { margin: 0; }
.cvs-cat-note { margin: 24px 0 0; max-width: 80ch; color: var(--muted); }
.cvs-cat-more { margin-top: clamp(32px, 5vw, 56px); }
.cvs-cat-more h2 { font-size: 1.4rem; }
.cvs-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cvs-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-s); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.cvs-chips a:hover { border-color: var(--primary); color: var(--primary-deep); }
.cvs-chips small { color: var(--muted); font-weight: 500; }
.cvs-catpage + .cvs-sec { padding-top: clamp(28px, 4vw, 40px); }
.cvs-lead { font-size: clamp(1.02rem, .4vw + .95rem, 1.15rem); color: var(--muted); max-width: 70ch; margin: -4px 0 20px; }
.cvs-help { margin: clamp(32px, 5vw, 56px) 0 0; padding: clamp(22px, 4vw, 40px); background: var(--soft); border-radius: var(--radius); }
.cvs-help h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 0; }
.cvs-help p { color: var(--muted); max-width: 75ch; }
.cvs-help a { color: var(--primary-deep); font-weight: 600; }
.cvs-help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; margin-bottom: 8px; }
.cvs-help-grid h3 { color: var(--primary-deep); }
.cvs-status { margin: 0 0 18px; padding-left: 20px; color: var(--muted); }
.cvs-status li { margin-bottom: 6px; }
.cvs-status b { color: var(--ink); }

/* ---------- the E-commerce Store plugin's pages in this theme's look ---------- */
.cvs .ec-shop, .cvs .ec-cart, .cvs .ec-checkout, .cvs .ec-track { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
/* low specificity on purpose (:where), so a page design (Corvista Store Studio colours) can win */
.cvs .ec-btn:where(:not(.ec-btn-ghost)), .cvs :where(.ec-shop) button[type="submit"]:where(:not(.ec-btn-ghost, .ec-link, .ec-x)) { background: var(--primary); color: #fff; border-color: var(--primary); border-radius: var(--radius-s); font-family: var(--head); font-weight: 700; }
.cvs .ec-btn:hover { background: var(--primary-deep); border-color: var(--primary-deep); }
.cvs .ec-btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius-s); }
.cvs .ec-btn-ghost:hover { background: var(--ink); color: #fff; }
.cvs .ec-card { border-radius: var(--radius); border-color: var(--line); background: #fff; }
.cvs .ec-card-img { background: var(--soft); }
.cvs .ec-price { color: var(--ink); }
.cvs .ec-tag-sale { background: var(--primary); color: #fff; }
.cvs .ec-page-title, .cvs .ec-product h1, .cvs .ec-product h2 { font-family: var(--head); }
.cvs .ec-link, .cvs .ec-crumb { color: var(--primary-deep); }
.cvs .ec-shop input, .cvs .ec-shop select, .cvs .ec-cart input, .cvs .ec-checkout input, .cvs .ec-checkout select, .cvs .ec-checkout textarea { border-radius: var(--radius-s); border-color: var(--line); font-family: var(--body); }
.cvs .ec-box { border-radius: var(--radius); border-color: var(--line); background: #fff; }
/* the thank-you page and Corvista Store Studio's notes */
.cvs .ec-done-icon { background: var(--primary); color: #fff; }
.cvs .ec-done h2 { font-family: var(--head); font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 10px; }
.cvs .ec-ui-next { background: var(--soft); border-left: 4px solid var(--primary); }
.cvs .ec-ui-next h3 { font-family: var(--head); font-size: 1.15rem; }
.cvs .ec-ui-note { color: var(--muted); }
.cvs .ec-done .ec-btn + .ec-link, .cvs .ec-done .ec-btn { margin: 4px 8px; }

/* ---------- the shop page's product list (the plugin's .ec-card) in this theme's card look ---------- */
.cvs .ec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cvs .ec-chip { border-radius: var(--radius-s); border-color: var(--line); padding: 8px 14px; font-weight: 600; color: var(--ink); background: #fff; }
.cvs .ec-chip:hover { border-color: var(--primary); color: var(--primary-deep); }
.cvs .ec-chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff !important; }
.cvs .ec-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s; }
.cvs .ec-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.cvs .ec-card-img { aspect-ratio: 4 / 3; background: var(--soft); }
.cvs .ec-card-img::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.cvs .ec-card:hover .ec-card-img::after { transform: scaleX(1); }
.cvs .ec-tags { top: 12px; left: 12px; }
.cvs .ec-tag { border-radius: var(--radius-s); background: var(--secondary); font: 700 .76rem/1 var(--head); padding: 6px 9px; letter-spacing: .04em; }
.cvs .ec-tag-sale { background: var(--primary); }
.cvs .ec-card-body { padding: 18px 18px 16px; gap: 8px; }
.cvs .ec-card-title { font: 700 1.1rem/1.3 var(--head); }
.cvs .ec-card-title a { color: var(--ink); }
.cvs .ec-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* the whole card opens the product */
.cvs .ec-card-title a:hover { color: var(--primary-deep); }
.cvs .ec-card-text { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.cvs .ec-card-foot { padding-top: 12px; margin-top: auto; border-top: 1px solid var(--line); flex-wrap: nowrap; }
.cvs .ec-card .ec-price { font: 800 1.15rem/1.1 var(--head); color: var(--ink); }
.cvs .ec-card .ec-price s { display: block; margin-top: 3px; font: 500 .82rem/1 var(--body); color: var(--muted); }
.cvs .ec-card-buy { position: relative; z-index: 2; }
.cvs .ec-card .ec-btn-small { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 2px solid var(--primary) !important; border-radius: var(--radius-s); background: transparent !important; color: var(--primary-deep) !important; font: 700 .9rem/1 var(--head); white-space: nowrap; }
.cvs .ec-card .ec-btn-small::before { content: "+"; font-size: 1.1rem; line-height: .8; }
.cvs .ec-card .ec-btn-small:hover { background: var(--primary) !important; color: #fff !important; }

/* the admin bar of a logged-in owner (fixed, 32px; 46px on phones) sits above the sticky menu */
html:has(#aiwb-adminbar) .cvs-top { top: 32px; }
html:has(#aiwb-adminbar) .cvs-front .cvs-topbar { top: 32px; }
html:has(#aiwb-adminbar) .cvs-front .cvs-top { top: 72px; }
html:has(#aiwb-adminbar) .cvs-front .cvs-top.is-stuck, html:has(#aiwb-adminbar) .cvs-front .cvs-top.is-searching, html:has(#aiwb-adminbar) .cvs-front .cvs-top.is-open { top: 32px; }
@media (max-width: 1180px) { .cvs .ec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .cvs .ec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cvs .ec-card-body { padding: 12px; }
    .cvs .ec-card-text { display: none; }
    .cvs .ec-card-foot { flex-wrap: wrap; }
    .cvs .ec-card .ec-btn-small { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
    html:has(#aiwb-adminbar) .cvs-top, html:has(#aiwb-adminbar) .cvs-front .cvs-top { top: 46px; }
}

/* ---------- product cards, look 2 (owner 2026-11-12): photo first, price + add-to-cart floating on the photo ----------
   The card body is "display: contents", so its price row can sit on the photo (grid row 1) while the name and the text
   follow below. Same look for the shop page (.ec-card, the plugin's markup) and the theme's own cards (.cvs-card). */
.cvs .ec-card, .cvs-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; border: 0; border-radius: 12px; background: #fff;
    box-shadow: 0 1px 2px rgba(14, 26, 22, .06), 0 10px 26px rgba(14, 26, 22, .07); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.cvs .ec-card:hover, .cvs-card:hover { transform: translateY(-4px); border: 0; box-shadow: 0 2px 4px rgba(14, 26, 22, .06), 0 24px 48px rgba(14, 26, 22, .14); }
.cvs .ec-card-body, .cvs-card-body { display: contents; }
.cvs .ec-card-img, .cvs-card-img { grid-row: 1; grid-column: 1; aspect-ratio: 1; margin: 0; border-radius: 0; background: var(--soft); }
.cvs .ec-card-img::before, .cvs-card-img::before { content: ""; position: absolute; inset: auto 0 0; height: 46%; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(8, 18, 14, .55)); }
.cvs .ec-card-img::after { display: none; }
.cvs .ec-card-img img, .cvs-card-img img { transition: transform .5s; }
.cvs .ec-card:hover .ec-card-img img, .cvs-card:hover .cvs-card-img img { transform: scale(1.06); }
.cvs .ec-tags, .cvs-flags { z-index: 2; }
.cvs .ec-card-foot, .cvs-card-row { grid-row: 1; grid-column: 1; align-self: end; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 8px;
    margin: 0 12px 12px; padding: 0; border: 0; pointer-events: none; }
.cvs .ec-card-foot > *, .cvs-card-row > * { pointer-events: auto; }
.cvs .ec-card .ec-price, .cvs-card .cvs-price { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--ink);
    font: 800 1rem/1 var(--head); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); white-space: nowrap; }
.cvs .ec-card .ec-price s, .cvs-card .cvs-price s { display: inline; margin: 0; font: 500 .78rem/1 var(--body); color: #8A1F18; }
.cvs .ec-card .ec-btn-small { padding: 10px 14px !important; border: 0 !important; border-radius: 999px; background: var(--primary) !important; color: #fff !important;
    box-shadow: 0 6px 16px rgba(14, 26, 22, .28); font: 700 .88rem/1 var(--head); }
.cvs .ec-card .ec-btn-small:hover { background: var(--primary-deep) !important; }
.cvs-card .cvs-add { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 6px 16px rgba(14, 26, 22, .28); }
.cvs-card .cvs-sold { padding: 7px 11px; border-radius: 999px; background: #fff; }
.cvs .ec-card-title, .cvs-card-title { grid-row: 2; margin: 0; padding: 16px 16px 4px; font: 700 1.08rem/1.3 var(--head); }
.cvs-card-cat { grid-row: 2; align-self: start; margin: 14px 16px 0; }
.cvs-card:has(.cvs-card-cat) .cvs-card-title { padding-top: 34px; }
.cvs .ec-card-text, .cvs-card-kind { grid-row: 3; align-self: start; margin: 0 16px 18px; padding: 0; }
.cvs .ec-card-text { -webkit-line-clamp: 2; max-height: 3em; line-height: 1.5; }
.cvs .ec-card-text { color: var(--muted); font-size: .92rem; }
.cvs-card-kind { align-self: start; }
@media (max-width: 640px) {
    .cvs .ec-card-foot, .cvs-card-row { margin: 0 8px 8px; }
    .cvs .ec-card .ec-price, .cvs-card .cvs-price { padding: 6px 9px; font-size: .9rem; }
    .cvs .ec-card .ec-price s, .cvs-card .cvs-price s { display: none; }
    .cvs .ec-card .ec-btn-small { width: 38px !important; height: 38px; padding: 0 !important; justify-content: center; font-size: 0 !important; }
    .cvs .ec-card .ec-btn-small::before { font-size: 1.4rem; }
    .cvs .ec-card-title, .cvs-card-title { padding: 12px 12px 2px; font-size: .98rem; }
    .cvs .ec-card-text, .cvs-card-kind { margin: 0 12px 14px; }
    .cvs-card-cat { margin: 10px 12px 0; }
    .cvs-card:has(.cvs-card-cat) .cvs-card-title { padding-top: 28px; }
}

/* ---------- the shop page (owner 2026-11-12): a photo banner, a category sidebar, a toolbar, the grid, numbered help cards ----------
   CSS only, on the plugin's own markup (.ec-shop with .ec-cats = the product list; the product page has no .ec-cats). */
.cvs .page-plugin-block:has(.ec-shop > .ec-cats) { padding-top: 24px !important; }
.cvs .ec-shop:has(> .ec-cats) { display: grid; grid-template-columns: 270px minmax(0, 1fr); grid-template-areas: "title title" "lead lead" "side tools" "side grid" "side pages"; column-gap: 28px; align-items: start; }
.cvs .ec-shop:has(> .ec-cats)::before { content: ""; grid-row: 1 / 3; grid-column: 1 / -1; align-self: stretch; z-index: 0; border-radius: 14px;
    background: linear-gradient(100deg, rgba(8, 18, 14, .92) 0%, rgba(14, 50, 30, .82) 55%, rgba(31, 138, 76, .55) 100%), url(../images/demo/page-shop.jpg) center / cover no-repeat; }
.cvs .ec-shop:has(> .ec-cats) > .ec-page-title { grid-area: title; position: relative; z-index: 1; margin: 0; padding: clamp(34px, 5vw, 60px) clamp(22px, 4vw, 48px) 10px; color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.cvs .ec-shop:has(> .ec-cats) > .ec-page-title::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 14px; border-radius: 2px; background: var(--accent); }
.cvs .ec-shop:has(> .ec-cats) > .cvs-lead { grid-area: lead; position: relative; z-index: 1; margin: 0; padding: 0 clamp(22px, 4vw, 48px) clamp(30px, 4vw, 48px); max-width: 70ch; color: #DCE7E1; }
/* categories: a sticky card on the left */
.cvs .ec-shop > .ec-cats { grid-area: side; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2px; margin: 30px 0 0; padding: 18px; border-radius: 12px; background: #fff;
    box-shadow: 0 1px 2px rgba(14, 26, 22, .06), 0 10px 26px rgba(14, 26, 22, .07); }
.cvs .ec-shop > .ec-cats::before { content: "Categories"; margin: 0 0 10px; padding: 0 10px 12px; border-bottom: 1px solid var(--line); font: 800 .82rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.cvs .ec-shop > .ec-cats .ec-chip { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 600 .98rem/1.3 var(--body); box-shadow: inset 3px 0 0 transparent; }
.cvs .ec-shop > .ec-cats .ec-chip span { min-width: 28px; padding: 3px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .8rem; text-align: center; }
.cvs .ec-shop > .ec-cats .ec-chip:hover { background: var(--soft); color: var(--primary-deep); }
.cvs .ec-shop > .ec-cats .ec-chip.is-active { background: rgba(31, 138, 76, .1); color: var(--primary-deep) !important; box-shadow: inset 3px 0 0 var(--primary); }
.cvs .ec-shop > .ec-cats .ec-chip.is-active span { background: var(--primary); color: #fff; opacity: 1; }
/* toolbar: one bar with the search, the sort and the button */
.cvs .ec-shop:has(> .ec-cats) > .ec-toolbar { grid-area: tools; display: flex; gap: 10px; margin: 30px 0 22px; padding: 10px; border-radius: 12px; background: #fff;
    box-shadow: 0 1px 2px rgba(14, 26, 22, .06), 0 10px 26px rgba(14, 26, 22, .07); }
.cvs .ec-shop:has(> .ec-cats) > .ec-toolbar input[type="search"] { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px 0 42px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 16 16' fill='%234C5A54'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10'/%3E%3C/svg%3E") 14px center no-repeat; }
.cvs .ec-shop:has(> .ec-cats) > .ec-toolbar select { min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background-color: #fff; font-weight: 600; }
.cvs .ec-shop:has(> .ec-cats) > .ec-toolbar .ec-btn { min-height: 46px; padding: 0 22px; border-radius: 8px; }
.cvs .ec-shop:has(> .ec-cats) > .ec-grid { grid-area: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cvs .ec-shop:has(> .ec-cats) > .ec-pages { grid-area: pages; display: flex; justify-content: center; gap: 8px; margin: 34px 0 0; }
.cvs .ec-pages a, .cvs .ec-pages span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 700 .95rem/1 var(--head); text-decoration: none; }
.cvs .ec-pages a:hover { border-color: var(--primary); color: var(--primary-deep); }
.cvs .ec-pages .is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
/* "How to shop here" under the list: three numbered cards */
.cvs-page .cvs-help { margin-top: clamp(40px, 6vw, 70px); padding: clamp(26px, 4vw, 44px); border-radius: 14px; background: var(--soft); }
.cvs-page .cvs-help > h2 { text-align: center; margin-bottom: 26px; }
.cvs-page .cvs-help-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.cvs-page .cvs-help-grid > div { position: relative; padding: 26px 22px 20px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(14, 26, 22, .06), 0 10px 26px rgba(14, 26, 22, .06); }
.cvs-page .cvs-help-grid h3 { margin-bottom: 8px; color: var(--ink); }
.cvs-page .cvs-help-grid > div::before { content: ""; position: absolute; left: 22px; top: 0; width: 44px; height: 4px; border-radius: 0 0 3px 3px; background: var(--primary); }
.cvs-page .cvs-help > p:last-child { text-align: center; margin: 0; }
@media (max-width: 1080px) {
    .cvs .ec-shop:has(> .ec-cats) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "lead" "side" "tools" "grid" "pages"; }
    .cvs .ec-shop > .ec-cats { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding: 8px; margin: 20px 0 0; scrollbar-width: thin; }
    .cvs .ec-shop > .ec-cats::before { display: none; }
    .cvs .ec-shop > .ec-cats .ec-chip { flex: none; white-space: nowrap; }
    .cvs .ec-shop:has(> .ec-cats) > .ec-toolbar { margin-top: 12px; }
    .cvs-page .cvs-help-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .cvs .ec-shop:has(> .ec-cats) > .ec-toolbar { flex-wrap: wrap; }
    .cvs .ec-shop:has(> .ec-cats) > .ec-toolbar input[type="search"] { flex: 1 1 100%; }
    .cvs .ec-shop:has(> .ec-cats) > .ec-toolbar select { flex: 1; }
    .cvs .ec-shop:has(> .ec-cats) > .ec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* ---------- Cart, Checkout, Track order, My account (owner 2026-11-12) - CSS only, on the plugin's own markup ---------- */
.cvs .page-plugin-block:has(:is(.ec-cart, .ec-checkout, .ec-account, .ec-track)) { padding-top: 24px !important; }
/* the page title as a green photo banner */
.cvs :is(.ec-cart, .ec-checkout, .ec-account, .ec-track) > .ec-page-title { position: relative; margin: 0 0 26px; padding: clamp(30px, 5vw, 52px) clamp(22px, 4vw, 44px); border-radius: 14px; color: #fff;
    font-size: clamp(2rem, 4vw, 3rem); background: linear-gradient(100deg, rgba(8, 18, 14, .92) 0%, rgba(14, 50, 30, .82) 55%, rgba(31, 138, 76, .55) 100%), url(../images/demo/page-shop.jpg) center / cover no-repeat; }
.cvs :is(.ec-cart, .ec-checkout, .ec-account, .ec-track) > .ec-page-title::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 14px; border-radius: 2px; background: var(--accent); }
/* order steps: pills on a line */
.cvs .ec-ui-steps { justify-content: flex-start; gap: 10px; margin: 0 0 22px; padding: 0; }
.cvs .ec-ui-steps li { gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font: 700 .95rem/1 var(--head); }
.cvs .ec-ui-steps li::after, .cvs .ec-ui-steps li::before { display: none !important; }
.cvs .ec-ui-steps li span { width: 28px; height: 28px; border: 0; background: var(--soft); color: var(--muted); }
.cvs .ec-ui-steps li.is-now { border-color: var(--primary); color: var(--primary-deep); box-shadow: 0 6px 16px rgba(31, 138, 76, .15); }
.cvs .ec-ui-steps li.is-now span, .cvs .ec-ui-steps li.is-done span { background: var(--primary) !important; color: #fff !important; }
/* empty cart */
.cvs .ec-cart .ec-empty { display: grid; justify-items: center; gap: 6px; padding: clamp(40px, 6vw, 70px) 20px; border: 0; border-radius: 14px; background: var(--soft); }
.cvs .ec-cart .ec-empty::before { content: ""; width: 88px; height: 88px; margin-bottom: 10px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231F8A4C'%3E%3Cpath d='M8 1a2.5 2.5 0 0 1 2.5 2.5V4h-5v-.5A2.5 2.5 0 0 1 8 1m3.5 3v-.5a3.5 3.5 0 1 0-7 0V4H1v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4zM2 5h12v9a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / 40px no-repeat;
    box-shadow: 0 10px 26px rgba(14, 26, 22, .1), inset 0 0 0 2px var(--accent); }
.cvs .ec-cart .ec-empty p { max-width: 42ch; margin: 0 0 14px; font: 600 1.15rem/1.5 var(--head); color: var(--ink); }
.cvs .ec-cart .ec-empty .ec-btn { padding: 14px 28px; border-radius: 8px; }
/* cart lines: one card each */
.cvs .ec-lines { display: grid; gap: 12px; border: 0; }
.cvs .ec-line { padding: 14px; border: 0 !important; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(14, 26, 22, .06), 0 10px 26px rgba(14, 26, 22, .07); }
.cvs .ec-line-img { border-radius: 10px; overflow: hidden; }
.cvs .ec-line-name a { color: var(--ink); font: 700 1.05rem/1.3 var(--head); text-decoration: none; }
.cvs .ec-line-name a:hover { color: var(--primary-deep); }
.cvs .ec-qty input { width: 76px; min-height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); text-align: center; font-weight: 700; }
.cvs .ec-line-total { font: 800 1.1rem/1 var(--head); color: var(--ink); }
.cvs .ec-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); }
.cvs .ec-x:hover { border-color: #C0392B; background: #FCEBEA; color: #8A1F18; }
.cvs .ec-cart-form > .ec-btn-ghost { margin-top: 14px; border-radius: 8px; }
/* the order summary */
.cvs :is(.ec-cart-side, .ec-checkout-side) > .ec-box { padding: 22px; border: 0; border-top: 4px solid var(--primary); border-radius: 12px; background: #fff; box-shadow: 0 2px 4px rgba(14, 26, 22, .06), 0 18px 40px rgba(14, 26, 22, .1); }
.cvs :is(.ec-cart-side, .ec-checkout-side) > .ec-box h2 { font-size: 1.3rem; }
.cvs .ec-coupon input { min-height: 44px; border-radius: 8px; }
.cvs .ec-totals td { padding-block: 9px; border-color: var(--line); }
.cvs .ec-totals .ec-total td { font: 800 1.3rem/1.2 var(--head); color: var(--ink); }
.cvs .ec-cart-side .ec-btn-block, .cvs .ec-checkout .ec-btn-block { min-height: 52px; border-radius: 8px; font: 700 1.05rem/1 var(--head); }
.cvs .ec-ui-ship { padding: 14px; border-radius: 10px; background: var(--soft); }
.cvs .ec-ui-bar span { background: var(--primary) !important; }
.cvs .ec-ui-trust { padding: 16px; border-radius: 12px; background: var(--secondary); color: #E3EEE8; }
.cvs .ec-ui-trust li { padding-left: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237BD3A0'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0'/%3E%3C/svg%3E") 0 .25em / 16px no-repeat; }
.cvs .ec-ui-trust li svg { display: none; }
.cvs .ec-ui-suggest h2 { margin-top: 10px; }
.cvs .ec-ui-suggest .ec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* checkout and track: the form boxes as cards */
.cvs :is(.ec-checkout, .ec-track) .ec-box { border: 0; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(14, 26, 22, .06), 0 10px 26px rgba(14, 26, 22, .07); }
.cvs :is(.ec-checkout, .ec-track, .ec-account) input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .cvs :is(.ec-checkout, .ec-account) select, .cvs .ec-checkout textarea {
    width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--soft); color: var(--ink); font: inherit; box-sizing: border-box; }
.cvs :is(.ec-checkout, .ec-track, .ec-account) :is(input, select, textarea):focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(31, 138, 76, .15); }
/* My account: the log-in card beside a dark panel */
.cvs .ec-account .ec-acc-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px; align-items: stretch; }
.cvs .ec-acc-form { position: relative; gap: 2px; padding: clamp(24px, 4vw, 40px); border: 0; border-top: 4px solid var(--primary); border-radius: 12px; background: #fff;
    box-shadow: 0 2px 4px rgba(14, 26, 22, .06), 0 18px 40px rgba(14, 26, 22, .1); }
.cvs .ec-acc-form h2 { font-size: 1.6rem; margin-bottom: 12px; }
.cvs .ec-acc-form label { margin-top: 12px; font-size: .95rem; }
.cvs .ec-acc-form .ec-btn { min-height: 52px; margin-top: 20px; border-radius: 8px; font: 700 1.05rem/1 var(--head); }
.cvs .ec-acc-form > p.ec-center { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cvs .ec-acc-why { padding: clamp(24px, 4vw, 40px); border: 0; border-radius: 12px; color: #E3EEE8;
    background: linear-gradient(160deg, rgba(14, 26, 22, .94), rgba(22, 107, 58, .9)), url(../images/demo/about.jpg) center / cover no-repeat; }
.cvs .ec-acc-why h2 { color: #fff; font-size: 1.5rem; margin-bottom: 18px; }
.cvs .ec-acc-why ul { list-style: none; padding: 0; color: #E3EEE8; }
.cvs .ec-acc-why li { margin: 0 0 14px; padding: 12px 14px 12px 44px; border-radius: 10px; background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237BD3A0'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0'/%3E%3C/svg%3E") 14px center / 18px no-repeat; }
@media (max-width: 1080px) {
    .cvs .ec-ui-suggest .ec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cvs .ec-account .ec-acc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .cvs .ec-ui-steps { gap: 6px; }
    .cvs .ec-ui-steps li { padding: 6px 10px 6px 6px; font-size: .85rem; }
    .cvs .ec-ui-steps li span { width: 24px; height: 24px; }
}

/* ---------- log in, forgot / reset password, 2-step check (the core's .auth-form pages) ---------- */
.cvs-main > .auth-form { width: min(460px, calc(100% - 2 * var(--gutter))); margin: clamp(36px, 7vw, 80px) auto; padding: clamp(26px, 5vw, 40px);
    background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--primary); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.auth-form h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 0 0 8px; }
.auth-form h1 + form, .auth-form .notice + form { margin-top: 18px; }
.auth-form > p:not(.notice) { color: var(--muted); }
.auth-form form { display: grid; gap: 6px; }
.auth-form label { font-weight: 600; font-size: .95rem; margin-top: 10px; }
.auth-form input[type="text"], .auth-form input[type="email"], .auth-form input[type="password"], .auth-form input[type="number"], .auth-form input:not([type]) {
    width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--soft); color: var(--ink); font: inherit; }
.auth-form input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(31, 138, 76, .16); }
.auth-form .btn, .auth-form button[type="submit"] { margin-top: 18px; width: 100%; min-height: 50px; border: 0; border-radius: var(--radius-s); background: var(--primary); color: #fff; font: 700 1rem/1 var(--head); cursor: pointer; }
.auth-form .btn:hover, .auth-form button[type="submit"]:hover { background: var(--primary-deep); }
.auth-form .notice { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-s); font-size: .95rem; border: 1px solid transparent; }
.auth-form .notice-error { background: #FCEBEA; border-color: #F2C5C2; color: #8A1F18; }
.auth-form .notice-success { background: #E6F4EC; border-color: #BFE2CC; color: #14532D; }
.cvs-auth-links { display: flex; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; }
.cvs-auth-links a, .auth-form > p:last-child:not(.notice) a { color: var(--primary-deep); font-weight: 600; text-decoration: none; }
.cvs-auth-links a:hover, .auth-form > p:last-child:not(.notice) a:hover { text-decoration: underline; }
.auth-form > p:last-child:not(.notice):not(.cvs-auth-links) { margin: 20px 0 0 !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; }

/* ---------- footer: a dark city photo ---------- */
.cvs-footer { color: var(--night-text); padding-top: clamp(50px, 7vw, 80px); border-top: 4px solid var(--primary);
    background: linear-gradient(rgba(8, 16, 13, .9), rgba(8, 16, 13, .95)), url(../images/demo/footer.jpg) center / cover no-repeat; }
.cvs-foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 30px; }
.cvs-logo-foot { color: #fff; }
.cvs-foot-brand p { margin: 16px 0; max-width: 34ch; }
.cvs-foot-h { margin: 0 0 14px; font: 700 .82rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.cvs-foot-col { display: flex; flex-direction: column; gap: 8px; }
.cvs-foot-col a, .cvs-foot-line { color: #F1F5F3; text-decoration: none; }
.cvs-foot-col a:hover, a.cvs-foot-line:hover { color: var(--accent); }
.cvs-foot-help { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cvs-foot-line { display: flex; gap: 10px; align-items: flex-start; margin: 0; word-break: break-word; }
.cvs-foot-line .cvs-ic { color: var(--accent); margin-top: 4px; }
.cvs-social { display: flex; gap: 8px; flex-wrap: wrap; }
.cvs-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.cvs-social a:hover { background: var(--primary); border-color: var(--primary); }
.cvs-base { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin-top: 40px; padding-block: 20px 26px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; }
.cvs-base-links { display: flex; gap: 18px; flex-wrap: wrap; }
.cvs-base a { color: #F1F5F3; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
    .cvs-nav > a, .cvs-dept-btn { padding-inline: 9px; font-size: .94rem; }
    .cvs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cvs-rail-track { grid-auto-columns: minmax(220px, calc((100% - 40px) / 3)); }
    .cvs-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cvs-foot-brand { grid-column: 1 / -1; }
    .cvs-deals-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
    .cvs-burger { display: grid; }
    .cvs-nav { display: none; }
    .cvs-top.is-open { background: #fff !important; }
    .cvs-top.is-open .cvs-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 8px var(--gutter) 22px;
        border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(14, 26, 22, .14); max-height: calc(100vh - 80px); overflow-y: auto; }
    .cvs-top.is-open .cvs-nav > a, .cvs-top.is-open .cvs-dept-btn { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); width: 100%; justify-content: space-between; }
    .cvs-top.is-open .cvs-nav > a::after, .cvs-top.is-open .cvs-dept-btn::after { display: none; }
    .cvs-dept-panel { position: static; width: 100%; grid-template-columns: minmax(0, 1fr); box-shadow: none; border-top: 0; padding: 4px 0 8px; }
    .cvs-dept-intro { display: none; }
    .cvs-dept-panel ul { grid-template-columns: minmax(0, 1fr); }
    .cvs-actions { margin-left: auto; }
    .cvs-topbar-tag { display: none; }
    .cvs-home .cvs-hero { flex-wrap: wrap; }
    .cvs-hero-visual { flex: 1 1 100%; }
    .cvs-s-cats { background: #fff; }
    .cvs-s-cats .cvs-kicker, .cvs-s-cats .cvs-title { max-width: none; }
    .cvs-slide { grid-template-columns: minmax(0, 1fr); }
    .cvs-slide-card { padding: 0 0 20px; order: 2; }
    .cvs-slide-photo { margin: 0 0 22px; order: 1; }
    .cvs-slide-panel { display: none; }
    .cvs-slider-nav { width: 100%; }
    .cvs-about-home, .cvs-about, .cvs-contact { grid-template-columns: minmax(0, 1fr) !important; }
    .cvs-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cvs-deals-row, .cvs-deals-row.is-right { grid-template-columns: minmax(0, 1fr); }
    .cvs-deals-row.is-right .cvs-deals-label { order: 0; text-align: left; }
    .cvs-bsec .cvs-title { padding-right: 0; }
    .cvs-bsec .cvs-more { position: static; margin: -6px 0 16px; }
    .cvs-rail-btn { display: none; }
}
@media (max-width: 640px) {
    .cvs-front .cvs-top { top: 0; }
    .cvs-front .cvs-topbar { display: none; }
    .cvs-topbar-links span { display: none; }
    .cvs-bar { min-height: 64px; gap: 8px; }
    .cvs-logo-word { font-size: 1.2rem; }
    .cvs-act { padding: 0 8px; }
    .cvs-act-cart { margin-left: 2px; padding: 0 12px; }
    .cvs-act-cart span:not(.cvs-count) { display: none; }
    .cvs-home .cvs-hero { min-height: 86vh; padding-top: 120px !important; }
    .cvs-front .cvs-flash { margin-top: 84px; }
    .cvs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cvs-card-body { padding: 12px; }
    .cvs-add { width: 38px; height: 38px; }
    .cvs-rail-track { grid-auto-columns: minmax(200px, 64%); }
    .cvs-deals-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cvs-deal { padding: 8px; }
    .cvs-perks { gap: 26px 14px; }
    .cvs-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cvs-callout > .cvs-b1 { order: 4; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- options from Corvista Store Studio that need fixed rules ---------- */
.cvs-hero-visual:has(.cvs-hero-none) { display: none; }
.cvs-hero:has(.cvs-hero-none) .cvs-hero-text { flex-basis: 100%; }

/* the cart page: blocks under the cart (You may also like ...) share the cart grid - the sticky order summary must not slide over them */
.cvs .ec-cart:has(> .ec-ui-zone-bottom) > .ec-cart-side { position: static !important; }

/* A product item opens its own product page as a whole - the picture, the name and the price line, not only the small link
   inside the title. A "stretched link": the overlay covers the card and stays under the add-to-cart button, so pressing
   "add to cart" still only adds it. Same for the offer tiles. */
.cvs-card { position: relative; }
.cvs-card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.cvs-card-row { position: relative; }
.cvs-card-row .cvs-add-form { position: relative; z-index: 2; }
.cvs-card-title a:focus-visible::after { outline: 2px solid var(--primary); outline-offset: 3px; }
.cvs-deal h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.cvs-deal .cvs-add-form { position: relative; z-index: 2; }

/* A wide logo (a word mark, not a square icon) and a long menu share the bar (2026-11-13): the menu links close up
   instead of sliding under the logo, and the logo is kept to a size that leaves the icons on one line on a phone. */
.cvs-logo img { max-width: min(230px, 40vw); height: auto; object-fit: contain; }
.cvs-nav > a, .cvs-dept-btn { padding-left: 8px; padding-right: 8px; } /* every width: room for a 10-link menu next to a wide logo */
@media (max-width: 1240px) { .cvs-nav > a, .cvs-dept-btn { padding-left: 6px; padding-right: 6px; font-size: .92rem; } }
@media (max-width: 1080px) { .cvs-logo img { max-height: 38px; max-width: 42vw; } }
@media (max-width: 480px) { .cvs-logo img { max-height: 30px; max-width: 40vw; } }

/* Card text stays in the card's one column: items placed only by row (grid-row: 2 / 3) were auto-placed into new implicit
   columns, so the category and the name sat side by side and the photo tile shrank. */
.cvs .ec-card > *, .cvs-card > *, .cvs .ec-card-body > *, .cvs-card-body > * { grid-column: 1; }

/* A long menu or a wide logo: when the menu does not fit next to the logo (measured by the header script, which sets
   .cvs-squeeze), the header switches to the burger menu like on a small screen instead of sliding under the logo. */
.cvs-top.cvs-squeeze .cvs-burger { display: grid; }
.cvs-top.cvs-squeeze .cvs-nav { display: none; }
.cvs-top.cvs-squeeze .cvs-actions { margin-left: auto; }
.cvs-top.cvs-squeeze.is-open { background: #fff !important; }
.cvs-top.cvs-squeeze.is-open .cvs-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 8px var(--gutter) 22px;
    border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(14, 26, 22, .14); max-height: calc(100vh - 80px); overflow-y: auto; }
.cvs-top.cvs-squeeze.is-open .cvs-nav > a, .cvs-top.cvs-squeeze.is-open .cvs-dept-btn { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); width: 100%; justify-content: space-between; }
.cvs-top.cvs-squeeze.is-open .cvs-nav > a::after, .cvs-top.cvs-squeeze.is-open .cvs-dept-btn::after { display: none; }
.cvs-top.cvs-squeeze .cvs-dept-panel { position: static; width: 100%; grid-template-columns: minmax(0, 1fr); box-shadow: none; border-top: 0; padding: 4px 0 8px; }
.cvs-top.cvs-squeeze .cvs-dept-intro { display: none; }
.cvs-top.cvs-squeeze .cvs-dept-panel ul { grid-template-columns: minmax(0, 1fr); }
.cvs-squeezed .cvs-topbar-tag { display: none; }
/* The category has its own row above the name (it was laid over the name's top padding, so a category on two lines -
   "Social media marketing" on a phone - ran into the name). */
.cvs-card { grid-template-rows: auto auto auto 1fr; }
.cvs-card .cvs-card-cat { grid-row: 2; }
.cvs-card .cvs-card-title { grid-row: 3; }
.cvs-card .cvs-card-kind { grid-row: 4; }
.cvs-card:has(.cvs-card-cat) .cvs-card-title { padding-top: 4px; }
