:root {
    --shop-blue: #ff3850;
    --shop-blue-dark: #111219;
    --shop-blue-soft: #fff0f1;
    --shop-ink: #111219;
    --shop-muted: #687083;
    --shop-line: #e4e7ee;
    --shop-page: #f7f8fb;
    --shop-orange: #ff8a43;
    --shop-radius: 20px;
    --shop-shadow: 0 16px 38px rgba(17, 18, 25, .08);
    --shop-width: 1740px;
}

::selection { background: #ffdfe3; }
:focus-visible { outline-color: rgba(255, 56, 80, .55); }
a:hover { color: var(--shop-blue); }

.shop-topbar {
    background: var(--shop-ink);
}
.shop-topbar__inner { padding-block: 7px; }

.shop-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 8px 28px rgba(17, 18, 25, .04);
    backdrop-filter: blur(16px);
}
.shop-header__inner {
    min-height: 112px;
    gap: 24px;
}
.shop-brand { gap: 10px; }
.shop-brand__logo {
    display: block;
    width: 112px;
    height: 64px;
    flex: 0 0 auto;
}
.shop-brand__name { font-size: 20px; }
.shop-brand__name span { color: var(--shop-blue); }
.shop-brand__tagline {
    margin-top: 2px;
    font-size: 9px;
    letter-spacing: .15em;
    font-weight: 800;
}
.shop-search {
    height: 58px;
    padding: 5px 6px 5px 18px;
    border-radius: 18px;
    background: #f8f9fc;
}
.shop-search:focus-within {
    border-color: rgba(255, 56, 80, .55);
    box-shadow: 0 0 0 4px rgba(255, 56, 80, .08);
}
.shop-search button {
    height: 46px;
    padding-inline: 23px;
    border-radius: 14px;
    background: var(--shop-ink);
}
.shop-search button:hover { background: #2a2c35; }
.shop-market {
    min-height: 56px;
    padding: 0 17px;
    border: 1px solid var(--shop-line);
    border-radius: 18px;
}
.shop-market::before {
    content: "◎";
    color: var(--shop-blue);
    font-size: 22px;
}
.shop-cart-link {
    min-height: 56px;
    padding: 0 17px;
    border: 1px solid var(--shop-line);
    border-radius: 18px;
    background: #fff;
}
.shop-cart-link:hover { border-color: rgba(255, 56, 80, .45); }
.shop-cart-count { background: var(--shop-blue); }
.shop-nav { border-top: 1px solid var(--shop-line); }
.shop-nav a:hover,
.shop-nav a[aria-current=page] { color: var(--shop-blue); }
.shop-nav a[aria-current=page] { box-shadow: inset 0 -2px var(--shop-blue); }

.shop-main { padding-top: 30px; }
.shop-hero {
    min-height: 350px;
    padding: 48px 5%;
    border-color: #ffd4d5;
    border-radius: 28px;
    background: linear-gradient(110deg, #fff 0%, #fff4f2 62%, #ffe5cf 100%);
}
.shop-eyebrow,
.shop-hero h1 span,
.shop-hero h1 em { color: var(--shop-blue); }
.shop-hero h1 {
    font-size: clamp(40px, 4.8vw, 70px);
    line-height: .98;
    letter-spacing: -.065em;
}
.shop-lead { color: #586175; }
.shop-button {
    border-radius: 14px;
    background: var(--shop-blue);
    box-shadow: 0 9px 22px rgba(255, 56, 80, .18);
}
.shop-button:hover { background: #e82740; }
.shop-button--secondary {
    border-color: var(--shop-line);
    background: #fff;
    color: var(--shop-ink);
    box-shadow: none;
}
.shop-button--secondary:hover {
    border-color: rgba(255, 56, 80, .35);
    background: var(--shop-blue-soft);
    color: var(--shop-blue);
}

.shop-layout { grid-template-columns: 285px minmax(0, 1fr); gap: 30px; }
.shop-sidebar {
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(17, 18, 25, .04);
}
.shop-category-list a:hover,
.shop-category-list a[aria-current=page] {
    background: var(--shop-blue-soft);
    color: var(--shop-blue);
}
.shop-category-list {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.shop-category-list .shop-category-group {
    border: 1px solid transparent;
    border-radius: 12px;
}
.shop-category-list .shop-category-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 11px 10px;
    border-radius: 10px;
    list-style: none;
    color: var(--shop-ink);
    font-size: 12px;
    cursor: pointer;
}
.shop-category-list .shop-category-group > summary::-webkit-details-marker { display: none; }
.shop-category-list .shop-category-group > summary:hover,
.shop-category-list .shop-category-group > summary[aria-current=page] {
    background: var(--shop-blue-soft);
    color: var(--shop-blue);
}
.shop-category-list .shop-category-group[open] {
    border-color: #ffdfe3;
    background: #fffafa;
}
.shop-category-list .shop-category-group[open] > summary { font-weight: 750; }
.shop-category-chevron {
    display: inline-block;
    font-size: 13px;
    transition: transform .18s ease;
}
.shop-category-group[open] .shop-category-chevron { transform: rotate(180deg); }
.shop-category-list .shop-subcategory-list {
    display: grid;
    gap: 2px;
    margin: 0 8px 8px 13px;
    padding: 3px 0 2px 9px;
    border-left: 2px solid #ffdfe3;
}
.shop-category-list .shop-subcategory-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 9px;
    border-radius: 9px;
    color: #51596a;
    font-size: 11px;
}
.shop-category-list .shop-subcategory-list a:hover,
.shop-category-list .shop-subcategory-list a[aria-current=page] {
    background: #fff0f1;
    color: var(--shop-blue);
}
.shop-category-list .shop-subcategory-list small {
    flex: 0 0 auto;
    color: #8a91a0;
    font-size: 9px;
    font-variant-numeric: tabular-nums;
}
.shop-category-list .shop-subcategory-overview {
    font-weight: 750;
    color: var(--shop-blue);
}
.shop-category-meta small { background: var(--shop-blue-soft); color: var(--shop-blue); }
.shop-category-card {
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(17, 18, 25, .025);
}
.shop-category-card:hover {
    border-color: rgba(255, 56, 80, .42);
    box-shadow: var(--shop-shadow);
    transform: translateY(-4px);
}
.shop-category-card__icon {
    background: var(--shop-blue-soft);
    color: var(--shop-blue);
}
.shop-category-card:nth-child(3n+2) .shop-category-card__icon {
    background: #fff4ec;
    color: #d6672b;
}
.shop-category-card:nth-child(3n) .shop-category-card__icon {
    background: #f0f2f6;
    color: var(--shop-ink);
}
.shop-section-heading > a,
.shop-link,
.shop-text-button,
.shop-remove-button,
.shop-continue-link { color: var(--shop-blue); }

.shop-products {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.shop-product-card {
    border-radius: 19px;
    box-shadow: 0 5px 18px rgba(17, 18, 25, .025);
}
.shop-product-card:hover {
    border-color: rgba(255, 56, 80, .4);
    box-shadow: var(--shop-shadow);
    transform: translateY(-5px);
}
.shop-product-card__image { background: #f5f6f8; }
.shop-badge { background: var(--shop-blue); color: #fff; border-radius: 999px; }
.shop-toolbar select { border-radius: 12px; }

.shop-info-strip {
    border: 0;
    border-radius: 22px;
    background: var(--shop-ink);
    color: #fff;
}
.shop-info-strip > div { border-color: rgba(255, 255, 255, .14); }
.shop-info-strip svg { color: var(--shop-blue); }
.shop-info-strip p,
.shop-info-strip span { color: #b8bfcc; }

.shop-gallery,
.shop-buy-box,
.shop-description,
.shop-panel,
.shop-summary {
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(17, 18, 25, .05);
}
.shop-gallery__thumbs button,
.shop-gallery__thumbs a { border-radius: 12px; }
.shop-gallery__thumbs button[aria-pressed=true] {
    border-color: var(--shop-blue);
    box-shadow: 0 0 0 1px var(--shop-blue);
}
.shop-delivery-note {
    border-color: #ffd4d5;
    background: var(--shop-blue-soft);
    color: #6d3d46;
}
.shop-form input:focus,
.shop-form select:focus,
.shop-form textarea:focus,
.shop-field input:focus,
.shop-field select:focus,
.shop-field textarea:focus {
    border-color: var(--shop-blue);
    outline-color: rgba(255, 56, 80, .12);
}
.shop-checkbox input { accent-color: var(--shop-blue); }
.shop-checkout-steps [aria-current=step],
.shop-step-list [aria-current=step] { color: var(--shop-blue); }
.shop-checkout-steps [aria-current=step] b,
.shop-step-list [aria-current=step] > span { background: var(--shop-blue); }

.shop-page-heading {
    padding: 34px clamp(24px, 4vw, 58px);
    border: 1px solid #ffd4d5;
    border-radius: 26px;
    background: linear-gradient(110deg, #fff 0%, #fff4f2 62%, #ffe5cf 100%);
}
.shop-page-heading h1 { font-size: clamp(34px, 4.5vw, 62px); }
.shop-empty { border-radius: 24px; }
.shop-empty__icon,
.shop-empty-icon { background: var(--shop-blue-soft); color: var(--shop-blue); }
.shop-alert { border-color: #ffd4d5; background: var(--shop-blue-soft); color: #713b45; }

.shop-footer { border-top-color: var(--shop-line); }
.shop-footer__brand {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
}
.shop-footer__brand img { grid-row: 1 / span 3; width: 84px; height: 48px; }
.shop-footer__brand strong,
.shop-footer__brand p,
.shop-footer__brand small { grid-column: 2; }
.shop-footer__brand p { margin-top: 3px; }
.shop-footer__brand small { color: var(--shop-muted); font-size: 10px; }

.shop-skip-link { color: var(--shop-blue); }
.shop-skip-link:focus { outline-color: var(--shop-blue); }

@media (min-width: 1101px) {
    .shop-sidebar,
    .shop-summary { top: 168px; }
}

@media (max-width: 1400px) {
    .shop-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .shop-brand__logo { width: 92px; height: 54px; }
    .shop-brand__name { font-size: 18px; }
}

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

@media (max-width: 950px) {
    .shop-header { position: relative; }
    .shop-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 19px; }
    .shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .shop-brand__logo { width: 76px; height: 44px; }
    .shop-brand__name { font-size: 18px; }
    .shop-brand__tagline { font-size: 8px; }
    .shop-cart-link { min-height: 46px; padding: 0 12px; }
    .shop-search { border-radius: 15px; }
    .shop-hero { border-radius: 22px; }
    .shop-hero h1 { font-size: 42px; }
    .shop-layout { display: block; }
    .shop-category-list {
        display: grid;
        max-height: none;
        overflow: visible;
        white-space: normal;
    }
    .shop-category-list .shop-category-group,
    .shop-category-list .shop-category-group[open] { max-width: none; }
    .shop-category-list .shop-category-group > summary { padding: 10px 11px; }
    .shop-category-list .shop-subcategory-list { margin-right: 8px; }
    .shop-info-strip { border-radius: 18px; }
    .shop-page-heading { padding: 28px 24px; border-radius: 20px; }
    .shop-footer__brand { grid-template-columns: 68px 1fr; }
    .shop-footer__brand img { width: 68px; height: 40px; }
}

@media (max-width: 420px) {
    .shop-brand > span { display: none; }
    .shop-cart-link { font-size: 0; gap: 7px; }
    .shop-cart-link > span { font-size: 13px; }
    .shop-hero h1 { font-size: 35px; }
}
