:root {
    --shop-orange: #e96524;
    --shop-orange-dark: #bd4510;
    --shop-ink: #172033;
    --shop-muted: #647085;
    --shop-line: #dfe3e8;
    --shop-soft: #f4f5f6;
    --shop-max: 1440px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    color: var(--shop-ink);
    font-family: Arial, "Segoe UI", sans-serif;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.webshop-shell,
.customer-app-shell,
.mobile-shell {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    height: auto;
    margin: 0;
    overflow: visible;
    background: #fff;
    box-shadow: none;
}

.shop-content {
    width: min(calc(100% - 40px), var(--shop-max));
    margin-inline: auto;
}

.shop-header {
    position: relative;
    z-index: 200;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(23, 32, 51, .1);
}

.shop-header__main {
    width: min(calc(100% - 40px), var(--shop-max));
    min-height: 92px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px minmax(280px, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.shop-brand {
    min-width: 0;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--shop-ink);
    text-align: left;
}

.shop-brand img {
    width: 66px;
    height: 66px;
    object-fit: contain;
}

.shop-brand span {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.shop-brand strong {
    font-size: 17px;
    line-height: 1.08;
}

.shop-brand small {
    color: var(--shop-muted);
    font-size: 12px;
}

.shop-global-search {
    height: 50px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    overflow: hidden;
    border: 2px solid var(--shop-orange);
    border-radius: 8px;
    background: #fff;
}

.shop-global-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 18px;
    color: var(--shop-ink);
    font-size: 16px;
}

.shop-global-search button {
    border: 0;
    display: grid;
    place-items: center;
    background: var(--shop-orange);
    color: #fff;
}

.shop-global-search svg {
    width: 24px;
    height: 24px;
}

.shop-header__actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.shop-header-action {
    position: relative;
    min-height: 52px;
    border: 0;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    color: var(--shop-ink);
    text-align: left;
}

.shop-header-action:hover {
    background: var(--shop-soft);
}

.shop-header-action svg {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
}

.shop-header-action span {
    display: grid;
    white-space: nowrap;
}

.shop-header-action small {
    color: var(--shop-muted);
    font-size: 11px;
}

.shop-header-action strong {
    font-size: 14px;
}

.shop-cart-badge {
    position: absolute;
    top: 0;
    left: 27px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    padding: 0 5px;
    background: var(--shop-orange);
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
}

.shop-category-nav {
    min-height: 48px;
    padding: 0 max(20px, calc((100% - var(--shop-max)) / 2));
    display: flex;
    align-items: stretch;
    gap: 2px;
    overflow-x: auto;
    background: #202a3a;
}

.shop-category-nav button {
    flex: 0 0 auto;
    border: 0;
    padding: 0 14px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.shop-category-nav button:hover {
    background: rgba(255, 255, 255, .1);
}

.shop-category-nav__all {
    background: var(--shop-orange) !important;
}

.shop-category-nav__all span {
    margin-right: 7px;
    font-size: 18px;
}

.shop-category-nav__sale {
    color: #ffbd78 !important;
}

.shop-benefit-bar {
    min-height: 38px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(25px, 6vw, 90px);
    border-bottom: 1px solid var(--shop-line);
    color: var(--shop-muted);
    background: #fafafa;
    font-size: 12px;
}

.shop-benefit-bar strong {
    color: var(--shop-ink);
}

.webshop-shell .app-main {
    min-height: 0;
    height: auto;
    padding: 0;
    overflow: visible;
    background: #fff;
}

.webshop-shell .tab-panel {
    position: static;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 0;
    background: #fff;
}

.webshop-shell .tab-panel:not(.is-active) {
    display: none;
}

.webshop-shell .customer-scroll {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 0;
    background: #fff;
}

.shop-hero {
    position: relative;
    min-height: 440px;
    margin-top: 26px;
    padding: 58px clamp(35px, 6vw, 88px);
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    align-items: center;
    gap: 45px;
    overflow: hidden;
    border-radius: 4px;
    background:
        radial-gradient(circle at 82% 20%, rgba(255, 255, 255, .28), transparent 23%),
        linear-gradient(112deg, #ca4d15 0%, #ed702d 55%, #f69a57 100%);
    color: #fff;
}

.shop-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -240px;
    width: 580px;
    height: 580px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.shop-hero > div {
    position: relative;
    z-index: 2;
}

.shop-kicker {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.shop-hero h1 {
    max-width: 780px;
    margin: 0 0 20px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.035em;
}

.shop-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
    line-height: 1.55;
}

.shop-hero__actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.shop-primary-button,
.shop-secondary-button {
    min-height: 52px;
    border-radius: 5px;
    padding: 0 24px;
    font-weight: 800;
}

.shop-primary-button {
    border: 2px solid #fff;
    background: #fff;
    color: var(--shop-orange-dark);
}

.shop-secondary-button {
    border: 2px solid rgba(255, 255, 255, .75);
    background: transparent;
    color: #fff;
}

.shop-hero__visual {
    display: grid;
    place-items: center;
}

.shop-hero__visual img {
    width: min(100%, 310px);
    filter: drop-shadow(0 24px 32px rgba(83, 24, 3, .25));
}

.shop-hero__visual span {
    margin-top: -5px;
    border-radius: 999px;
    padding: 9px 18px;
    background: #fff;
    color: var(--shop-orange-dark);
    font-size: 13px;
    font-weight: 900;
}

.shop-home-categories,
.shop-offers {
    padding-top: 58px;
}

.shop-section-heading {
    margin-bottom: 24px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.shop-section-heading span {
    color: var(--shop-orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.shop-section-heading h2 {
    margin: 6px 0 0;
    font-size: clamp(28px, 3vw, 38px);
}

.shop-section-heading button {
    border: 0;
    padding: 8px 0;
    background: transparent;
    color: var(--shop-orange-dark);
    font-weight: 800;
}

.shop-home-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.shop-home-category {
    --category-color: #e3a000;
    min-height: 210px;
    border: 1px solid var(--shop-line);
    border-radius: 5px;
    padding: 22px 16px;
    display: grid;
    align-content: space-between;
    justify-items: start;
    background: #fff;
    color: var(--shop-ink);
    text-align: left;
    transition: transform .15s ease, box-shadow .15s ease;
}

.shop-home-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(23, 32, 51, .12);
}

.shop-home-category[data-tone="genuss"] { --category-color: #8569bd; }
.shop-home-category[data-tone="spiel"] { --category-color: #1479ad; }
.shop-home-category[data-tone="schreib"] { --category-color: #d55b18; }
.shop-home-category[data-tone="handarbeit"] { --category-color: #4f98a3; }
.shop-home-category[data-tone="kreativ"] { --category-color: #799800; }

.shop-home-category__icons {
    width: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--category-color) 12%, white);
}

.shop-home-category__icons i {
    width: 58px;
    height: 58px;
    display: block;
    background: var(--category-color);
    -webkit-mask: var(--icon-url) center / contain no-repeat;
    mask: var(--icon-url) center / contain no-repeat;
}

.shop-home-category strong {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.2;
}

.shop-home-category small {
    color: var(--shop-orange-dark);
    font-weight: 700;
}

.shop-offers {
    padding-bottom: 70px;
}

.shop-offers .offer-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.shop-offers .offer-card {
    min-width: 0;
    border: 1px solid var(--shop-line);
    border-radius: 5px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
}

.shop-offers .offer-card:hover {
    border-color: #b9c0ca;
    box-shadow: 0 10px 24px rgba(23, 32, 51, .1);
}

.shop-offers .offer-card__visual {
    width: 100%;
    height: 230px;
    border-radius: 0;
    background: #f7f7f7;
    color: var(--shop-orange);
}

.shop-offers .offer-card__visual img {
    width: 88%;
    height: 88%;
    margin: auto;
    object-fit: contain;
}

.shop-offers .offer-card__body {
    padding: 18px;
}

.shop-offers .offer-card h3 {
    min-height: 42px;
    font-size: 16px;
}

.shop-offers .offer-card__price strong {
    color: #b12704;
    font-size: 23px;
}

/* Catalog */
.webshop-shell .catalog-screen {
    width: min(calc(100% - 40px), var(--shop-max));
    margin: 0 auto;
    padding: 34px 0 70px;
}

.webshop-shell .catalog-home-view,
.webshop-shell .catalog-category-view,
.webshop-shell .catalog-products-panel {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.webshop-shell .catalog-home-sticky,
.webshop-shell .catalog-category-sticky,
.webshop-shell .catalog-products-sticky {
    position: static;
    border: 0;
    box-shadow: none;
    background: #fff;
}

.webshop-shell .catalog-home-top {
    min-height: 0;
    padding: 0;
    display: block;
    background: #fff;
}

.webshop-shell .catalog-home-top h1 {
    font-size: 36px;
    text-align: left;
}

.webshop-shell .catalog-home-sticky .catalog-search,
.webshop-shell .catalog-category-sticky .catalog-search {
    max-width: 760px;
    min-height: 50px;
    margin: 22px 0 30px;
    border: 1px solid #b8c0ca;
    border-radius: 5px;
    background: #fff;
}

.webshop-shell .catalog-search input {
    font-size: 16px;
    font-weight: 400;
}

.webshop-shell .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
}

.webshop-shell .category-tile {
    min-height: 170px;
    border: 1px solid var(--shop-line);
    border-radius: 5px;
    padding: 25px 145px 25px 24px;
    background: #fff;
    box-shadow: none;
}

.webshop-shell .category-tile:hover {
    border-color: var(--tile-color);
    box-shadow: 0 8px 20px rgba(23, 32, 51, .09);
}

.webshop-shell .category-tile::after {
    display: none;
}

.webshop-shell .category-tile strong {
    max-width: 100%;
    color: var(--shop-ink);
    font-size: 24px;
}

.webshop-shell .category-tile__art {
    right: 22px;
    width: 122px;
}

.webshop-shell .category-tile__arrow {
    right: auto;
    left: 22px;
    top: auto;
    bottom: 16px;
    width: auto;
    height: auto;
    transform: none;
    color: var(--shop-orange);
}

.webshop-shell .category-tile__arrow::before {
    content: "Produkte ansehen";
    margin-right: 5px;
    font-size: 12px;
    font-weight: 800;
}

.webshop-shell .category-tile__arrow svg {
    width: 16px;
}

.webshop-shell .catalog-hero {
    min-height: 90px;
    border-radius: 5px;
    padding: 16px 24px;
}

.webshop-shell .catalog-hero strong {
    font-size: 28px;
}

.webshop-shell .catalog-subcategory-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    border: 0;
    background: transparent;
}

.webshop-shell .catalog-subcategory-row {
    min-height: 64px;
    border: 1px solid var(--shop-line);
    border-radius: 4px;
    padding: 0 18px;
    background: #fff;
    font-size: 16px;
}

.webshop-shell .catalog-products-panel {
    gap: 22px;
}

.webshop-shell .catalog-products-sticky {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) auto;
    align-items: end;
    gap: 20px;
}

.webshop-shell .catalog-filter-row {
    max-width: none;
    padding: 0 0 8px;
    overflow: visible;
}

.webshop-shell .catalog-filter-round,
.webshop-shell .catalog-filter-chip {
    min-height: 42px;
    border: 1px solid var(--shop-line);
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
}

.webshop-shell .catalog-filter-round {
    width: 48px;
}

.webshop-shell .catalog-product-count {
    padding: 0;
    color: var(--shop-muted);
    font-size: 14px;
}

.catalog-results-area {
    min-width: 0;
    display: grid;
    gap: 28px;
}

.webshop-shell .catalog-results--products {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
}

.webshop-shell .catalog-results--products .catalog-product-card {
    overflow: hidden;
    border: 1px solid #e3e7ec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(23, 32, 51, .06);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.webshop-shell .catalog-results--products .catalog-product-card:hover {
    border-color: rgba(233, 101, 36, .45);
    box-shadow: 0 18px 38px rgba(23, 32, 51, .13);
    transform: translateY(-3px);
}

.webshop-shell .catalog-product-card__media {
    min-height: 260px;
    background: linear-gradient(180deg, #fff8f3 0%, #f7f7f7 100%);
}

.webshop-shell .catalog-results--products .catalog-product-card__visual {
    height: 260px;
    min-height: 260px;
}

.webshop-shell .catalog-card-cart {
    right: 14px;
    bottom: -22px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #f47a32, var(--shop-orange-dark));
    color: #fff;
    box-shadow: 0 10px 22px rgba(189, 69, 16, .32);
}

.webshop-shell .catalog-card-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff8842, #a93708);
    box-shadow: 0 14px 28px rgba(189, 69, 16, .4);
}

.webshop-shell .catalog-card-cart:disabled {
    background: #c9ced6;
    box-shadow: none;
}

.webshop-shell .catalog-card-wish {
    border-color: rgba(233, 101, 36, .22);
    background: rgba(255, 255, 255, .94);
    color: var(--shop-orange-dark);
    box-shadow: 0 8px 18px rgba(23, 32, 51, .1);
}

.webshop-shell .catalog-card-wish:hover,
.webshop-shell .catalog-card-wish.is-active {
    border-color: var(--shop-orange);
    background: #fff3ea;
    color: var(--shop-orange);
}

.webshop-shell .catalog-results--products .catalog-product-card__body {
    min-height: 218px;
    padding: 24px 17px 18px;
    border-radius: 0;
    transform: none;
}

.webshop-shell .catalog-results--products .catalog-price strong {
    color: var(--shop-orange-dark);
    font-size: 25px;
    letter-spacing: -.03em;
}

.webshop-shell .catalog-results--products .catalog-product-card h3 {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.34;
}

.webshop-shell .catalog-results--products .catalog-product-card__meta {
    color: #8892a0;
    font-size: 11px;
    letter-spacing: .03em;
}

.webshop-shell .catalog-results--products .catalog-product-card p {
    color: var(--shop-muted);
}

.webshop-shell .catalog-results--products .catalog-product-card__stock {
    width: fit-content;
    margin-top: auto;
    border-radius: 999px;
    padding: 6px 10px;
    background: #f3f7f4;
    font-size: 12px;
    font-weight: 800;
}

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0 18px;
}

.catalog-pagination[hidden] {
    display: none;
}

.catalog-pagination button,
.catalog-pagination__dots {
    min-width: 42px;
    min-height: 42px;
    border: 1px solid var(--shop-line);
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    padding: 0 14px;
    background: #fff;
    color: var(--shop-ink);
    font-size: 14px;
    font-weight: 700;
}

.catalog-pagination button:hover:not(:disabled),
.catalog-pagination button[aria-current="page"] {
    border-color: var(--shop-orange);
    background: var(--shop-orange);
    color: #fff;
}

.catalog-pagination button:disabled {
    cursor: default;
    opacity: .42;
}

.catalog-pagination__dots {
    min-width: 24px;
    border: 0;
    padding: 0 4px;
    color: var(--shop-muted);
    background: transparent;
}

/* Cart */
.webshop-shell .cart-screen {
    width: min(calc(100% - 40px), 1180px);
    margin: 0 auto;
    padding: 45px 0 80px;
}

.webshop-shell .cart-page-head h1 {
    font-size: 38px;
}

.webshop-shell .cart-list {
    gap: 0;
    border: 1px solid var(--shop-line);
    border-radius: 5px;
}

.webshop-shell .cart-row {
    min-height: 105px;
    border: 0;
    border-bottom: 1px solid var(--shop-line);
    border-radius: 0;
    padding: 20px 24px;
    box-shadow: none;
}

.webshop-shell .cart-row:last-child {
    border-bottom: 0;
}

.webshop-shell .cart-row h3 {
    font-size: 17px;
}

.webshop-shell .cart-total {
    margin-top: 20px;
    border-radius: 5px;
    padding: 22px 24px;
    box-shadow: none;
}

.webshop-shell .cart-next-btn {
    max-width: 420px;
    min-height: 54px;
    margin: 0 0 0 auto;
    border-radius: 5px;
    background: var(--shop-orange);
    color: #fff;
}

.webshop-shell .cart-next-btn:disabled {
    background: #d8dce1;
    color: #7c8490;
}

.cart-fab,
.shop-bottom-nav,
.customer-bottom-nav {
    display: none !important;
}

.shop-footer {
    border-top: 1px solid var(--shop-line);
    padding: 30px 0;
    background: #202a3a;
    color: #fff;
}

.shop-footer .shop-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.shop-footer span {
    color: #c7ced8;
}

.shop-footer button {
    margin-left: auto;
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 10px 16px;
    background: transparent;
    color: #fff;
}

/* Desktop dialogs */
.customer-sheet__card,
.catalog-filter-card {
    border-radius: 8px;
}

@media (max-width: 1100px) {
    .shop-header__main {
        grid-template-columns: 220px minmax(240px, 1fr) auto;
        gap: 14px;
    }

    .shop-brand small,
    .shop-header-action span {
        display: none;
    }

    .shop-home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .shop-offers .offer-list,
    .webshop-shell .catalog-results--products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .shop-content,
    .shop-header__main,
    .webshop-shell .catalog-screen,
    .webshop-shell .cart-screen {
        width: min(calc(100% - 24px), var(--shop-max));
    }

    .shop-header__main {
        min-height: 132px;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: 65px 52px;
    }

    .shop-brand img {
        width: 54px;
        height: 54px;
    }

    .shop-brand strong {
        font-size: 14px;
    }

    .shop-global-search {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 46px;
    }

    .shop-header__actions {
        grid-column: 2;
        grid-row: 1;
    }

    .shop-header-action {
        padding: 4px 7px;
    }

    .shop-benefit-bar {
        display: none;
    }

    .shop-category-nav {
        min-height: 44px;
        padding-inline: 0;
    }

    .shop-hero {
        min-height: 430px;
        margin-top: 14px;
        padding: 34px 24px;
        grid-template-columns: 1fr;
    }

    .shop-hero h1 {
        font-size: 40px;
    }

    .shop-hero p {
        font-size: 16px;
    }

    .shop-hero__visual {
        display: none;
    }

    .shop-home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-home-category {
        min-height: 185px;
    }

    .shop-offers .offer-list,
    .webshop-shell .catalog-results--products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .webshop-shell .category-grid,
    .webshop-shell .catalog-subcategory-list {
        grid-template-columns: 1fr;
    }

    .webshop-shell .catalog-products-sticky {
        grid-template-columns: 1fr;
    }

    .webshop-shell .catalog-product-card__media,
    .webshop-shell .catalog-results--products .catalog-product-card__visual {
        min-height: 190px;
        height: 190px;
    }

    .webshop-shell .catalog-results--products .catalog-product-card__body {
        min-height: 225px;
        padding-inline: 12px;
    }

    .shop-footer .shop-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-footer button {
        margin-left: 0;
    }
}

@media (max-width: 460px) {
    .shop-brand span {
        display: none;
    }

    .shop-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-home-category-grid {
        gap: 8px;
    }

    .shop-home-category {
        min-height: 165px;
        padding: 14px 10px;
    }

    .shop-home-category__icons {
        min-height: 72px;
    }

    .shop-home-category__icons i {
        width: 43px;
        height: 43px;
    }

    .shop-offers .offer-card__visual {
        height: 180px;
    }

    .webshop-shell .catalog-results--products .catalog-product-card h3 {
        font-size: 14px;
    }
}

/* Professional commerce extensions */
.webshop-shell { display: flex; flex-direction: column; }
.webshop-shell .app-main { flex: 1 0 auto; }
.shop-footer { margin-top: auto; }
.shop-global-search { position: relative; overflow: visible; }
.shop-global-search > input { border-radius: 6px 0 0 6px; background: #fff; }
.shop-global-search > button[type="submit"] { border-radius: 0 5px 5px 0; }
.shop-category-nav { overflow: visible; }
.shop-search-popover {
    position: absolute; z-index: 500; top: calc(100% + 7px); left: 0; right: 0;
    max-height: min(70vh, 620px); overflow-y: auto; border: 1px solid #cfd5dc;
    border-radius: 7px; background: #fff; box-shadow: 0 16px 45px rgba(23,32,51,.22);
}
.shop-search-popover[hidden] { display: none; }
.shop-search-popover__head {
    padding: 14px 16px; display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--shop-line); color: var(--shop-muted); font-size: 12px;
}
.shop-search-popover__head strong { color: var(--shop-ink); font-size: 14px; }
.shop-search-popover__head button { border: 0; padding: 0; background: transparent; color: var(--shop-orange-dark); }
.shop-search-history { display: grid; }
.shop-search-history button {
    border: 0; padding: 13px 16px; display: flex; gap: 12px; background: #fff;
    color: var(--shop-ink); text-align: left;
}
.shop-search-history button:hover, .shop-search-suggestions button:hover { background: #f5f6f7; }
.shop-search-suggestions button {
    width: 100%; min-height: 76px; border: 0; border-bottom: 1px solid #edf0f2;
    padding: 8px 14px; display: grid; grid-template-columns: 58px minmax(0,1fr) auto;
    align-items: center; gap: 12px; background: #fff; color: var(--shop-ink); text-align: left;
}
.shop-search-suggestions__image {
    width: 56px; height: 56px; display: grid; place-items: center; overflow: hidden;
    border-radius: 4px; background: #f3f4f5; color: var(--shop-orange); font-weight: 900;
}
.shop-search-suggestions__image img { width: 100%; height: 100%; object-fit: contain; }
.shop-search-suggestions button > span:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.shop-search-suggestions button strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.shop-search-suggestions button small { color: var(--shop-muted); }
.shop-search-suggestions button b { color: #b12704; }
.shop-search-popover__all {
    width: 100%; min-height: 48px; border: 0; background: #fff8f3;
    color: var(--shop-orange-dark); font-weight: 800;
}
.shop-search-popover__empty { padding: 24px 16px; color: var(--shop-muted); }

.shop-nav-department { position: relative; flex: 0 0 auto; display: flex; }
.shop-nav-department > button { height: 100%; }
.shop-mega-menu {
    position: absolute; z-index: 450; top: 100%; left: 0; width: min(720px,86vw);
    padding: 28px; display: none; grid-template-columns: 240px minmax(0,1fr); gap: 30px;
    border: 1px solid #ccd2d9; border-top: 3px solid var(--shop-orange);
    background: #fff; color: var(--shop-ink); box-shadow: 0 18px 45px rgba(23,32,51,.2);
}
.shop-nav-department:hover .shop-mega-menu, .shop-nav-department:focus-within .shop-mega-menu { display: grid; }
.shop-mega-menu span { color: var(--shop-orange); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.shop-mega-menu h3 { margin: 7px 0 10px; font-size: 24px; }
.shop-mega-menu p { margin: 0; color: var(--shop-muted); line-height: 1.5; }
.shop-mega-menu__links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 4px 18px; }
.shop-mega-menu__links button {
    min-height: 42px; border-bottom: 1px solid #edf0f2; padding: 0;
    background: #fff; color: var(--shop-ink); text-align: left;
}
.shop-mega-menu__links button:hover { background: #fff; color: var(--shop-orange-dark); }

.catalog-shop-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); align-items: start; gap: 24px; }
.catalog-sidebar {
    position: sticky !important;
    top: 16px;
    align-self: start;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--shop-line);
    border-radius: 5px;
    background: #fff;
    scrollbar-width: thin;
    scrollbar-color: #b7bec7 transparent;
}
.catalog-sidebar::-webkit-scrollbar { width: 7px; }
.catalog-sidebar::-webkit-scrollbar-thumb { border-radius: 999px; background: #b7bec7; }
.catalog-sidebar__head, .catalog-sidebar section { padding: 16px; border-bottom: 1px solid var(--shop-line); }
.catalog-sidebar section:last-child { border-bottom: 0; }
.catalog-sidebar__head { display: flex; align-items: center; justify-content: space-between; }
.catalog-sidebar h2, .catalog-sidebar h3 { margin: 0; }
.catalog-sidebar h2 { font-size: 20px; }
.catalog-sidebar h3 { margin-bottom: 12px; font-size: 14px; }
.catalog-sidebar__head button { border: 0; padding: 0; background: transparent; color: var(--shop-orange-dark); font-size: 11px; }
.catalog-sidebar section > label, .catalog-sidebar__brands label {
    min-height: 31px; display: flex; align-items: center; gap: 8px; color: #394252; font-size: 12px;
}
.catalog-sidebar input[type="checkbox"], .catalog-sidebar input[type="radio"] { accent-color: var(--shop-orange); }
.catalog-sidebar__brands label small { margin-left: auto; color: var(--shop-muted); }
.catalog-sidebar__price { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.catalog-sidebar__price input { width: 100%; min-width: 0; height: 38px; border: 1px solid #b9c1ca; border-radius: 4px; padding: 0 8px; }
.catalog-sidebar__empty { color: var(--shop-muted); font-size: 12px; }
.webshop-shell .catalog-results--products { grid-template-columns: repeat(5,minmax(0,1fr)); }

.cart-commerce-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; align-items: start; gap: 24px; }
.cart-list__head {
    min-height: 55px; padding: 0 22px; display: flex; align-items: center;
    justify-content: space-between; border-bottom: 1px solid var(--shop-line);
}
.cart-list__head h2 { margin: 0; font-size: 22px; }
.webshop-shell .cart-row { grid-template-columns: 150px minmax(0,1fr) auto; }
.cart-row__image {
    width: 140px; height: 140px; border: 0; display: grid; place-items: center;
    overflow: hidden; background: #f5f5f5; color: var(--shop-orange); font-size: 40px; font-weight: 900;
}
.cart-row__image img { width: 92%; height: 92%; object-fit: contain; }
.cart-row__content { min-width: 0; }
.cart-row__title {
    border: 0; padding: 0; background: transparent; color: #1769aa;
    font-size: 18px; font-weight: 700; text-align: left;
}
.cart-row__title:hover { color: var(--shop-orange-dark); text-decoration: underline; }
.cart-row__available { display: block; margin: 10px 0; color: #087a39; font-size: 12px; }
.cart-row__price { font-size: 18px; }
.cart-row__remove { width: auto !important; padding: 0 9px; color: #1769aa !important; background: transparent !important; }
.cart-summary { position: sticky; top: 18px; border: 1px solid var(--shop-line); border-radius: 5px; padding: 22px; background: #fff; }
.cart-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; font-size: 18px; }
.cart-summary > div strong { color: #b12704; font-size: 24px; }
.cart-summary p, .cart-summary small { color: var(--shop-muted); line-height: 1.5; }
.cart-summary .cart-next-btn { max-width: none; margin: 15px 0; }
.cart-empty button { margin-top: 18px; border: 0; border-radius: 4px; padding: 12px 18px; background: var(--shop-orange); color: #fff; font-weight: 800; }

#product-detail-sheet { z-index: 700; background: #fff; }
#product-detail-sheet .customer-sheet__card--product-detail { height: 100vh; padding: 0; background: #fff; }
.product-detail-page {
    width: min(calc(100% - 40px),var(--shop-max)); min-height: 100%; margin: 0 auto;
    padding-bottom: 70px; color: var(--shop-ink);
}
.product-detail-page__top {
    position: static; min-height: 70px; padding: 10px 0;
    grid-template-columns: 48px minmax(0,1fr); background: #fff;
}
.product-detail-page__top h1 { grid-column: 2; text-align: left; }
.product-detail-page__back { border: 1px solid var(--shop-line); border-radius: 4px; box-shadow: none; }
.product-detail-page__breadcrumb { padding: 14px 0 24px; display: flex; gap: 8px; color: var(--shop-muted); font-size: 12px; }
.product-detail-page__breadcrumb button { border: 0; padding: 0; background: transparent; color: #1769aa; }
.product-detail-page__breadcrumb strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-detail-page__main {
    display: grid; grid-template-columns: minmax(360px,1.1fr) minmax(350px,1fr) 320px;
    align-items: start; gap: 34px;
}
.product-detail-page__hero { min-height: 560px; padding: 30px; background: #f7f7f7; }
.product-detail-page__image, .product-detail-page__image.has-image {
    width: min(100%,520px); height: 500px; border-radius: 0; background: transparent;
}
.product-detail-page__intro { margin: 0; border-radius: 0; padding: 5px 0; background: #fff; }
.product-detail-page__intro p { color: #1769aa; font-size: 14px; }
.product-detail-page__intro h2 { margin: 10px 0; color: var(--shop-ink); font-size: 30px; font-weight: 500; }
.product-detail-page__intro hr { border: 0; border-top: 1px solid var(--shop-line); }
.product-detail-page__rating { display: flex; gap: 12px; color: #f2a000; }
.product-detail-page__rating a { color: #1769aa; font-size: 13px; }
.product-detail-page__intro small { color: var(--shop-muted); }
.product-detail-page__intro ul { padding-left: 20px; line-height: 1.75; }
.product-detail-page__buy { margin: 0; border: 1px solid #cfd4da; border-radius: 8px; padding: 22px; background: #fff; }
.product-detail-page__buy p { color: var(--shop-muted); font-size: 13px; line-height: 1.45; }
.product-detail-page__buy label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
.product-detail-page__qty { width: 145px; min-height: 42px; border: 1px solid #9fa7b1; border-radius: 5px; }
.product-detail-page__qty button { min-height: 42px; }
.product-detail-page__cart, .product-detail-page__secondary { width: 100%; min-height: 48px; margin-top: 14px; border-radius: 999px; }
.product-detail-page__cart {
    border: 0;
    background: linear-gradient(135deg, #f47a32, var(--shop-orange-dark));
    color: #fff;
    box-shadow: 0 12px 26px rgba(189, 69, 16, .28);
    font-weight: 900;
}
.product-detail-page__secondary {
    border: 1px solid rgba(233, 101, 36, .55);
    background: #fff3ea;
    color: var(--shop-orange-dark);
    font-weight: 800;
}
.product-detail-page__cart:hover { background: linear-gradient(135deg, #ff8842, #a93708); }
.product-detail-page__secondary:hover { background: #ffe8d8; color: #9d3508; }
.product-detail-page__info { margin-top: 55px; padding: 35px 0; border-top: 1px solid var(--shop-line); }
.product-detail-page__info-card { max-width: 850px; border: 0; border-radius: 0; padding: 0; background: #fff; }
.product-detail-loading { width: min(calc(100% - 40px),var(--shop-max)); margin: 0 auto; padding: 100px 0; text-align: center; }

@media (max-width: 1250px) {
    .webshop-shell .catalog-results--products { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .product-detail-page__main { grid-template-columns: minmax(320px,1fr) minmax(320px,1fr); }
    .product-detail-page__buy { grid-column: 2; }
}
@media (max-width: 900px) {
    .catalog-shop-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; }
    .webshop-shell .catalog-results--products { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .cart-commerce-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .product-detail-page__main { grid-template-columns: 1fr; }
    .product-detail-page__buy { grid-column: auto; }
}
@media (max-width: 600px) {
    .webshop-shell .catalog-results--products { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .webshop-shell .cart-row { grid-template-columns: 90px minmax(0,1fr); }
    .cart-row__image { width: 82px; height: 82px; }
    .cart-row__price { grid-column: 2; }
    .shop-mega-menu { display: none !important; }
    .shop-category-nav { overflow-x: auto; overflow-y: hidden; }
    .product-detail-page__hero { min-height: 380px; }
    .product-detail-page__image, .product-detail-page__image.has-image { height: 340px; }
}

/* Unified page alignment */
.shop-header__main,
.shop-content,
.webshop-shell .catalog-screen {
    width: 100%;
    max-width: 1480px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

.shop-category-nav {
    padding-right: max(20px, calc((100% - 1440px) / 2));
    padding-left: max(20px, calc((100% - 1440px) / 2));
}

.webshop-shell .catalog-products-sticky {
    display: block;
}

.webshop-shell .catalog-products-hero {
    width: 100%;
    min-height: 104px;
}

.webshop-shell .catalog-filter-row,
.catalog-filter-sheet {
    display: none !important;
}

/* Product page within normal shop chrome */
.shop-product-view[hidden] {
    display: none !important;
}

.shop-product-view {
    position: static;
    width: 100%;
    min-height: 600px;
    background: #fff;
}

.shop-product-view__inner {
    width: 100%;
}

.webshop-shell.is-product-view .app-main > .tab-panel {
    display: none !important;
}

#product-detail-sheet {
    position: static;
    inset: auto;
    z-index: auto;
    display: block;
    align-items: initial;
    background: #fff;
}

.product-detail-page {
    padding-top: 18px;
}

/* Full shop footer */
.shop-footer {
    padding: 0;
    background: #202a3a;
}

.shop-footer__top {
    border-bottom: 1px solid #eadccd;
    background: #fff7ef;
}

.shop-footer__top .shop-content {
    min-height: 132px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 18px;
}

.shop-footer__top div > div {
    min-height: 92px;
    border: 1px solid #f0d6bd;
    border-radius: 18px;
    padding: 22px 22px 22px 58px;
    display: grid;
    gap: 5px;
    align-content: center;
    position: relative;
    background: #fff;
    box-shadow: 0 10px 28px rgba(189, 69, 16, .08);
}

.shop-footer__top div > div::before {
    position: absolute;
    left: 20px;
    top: 24px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--shop-orange);
    color: #fff;
    content: "✓";
    font-weight: 800;
}

.shop-footer__top strong {
    color: var(--shop-ink);
    font-size: 16px;
}

.shop-footer__top span {
    color: var(--shop-muted);
    font-size: 13px;
}

.shop-footer__main {
    min-height: 300px;
    padding-top: 48px;
    padding-bottom: 48px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    align-items: start;
    gap: clamp(30px, 5vw, 85px);
}

.shop-footer__main > div {
    display: grid;
    align-content: start;
    gap: 11px;
}

.shop-footer__main h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 16px;
}

.shop-footer__main button,
.shop-footer__main a,
.shop-footer__main span,
.shop-footer__main p {
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #c9d0da;
    font-size: 13px;
    line-height: 1.55;
    text-align: left;
}

.shop-footer__main button:hover,
.shop-footer__main a:hover {
    color: #fff;
}

.shop-footer__main strong {
    color: #fff;
}

.shop-footer__brand img {
    width: 110px;
    max-height: 90px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.shop-footer__brand p {
    max-width: 290px;
}

.shop-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    background: #182130;
}

.shop-footer__bottom .shop-content {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #9fa9b7;
    font-size: 12px;
}

@media (max-width: 900px) {
    .shop-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .shop-header__main,
    .shop-content,
    .webshop-shell .catalog-screen {
        padding-right: 12px;
        padding-left: 12px;
    }

    .shop-footer__top .shop-content,
    .shop-footer__main {
        grid-template-columns: 1fr;
    }

    .shop-footer__top .shop-content {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .shop-footer__main {
        gap: 34px;
    }
}
