/* ============================================================
   Trending / Featured products — premium flat ecommerce
   Card tokens live on .trend-card so All Products (and any other
   grid) gets the same look outside .trend-sec.
   ============================================================ */

:root {
    --trend-ink: #0f172a;
    --trend-muted: #64748b;
    --trend-line: #eef0f2;
    --trend-soft: #f8fafc;
    --trend-accent: var(--primary, #e62e04);
    --trend-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --trend-radius: 16px;
}

.trend-sec {
    --trend-ink: #0f172a;
    --trend-muted: #64748b;
    --trend-line: #eef0f2;
    --trend-soft: #f8fafc;
    --trend-accent: var(--primary, #e62e04);
    --trend-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --trend-radius: 16px;
    padding: 12px 0 20px;
    font-family: 'Hind Siliguri', sans-serif;
}

@keyframes trend-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Header ---- */
.trend-sec__head {
    margin-bottom: 14px;
    animation: trend-rise 0.45s var(--trend-ease) both;
}

.trend-sec__title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.trend-sec__title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--trend-ink);
    line-height: 1.3;
    font-family: inherit;
}

.trend-sec__explore {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--trend-muted);
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1.3;
    transition: color 0.22s ease;
    font-family: inherit;
}

.trend-sec__explore svg {
    width: 13px;
    height: 13px;
    transition: transform 0.25s var(--trend-ease);
}

.trend-sec__explore:hover {
    color: var(--trend-ink);
}

.trend-sec__explore:hover svg {
    transform: translateX(3px);
}

/* ---- Tabs ---- */
.trend-sec__tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 18px;
    border-bottom: 1px solid var(--trend-line);
    -webkit-overflow-scrolling: touch;
}

.trend-sec__tab {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 8px 0 10px;
    margin: 0;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--trend-muted);
    cursor: pointer;
    position: relative;
    line-height: 1.25;
    font-family: inherit;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.trend-sec__tab:hover {
    color: var(--trend-ink);
}

.trend-sec__tab.is-active {
    color: var(--trend-ink);
    font-weight: 600;
}

.trend-sec__tab::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1.5px;
    background: var(--trend-ink);
    border-radius: 1px 1px 0 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s var(--trend-ease);
}

.trend-sec__tab.is-active::after {
    transform: scaleX(1);
}

/* ---- Carousel ---- */
.trend-sec__carousel-wrap {
    position: relative;
    padding: 0 4px;
    animation: trend-rise 0.5s var(--trend-ease) 0.06s both;
}

.trend-sec__carousel .slick-list {
    margin: 0 -10px;
    padding: 8px 0 12px !important;
    overflow: hidden;
}

.trend-sec__carousel .slick-slide {
    padding: 0 10px;
}

.trend-sec__slide {
    height: auto;
}

.trend-sec__nav {
    position: absolute;
    top: 38%;
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: var(--trend-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%) scale(0.96);
    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        opacity 0.25s ease,
        transform 0.25s var(--trend-ease),
        box-shadow 0.22s ease;
    pointer-events: none;
}

.trend-sec__carousel-wrap:hover .trend-sec__nav {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

.trend-sec__nav:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.trend-sec__nav:active {
    transform: translateY(-50%) scale(0.96);
}

.trend-sec__nav--prev {
    left: -6px;
}

.trend-sec__nav--next {
    right: -6px;
}

@media (max-width: 991.98px) {
    .trend-sec__nav {
        display: none;
    }
}

/* ---- Product card (shared: Trending + All Products) — open, no box ---- */
.trend-card {
    --trend-ink: #0f172a;
    --trend-muted: #64748b;
    --trend-line: #eef0f2;
    --trend-soft: #f8fafc;
    --trend-accent: var(--primary, #e62e04);
    --trend-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --trend-radius: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    font-family: 'Hind Siliguri', sans-serif;
    transition: transform 0.3s var(--trend-ease);
}

.trend-sec__carousel .slick-slide:nth-child(1) .trend-card { animation: trend-rise 0.45s var(--trend-ease) 0.08s both; }
.trend-sec__carousel .slick-slide:nth-child(2) .trend-card { animation: trend-rise 0.45s var(--trend-ease) 0.12s both; }
.trend-sec__carousel .slick-slide:nth-child(3) .trend-card { animation: trend-rise 0.45s var(--trend-ease) 0.16s both; }
.trend-sec__carousel .slick-slide:nth-child(4) .trend-card { animation: trend-rise 0.45s var(--trend-ease) 0.2s both; }
.trend-sec__carousel .slick-slide:nth-child(5) .trend-card { animation: trend-rise 0.45s var(--trend-ease) 0.24s both; }

.trend-card:hover {
    transform: none;
}

.trend-card__media {
    position: relative;
    overflow: hidden;
    background: var(--trend-soft);
    aspect-ratio: 3 / 4;
    border-radius: var(--trend-radius);
}

.trend-card__img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.trend-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.55s var(--trend-ease);
}

.trend-card:hover .trend-card__img {
    transform: scale(1.04);
}

.trend-card__badge {
    position: static;
    top: auto;
    left: auto;
    z-index: 2;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--trend-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    transform-origin: center;
    will-change: transform;
    animation: badge-soft-settle 6s var(--trend-ease) infinite;
}

/* Top-left chip stack: -% + Flash Sale / Today's Deal / etc. */
.trend-card__chips {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: calc(100% - 52px);
    pointer-events: none;
}

.trend-card__label {
    display: inline-block;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.trend-card:hover .trend-card__badge {
    animation: badge-touch 0.38s var(--trend-ease) 1 both;
}

@keyframes badge-soft-settle {
    0%, 72%, 100% { transform: translateY(0) scale(1); }
    78%           { transform: translateY(-1.5px) scale(1.035); }
    84%           { transform: translateY(0.5px) scale(0.99); }
    90%           { transform: translateY(0) scale(1); }
}

@keyframes badge-touch {
    0%   { transform: scale(1); }
    55%  { transform: scale(1.045); }
    100% { transform: scale(1); }
}

.trend-card__wish {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--trend-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    transition:
        background 0.22s ease,
        color 0.22s ease,
        transform 0.25s var(--trend-ease);
}

.trend-card__wish svg {
    transition: transform 0.25s var(--trend-ease), fill 0.22s ease, stroke 0.22s ease;
}

.trend-card__wish:hover {
    background: #fff;
    color: var(--trend-accent);
    transform: scale(1.06);
}

.trend-card__wish:hover svg {
    fill: color-mix(in srgb, var(--primary, #e62e04) 18%, transparent);
    stroke: var(--trend-accent);
    transform: scale(1.05);
}

.trend-card__wish.is-active {
    background: #fff;
    color: var(--trend-accent, var(--primary, #e62e04));
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.trend-card__wish.is-active svg {
    fill: var(--trend-accent, var(--primary, #e62e04));
    stroke: var(--trend-accent, var(--primary, #e62e04));
}

.trend-card__wish.is-loading {
    pointer-events: none;
    opacity: 0.72;
}

.trend-card__wish.is-wish-pop {
    animation: trend-wish-pop 0.55s var(--trend-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.trend-card__wish.is-wish-pop svg {
    animation: trend-wish-heart 0.55s var(--trend-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

@keyframes trend-wish-pop {
    0% { transform: scale(1); }
    35% { transform: scale(1.18); }
    65% { transform: scale(0.94); }
    100% { transform: scale(1); }
}

@keyframes trend-wish-heart {
    0% { transform: scale(1); }
    40% { transform: scale(1.28); }
    100% { transform: scale(1); }
}

.trend-card__body {
    padding: 10px 2px 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
    flex: 1 1 auto;
}

.trend-card__name {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none !important;
    font-family: inherit;
    margin: 0;
    min-height: 2.85em;
}

.trend-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    color: var(--trend-ink);
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.trend-card__name:hover .trend-card__title {
    color: var(--trend-accent);
}

.trend-card__brand {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11.5px;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.3;
}

/* Compact inline low-stock progress — lives in the price row, no extra card height */
.trend-card__stock {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.trend-card__stock-track {
    position: relative;
    flex: 1 1 auto;
    min-width: 26px;
    height: 5px;
    border-radius: 999px;
    background: #edeff2;
    overflow: hidden;
}

.trend-card__stock-bar {
    position: relative;
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--trend-accent) 62%, #ffc56a),
        var(--trend-accent)
    );
    animation: stock-fill 1.1s var(--trend-ease) 0.15s both;
}

.trend-card__stock-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%
    );
    transform: translateX(-120%);
    animation: stock-sheen 3s ease-in-out 1.3s infinite;
}

.trend-card__stock-label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-size: 10.5px;
    line-height: 1;
    color: #94a3b8;
    white-space: nowrap;
}

.trend-card__stock-label b {
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
}

.trend-card__stock-label i {
    font-style: normal;
    font-weight: 500;
}

.trend-card__stock.is-critical .trend-card__stock-label b {
    color: var(--trend-accent);
}

.trend-card__stock.is-critical .trend-card__stock-bar {
    animation:
        stock-fill 1.1s var(--trend-ease) 0.15s both,
        stock-breathe 2.6s ease-in-out 1.4s infinite;
}

@keyframes stock-fill {
    from { width: 0; }
    to { width: var(--stock-pct, 0%); }
}

@keyframes stock-sheen {
    0% { transform: translateX(-120%); }
    35%, 100% { transform: translateX(320%); }
}

@keyframes stock-breathe {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.12); }
}

/* Sold out — badge + disabled cart only; card stays normal */
.trend-card.is-oos .trend-card__img {
    opacity: 1;
    filter: none;
}

.trend-card.is-oos:hover .trend-card__img {
    transform: scale(1.04);
}

.trend-card__oos {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    margin: 0;
}

.trend-card__oos span {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f3f5;
    border: 1px solid #e2e5e9;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    color: #64748b;
    white-space: nowrap;
}

/* Sold out — same pill, on image (no clash with price/cart) */
.trend-card__oos--on-media {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    pointer-events: none;
}

.trend-card__oos--on-media span {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 229, 233, 0.95);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Low stock — same bottom-left spot as Sold out */
.trend-card__status.trend-card__low {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    max-width: calc(100% - 20px);
}

.trend-card__low-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 229, 233, 0.95);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    color: #64748b;
    white-space: nowrap;
}

.trend-card__low-pill b {
    font-weight: 800;
    color: #475569;
}

.trend-card__low-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--trend-accent) 75%, #ffc56a);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--trend-accent) 18%, transparent);
}

.trend-card__low.is-critical .trend-card__low-dot {
    background: var(--trend-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--trend-accent) 22%, transparent);
    animation: stock-breathe 2.6s ease-in-out infinite;
}

.trend-card__low.is-critical .trend-card__low-pill b {
    color: var(--trend-accent);
}

.trend-card__low-bar {
    display: block;
    width: 72px;
    max-width: 100%;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.trend-card__low-bar-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--trend-accent) 62%, #ffc56a),
        var(--trend-accent)
    );
    animation: stock-fill 1.1s var(--trend-ease) 0.15s both;
}

.trend-card__low.is-critical .trend-card__low-bar-fill {
    animation:
        stock-fill 1.1s var(--trend-ease) 0.15s both,
        stock-breathe 2.6s ease-in-out 1.4s infinite;
}

.trend-card__cart--oos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e8eaed;
    background: #f8f9fa;
    color: #94a3b8;
    flex-shrink: 0;
    pointer-events: none;
}

.trend-card__cart--oos svg {
    opacity: 0.85;
}

.trend-card__price-row.is-oos-row .trend-card__price.is-sale,
.trend-card__price-row.is-oos-row .trend-card__price-old {
    opacity: 1;
}

/* Desktop / tablet — inline price + stock + cart (unchanged layout) */
.trend-card__price-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    min-width: 0;
}

.trend-card__prices {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
}

.trend-card__meta-row {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

.trend-card__meta-spacer {
    display: none;
}

.trend-card__cart-slot {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-card__price-row.has-stock .trend-card__prices {
    flex: 1 1 auto;
    min-width: 0;
}

.trend-card__prices {
    min-width: 0;
}

/* Fire + prices on one line */
.trend-card__hot {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0 6px;
    max-width: 100%;
    min-width: 0;
    line-height: 1.2;
}

.trend-card__hot .trend-card__fire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
    vertical-align: middle;
    margin-right: 0;
    animation: hot-rise 2.8s ease-in-out infinite;
}

.trend-card__hot .trend-card__price {
    display: inline;
    flex-shrink: 0;
    vertical-align: middle;
}

.trend-card__hot .trend-card__price-old {
    display: inline;
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0;
    margin-left: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.trend-card__fire {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 19px;
    line-height: 0;
}

.trend-card__fire::before,
.trend-card__fire::after {
    content: '';
    position: absolute;
    bottom: 7px;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--trend-accent) 55%, #fff);
    pointer-events: none;
    opacity: 0;
}

.trend-card__fire::before {
    left: 3px;
    animation: ember-up 2.1s ease-out infinite;
}

.trend-card__fire::after {
    right: 2px;
    width: 1.5px;
    height: 1.5px;
    animation: ember-up 2.4s ease-out 0.7s infinite;
}

.fire-ico {
    width: 16px;
    height: 19px;
    transform-origin: 50% 92%;
    will-change: transform;
    animation: fire-flicker 1.35s ease-in-out infinite;
}

.fire-ico__outer {
    fill: var(--trend-accent);
    animation: fire-hue 3s ease-in-out infinite;
}

.fire-ico__inner {
    fill: color-mix(in srgb, var(--trend-accent) 28%, #fff1b8);
    transform-origin: 50% 92%;
    animation: fire-inner 1.15s ease-in-out infinite;
}

.trend-card__price {
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.15;
    font-family: inherit;
    letter-spacing: -0.02em;
    color: var(--trend-accent);
    animation: price-warm 2.8s ease-in-out infinite;
}

.trend-card:hover .trend-card__fire {
    animation-duration: 1.9s;
}

.trend-card:hover .fire-ico {
    animation-duration: 0.95s;
}

.trend-card:hover .trend-card__price {
    animation-duration: 1.9s;
}

@keyframes hot-rise {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-1.5px); }
}

@keyframes fire-flicker {
    0%   { transform: scale(1, 1) rotate(-0.8deg); }
    25%  { transform: scale(1.05, 0.96) rotate(1.2deg); }
    50%  { transform: scale(0.97, 1.05) rotate(-1deg); }
    75%  { transform: scale(1.04, 0.98) rotate(0.8deg); }
    100% { transform: scale(1, 1) rotate(-0.8deg); }
}

@keyframes fire-inner {
    0%, 100% { transform: scaleY(1) translateY(0); opacity: 1; }
    50%      { transform: scaleY(0.82) translateY(1px); opacity: 0.88; }
}

@keyframes fire-hue {
    0%, 100% { fill: var(--trend-accent); }
    50%      { fill: color-mix(in srgb, var(--trend-accent) 82%, #ffc56a); }
}

@keyframes price-warm {
    0%, 100% { color: var(--trend-accent); }
    50%      { color: color-mix(in srgb, var(--trend-accent) 78%, #ffc56a); }
}

@keyframes ember-up {
    0%   { opacity: 0; transform: translateY(0) scale(0.5); }
    18%  { opacity: 0.7; }
    100% { opacity: 0; transform: translateY(-11px) scale(0.2); }
}

.trend-card__price-old {
    margin-top: 0;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.15;
    white-space: nowrap;
}

.trend-card__price-old del {
    text-decoration: line-through;
}

.trend-card__cart {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--trend-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        color 0.22s ease,
        transform 0.25s var(--trend-ease),
        box-shadow 0.22s ease;
}

.trend-card__cart:hover {
    border-color: var(--trend-ink);
    background: var(--trend-ink);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.trend-card__cart:active {
    transform: scale(0.96);
}

.trend-card__promo {
    display: none !important;
}

.trend-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.trend-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--trend-ink);
}

/* ---- Tablet ---- */
@media (max-width: 991.98px) {
    .trend-sec {
        padding: 8px 0 16px;
    }

    .trend-sec__carousel-wrap {
        padding: 0;
    }

    .trend-sec__carousel .slick-list {
        margin: 0 -8px;
        padding: 6px 0 10px !important;
    }

    .trend-sec__carousel .slick-slide {
        padding: 0 8px;
    }
}

/* ---- Phone ---- */
@media (max-width: 767.98px) {
    .trend-sec__title {
        font-size: 16px;
    }

    .trend-sec__explore {
        font-size: 11.5px;
    }

    .trend-sec__tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0 14px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin: 0 -4px;
        padding: 0 4px;
    }

    .trend-sec__tabs::-webkit-scrollbar {
        display: none;
    }

    .trend-sec__tab {
        font-size: 12px;
        min-height: 36px;
        padding: 8px 2px 10px;
    }

    .trend-card {
        border-radius: 12px;
    }

    .trend-card:hover {
        transform: none;
    }

    .trend-card:hover .trend-card__img {
        transform: none;
    }

    .trend-card__body {
        padding: 8px 2px 2px;
        gap: 0;
    }

    .trend-card__title {
        font-size: 12px;
    }

    .trend-card__brand {
        font-size: 11px;
    }

    .trend-card__price {
        font-size: 12.5px;
    }

    .trend-card__cart {
        width: 32px;
        height: 32px;
    }

    .trend-card__wish {
        width: 30px;
        height: 30px;
    }

    /* Mobile — price + cart on ONE line */
    .trend-card__price-row {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .trend-card__prices {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .trend-card__hot {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0 5px;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .trend-card__hot .trend-card__price {
        display: inline;
        flex-shrink: 0;
        vertical-align: middle;
    }

    .trend-card__hot .trend-card__price-old {
        display: inline;
        flex: 1 1 auto;
        min-width: 0;
        margin-top: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
    }

    .trend-card__meta-spacer {
        display: none;
    }

    .trend-card__cart-slot {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .trend-card__cart,
    .trend-card__cart--oos {
        width: 32px;
        height: 32px;
    }

    .trend-card__oos--on-media {
        left: 8px;
        bottom: 8px;
    }

    .trend-card__oos--on-media span {
        padding: 4px 9px;
        font-size: 10.5px;
    }

    .trend-card__chips {
        top: 8px;
        left: 8px;
        gap: 5px;
        max-width: calc(100% - 46px);
    }

    .trend-card__label {
        font-size: 10px;
        padding: 3px 8px;
    }

    .trend-card__status.trend-card__low {
        left: 8px;
        bottom: 8px;
        gap: 4px;
    }

    .trend-card__low-pill {
        font-size: 10.5px;
        padding: 4px 9px;
    }

    .trend-card__low-bar {
        width: 64px;
    }

    .trend-card__badge {
        top: 8px;
        left: 8px;
        font-size: 11px;
        padding: 4px 9px;
        animation-name: badge-soft-settle-mobile;
        animation-duration: 7.5s;
    }

    @keyframes badge-soft-settle-mobile {
        0%, 76%, 100% { transform: translateY(0) scale(1); }
        83%           { transform: translateY(-1px) scale(1.02); }
        90%           { transform: translateY(0) scale(1); }
    }
}

@media (max-width: 575.98px) {
    .trend-sec {
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }

    .trend-sec__title {
        font-size: 15.5px;
    }

    .trend-sec__carousel .slick-list {
        margin: 0 -6px;
    }

    .trend-sec__carousel .slick-slide {
        padding: 0 6px;
    }

    .trend-card__price {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trend-sec__head,
    .trend-sec__carousel-wrap,
    .trend-sec__carousel .slick-slide .trend-card,
    .trend-card__img,
    .trend-sec__explore svg,
    .trend-sec__tab::after,
    .trend-sec__nav {
        animation: none !important;
        transition: none !important;
    }

    .trend-card:hover,
    .trend-card:hover .trend-card__img,
    .trend-card__wish:hover,
    .trend-card__cart:hover,
    .trend-sec__explore:hover svg {
        transform: none !important;
    }

    .trend-sec__nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(-50%);
    }

    .fire-ico,
    .fire-ico__outer,
    .fire-ico__inner,
    .trend-card__hot,
    .trend-card__price,
    .trend-card__fire::before,
    .trend-card__fire::after,
    .trend-card__badge,
    .trend-card__stock-bar,
    .trend-card__stock-bar::after {
        animation: none !important;
        filter: none !important;
    }

    .trend-card__hot,
    .trend-card__badge {
        transform: none !important;
    }

    .trend-card__stock-bar {
        width: var(--stock-pct, 0%) !important;
    }

    .trend-card__stock-bar::after {
        display: none !important;
    }

    .trend-card__price {
        color: var(--trend-accent) !important;
    }
}
