/* ==================================================================
   Ellies shop redesign: calm, premium, modern.
   Loaded last on index.php. Visual only; ids and JS hooks unchanged.
   ================================================================== */

:root {
    --hx-ink: #0f1f17;
    --hx-ink-2: #3d4b43;
    --hx-muted: #6b776f;
    --hx-line: #ebe8e1;
    --hx-bg: #faf8f4;
    --hx-tile: #f3f0ea;
    --hx-green: #0b5d38;
    --hx-green-2: #0e7446;
    --hx-orange: #ff7a00;
    --hx-radius: 22px;
    --hx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
    background: var(--hx-bg);
    color: var(--hx-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ------------------------------- Header ------------------------------- */
body header {
    background: rgba(250, 248, 244, 0.86);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid rgba(15, 31, 23, 0.06);
    box-shadow: none;
}

body .header-container {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

body .logo-icon img {
    height: clamp(40px, 6vw, 52px);
}

body .header-search {
    max-width: min(520px, 44vw);
}

body .header-search input {
    height: 46px;
    padding: 0 3rem 0 1.15rem;
    border: 1px solid transparent;
    background: #efece5;
    font-size: 0.92rem;
    color: var(--hx-ink);
}

body .header-search input::placeholder {
    color: #8b958f;
}

body .header-search input:focus {
    background: #fff;
    border-color: rgba(11, 93, 56, 0.25);
    box-shadow: 0 0 0 4px rgba(11, 93, 56, 0.08);
}

body .header-search button {
    right: 0.4rem;
    width: 36px;
    height: 36px;
    background: var(--hx-green);
    color: #fff;
}

body .header-search button:hover {
    background: var(--hx-green-2);
    color: #fff;
}

body .header-cart-btn,
body .header-search-toggle,
body .user-profile {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--hx-line);
    color: var(--hx-ink);
    box-shadow: none;
}

body .user-profile:hover,
body .header-cart-btn:hover {
    transform: none;
    border-color: rgba(11, 93, 56, 0.3);
    box-shadow: 0 6px 18px rgba(15, 31, 23, 0.08);
}

body .header-cart-count {
    background: var(--hx-orange);
    box-shadow: 0 0 0 2px var(--hx-bg);
}

/* -------------------------------- Hero -------------------------------- */
.hx {
    position: relative;
    overflow: hidden;
    overflow-x: clip;
    overflow-y: visible;
    isolation: isolate;
}

.hx::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto auto;
    width: 62vw;
    height: 62vw;
    max-width: 860px;
    max-height: 860px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(126, 217, 87, 0.18), rgba(126, 217, 87, 0));
    z-index: -1;
}

.hx::after {
    content: "";
    position: absolute;
    left: -8%;
    top: 30%;
    width: 40vw;
    height: 40vw;
    max-width: 520px;
    max-height: 520px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 122, 0, 0.07), rgba(255, 122, 0, 0));
    z-index: -1;
}

.hx-inner {
    max-width: var(--page-max, 1440px);
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.hx-copy {
    max-width: 640px;
    animation: hxUp 0.8s var(--hx-ease) both;
}

.hx-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.85rem 0.4rem 0.7rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--hx-line);
    color: var(--hx-ink-2);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 31, 23, 0.04);
}

.hx-pulse {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22a861;
}

.hx-pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(34, 168, 97, 0.45);
    animation: hxPulse 2s ease-out infinite;
}

.hx-title {
    margin: 1.25rem 0 1.1rem;
    font-size: clamp(2.2rem, 4vw, 3.45rem);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.045em;
    color: var(--hx-ink);
}

.hx-accent {
    display: block;
    color: var(--hx-green);
}

.hx-accent::after {
    content: "";
    display: block;
    width: 88px;
    height: 6px;
    margin-top: 0.9rem;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--hx-orange), #ffb35c);
}

.hx-sub {
    margin: 0 0 1.9rem;
    max-width: 31rem;
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.65;
    color: var(--hx-ink-2);
}

.hx-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    height: 54px;
    padding: 0 1.6rem;
    border-radius: 16px;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s var(--hx-ease), box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}

.hx-btn-primary {
    border: 0;
    color: #fff;
    background: var(--hx-green);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 12px 28px rgba(11, 93, 56, 0.26);
}

.hx-btn-primary svg {
    transition: transform 0.25s var(--hx-ease);
}

.hx-btn-primary:hover {
    background: var(--hx-green-2);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(11, 93, 56, 0.3);
}

.hx-btn-primary:hover svg {
    transform: translateX(3px);
}

/* Hero: rating pill, stacked headline, orange button */
.hx-rating {
    gap: 0.5rem;
    padding: 0.42rem 0.9rem;
}

.hx-rating .hx-stars {
    display: inline-flex;
    gap: 2px;
    color: #ffb400;
    font-size: 0.78rem;
}

.hx-rating strong {
    color: var(--hx-ink);
    font-weight: 800;
}

.hx-title--stack {
    color: var(--hx-green);
    letter-spacing: -0.04em;
}

.hx-title--stack .hx-line {
    display: block;
}

.hx-accent--orange {
    color: var(--hx-orange);
}

.hx-btn-orange {
    background: var(--hx-orange);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 12px 28px rgba(255, 122, 0, 0.3);
}

.hx-btn-orange:hover {
    background: #f06d00;
    box-shadow: 0 16px 34px rgba(255, 122, 0, 0.34);
}

.hx-btn-ghost {
    color: var(--hx-ink);
    background: #fff;
    border: 1px solid var(--hx-line);
}

.hx-btn-ghost:hover {
    border-color: rgba(15, 31, 23, 0.22);
    transform: translateY(-2px);
}

.hx-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 2.25rem 0 0;
    padding: 0;
}

.hx-facts li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0 1.6rem;
    border-left: 1px solid var(--hx-line);
}

.hx-facts li:first-child {
    padding-left: 0;
    border-left: 0;
}

.hx-facts strong {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--hx-ink);
}

.hx-facts span {
    font-size: 0.8rem;
    color: var(--hx-muted);
}

.hx-visual {
    position: relative;
    animation: hxUp 0.9s 0.08s var(--hx-ease) both;
}

.hx-photo {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: var(--hx-tile);
    box-shadow: 0 40px 80px -30px rgba(15, 31, 23, 0.35), 0 0 0 1px rgba(15, 31, 23, 0.04);
}

.hx-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% 50%;
    display: block;
}

.hx-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.12));
    pointer-events: none;
}

.hx-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem 0.7rem 0.7rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 40px -12px rgba(15, 31, 23, 0.28);
    animation: hxFloat 6s ease-in-out infinite;
}

.hx-chip strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--hx-ink);
    line-height: 1.2;
}

.hx-chip small {
    display: block;
    font-size: 0.74rem;
    color: var(--hx-muted);
    margin-top: 0.1rem;
}

.hx-chip-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 93, 56, 0.1);
    color: var(--hx-green);
    font-size: 0.95rem;
}

.hx-chip-icon--orange {
    background: rgba(255, 122, 0, 0.12);
    color: var(--hx-orange);
}

.hx-chip-a {
    left: -28px;
    bottom: 12%;
}

.hx-chip-b {
    right: -18px;
    top: 9%;
    animation-delay: -3s;
}

@keyframes hxUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes hxFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes hxPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ----------------------------- Trust strip ----------------------------- */
body .trust-bar {
    width: 100%;
    margin-top: 0;
}

body .trust-bar-inner {
    padding: 1rem 1.25rem;
    gap: 0.5rem 1.5rem;
    border-radius: var(--hx-radius);
    border: 1px solid var(--hx-line);
    box-shadow: none;
    background: #fff;
}

body .trust-bar-item {
    gap: 0.8rem;
    min-width: 0;
}

body .trust-bar-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 0;
    background: var(--hx-tile);
    color: var(--hx-green);
    font-size: 1.05rem;
}

body .trust-bar-text {
    min-width: 0;
}

body .trust-bar-text strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--hx-ink);
    letter-spacing: -0.01em;
}

body .trust-bar-text span {
    font-size: 0.82rem;
    color: var(--hx-muted);
}

/* ------------------------------ Headings ------------------------------ */
body .shop-section-heading {
    gap: 0.25rem 0.85rem;
    margin-bottom: 1.35rem;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--hx-ink);
}

body .shop-section-heading .heading-pill {
    padding: 0;
    background: none;
    box-shadow: none;
    color: var(--hx-muted);
    font-size: 0.5em;
    font-weight: 600;
    letter-spacing: 0;
}

body .shop-section-heading .heading-pill::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 0.6rem 0.15em 0;
    border-radius: 50%;
    background: var(--hx-orange);
    vertical-align: middle;
}

/* ----------------------------- Categories ----------------------------- */
body .feature-nav {
    padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem) 0.5rem;
}

body .feature-nav-panel {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body .feature-nav-inner {
    gap: 1rem;
}

body .feature-item {
    gap: 0.6rem;
}

body .feature-item:hover {
    transform: none;
}

body .feature-item-img {
    border-radius: 24px;
    border: 0;
    background: var(--hx-tile);
    box-shadow: none;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.35s var(--hx-ease);
}

body .feature-item-img img {
    transition: transform 0.5s var(--hx-ease);
}

body .feature-item:hover .feature-item-img {
    box-shadow: 0 14px 30px -12px rgba(15, 31, 23, 0.25);
    transform: translateY(-3px);
}

body .feature-item:hover .feature-item-img img {
    transform: scale(1.06);
}

body .feature-item.active .feature-item-img {
    border: 0;
    box-shadow: 0 0 0 2px var(--hx-bg), 0 0 0 4px var(--hx-green);
}

body .feature-item-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--hx-ink-2);
    letter-spacing: -0.01em;
}

body .feature-item.active .feature-item-label {
    color: var(--hx-green);
    font-weight: 700;
}

/* ---------------------------- Product cards ---------------------------- */
body .page-content {
    gap: 0;
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

body .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
    gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

body .product-card {
    border-radius: var(--hx-radius);
    border: 1px solid var(--hx-line);
    box-shadow: none;
    padding: 0.5rem;
    background: #fff;
    transition: transform 0.35s var(--hx-ease), box-shadow 0.35s ease, border-color 0.25s ease;
}

body .product-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 22px 44px -18px rgba(15, 31, 23, 0.22), 0 0 0 1px rgba(15, 31, 23, 0.04);
}

body .product-image-wrap {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: #f6f4ef;
    padding: 0.9rem;
}

body .product-image {
    mix-blend-mode: multiply;
    transition: transform 0.5s var(--hx-ease);
}

body .product-card:hover .product-image {
    transform: scale(1.05);
}

body .discount-badge {
    top: 1rem;
    left: 1rem;
    right: auto;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: var(--hx-orange);
    box-shadow: none;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

body .product-info {
    position: relative;
    padding: 0.85rem 0.5rem 0.4rem;
}

body .product-name,
body a.product-name-link,
body a.product-name-link:visited {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--hx-ink);
    min-height: 2.8em;
    margin-bottom: 0.55rem;
    letter-spacing: -0.005em;
}

body a.product-name-link:hover {
    color: var(--hx-green);
}

body .product-price {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
    column-gap: 0.45rem;
    row-gap: 0;
    padding-right: 2.75rem;
}

body .products-grid .price {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--hx-ink);
    letter-spacing: -0.02em;
}

body .products-grid .original-price {
    font-size: 0.78rem;
    color: #9aa39e;
}

body .product-add {
    position: absolute;
    right: 0.45rem;
    bottom: 0.35rem;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hx-tile);
    color: var(--hx-green);
    transition: background 0.2s ease, color 0.2s ease, transform 0.25s var(--hx-ease);
}

body .product-card:hover .product-add {
    background: var(--hx-green);
    color: #fff;
    transform: rotate(90deg);
}

body .btn-load-more {
    border-radius: 14px;
    background: #fff;
    color: var(--hx-ink);
    border: 1px solid var(--hx-line);
    box-shadow: none;
    font-weight: 700;
}

body .btn-load-more:hover {
    border-color: rgba(15, 31, 23, 0.22);
}

/* ------------------------------ Packages ------------------------------ */
body .subscription-packages-section {
    margin-top: clamp(3rem, 6vw, 4.5rem);
}

body .subscription-packages-header p {
    color: var(--hx-muted);
    font-size: 0.92rem;
}

body .sub-pkg-freq {
    border: 1px solid var(--hx-line);
    padding: 4px;
}

body .sub-pkg-freq button {
    padding: 0.45rem 1rem;
    color: var(--hx-muted);
}

body .sub-pkg-freq button.is-active {
    background: var(--hx-ink);
    color: #fff;
}

body .sub-pkg-card .product-info {
    padding: 0.85rem 0.5rem 0.5rem;
}

body .sub-pkg-card .price {
    color: var(--hx-ink);
    font-weight: 800;
}

body .sub-pkg-order-btn {
    position: relative;
    overflow: hidden;
    height: 42px;
    border-radius: 12px;
    background: var(--hx-green);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(11, 93, 56, 0.18);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body .sub-pkg-order-btn:hover,
body .sub-pkg-card:hover .sub-pkg-order-btn {
    background: var(--hx-orange);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255, 122, 0, 0.28);
}

body .sub-pkg-view-all-btn {
    background: #fff;
    color: var(--hx-ink);
    border: 1px solid var(--hx-line);
    box-shadow: none;
    border-radius: 14px;
}

body .sub-pkg-view-all-btn:hover {
    border-color: rgba(15, 31, 23, 0.22);
}

/* --------------------------- Reviews and FAQ --------------------------- */
body .shop-block {
    margin-top: clamp(3rem, 6vw, 4.5rem);
}

body .shop-block-inner {
    border-radius: 28px;
    border: 1px solid var(--hx-line);
    box-shadow: none;
}

body .shop-block-image {
    border-radius: 20px;
    border: 0;
    box-shadow: none;
}

body .reviews-section-title {
    color: var(--hx-ink);
    letter-spacing: -0.03em;
}

body .reviews-title-icon {
    background: var(--hx-tile);
    color: var(--hx-green);
}

body .review-card {
    background: var(--hx-bg);
    border: 1px solid var(--hx-line);
    border-radius: 16px;
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body .review-card:hover {
    background: #fff;
    border-color: rgba(15, 31, 23, 0.14);
    box-shadow: 0 10px 24px rgba(15, 31, 23, 0.07);
}

body .review-card p {
    color: var(--hx-ink-2);
}

body .reviews-slider-btn {
    border-radius: 12px;
}

body .shop-faq-title {
    color: var(--hx-ink);
    letter-spacing: -0.03em;
}

body .shop-faq-item {
    border-radius: 16px;
    border-color: var(--hx-line);
    background: #fff;
}

body .btn-compact.btn-navy {
    background: var(--hx-green);
    box-shadow: none;
}

/* ----------------------------- Reveal motion ----------------------------- */
.rv {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s var(--hx-ease), transform 0.8s var(--hx-ease);
}

.rv.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .hx-copy, .hx-visual, .hx-chip, .hx-pulse::after { animation: none !important; }
    .rv { opacity: 1; transform: none; }
}

/* ------------------------------- Tablet ------------------------------- */
@media (max-width: 1100px) {
    .hx-chip-a { left: -10px; }
    .hx-chip-b { right: -8px; }
}

@media (max-width: 900px) {
    .hx-inner {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .hx-copy {
        max-width: 640px;
    }

    .hx-visual {
        max-width: 640px;
    }
}

/* ------------------------------- Mobile ------------------------------- */
@media (max-width: 767px) {
    body .header-container {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    body .header-cart-btn,
    body .header-search-toggle,
    body .user-profile {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    body .header-search input {
        font-size: 16px; /* prevents iOS zoom */
    }

    .hx-inner {
        padding: 1.5rem 1rem 1.75rem;
        gap: 1.6rem;
    }

    .hx-status {
        font-size: 0.74rem;
    }

    .hx-title {
        margin: 1rem 0 0.85rem;
        font-size: clamp(2rem, 9.4vw, 2.5rem);
        line-height: 1.06;
    }

    .hx-accent::after {
        width: 64px;
        height: 5px;
        margin-top: 0.7rem;
    }

    .hx-sub {
        font-size: 0.98rem;
        margin-bottom: 1.4rem;
    }

    .hx-cta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .hx-btn {
        height: 52px;
        padding: 0 0.75rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .hx-facts {
        margin-top: 1.5rem;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hx-facts li {
        padding: 0 0.75rem;
    }

    .hx-facts strong {
        font-size: 1rem;
    }

    .hx-facts span {
        font-size: 0.72rem;
        line-height: 1.3;
    }

    .hx-photo {
        aspect-ratio: 4 / 3;
        border-radius: 24px;
    }

    .hx-chip {
        padding: 0.55rem 0.8rem 0.55rem 0.55rem;
        border-radius: 14px;
        gap: 0.55rem;
    }

    .hx-chip-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 0.85rem;
    }

    .hx-chip strong { font-size: 0.76rem; }
    .hx-chip small { font-size: 0.68rem; }

    .hx-chip-a { left: 10px; bottom: 12px; }
    .hx-chip-b { right: 10px; top: 12px; }

    body .trust-bar-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0.85rem;
        gap: 0.75rem;
        border-radius: 18px;
    }

    body .trust-bar-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    body .trust-bar-item {
        gap: 0.6rem;
    }

    body .trust-bar-text strong {
        font-size: 0.82rem;
        line-height: 1.25;
    }

    body .feature-nav {
        padding-top: 2rem;
    }

    body .feature-item-pinned,
    body .feature-nav-scroll .feature-item {
        flex-basis: 84px;
    }

    body .feature-item-img {
        border-radius: 20px;
    }

    body .feature-item-label {
        font-size: 0.78rem;
    }

    body .shop-section-heading {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    body .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    body .product-card {
        padding: 0.4rem;
        border-radius: 18px;
    }

    body .product-image-wrap {
        border-radius: 14px;
        padding: 0.6rem;
    }

    body .discount-badge {
        top: 0.75rem;
        left: 0.75rem;
        font-size: 0.66rem;
    }

    body .product-info {
        padding: 0.65rem 0.35rem 0.3rem;
    }

    body .product-name,
    body a.product-name-link {
        font-size: 0.82rem;
        margin-bottom: 0.4rem;
    }

    body .products-grid .price {
        font-size: 0.94rem;
    }

    body .product-price {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 2.4rem;
    }

    body .product-add {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        right: 0.3rem;
        bottom: 0.3rem;
    }

    body .shop-block-inner {
        border-radius: 22px;
    }
}

@media (max-width: 360px) {
    .hx-cta {
        grid-template-columns: 1fr;
    }

    .hx-facts span {
        display: none;
    }
}

.hx-accent--orange::after {
    display: none;
}

@media (max-width: 380px) {
    .hx-rating > span:last-child {
        display: none;
    }
}

.hx-title--stack {
    font-size: clamp(2.1rem, 3.5vw, 3.2rem);
}

@media (min-width: 600px) {
    .hx-title--stack .hx-line,
    .hx-title--stack .hx-accent {
        white-space: nowrap;
    }
}

/* Reviews: Create account hover */
body .why-shop-actions .btn-outline:hover,
body .why-shop-actions .btn-outline:focus-visible {
    background: var(--hx-orange);
    border-color: var(--hx-orange);
    color: #fff !important;
}

/* SEO intro: kept in the page for search engines, not shown visually */
.explore-intro.seo-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero: balanced columns and sizing (desktop) */
@media (min-width: 901px) {
    .hx-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(2rem, 4vw, 4rem);
        padding-top: clamp(2rem, 4vw, 3.5rem);
        padding-bottom: clamp(1.75rem, 3vw, 2.75rem);
    }

    .hx-copy {
        max-width: 600px;
    }

    .hx-photo {
        aspect-ratio: 4 / 3;
        max-height: 480px;
        width: 100%;
    }

    .hx-title--stack {
        margin: 1.1rem 0 1rem;
        font-size: clamp(2.3rem, 3.6vw, 3.5rem);
        line-height: 1.05;
    }

    .hx-sub {
        max-width: 30rem;
        margin-bottom: 1.75rem;
    }
}

/* Trust bar now sits inside the page content, below Essential packages */
body .page-content .trust-bar {
    padding: 0;
    max-width: none;
    margin: 2rem 0 2.25rem;
}

/* Lift the "Quality guaranteed" chip above the photo so it clears the faces */
.hx-chip-b { top: -26px; }

@media (max-width: 767px) {
    .hx-chip-b { top: -18px; right: 10px; }
}

@media (max-width: 767px) {
    .hx-visual { margin-top: 1rem; }
}
