/*
 * Crolium Drug storefront.
 *
 * Layout and rhythm follow a modern DTC supplement store: generous section
 * spacing, wide product carousels, soft cards. Brand colours come from
 * tokens.css.
 */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: 12px 18px;
    background: var(--brand-navy);
    color: var(--white);
    border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus { left: 0; color: var(--white); }

/* ============ Announcement bar ============ */
.announce {
    background: var(--brand-navy);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 500;
    text-align: center;
    padding: 9px 0;
    letter-spacing: 0.01em;
}

/* ============ Header ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--ink-200);
    transition: box-shadow 0.2s ease;
}

.site-header.is-stuck { box-shadow: var(--shadow-md); }

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--header-height);
}

.site-logo { flex: none; }
.site-logo img { height: 42px; width: auto; }

.site-header__burger { display: none; }

/* ---- Desktop nav ---- */
.site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.site-nav__item { position: relative; }

.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-700);
    white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--brand-green-darker);
    background: var(--brand-green-soft);
}

.site-nav__caret { width: 14px; height: 14px; flex: none; }

.site-nav__item.has-menu:hover .site-nav__caret { transform: rotate(180deg); }
.site-nav__caret { transition: transform 0.15s ease; }

/* ---- Dropdown ---- */
.dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 250px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    z-index: 110;
}

.dropdown--right { left: auto; right: 0; }

.site-nav__item:hover > .dropdown,
.site-nav__item:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown__head {
    padding: 10px 12px;
    border-bottom: 1px solid var(--ink-200);
    margin-bottom: 6px;
}

.dropdown__head strong { display: block; color: var(--ink-900); font-size: 0.9375rem; }
.dropdown__head small { color: var(--ink-500); font-size: 0.8125rem; }

.dropdown__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-700);
    text-align: left;
    cursor: pointer;
}

.dropdown__link:hover { background: var(--ink-50); color: var(--brand-green-darker); }
.dropdown__link small { color: var(--ink-400); font-size: 0.75rem; font-weight: 500; }
.dropdown__link--button { color: var(--danger); }

.dropdown__all {
    display: block;
    margin-top: 6px;
    padding: 9px 12px;
    border-top: 1px solid var(--ink-200);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand-green-dark);
}

/* ---- Header actions ---- */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 220px;
    padding: 0 12px;
    height: 40px;
    background: var(--ink-50);
    border: 1px solid var(--ink-200);
    border-radius: 999px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, width 0.2s ease;
}

.header-search:focus-within {
    width: 280px;
    background: var(--white);
    border-color: var(--brand-green);
    box-shadow: 0 0 0 4px var(--brand-green-ring);
}

.header-search svg { width: 17px; height: 17px; color: var(--ink-400); flex: none; }

.header-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--ink-900);
}

.header-search input:focus { outline: none; }

.icon-btn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--ink-700);
    cursor: pointer;
}

.icon-btn:hover { background: var(--ink-100); color: var(--brand-green-darker); }
.icon-btn svg { width: 21px; height: 21px; }

.icon-btn__count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--brand-green);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}

/* ============ Mobile drawer ============ */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden] { display: none; }

.drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.5);
    animation: fade-in 0.2s ease;
}

.drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: var(--white);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    animation: slide-in 0.22s ease;
}

@keyframes fade-in { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(-100%); } }

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--ink-200);
}

.drawer__logo { height: 36px; width: auto; }

.drawer__search { padding: 16px 16px 8px; }

.drawer__search input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--ink-300);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9375rem;
}

.drawer__nav { padding: 8px 8px 24px; }

.drawer__nav a,
.drawer__nav summary,
.drawer__nav button {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-700);
    text-align: left;
    cursor: pointer;
}

.drawer__nav a:hover,
.drawer__nav summary:hover { background: var(--ink-50); }

.drawer__nav details > a { padding-left: 28px; font-weight: 500; color: var(--ink-500); }
.drawer__nav summary { list-style: none; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav summary::after { content: ' +'; color: var(--ink-400); }
.drawer__nav details[open] summary::after { content: ' –'; }
.drawer__nav hr { margin: 10px 14px; border: 0; border-top: 1px solid var(--ink-200); }
.drawer__nav button { color: var(--danger); }

/* ============ Sections ============ */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--muted { background: var(--ink-50); }
.section--brand { background: var(--brand-green-soft); }

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section__head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 36px;
}

.section__eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-green-dark);
}

.section__title { font-size: 1.875rem; margin: 0; }
.section__subtitle { margin: 8px 0 0; color: var(--ink-500); max-width: 620px; }
.section__head--center .section__subtitle { margin-inline: auto; }

.section__link {
    flex: none;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--brand-green-dark);
    white-space: nowrap;
}

/* ============ Hero slider ============ */
.hero { position: relative; background: var(--ink-100); overflow: hidden; }

.hero__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
}

.hero__media { position: relative; }

.hero__media img {
    width: 100%;
    height: auto;
    display: block;
}

.hero__media picture { display: block; }

.hero__body {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero__box {
    max-width: 560px;
    padding: 28px 0;
}

.hero__heading {
    font-size: clamp(1.875rem, 3.6vw, 3rem);
    line-height: 1.1;
    margin: 0 0 14px;
    color: var(--white);
    text-shadow: 0 2px 18px rgba(16, 24, 40, 0.45);
}

.hero__subheading {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--brand-green-darker);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero__text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 24px;
    text-shadow: 0 1px 12px rgba(16, 24, 40, 0.45);
    max-width: 460px;
}

/* Darkens the photo behind the copy so text stays readable on any banner. */
.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 24, 40, 0.72) 0%, rgba(16, 24, 40, 0.38) 45%, rgba(16, 24, 40, 0) 78%);
}

.hero__dots {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}

.hero__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.hero__dot.is-active { width: 26px; background: var(--white); }

.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink-900);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.hero__arrow:hover { background: var(--white); }
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }

/* Static fallback when no banners have been added in the admin yet. */
.hero--placeholder {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-green-darker) 100%);
    color: var(--white);
    padding: 88px 0;
    text-align: center;
}

.hero--placeholder h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.hero--placeholder p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin: 0 auto 28px; }

/* ============ Product tabs ============ */
.tabs {
    display: flex;
    gap: 6px;
    padding: 5px;
    background: var(--ink-100);
    border-radius: 999px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
    flex: none;
    padding: 9px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-500);
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.tab:hover { color: var(--ink-900); }

.tab.is-active {
    background: var(--white);
    color: var(--brand-green-darker);
    box-shadow: var(--shadow-xs);
}

.tab-panel[hidden] { display: none; }

/* ============ Product grid and carousel ============ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}

.carousel { position: relative; }

.carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }

@media (min-width: 1100px) {
    .carousel__track { grid-auto-columns: calc((100% - 66px) / 4); }
}

.carousel__btn {
    position: absolute;
    top: 38%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--ink-200);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink-700);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.carousel__btn:hover { border-color: var(--brand-green); color: var(--brand-green-dark); }
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn--prev { left: -18px; }
.carousel__btn--next { right: -18px; }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }

@media (max-width: 1340px) {
    .carousel__btn--prev { left: 4px; }
    .carousel__btn--next { right: 4px; }
}

/* ============ Product card ============ */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-card:hover {
    border-color: var(--brand-green);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.product-card__media {
    position: relative;
    display: block;
    background: var(--ink-50);
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card__media img { transform: scale(1.05); }

.product-card__flags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    z-index: 2;
}

.flag {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--white);
}

.flag--sale { background: var(--danger); }
.flag--popular { background: var(--brand-gold); color: var(--brand-ink); }
.flag--out { background: var(--ink-500); }

.product-card__wish {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink-500);
    cursor: pointer;
    box-shadow: var(--shadow-xs);
}

.product-card__wish:hover { color: var(--danger); }
.product-card__wish.is-active { color: var(--danger); }
.product-card__wish.is-active svg { fill: currentColor; }
.product-card__wish svg { width: 17px; height: 17px; }

.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 16px;
}

.product-card__category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink-400);
    margin-bottom: 5px;
}

.product-card__name {
    font-size: 0.9375rem;
    font-weight: 650;
    line-height: 1.4;
    margin: 0 0 8px;
}

.product-card__name a { color: var(--ink-900); }
.product-card__name a:hover { color: var(--brand-green-dark); }

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 0.8125rem;
    color: var(--ink-500);
}

.stars { display: inline-flex; gap: 1px; color: var(--brand-gold); }
.stars svg { width: 14px; height: 14px; }
.stars .is-empty { color: var(--ink-300); }

.product-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 12px;
}

.price {
    font-size: 1.125rem;
    font-weight: 750;
    color: var(--ink-900);
}

.price--was {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-400);
    text-decoration: line-through;
}

.price--off {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-green-dark);
}

/* ============ Why choose ============ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.feature {
    padding: 26px 22px;
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    text-align: center;
}

.feature__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: var(--radius-lg);
    background: var(--brand-green-soft);
    color: var(--brand-green-darker);
}

.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.feature p { font-size: 0.9375rem; color: var(--ink-500); margin: 0; }

/* ============ Promotional banner ============ */
.promo {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--brand-navy);
    color: var(--white);
}

.promo__media img {
    width: 100%;
    height: clamp(240px, 28vw, 360px);
    object-fit: cover;
}

.promo__body {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 clamp(24px, 5vw, 64px);
}

.promo__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(40, 41, 85, 0.85) 0%, rgba(40, 41, 85, 0.45) 55%, rgba(40, 41, 85, 0.05) 100%);
}

.promo__box { position: relative; max-width: 520px; }
.promo h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.125rem); }
.promo p { color: rgba(255, 255, 255, 0.9); margin-bottom: 22px; }

/* ============ Testimonials ============ */
.testimonial {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px 24px;
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
}

.testimonial__quote {
    flex: 1;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--ink-700);
    margin: 0 0 18px;
}

.testimonial__person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial__avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 999px;
    background: var(--brand-green-soft);
    color: var(--brand-green-darker);
    font-weight: 700;
    font-size: 0.9375rem;
}

.testimonial__name { font-weight: 650; color: var(--ink-900); font-size: 0.9375rem; }
.testimonial__meta { font-size: 0.8125rem; color: var(--ink-500); }

/* ============ Social / video strip ============ */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.social-tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink-100);
}

.social-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.social-tile:hover img { transform: scale(1.06); }

.social-tile__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(16, 24, 40, 0.25);
    color: var(--white);
}

.social-tile__play svg { width: 46px; height: 46px; }

/* ============ Trust strip ============ */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    padding: 22px 0;
    border-top: 1px solid var(--ink-200);
    border-bottom: 1px solid var(--ink-200);
}

.trust-strip__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-700);
}

.trust-strip__item svg { width: 22px; height: 22px; color: var(--brand-green); flex: none; }

/* ============ Empty state ============ */
.storefront-empty {
    padding: 56px 24px;
    text-align: center;
    border: 1px dashed var(--ink-300);
    border-radius: var(--radius-lg);
    background: var(--ink-50);
}

.storefront-empty h3 { margin-bottom: 6px; }
.storefront-empty p { color: var(--ink-500); margin: 0; }

/* ============ Footer ============ */
.site-footer {
    background: var(--brand-ink);
    color: rgba(255, 255, 255, 0.72);
    padding: 56px 0 0;
    margin-top: 72px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 36px;
    padding-bottom: 40px;
}

.site-footer__logo { height: 40px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { font-size: 0.875rem; line-height: 1.7; max-width: 320px; }

.site-footer__social { display: flex; gap: 8px; margin-top: 18px; }

.site-footer__social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
}

.site-footer__social a:hover { background: var(--brand-green); color: var(--white); }

.site-footer__col h3 {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 14px;
}

.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li + li { margin-top: 9px; }

.site-footer__col a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__col a:hover { color: var(--white); }
.site-footer__contact li { font-size: 0.875rem; line-height: 1.6; }

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
}

.site-footer__bottom p { margin: 0; }
.site-footer__disclaimer { max-width: 560px; text-align: right; color: rgba(255, 255, 255, 0.5); }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
    .site-nav { display: none; }
    .site-header__burger { display: inline-grid; }
    .site-header__inner { gap: 12px; }
    .site-logo { margin-right: auto; }
    .header-search { display: none; }
    .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .section { padding: 44px 0; }
    .section__title { font-size: 1.5rem; }
    .section__head { flex-direction: column; align-items: flex-start; }
    .hero__arrow { display: none; }
    .header-login { display: none; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .carousel__track { grid-auto-columns: 74%; gap: 14px; }
    .carousel__btn { display: none; }
    .product-card__body { padding: 12px 12px 14px; }
    .price { font-size: 1rem; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
    .site-footer__disclaimer { text-align: left; }
}

@media (max-width: 420px) {
    .product-grid { grid-template-columns: 1fr; }
    .carousel__track { grid-auto-columns: 82%; }
}
