/* ==========================================================================
   Home page UI (resources/views/frontend/home/index.blade.php)
   Everything is namespaced with .hp- so it cannot collide with the
   header, footer, modals or the other frontend pages.

   Visual language: ruled section headings, flat bordered cards, pill buttons,
   "ticket" coupons, and a dark gridded hero panel.
   ========================================================================== */

.hp {
    --hp-primary: #DE1A58;
    --hp-primary-dark: #b91449;
    --hp-primary-soft: #fdeef3;
    --hp-primary-tint: #ff8fb1;
    --hp-ink: #111114;
    --hp-body: #3d4250;
    --hp-muted: #6f7483;
    --hp-line: #e6e7ec;
    --hp-line-strong: #cfd1d9;
    --hp-page: #ffffff;
    --hp-soft: #f6f6f8;
    --hp-white: #ffffff;
    --hp-radius: 12px;
    --hp-shadow-hover: 0 10px 24px -12px rgba(17, 17, 20, .28);
    --hp-shadow-elevated: 0 24px 60px -20px rgba(0, 0, 0, .55);

    color: var(--hp-body);
    box-sizing: border-box;
}

.hp *,
.hp *::before,
.hp *::after {
    box-sizing: border-box;
}

.hp a {
    text-decoration: none;
}

.hp img {
    max-width: 100%;
}

.hp-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.hp-section {
    --hp-notch: var(--hp-page);
    padding: 80px 0;
    background: var(--hp-page);
}

.hp-section--soft {
    --hp-notch: var(--hp-soft);
    background: var(--hp-soft);
}

/* ---------- Ruled section heading ---------- */

.hp-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hp-line);
}

.hp-head__text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--hp-primary);
}

.hp-eyebrow::before {
    content: '';
    flex-shrink: 0;
    width: 28px;
    height: 2px;
    background: currentColor;
    opacity: .55;
}

.hp-eyebrow--live::before {
    width: 8px;
    height: 8px;
    margin-left: 4px;
    border-radius: 50%;
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(222, 26, 88, .16);
}

.hp-title {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--hp-ink);
}

.hp-title span {
    color: var(--hp-primary);
}

.hp-sub {
    margin: 0;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--hp-body);
}

.hp-head__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Underlined text link, used as the "view all" action beside headings */
.hp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-primary);
    white-space: nowrap;
    text-decoration: underline !important;
    text-decoration-color: rgba(222, 26, 88, .3) !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 6px;
    transition: text-decoration-color .2s ease;
}

.hp-link svg {
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}

.hp-link:hover {
    color: var(--hp-primary);
    text-decoration-color: var(--hp-primary) !important;
}

.hp-link:hover svg {
    transform: translateX(4px);
}

.hp-nav {
    display: flex;
    gap: 8px;
}

.hp-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--hp-line-strong);
    border-radius: 50%;
    background: var(--hp-white);
    color: var(--hp-ink);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.hp-nav__btn:hover {
    background: var(--hp-ink);
    border-color: var(--hp-ink);
    color: var(--hp-white);
}

/* ---------- Pill buttons ---------- */

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}

.hp-btn svg {
    width: 16px;
    height: 16px;
}

.hp-btn--primary {
    background: var(--hp-primary);
    color: var(--hp-white);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18);
}

.hp-btn--primary:hover {
    background: var(--hp-primary-dark);
    color: var(--hp-white);
}

.hp-btn--dark {
    background: var(--hp-ink);
    color: var(--hp-white);
    box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .12);
}

.hp-btn--dark:hover {
    background: var(--hp-primary);
    color: var(--hp-white);
}

.hp-btn--outline {
    background: transparent;
    color: var(--hp-ink);
    box-shadow: inset 0 0 0 1.5px var(--hp-ink);
}

.hp-btn--outline:hover {
    background: var(--hp-ink);
    color: var(--hp-white);
}

.hp-empty {
    grid-column: 1 / -1;
    width: 100%;
    padding: 48px 24px;
    border: 1px dashed var(--hp-line-strong);
    border-radius: var(--hp-radius);
    background: var(--hp-white);
    text-align: center;
}

.hp-empty h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    color: var(--hp-ink);
}

.hp-empty p {
    margin: 0;
    font-size: 14px;
    color: var(--hp-muted);
}

/* ==========================================================================
   Hero — full-bleed dark panel with a faint grid
   ========================================================================== */

.hp-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--hp-ink);
    background-image:
        radial-gradient(680px 360px at 88% 0%, rgba(222, 26, 88, .34) 0%, rgba(222, 26, 88, 0) 65%),
        radial-gradient(520px 320px at 0% 100%, rgba(222, 26, 88, .16) 0%, rgba(222, 26, 88, 0) 65%),
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: auto, auto, 44px 44px, 44px 44px;
    color: rgba(255, 255, 255, .8);
}

.hp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    padding-top: 88px;
    padding-bottom: 88px;
}

.hp-hero__main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.hp-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--hp-primary-tint);
}

.hp-chip__dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hp-primary);
    box-shadow: 0 0 0 4px rgba(222, 26, 88, .3);
}

.hp-hero__title {
    margin: 0;
    max-width: 640px;
    font-size: clamp(40px, 5.4vw, 68px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.035em;
    color: var(--hp-white);
}

.hp-hero__title span {
    color: var(--hp-primary);
}

.hp-hero__desc {
    margin: 0;
    max-width: 560px;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .8);
}

.hp-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 580px;
    margin: 0;
    padding: 6px 6px 6px 20px;
    border-radius: 999px;
    background: var(--hp-white);
    box-shadow: var(--hp-shadow-elevated);
    transition: box-shadow .2s ease;
}

.hp-search:focus-within {
    box-shadow: var(--hp-shadow-elevated), 0 0 0 4px rgba(222, 26, 88, .4);
}

.hp-search__field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--hp-muted);
}

.hp-search__field svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.hp-search__field input {
    width: 100%;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    color: var(--hp-ink);
}

.hp-search__field input::placeholder {
    color: var(--hp-muted);
}

.hp-search .hp-btn {
    flex-shrink: 0;
}

/* "By the numbers" row: large numerals over small uppercase labels */
.hp-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    width: 100%;
    margin: 8px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    list-style: none;
}

.hp-hero__stats li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0 32px;
    border-left: 1px solid rgba(255, 255, 255, .15);
}

.hp-hero__stats li:first-child {
    padding-left: 0;
    border-left: 0;
}

.hp-hero__stats strong {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--hp-white);
}

.hp-hero__stats span {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hp-primary-tint);
}

/* White index card on the dark panel */
.hp-hero__panel {
    padding: 24px;
    border-radius: 16px;
    background: var(--hp-white);
    color: var(--hp-body);
    box-shadow: var(--hp-shadow-elevated);
}

.hp-hero__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--hp-ink);
}

.hp-hero__panel-label {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--hp-ink);
    text-transform: capitalize;
}

.hp-hero__panel-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hp-muted);
}

.hp-hero__panel-title {
    margin: 18px 0 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--hp-body);
}

.hp-steps {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.hp-steps li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--hp-line);
}

.hp-steps__num {
    flex-shrink: 0;
    width: 28px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: var(--hp-primary);
    opacity: .45;
}

.hp-steps__text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--hp-ink);
}

.hp-hero__panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hp-hero__panel-actions .hp-btn {
    flex: 1 1 150px;
}

/* ==========================================================================
   Image slider (JS hooks: #heroSlider, .hero-slide, #heroSliderPrev/Next, .dot)
   ========================================================================== */

.hp-slider-section {
    padding: 64px 0 0;
    background: var(--hp-page);
}

.hp-slider {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 16px;
    background: var(--hp-soft);
}

.hp-slider__track {
    display: flex;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.hp-slider .hero-slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: auto;
    min-height: 140px;
}

.hp-slider__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hp-slider__nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--hp-ink);
    box-shadow: 0 4px 14px rgba(17, 17, 20, .16);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease, color .2s ease;
}

.hp-slider__nav:hover {
    background: var(--hp-primary);
    color: var(--hp-white);
}

.hp-slider__nav svg {
    width: 20px;
    height: 20px;
}

.hp-slider__nav--prev {
    left: 16px;
}

.hp-slider__nav--next {
    right: 16px;
}

.hp-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 17, 20, .4);
    transform: translateX(-50%);
}

.hp-slider__dots .dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .6);
    opacity: 1;
    cursor: pointer;
    transform: none;
    transition: width .25s ease, background .25s ease;
}

.hp-slider__dots .dot:hover {
    background: var(--hp-white);
    opacity: 1;
    transform: none;
}

.hp-slider__dots .dot.active {
    width: 24px;
    background: var(--hp-white);
    transform: none;
}

/* ==========================================================================
   Categories — directory rows (JS hooks: #categoryTrack, #catPrev, #catNext)
   ========================================================================== */

.hp-cats__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

/* The directory wraps into rows here, so there is nothing to scroll */
@media (min-width: 1101px) {
    .hp-cats .hp-nav {
        display: none;
    }
}

.hp-cat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    background: var(--hp-white);
    scroll-snap-align: start;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.hp-cat:hover {
    border-color: var(--hp-primary);
    box-shadow: var(--hp-shadow-hover);
}

.hp-cat__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--hp-primary-soft);
}

.hp-cat__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.hp-cat:hover .hp-cat__icon img {
    transform: scale(1.1);
}

.hp-cat__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 24px;
    font-weight: 700;
    color: var(--hp-primary);
}

.hp-cat__text {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.hp-cat__name {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: var(--hp-ink);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hp-cat__count {
    font-size: 12px;
    font-weight: 500;
    color: var(--hp-muted);
}

.hp-cat__arrow {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--hp-muted);
    transition: color .2s ease, transform .2s ease;
}

.hp-cat:hover .hp-cat__arrow {
    color: var(--hp-primary);
    transform: translateX(4px);
}

/* ==========================================================================
   Coupon "ticket" (Exclusive Offers + category deals)
   Store stub on top, a perforated divider, then the offer and its action.
   ========================================================================== */

.hp-ticket-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.hp-ticket {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    background: var(--hp-white);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.hp-ticket:hover {
    border-color: var(--hp-primary);
    box-shadow: var(--hp-shadow-hover);
}

.hp-ticket__main {
    display: flex;
    flex: 1;
    flex-direction: column;
    color: inherit;
}

.hp-ticket__stub {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.hp-ticket__logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--hp-white);
    box-shadow: inset 0 0 0 1px var(--hp-line);
}

.hp-ticket__logo img {
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
}

.hp-ticket__logo img.hp-ticket__cover {
    padding: 0;
    object-fit: cover;
}

.hp-ticket__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    font-weight: 700;
    color: var(--hp-primary);
}

.hp-ticket__meta {
    flex: 1;
    min-width: 0;
}

.hp-ticket__store {
    margin: 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-overflow: ellipsis;
    text-transform: capitalize;
    white-space: nowrap;
    color: var(--hp-ink);
}

.hp-ticket__saving {
    margin: 3px 0 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--hp-primary);
}

.hp-ticket__type {
    flex-shrink: 0;
    padding: 5px 8px;
    border-radius: 5px;
    background: var(--hp-ink);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hp-white);
}

.hp-ticket__type--code {
    background: var(--hp-primary);
}

.hp-ticket__perf {
    position: relative;
    border-top: 2px dashed var(--hp-line-strong);
}

.hp-ticket__perf::before,
.hp-ticket__perf::after {
    content: '';
    position: absolute;
    top: -9px;
    width: 16px;
    height: 16px;
    border: 1px solid var(--hp-line);
    border-radius: 50%;
    background: var(--hp-notch, var(--hp-page));
    transition: border-color .2s ease;
}

.hp-ticket__perf::before {
    left: -9px;
    clip-path: inset(0 0 0 50%);
}

.hp-ticket__perf::after {
    right: -9px;
    clip-path: inset(0 50% 0 0);
}

.hp-ticket:hover .hp-ticket__perf::before,
.hp-ticket:hover .hp-ticket__perf::after {
    border-color: var(--hp-primary);
}

.hp-ticket__title {
    display: -webkit-box;
    min-height: 2.7em;
    margin: 0;
    padding: 16px 16px 0;
    overflow: hidden;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.01em;
    color: var(--hp-ink);
    box-sizing: content-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hp-ticket__foot {
    padding: 16px;
}

.hp-ticket__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}

.hp-ticket__cta svg {
    width: 16px;
    height: 16px;
}

.hp-ticket__cta--code {
    background: var(--hp-primary);
    color: var(--hp-white);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18);
}

.hp-ticket__cta--code:hover {
    background: var(--hp-primary-dark);
}

.hp-ticket__cta--deal {
    background: transparent;
    color: var(--hp-ink);
    box-shadow: inset 0 0 0 1.5px var(--hp-ink);
}

.hp-ticket__cta--deal:hover {
    background: var(--hp-ink);
    color: var(--hp-white);
}

/* ==========================================================================
   Home banner
   ========================================================================== */

.hp-banner {
    padding: 0 0 80px;
    background: var(--hp-soft);
}

.hp-banner__frame {
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 16px;
    background: var(--hp-white);
}

.hp-banner__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

/* ==========================================================================
   Featured brands marquee — store row cards
   ========================================================================== */

.hp-marquee {
    display: grid;
    gap: 16px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.hp-marquee__row {
    overflow: hidden;
    padding: 2px 0;
}

.hp-marquee__track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: hp-marquee 60s linear infinite;
}

.hp-marquee__row--reverse .hp-marquee__track {
    animation-direction: reverse;
}

.hp-marquee:hover .hp-marquee__track,
.hp-marquee:focus-within .hp-marquee__track {
    animation-play-state: paused;
}

/* The track holds four copies of the row; shifting by two copies loops seamlessly. */
@keyframes hp-marquee {
    to { transform: translateX(calc(-50% - 8px)); }
}

.hp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 300px;
    padding: 12px 16px 12px 12px;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    background: var(--hp-white);
    transition: border-color .2s ease;
}

.hp-brand:hover {
    border-color: var(--hp-primary);
}

.hp-brand__logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 56px;
    padding: 6px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--hp-white);
    box-shadow: inset 0 0 0 1px var(--hp-line);
}

.hp-brand__logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.hp-brand__initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--hp-primary);
}

.hp-brand__info {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.hp-brand__name {
    overflow: hidden;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--hp-ink);
}

.hp-brand__offer {
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--hp-muted);
}

.hp-brand__arrow {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--hp-soft);
    color: var(--hp-ink);
    transition: background .2s ease, color .2s ease;
}

.hp-brand__arrow svg {
    width: 16px;
    height: 16px;
}

.hp-brand:hover .hp-brand__arrow {
    background: var(--hp-primary);
    color: var(--hp-white);
}

/* ==========================================================================
   Category deals (JS hooks: .mobile-category-slider, .mobile-category-pagination)
   ========================================================================== */

.hp-deals__group + .hp-deals__group {
    margin-top: 64px;
}

.hp-deals__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--hp-ink);
}

.hp-deals__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--hp-ink);
}

.hp-deals__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--hp-primary-soft);
    color: var(--hp-primary);
    box-shadow: inset 0 0 0 1px rgba(222, 26, 88, .14);
}

.hp-deals__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-deals__icon svg {
    width: 20px;
    height: 20px;
}

.hp-deals__slider .swiper-slide {
    height: auto;
}

.hp-deals__slider .mobile-category-pagination {
    display: none;
}

@media (min-width: 768px) {
    .hp-deals__slider.swiper {
        overflow: visible;
    }

    .hp-deals__slider .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
        transform: none !important;
    }

    .hp-deals__slider .swiper-slide {
        width: auto !important;
        margin: 0 !important;
    }
}

/* ==========================================================================
   Home page content (admin rich text)
   ========================================================================== */

.hp-prose {
    max-width: 860px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.75;
    color: var(--hp-body);
    overflow-wrap: break-word;
}

.hp-prose > :first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.hp-prose > :last-child {
    margin-bottom: 0;
}

.hp-prose h1,
.hp-prose h2,
.hp-prose h3,
.hp-prose h4,
.hp-prose h5,
.hp-prose h6 {
    margin: 1.6em 0 .6em;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: var(--hp-ink);
}

.hp-prose h1 { font-size: 30px; }

.hp-prose h2 {
    padding-top: 1.1em;
    border-top: 1px solid var(--hp-line);
    font-size: 25px;
}

.hp-prose h3 { font-size: 20px; }
.hp-prose h4 { font-size: 18px; }
.hp-prose h5,
.hp-prose h6 { font-size: 16px; }

.hp-prose p {
    margin: 0 0 1.1em;
}

.hp-prose ul,
.hp-prose ol {
    margin: 0 0 1.1em;
    padding-left: 1.4em;
}

.hp-prose ul { list-style: disc; }
.hp-prose ol { list-style: decimal; }

.hp-prose li {
    margin-bottom: .4em;
}

.hp-prose li::marker {
    color: var(--hp-primary);
}

.hp-prose a {
    font-weight: 600;
    color: var(--hp-primary);
    text-decoration: underline;
    text-decoration-color: rgba(222, 26, 88, .35);
    text-underline-offset: 3px;
}

.hp-prose a:hover {
    text-decoration-color: var(--hp-primary);
}

.hp-prose img {
    height: auto;
    margin: 1.2em 0;
    border-radius: 12px;
}

.hp-prose blockquote {
    margin: 1.4em 0;
    padding: 16px 22px;
    border-left: 3px solid var(--hp-primary);
    background: var(--hp-primary-soft);
    color: var(--hp-ink);
}

.hp-prose code {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--hp-soft);
    font-family: monospace;
    font-size: .9em;
}

.hp-prose pre {
    margin: 1.2em 0;
    padding: 16px;
    overflow-x: auto;
    border-radius: 12px;
    background: var(--hp-ink);
    color: var(--hp-white);
}

.hp-prose pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.hp-prose table {
    display: block;
    width: 100%;
    margin: 1.2em 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.hp-prose th,
.hp-prose td {
    padding: 10px 14px;
    border: 1px solid var(--hp-line);
    text-align: left;
}

.hp-prose th {
    background: var(--hp-soft);
    font-weight: 600;
    color: var(--hp-ink);
}

/* ==========================================================================
   Blog — image over a ruled caption
   ========================================================================== */

.hp-posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 24px;
}

.hp-post__link {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    color: inherit;
}

.hp-post__media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: var(--hp-radius);
    background: var(--hp-primary-soft);
}

.hp-post__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.hp-post:hover .hp-post__img {
    transform: scale(1.04);
}

.hp-post__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(222, 26, 88, .35);
}

.hp-post__placeholder svg {
    width: 40px;
    height: 40px;
}

.hp-post__arrow {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(17, 17, 20, .55);
    color: var(--hp-white);
    transition: background .3s ease, transform .3s ease;
}

.hp-post__arrow svg {
    width: 18px;
    height: 18px;
}

.hp-post:hover .hp-post__arrow {
    background: var(--hp-primary);
    transform: translate(3px, -3px);
}

.hp-post__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    border-top: 2px solid var(--hp-ink);
}

.hp-post__cat {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hp-primary);
}

.hp-post__title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.01em;
    color: var(--hp-ink);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: text-decoration-color .2s ease;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.hp-post:hover .hp-post__title {
    text-decoration-color: rgba(222, 26, 88, .45);
}

.hp-post__excerpt {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.65;
    color: var(--hp-body);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hp-post__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: auto;
    padding-top: 6px;
}

.hp-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 14px;
    font-size: 12px;
    color: var(--hp-muted);
}

.hp-post__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hp-post__meta svg {
    width: 13px;
    height: 13px;
}

.hp-post__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-primary);
}

.hp-post__more svg {
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}

.hp-post:hover .hp-post__more svg {
    transform: translateX(4px);
}

.hp-posts__footer {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
    .hp-container {
        padding: 0 24px;
    }

    .hp-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
        padding-top: 64px;
        padding-bottom: 64px;
    }

    /* Two-row rail that scrolls sideways; the arrows drive it */
    .hp-cats__track {
        grid-template-columns: none;
        grid-template-rows: repeat(2, auto);
        grid-auto-flow: column;
        grid-auto-columns: 260px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hp-cats__track::-webkit-scrollbar {
        display: none;
    }

    .hp-ticket-grid,
    .hp-deals__slider .swiper-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

    .hp-deals__slider .swiper-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hp-container {
        padding: 0 16px;
    }

    .hp-section {
        padding: 48px 0;
    }

    .hp-banner {
        padding: 0 0 48px;
    }

    .hp-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 28px;
        padding-bottom: 20px;
    }

    .hp-head__actions {
        justify-content: space-between;
        width: 100%;
    }

    .hp-sub {
        font-size: 15px;
    }

    .hp-hero__grid {
        gap: 40px;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hp-hero__main {
        gap: 20px;
    }

    .hp-chip {
        font-size: 10px;
        letter-spacing: .08em;
    }

    .hp-hero__desc {
        font-size: 16px;
    }

    .hp-hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 20px;
    }

    .hp-hero__stats li {
        padding: 0 12px;
    }

    .hp-hero__stats strong {
        font-size: 26px;
    }

    .hp-hero__stats span {
        font-size: 10px;
        letter-spacing: .1em;
    }

    .hp-hero__panel {
        padding: 20px;
    }

    .hp-steps__text {
        font-size: 15px;
    }

    .hp-slider-section {
        padding-top: 40px;
    }

    .hp-slider {
        border-radius: 12px;
    }

    .hp-slider .hero-slide {
        min-height: 90px;
    }

    .hp-slider__nav {
        width: 34px;
        height: 34px;
    }

    .hp-slider__nav svg {
        width: 16px;
        height: 16px;
    }

    .hp-slider__nav--prev {
        left: 8px;
    }

    .hp-slider__nav--next {
        right: 8px;
    }

    .hp-slider__dots {
        bottom: 8px;
        padding: 5px 8px;
    }

    .hp-slider__dots .dot {
        width: 6px;
        height: 6px;
    }

    .hp-slider__dots .dot.active {
        width: 18px;
    }

    .hp-cats__track {
        grid-auto-columns: 236px;
        gap: 10px;
        margin: 0 -16px;
        padding: 0 16px;
        scroll-padding-left: 16px;
    }

    .hp-cat {
        gap: 12px;
        padding: 10px;
    }

    .hp-cat__icon {
        width: 52px;
        height: 52px;
    }

    .hp-cat__name {
        font-size: 15px;
    }

    /* Swipeable rail instead of eight stacked tickets */
    .hp-ticket-grid {
        display: flex;
        gap: 12px;
        margin: 0 -16px;
        padding: 2px 16px 4px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .hp-ticket-grid::-webkit-scrollbar {
        display: none;
    }

    .hp-ticket-grid > .hp-ticket {
        flex: 0 0 84%;
        max-width: 320px;
        height: auto;
        scroll-snap-align: start;
    }

    .hp-banner__frame {
        border-radius: 12px;
    }

    .hp-marquee,
    .hp-marquee__track {
        gap: 12px;
    }

    @keyframes hp-marquee {
        to { transform: translateX(calc(-50% - 6px)); }
    }

    .hp-brand {
        width: 264px;
        padding: 10px 12px 10px 10px;
    }

    .hp-brand__logo {
        width: 56px;
        height: 50px;
    }

    .hp-deals__group + .hp-deals__group {
        margin-top: 44px;
    }

    .hp-deals__head {
        margin-bottom: 20px;
        padding-bottom: 14px;
    }

    .hp-deals__title {
        font-size: 21px;
    }

    .hp-deals__icon {
        width: 34px;
        height: 34px;
    }

    .hp-deals__slider.swiper {
        margin: 0 -16px;
        padding: 2px 16px 0;
    }

    .hp-deals__slider .mobile-category-pagination {
        position: static;
        display: block;
        margin-top: 16px;
        line-height: 1;
    }

    .hp-deals__slider .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
        background: var(--hp-line-strong);
        opacity: 1;
        transition: width .25s ease, background .25s ease;
    }

    .hp-deals__slider .swiper-pagination-bullet-active {
        width: 20px;
        border-radius: 999px;
        background: var(--hp-primary);
    }

    .hp-prose {
        font-size: 15px;
    }

    .hp-prose h1 { font-size: 25px; }
    .hp-prose h2 { font-size: 22px; }
    .hp-prose h3 { font-size: 19px; }

    .hp-posts {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .hp-post__title {
        font-size: 18px;
    }

    .hp-posts__footer {
        margin-top: 32px;
    }

    .hp-posts__footer .hp-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hp-search {
        padding-left: 16px;
    }

    .hp-search .hp-btn {
        padding: 0 18px;
    }

    .hp-search__field svg {
        display: none;
    }

    .hp-hero__panel-actions .hp-btn {
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-marquee__track {
        animation: none;
    }

    .hp-marquee__row {
        overflow-x: auto;
    }

    .hp *,
    .hp *::before,
    .hp *::after {
        transition: none !important;
    }
}

/* ==========================================================================
   Coupons page header (/coupon) — an inner-page banner, not a home hero
   ========================================================================== */

.hp-pagehead {
    padding: 28px 0 48px;
    border-bottom: 1px solid var(--hp-line);
    background:
        radial-gradient(620px 300px at 100% 0%, rgba(222, 26, 88, .08) 0%, rgba(222, 26, 88, 0) 65%),
        var(--hp-soft);
}

.hp-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 500;
    color: var(--hp-muted);
}

.hp-crumbs a {
    color: var(--hp-muted);
    transition: color .2s ease;
}

.hp-crumbs a:hover {
    color: var(--hp-primary);
}

.hp-crumbs [aria-current] {
    font-weight: 600;
    color: var(--hp-ink);
}

.hp-pagehead__row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
}

.hp-pagehead__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.hp-pagehead__title {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.03em;
    color: var(--hp-ink);
}

.hp-pagehead__title span {
    color: var(--hp-primary);
}

.hp-pagehead__desc {
    margin: 0;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--hp-body);
}

.hp-pagehead__side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hp-pagehead .hp-search {
    max-width: none;
    box-shadow: inset 0 0 0 1px var(--hp-line-strong);
}

.hp-pagehead .hp-search:focus-within {
    box-shadow: inset 0 0 0 1px var(--hp-primary), 0 0 0 4px rgba(222, 26, 88, .14);
}

.hp-pagehead__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hp-tag {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--hp-white);
    box-shadow: inset 0 0 0 1px var(--hp-line-strong);
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-ink);
    transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}

.hp-tag:hover {
    background: var(--hp-ink);
    box-shadow: inset 0 0 0 1px var(--hp-ink);
    color: var(--hp-white);
}

@media (max-width: 1100px) {
    .hp-pagehead__row {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 28px;
    }
}

@media (max-width: 767px) {
    .hp-pagehead {
        padding: 20px 0 36px;
    }

    .hp-crumbs {
        margin-bottom: 20px;
    }

    .hp-pagehead__desc {
        font-size: 15px;
    }
}
