/* ----------------------------------------------------------------
 * Shop Grid (Product Listing)
 * ---------------------------------------------------------------- */
.erp-shop {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 16px 56px;
    font-family: var(--erp-font);
}
.erp-shop--category {
    flex-direction: column;
}

.erp-shop__sidebar {
    position: sticky;
    top: 96px;
    width: 264px;
    flex-shrink: 0;
    padding: 20px;
    border: 1px solid var(--erp-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}
.erp-shop__sidebar-heading {
    margin-bottom: 14px;
    padding: 0 4px 14px;
    border-bottom: 1px solid var(--erp-border);
}
.erp-shop__sidebar-heading > span {
    display: block;
    margin-bottom: 4px;
    color: var(--erp-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}
.erp-shop__sidebar-heading h2 {
    margin: 0;
    font-family: var(--erp-heading-font);
    font-size: 18px;
    line-height: 1.25;
}

.erp-shop__category-toggle {
    display: none;
}

.erp-shop__category-panel {
    max-height: calc(100vh - 205px);
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--erp-border) transparent;
}

.erp-shop__categories {
    list-style: none;
    padding: 0;
    margin: 0;
}
.erp-shop__category-children {
    list-style: none;
    padding: 0;
    margin: 3px 0 0 14px;
    border-left: 1px solid rgba(148, 163, 184, 0.28);
}
.erp-shop__categories li {
    margin-bottom: 2px;
}
.erp-shop__categories li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 38px;
    padding: 8px 10px;
    color: var(--erp-text);
    text-decoration: none;
    border-radius: var(--erp-radius-sm);
    font-size: 14px;
    line-height: 1.35;
    transition: background var(--erp-transition), color var(--erp-transition), transform var(--erp-transition);
}
.erp-shop__categories li a:hover {
    background: var(--erp-bg-light);
    color: var(--erp-primary);
    transform: translateX(2px);
}
.erp-shop__categories li.active > a {
    background: var(--erp-primary);
    color: #fff;
}
.erp-shop__categories li.is-ancestor > a {
    background: color-mix(in srgb, var(--erp-primary) 8%, transparent);
    color: var(--erp-primary);
}
.erp-shop__category-item--depth-1 > a {
    padding-left: 16px;
    font-size: 13px;
}
.erp-shop__category-item--depth-2 > a {
    padding-left: 22px;
    font-size: 13px;
}
.erp-shop__category-item--depth-3 > a,
.erp-shop__category-item--depth-4 > a {
    padding-left: 28px;
    font-size: 12px;
}
.erp-shop__category-item > a span:first-child {
    min-width: 0;
}
.erp-shop__categories .count {
    flex: 0 0 auto;
    color: var(--erp-text-muted);
    font-size: 12px;
}
.erp-shop__categories li.active > a .count {
    color: rgba(255, 255, 255, 0.82);
}

.erp-shop__main {
    flex: 1;
    min-width: 0;
}
.erp-shop__main h1 {
    font-family: var(--erp-heading-font);
    font-size: clamp(32px, 4vw, 52px);
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.erp-shop__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--erp-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.erp-shop__breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 16px;
    overflow-x: auto;
    color: var(--erp-text-muted);
    font-size: 13px;
    white-space: nowrap;
    scrollbar-width: none;
}

.erp-shop__breadcrumb::-webkit-scrollbar {
    display: none;
}

.erp-shop__breadcrumb a {
    color: var(--erp-text-muted);
    text-decoration: none;
}

.erp-shop__breadcrumb a:hover {
    color: var(--erp-primary);
}

.erp-shop__breadcrumb svg {
    flex: 0 0 auto;
    opacity: 0.55;
}

.erp-shop__home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 34px;
    min-height: 430px;
    margin-bottom: 24px;
    padding: clamp(30px, 5vw, 58px);
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #172554 56%, color-mix(in srgb, var(--erp-primary) 72%, #172554) 100%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.erp-shop__home-hero::before {
    position: absolute;
    top: -120px;
    right: 24%;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: '';
}

.erp-shop__home-hero-copy {
    position: relative;
    z-index: 1;
    align-self: center;
}

.erp-shop__home-hero .erp-shop__eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.erp-shop__home-hero h1 {
    max-width: 680px;
    margin: 0 0 18px;
    color: #fff;
}

.erp-shop__home-hero-copy > p {
    max-width: 630px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.7;
}

.erp-shop__home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.erp-shop__primary-link,
.erp-shop__secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.erp-shop__primary-link {
    background: #fff;
    color: #0f172a;
}

.erp-shop__secondary-link {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.erp-shop__primary-link:hover,
.erp-shop__secondary-link:hover {
    transform: translateY(-2px);
}

.erp-shop__secondary-link:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.erp-shop__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.erp-shop__benefits li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.erp-shop__benefits svg {
    color: #86efac;
}

.erp-shop__home-feature {
    position: relative;
    z-index: 1;
    align-self: stretch;
    min-height: 310px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
}

.erp-shop__home-feature > img,
.erp-shop__home-feature-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.erp-shop__home-feature-placeholder {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.48);
}

.erp-shop__home-feature::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.92));
    content: '';
}

.erp-shop__home-feature:hover > img {
    transform: scale(1.035);
}

.erp-shop__home-feature-label {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2px 12px;
}

.erp-shop__home-feature-label small {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.erp-shop__home-feature-label strong {
    font-size: 20px;
    line-height: 1.25;
}

.erp-shop__category-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 80px;
    align-items: center;
    gap: 16px;
    min-height: 0;
    margin-bottom: 18px;
}

.erp-shop__category-hero.has-no-image {
    grid-template-columns: 1fr;
}

.erp-shop__category-hero-copy {
    min-width: 0;
}

.erp-theme-shell .erp-shop__category-hero h1 {
    margin: 0;
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.erp-shop__category-hero p {
    max-width: 700px;
    margin: 8px 0 0;
    color: var(--erp-text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.erp-shop__category-hero-media {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

.erp-shop__category-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.erp-shop__result-count {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--erp-primary) 9%, #fff);
    color: var(--erp-primary);
    font-size: 12px;
    font-weight: 750;
}

.erp-shop-search {
    margin: 0 0 18px;
    padding: 0;
}

.erp-shop-search__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--erp-text);
}

.erp-shop-search__field {
    position: relative;
}

.erp-shop-search__control {
    position: relative;
    min-width: 0;
}

.erp-shop-search__icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--erp-text-muted);
    pointer-events: none;
}

.erp-shop-search__input {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px 10px 46px;
    border: 1px solid var(--erp-border);
    border-radius: 12px;
    background: var(--erp-bg-light);
    color: var(--erp-text);
    font: inherit;
    font-size: 16px;
}

.erp-shop-search__input:focus {
    outline: none;
    border-color: var(--erp-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.12);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--erp-primary) 12%, transparent);
}

.erp-shop-search__status {
    min-height: 0;
    margin-top: 8px;
    color: var(--erp-text-muted);
    font-size: 13px;
}

.erp-shop-search__status:empty {
    margin: 0;
}

.erp-shop-search__results {
    margin-top: 14px;
    border-top: 1px solid var(--erp-border);
    padding-top: 14px;
}

.erp-shop-search__group + .erp-shop-search__group {
    margin-top: 16px;
}

.erp-shop-search__group h3 {
    margin: 0 0 10px;
    color: var(--erp-text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.erp-shop-search__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.erp-shop-search__card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius-sm);
    color: var(--erp-text);
    text-decoration: none;
    background: #fff;
}

.erp-shop-search__card:hover {
    border-color: var(--erp-primary);
    color: var(--erp-primary);
}

.erp-shop-search__media {
    width: 54px;
    height: 54px;
    border-radius: var(--erp-radius-sm);
    background: var(--erp-bg-light);
    overflow: hidden;
}

.erp-shop-search__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.erp-shop-search__media--empty {
    display: block;
}

.erp-shop-search__card-title {
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.erp-shop-search__empty {
    padding: 14px;
    border: 1px dashed var(--erp-border);
    border-radius: var(--erp-radius-sm);
    color: var(--erp-text-muted);
    text-align: center;
}

.erp-shop__category-section,
.erp-shop__products {
    margin-top: 20px;
    scroll-margin-top: 110px;
}

.erp-shop__section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.erp-shop__section-heading h2 {
    margin: 0;
    color: var(--erp-text);
    font-family: var(--erp-heading-font);
    font-size: 20px;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.erp-shop__section-heading > p {
    max-width: 430px;
    margin: 0;
    color: var(--erp-text-muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: right;
}

.erp-shop__section-heading--products {
    align-items: center;
}

.erp-shop__category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.erp-shop__category-card {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid var(--erp-border);
    border-radius: 10px;
    background: #fff;
    color: var(--erp-text);
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.erp-shop__category-card:hover {
    border-color: color-mix(in srgb, var(--erp-primary) 40%, var(--erp-border));
    color: var(--erp-text);
    background: var(--erp-bg-light);
}

.erp-shop__category-card-media {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 6px;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #f8fafc, #eef2f7);
    color: #94a3b8;
}

.erp-shop__category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.erp-shop__category-card:hover .erp-shop__category-card-media img {
    transform: scale(1.035);
}

.erp-shop__category-card-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.erp-shop__category-card-meta {
    color: var(--erp-text-muted);
    font-size: 11px;
}

.erp-shop__category-card-body > strong {
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.erp-shop__category-card-arrow {
    flex: 0 0 16px;
    color: var(--erp-text-muted);
}

.erp-shop__cat-desc {
    color: var(--erp-text-muted);
    margin-bottom: 20px;
}

.erp-shop__cat-image-wrap {
    margin: 0 0 16px;
}

.erp-shop__cat-image {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: var(--erp-radius);
    border: 1px solid var(--erp-border);
}

.erp-shop__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.erp-shop__subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.erp-shop__subcat {
    padding: 8px 16px;
    background: var(--erp-bg-light);
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius);
    text-decoration: none;
    color: var(--erp-text);
    font-size: 14px;
    transition: all var(--erp-transition);
}
.erp-shop__subcat:hover {
    border-color: var(--erp-primary);
    color: var(--erp-primary);
}

.erp-shop__pagination {
    margin-top: 36px;
    text-align: center;
}
.erp-shop__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin: 0 2px;
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius-sm);
    text-decoration: none;
    color: var(--erp-text);
    font-size: 14px;
}
.erp-shop__pagination .page-numbers.current {
    padding: 6px 12px;
    background: var(--erp-primary);
    color: #fff;
    border-color: var(--erp-primary);
}

@media (max-width: 1080px) {
    .erp-shop__category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .erp-shop__home-hero {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 0.8fr);
        padding: 34px;
    }
}

@media (max-width: 768px) {
    .erp-shop {
        flex-direction: column;
        gap: 0;
        padding-top: 20px;
    }

    .erp-shop__sidebar {
        position: static;
        width: 100%;
        margin: 0 0 18px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .erp-shop__sidebar-heading {
        display: none;
    }

    .erp-shop__category-menu.is-enhanced .erp-shop__category-toggle,
    html.erp-shop-js .erp-shop__category-menu .erp-shop__category-toggle {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 12px;
        min-height: 60px;
        padding: 10px 14px;
        border: 1px solid var(--erp-border);
        border-radius: 14px;
        background: #fff;
        color: var(--erp-text);
        font: inherit;
        text-align: left;
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
        cursor: pointer;
    }

    .erp-shop__category-toggle:focus-visible {
        outline: 3px solid color-mix(in srgb, var(--erp-primary) 24%, transparent);
        outline-offset: 2px;
    }

    .erp-shop__category-toggle-icon {
        display: grid;
        width: 38px;
        height: 38px;
        flex: 0 0 auto;
        place-items: center;
        border-radius: 10px;
        background: color-mix(in srgb, var(--erp-primary) 9%, #fff);
        color: var(--erp-primary);
    }

    .erp-shop__category-toggle-copy {
        display: grid;
        min-width: 0;
        flex: 1;
        gap: 1px;
    }

    .erp-shop__category-toggle-copy small {
        color: var(--erp-text-muted);
        font-size: 10px;
        font-weight: 750;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .erp-shop__category-toggle-copy strong {
        overflow: hidden;
        font-size: 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .erp-shop__category-toggle-chevron {
        flex: 0 0 auto;
        color: var(--erp-text-muted);
        transition: transform 0.2s ease;
    }

    .erp-shop__category-menu.is-open .erp-shop__category-toggle-chevron {
        transform: rotate(180deg);
    }

    .erp-shop__category-panel {
        max-height: min(68vh, 560px);
        margin-top: 10px;
        padding: 10px;
        overflow: auto;
        border: 1px solid var(--erp-border);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
    }

    .erp-shop__category-menu.is-enhanced .erp-shop__category-panel,
    html.erp-shop-js .erp-shop__category-menu .erp-shop__category-panel {
        display: none;
    }

    .erp-shop__category-menu.is-enhanced.is-open .erp-shop__category-panel,
    html.erp-shop-js .erp-shop__category-menu.is-open .erp-shop__category-panel {
        display: block;
        animation: erp-category-menu-in 0.18s ease-out;
    }

    .erp-shop__categories,
    .erp-shop__categories--tree {
        display: block;
        margin: 0;
        padding: 0;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .erp-shop__categories li {
        margin-bottom: 2px;
    }

    .erp-shop__categories li a {
        white-space: normal;
    }

    .erp-shop__main {
        width: 100%;
    }

    .erp-shop__home-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .erp-shop__home-feature {
        min-height: 260px;
    }

    .erp-shop__section-heading > p {
        max-width: 360px;
    }
}

@keyframes erp-category-menu-in {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================
 * Mobile Responsive (max-width: 640px)
 * ================================================================ */
@media (max-width: 640px) {
    .erp-shop {
        padding: 14px 12px 42px;
    }

    .erp-shop__home-hero {
        gap: 26px;
        padding: 28px 22px 22px;
        border-radius: 19px;
    }

    .erp-shop__main h1 {
        font-size: clamp(31px, 10vw, 40px);
    }

    .erp-shop__home-hero-copy > p {
        font-size: 15px;
        line-height: 1.6;
    }

    .erp-shop__home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 22px;
    }

    .erp-shop__primary-link,
    .erp-shop__secondary-link {
        width: 100%;
    }

    .erp-shop__benefits {
        display: grid;
        gap: 8px;
        margin-top: 20px;
    }

    .erp-shop__home-feature {
        min-height: 230px;
    }

    .erp-shop__breadcrumb {
        margin-bottom: 12px;
    }

    .erp-shop__category-hero {
        grid-template-columns: minmax(0, 1fr) 64px;
        gap: 12px;
    }

    .erp-shop__category-hero-media {
        width: 64px;
        height: 64px;
    }

    .erp-shop__category-section,
    .erp-shop__products {
        margin-top: 18px;
    }

    .erp-shop__section-heading {
        display: grid;
        gap: 9px;
        margin-bottom: 10px;
    }

    .erp-shop__section-heading > p {
        max-width: none;
        font-size: 13px;
        text-align: left;
    }

    .erp-shop__section-heading--products {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .erp-shop__category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .erp-shop__category-card {
        padding: 10px;
        gap: 8px;
    }

    .erp-shop__category-card-media {
        width: 32px;
        height: 40px;
        flex-basis: 32px;
    }

    .erp-shop__category-card-body > strong {
        font-size: 14px;
    }

    .erp-shop__category-card-arrow {
        display: none;
    }

    .erp-shop__cat-image {
        max-height: 190px;
        object-position: center;
    }

    .erp-shop__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 0;
    }

    .erp-shop-search__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .erp-product-card {
        border-radius: 12px;
    }
    
    .erp-product-card__image,
    .erp-product-card__no-image {
        aspect-ratio: 1 / 1;
        max-height: 170px;
    }
    
    .erp-product-card__body {
        padding: 10px;
    }
    
    .erp-product-card__title {
        font-size: 13px;
    }
    
    .erp-product-card__atc {
        margin: 0 10px 10px;
        width: calc(100% - 20px);
        min-height: 38px;
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .erp-product {
        padding: 16px 12px 92px;
    }
    
    .erp-product__breadcrumb {
        margin-bottom: 14px;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    
    .erp-product__layout {
        gap: 18px;
        margin-bottom: 24px;
    }
    
    .erp-product__main-image img,
    .erp-product__no-image {
        max-height: min(82vw, 360px);
    }
    
    .erp-product__thumbs {
        overflow-x: auto;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
    }
    
    .erp-product__thumb {
        width: 54px;
        height: 54px;
        flex: 0 0 auto;
    }
    
    .erp-product__title {
        font-size: 22px;
    }
    
    .erp-product__price-current {
        font-size: 24px;
    }
    
    .erp-product__availability {
        padding: 10px 12px;
    }
}

/* ----------------------------------------------------------------
 * Product Card
 * ---------------------------------------------------------------- */
.erp-product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--erp-border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.erp-product-card:hover {
    border-color: color-mix(in srgb, var(--erp-primary) 30%, var(--erp-border));
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
    transform: translateY(-3px);
}

.erp-product-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
    position: relative;
}

.erp-product-card__link:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--erp-primary) 26%, transparent);
    outline-offset: -3px;
}

.erp-product-card__flags {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.erp-product-card__flag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: var(--erp-shadow);
}

.erp-product-card__flag.is-new {
    background: var(--erp-primary);
}

.erp-product-card__flag.is-sale {
    background: #ea580c;
}

.erp-product-card__flag.is-hot {
    background: #dc2626;
}

.erp-product-card__image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 14px;
    background: #fff;
    transition: transform 0.25s ease;
}

.erp-product-card:hover .erp-product-card__image {
    transform: scale(1.025);
}

.erp-product-card__no-image {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--erp-bg-light);
    color: var(--erp-border);
}

.erp-product-card__body {
    padding: 14px 16px 16px;
    border-top: 1px solid color-mix(in srgb, var(--erp-border) 72%, transparent);
}

.erp-product-card__brand {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--erp-text-muted);
    margin-bottom: 4px;
}

.erp-product-card__title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
}

.erp-product-card__sku {
    font-size: 12px;
    color: var(--erp-text-muted);
}

.erp-product-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    color: var(--erp-text);
}

.erp-product-card__price-current {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.erp-product-card__price-old {
    font-size: 12px;
    color: var(--erp-text-muted);
    text-decoration: line-through;
}

.erp-product-card__price--muted {
    font-size: 13px;
    font-weight: 500;
    color: var(--erp-text-muted);
}

.erp-product-card__badge {
    display: inline-block;
    margin-top: 6px;
    font-size: 11px;
    padding: 2px 8px;
    background: var(--erp-bg-light);
    border-radius: 999px;
    color: var(--erp-text-muted);
}

.erp-product-card__atc {
    min-height: 42px;
    margin: 0 16px 16px;
    width: calc(100% - 32px);
    border-radius: 10px;
}

/* ----------------------------------------------------------------
