.flash-page {
    --flash-orange: #f98720;
    --flash-black: #111111;
    --flash-panel: #ffffff;
    --flash-line: #e9e9e9;
    --flash-muted: #6b6b6b;
    margin: 0;
    padding: 0 0 64px;
    background: #fff;
    color: var(--flash-black);
    font-family: 'Rubik', sans-serif;
}

.flash-page * { box-sizing: border-box; }
.flash-page .flash-shell { width: min(1360px, calc(100% - 64px)); margin-inline: auto; }
.flash-page h1, .flash-page h2, .flash-page h3 { margin: 0; color: var(--flash-black); font-family: inherit; }
.flash-page a { color: inherit; text-decoration: none; }
.flash-page a:focus-visible, .flash-page summary:focus-visible, .flash-page button:focus-visible {
    outline: 2px solid var(--flash-orange) !important;
    outline-offset: 4px;
}
.flash-page .flash-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Image-only banner; keep the subject centered for the mobile crop. */
.flash-page .flash-hero { width: 100%; aspect-ratio: 1920 / 400; overflow: hidden; background: var(--flash-orange); }
.flash-page .flash-hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.flash-page .flash-promo-bar { background: #e02020; color: #fff; }
.flash-page .flash-promo-inner { display: flex; align-items: center; justify-content: center; padding-block: 24px; text-align: center; }
.flash-page .flash-promo-message { width: 100%; max-width: 850px; min-width: 0; }
.flash-page .flash-promo-message strong { display: block; color: #fff; font-size: 19px; font-weight: 600; line-height: 1.4; }
.flash-page .flash-promo-message p { margin: 7px 0 0; color: #fff; font-size: 13px; line-height: 1.6; }
/* A single quiet toolbar, directly above the products. */
.flash-page .flash-catalog { padding-top: 28px; scroll-margin-top: 24px; }
.flash-page .flash-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--flash-line);
}
.flash-page .flash-filter { flex: 0 1 220px; min-width: 0; }
.flash-page .flash-select-shell { position: relative; }
.flash-page .flash-select-shell::after, .flash-page .flash-sort summary::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #a3a3a3;
    border-bottom: 1.5px solid #a3a3a3;
    transform: rotate(45deg);
}
.flash-page .flash-select-shell::after { position: absolute; right: 16px; top: 18px; pointer-events: none; }
.flash-page .flash-filter select {
    display: block;
    appearance: none;
    width: 100%;
    height: 46px;
    padding: 0 34px 0 15px;
    border: 1px solid #dedede;
    border-radius: 6px;
    background: #fff;
    color: #333;
    -webkit-text-fill-color: #333;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    opacity: 1;
    cursor: default;
    text-overflow: ellipsis;
}
.flash-page .flash-sort { position: relative; min-width: 195px; margin-left: auto; }
.flash-page .flash-sort summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 46px;
    padding: 0 15px;
    border: 1px solid var(--flash-black);
    border-radius: 6px;
    background: var(--flash-black);
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    list-style: none;
}
.flash-page .flash-sort summary::-webkit-details-marker { display: none; }
.flash-page .flash-sort summary:hover { border-color: var(--flash-orange); }
.flash-page .flash-sort-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 5;
    width: 220px;
    padding: 6px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
}
.flash-page .flash-sort-menu a { display: block; padding: 12px; border-radius: 4px; color: #333; font-size: 13px; }
.flash-page .flash-sort-menu a:hover, .flash-page .flash-sort-menu a[aria-current] { background: #fff2e8; color: #a5480b; }

.flash-page .flash-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.flash-page .flash-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background: var(--flash-panel);
    transition: border-color .2s;
}
.flash-page .flash-card:hover { border-color: var(--flash-orange); }
.flash-page .flash-card-visual { position: relative; overflow: hidden; border-radius: 6px; background: #fff; }
.flash-page .flash-image-link { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.16; padding: 24px; }
.flash-page .flash-image-link img { display: block; width: 100%; height: 100%; object-fit: contain; }
.flash-page .flash-image-placeholder { display: grid; place-content: center; width: 100%; height: 100%; background: #fff; color: #777; text-align: center; font-size: 11px; }
.flash-page .flash-image-placeholder i { margin-bottom: 10px; font-size: 30px; }
.flash-page .flash-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    background: var(--flash-orange);
    color: #111;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}
.flash-page .flash-card-content { display: flex; flex: 1; flex-direction: column; padding: 20px 10px 10px; }
.flash-page .flash-brand { margin-bottom: 10px; color: var(--flash-muted); font-size: 10px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.flash-page .flash-card h3 { margin-bottom: 22px; font-size: 14px; line-height: 1.6; font-weight: 400; }
.flash-page .flash-card h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.2em; }
.flash-page .flash-card h3 a:hover { color: #a5480b; }
.flash-page .flash-card-bottom { margin-top: auto; }
.flash-page .flash-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 8px; }
.flash-page .flash-price { color: var(--flash-black); font-size: 22px; font-weight: 500; letter-spacing: -.04em; white-space: nowrap; }
.flash-page .flash-price small { color: #666; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.flash-page .flash-old-price { color: #737373; font-size: 12px; white-space: nowrap; }
.flash-page .flash-product-note { min-height: 18px; margin: 0 0 20px; color: #CE0000; font-size: 11px; font-weight: 400; line-height: 1.6; }
.flash-page .flash-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--flash-orange);
    border-radius: 6px;
    background: var(--flash-orange);
    color: var(--flash-black);
    font-size: 12px;
    font-weight: 400;
    transition: background .2s, color .2s, border-color .2s;
}
.flash-page .flash-card-link > span { color: var(--flash-black); font-size: 18px; line-height: 1; }
.flash-page .flash-card-link:hover { border-color: var(--flash-black); background: var(--flash-black); color: #fff; }
.flash-page .flash-card-link:hover > span { color: var(--flash-orange); }
.flash-page .flash-empty { grid-column: 1 / -1; padding: 72px 24px; border: 1px solid var(--flash-line); border-radius: 12px; background: var(--flash-panel); text-align: center; }
.flash-page .flash-empty h3 { margin-bottom: 14px; font-size: 24px; font-weight: 500; }
.flash-page .flash-empty p { margin-bottom: 26px; color: var(--flash-muted); font-size: 14px; }
.flash-page .flash-empty-link { display: inline-flex; align-items: center; gap: 20px; padding: 13px 20px; border-radius: 6px; background: var(--flash-orange); color: #111; font-size: 13px; font-weight: 500; }
.flash-page .flash-empty-link:hover { background: var(--flash-black); color: #fff; }
.flash-page .flash-pagination { margin-top: 36px; }
.flash-page .flash-pagination .pagination { flex-wrap: wrap; justify-content: center !important; gap: 6px; }
.flash-page .flash-pagination .page-link { border: 1px solid var(--flash-orange); border-radius: 6px; background: #fff; color: #333; }
.flash-page .flash-pagination .active .page-link, .flash-page .flash-pagination a.page-link:hover { border-color: var(--flash-orange); background: var(--flash-orange); color: #111; }
.flash-page .flash-pagination .disabled .page-link { color: #777; }

@media (max-width: 1199px) {
    .flash-page .flash-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .flash-page .flash-shell { width: calc(100% - 40px); }
}
@media (max-width: 767px) {
    .flash-page .flash-hero { height: 220px; aspect-ratio: auto; }
    .flash-page .flash-promo-inner { padding-block: 20px; }
    .flash-page .flash-promo-message strong { font-size: 17px; }
    .flash-page .flash-toolbar { flex-wrap: wrap; }
    .flash-page .flash-filter { flex: 1 1 calc(50% - 5px); }
    .flash-page .flash-sort { flex: 1 1 100%; margin-left: 0; }
    .flash-page .flash-sort-menu { width: 100%; }
    .flash-page .flash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 575px) {
    .flash-page { padding-bottom: 40px; }
    .flash-page .flash-shell { width: calc(100% - 28px); }
    .flash-page .flash-catalog { padding-top: 20px; }
    .flash-page .flash-toolbar { padding-bottom: 20px; margin-bottom: 20px; }
    .flash-page .flash-grid { gap: 10px; }
    .flash-page .flash-card { padding: 6px; border-radius: 8px; }
    .flash-page .flash-image-link { aspect-ratio: 1; padding: 15px; }
    .flash-page .flash-discount { top: 7px; left: 7px; padding: 5px 7px; font-size: 10px; }
    .flash-page .flash-card-content { padding: 14px 5px 6px; }
    .flash-page .flash-card h3 { margin-bottom: 16px; font-size: 12px; }
    .flash-page .flash-brand { font-size: 9px; }
    .flash-page .flash-price { font-size: 17px; }
    .flash-page .flash-old-price { font-size: 10px; }
    .flash-page .flash-product-note { margin-bottom: 14px; font-size: 10px; }
    .flash-page .flash-card-link { gap: 4px; padding: 9px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .flash-page .flash-card, .flash-page .flash-card-link { transition: none; }
}
