/* Hallmark · component: home product offers · genre: modern-minimal · theme: existing iStore
 * states: default · hover · focus · active · disabled · loading · error · success
 * pre-emit critique: P4 H5 E4 S5 R5 V4 */
.summer-selection {
    --color-paper: oklch(100% 0 0);
    --color-paper-soft: oklch(97.5% .002 286);
    --color-ink: oklch(23% .004 286);
    --color-muted: oklch(48% .008 286);
    --color-rule: oklch(92% .004 286);
    --color-focus: oklch(48% .008 286);
    --color-success: oklch(46% .1 150);
    --color-warning: oklch(49% .11 65);
    --color-error: oklch(48% .16 20);
    --font-body: 'Montserrat', Arial, sans-serif;
    --space-2xs: 4px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --radius-card: 20px;
    --radius-control: 12px;
}


/* Tokens are bundled here during packaging; all rules stay inside this section. */
html body .summer-selection {
    padding: var(--space-xl) var(--space-lg) !important;
    font-family: var(--font-body) !important;
}
html body .summer-selection .istore-offers-title {
    margin: 0 0 var(--space-lg);
    color: var(--color-ink);
    font: 700 28px/1.2 var(--font-body);
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}
html body .summer-selection .summer-tabsbar { margin-bottom: var(--space-xl); }
html body .summer-selection .summer-tab {
    height: 44px;
    padding: 0 var(--space-md);
    font-size: 13px;
    letter-spacing: -.015em;
    transition: none;
}
html body .summer-selection .summer-tab:not(.is-active) {
    background: var(--color-paper-soft) !important;
    border-color: var(--color-paper-soft) !important;
    color: var(--color-muted) !important;
}
html body .summer-selection .summer-tab:not(.is-active):hover {
    border-color: var(--color-rule) !important;
    color: var(--color-ink) !important;
}
html body .summer-selection .summer-subsection { margin-bottom: var(--space-xl); }
html body .summer-selection .summer-subsection__head { margin-bottom: var(--space-md); }
html body .summer-selection .summer-subsection__title {
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.03em;
    min-width: 0;
    overflow-wrap: anywhere;
}
html body .summer-selection .summer-subsection__title::before { display: none; }
html body .summer-selection .summer-nav-btn {
    width: 40px;
    height: 40px;
    border-color: var(--color-rule);
    background: var(--color-paper-soft);
    color: var(--color-ink);
    transition: none;
}
html body .summer-selection .summer-nav-btn:hover { background: var(--color-rule); }
html body .summer-selection .summer-nav-btn:disabled,
html body .summer-selection .summer-nav-btn.swiper-button-disabled {
    opacity: .35;
    cursor: default;
}
html body .summer-selection .summer-slider { border-radius: var(--radius-card); }
html body .summer-selection .summer-card {
    min-height: 364px;
    padding: var(--space-md);
    border: 1px solid var(--color-rule) !important;
    border-radius: var(--radius-card) !important;
    background: var(--color-paper) !important;
    font-family: var(--font-body);
    animation: none !important;
    transition: none;
}
html body .summer-selection .summer-card:hover { border-color: var(--color-muted) !important; }
html body .summer-selection .summer-card__image {
    height: 148px;
    flex: 0 0 148px;
    margin: 0 0 var(--space-md);
    padding: var(--space-xs);
    background: var(--color-paper);
}
html body .summer-selection .summer-card__image img { transform: none !important; transition: none; }
html body .summer-selection .summer-card h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    height: 57px;
    min-height: 57px;
    flex: 0 0 57px;
    margin: 0;
    color: var(--color-ink);
    font: 500 13px/19px var(--font-body);
    letter-spacing: -.015em;
    overflow-wrap: anywhere;
}
html body .summer-selection .summer-card p {
    margin-top: var(--space-xs);
    color: var(--color-muted);
}
html body .summer-selection .summer-card__bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap !important;
    gap: var(--space-sm);
    margin-top: auto;
    padding-top: var(--space-md);
}
html body .summer-selection .summer-card__bottom > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 48px;
    gap: var(--space-xs);
}
html body .summer-selection .summer-price {
    color: var(--color-ink);
    font: 700 20px/24px var(--font-body) !important;
    letter-spacing: -.035em;
    white-space: nowrap !important;
}
html body .summer-selection .summer-stock {
    margin: 0;
    gap: var(--space-2xs);
    color: var(--color-muted);
    font: 500 11px/16px var(--font-body);
}
html body .summer-selection .summer-stock::before {
    width: 5px;
    height: 5px;
    flex-basis: 5px;
    background: var(--color-success);
    box-shadow: none;
}
html body .summer-selection .summer-stock.low-stock::before { background: var(--color-warning); }
html body .summer-selection .summer-stock.out-stock::before { background: var(--color-error); }
html body .summer-selection .summer-link {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 var(--space-xs);
    border-radius: var(--radius-control) !important;
    white-space: nowrap;
    font: 600 12px/1 var(--font-body);
    text-align: center;
    transition: none;
}
html body .summer-selection .summer-link:active,
html body .summer-selection .summer-link.is-active,
html body .summer-selection .summer-nav-btn:active { transform: translateY(1px); }
html body .summer-selection .summer-link:focus-visible,
html body .summer-selection .summer-link.is-focus,
html body .summer-selection .summer-tab:focus-visible,
html body .summer-selection .summer-nav-btn:focus-visible,
html body .summer-selection .summer-card:focus-visible {
    outline: 2px solid var(--color-focus) !important;
    outline-offset: -4px;
}
html body .summer-selection .summer-link:disabled,
html body .summer-selection .summer-link.summer-add-cart--disabled,
html body .summer-selection .summer-link[aria-disabled=true] {
    background: var(--color-paper-soft) !important;
    border-color: var(--color-rule) !important;
    color: var(--color-muted) !important;
    cursor: not-allowed;
}
html body .summer-selection .summer-link[data-state=loading] { opacity: .65; cursor: progress; }
html body .summer-selection .summer-link[data-state=error] {
    color: var(--color-error) !important;
    background: var(--color-paper) !important;
    border-color: var(--color-error) !important;
}
html body .summer-selection .summer-link[data-state=success] {
    color: var(--color-ink) !important;
    background: var(--color-paper-soft) !important;
    border-color: var(--color-rule) !important;
}
@media (min-width: 1181px) {
    html body .summer-selection .summer-slider:not(.swiper-initialized) .swiper-slide {
        flex-basis: calc((100% - 60px) / 6);
        margin-right: 12px;
    }
}
@media (max-width: 640px) {
    html body .summer-selection { padding: var(--space-lg) var(--space-xs) !important; }
    html body .summer-selection .istore-offers-title { font-size: 24px; margin-bottom: var(--space-md); }
    html body .summer-selection .summer-tabsbar { margin-bottom: var(--space-lg); }
    html body .summer-selection .summer-subsection__title { font-size: 17px; }
    html body .summer-selection .summer-card { min-height: 340px; padding: var(--space-sm); }
    html body .summer-selection .summer-card__image { height: 120px; flex-basis: 120px; padding: var(--space-2xs); }
    html body .summer-selection .summer-card h3 { font-size: 12px; line-height: 18px; height: 54px; min-height: 54px; flex-basis: 54px; }
    html body .summer-selection .summer-price { font-size: 18px !important; }
    html body .summer-selection .summer-link { height: 44px; }
}
@media (max-width: 360px) {
    html body .summer-selection .summer-card { padding: var(--space-xs); }
    html body .summer-selection .summer-price { font-size: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
    html body .summer-selection .summer-card,
    html body .summer-selection .summer-card * { animation: none !important; transition: none !important; }
}
