/* ======================================================================
   PepStore Theme — Main Stylesheet
   ====================================================================== */

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--fw-regular);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: var(--lh-normal);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 60px;
    /* room for mobile bottom nav */
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-link-hover);
}

ul,
ol {
    list-style: none;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Layout ────────────────────────────────────────────────────────────── */
.pepstore-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.pepstore-site-content {
    min-height: 60vh;
}

/* ── Typography ────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    color: var(--color-text);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-xl);
}

p {
    line-height: var(--lh-normal);
    margin-bottom: var(--space-4);
}

p:last-child {
    margin-bottom: 0;
}

/* ── Promo Bar ─────────────────────────────────────────────────────────── */
.pepstore-promo-bar {
    position: sticky;
    top: 0;
    z-index: var(--z-promo-bar);
    display: flex;
    align-items: center;
    min-height: var(--promo-bar-h);
}

.pepstore-promo-bar.is-hidden {
    display: none;
}

.pepstore-promo-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-2) var(--container-padding);
    gap: var(--space-4);
}

.pepstore-promo-bar__text {
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: #fff;
    text-align: center;
    margin: 0;
    flex: 1;
}

.pepstore-promo-bar__close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: var(--space-1);
    display: flex;
    align-items: center;
    opacity: .7;
    transition: opacity var(--transition-fast);
    flex-shrink: 0;
}

.pepstore-promo-bar__close:hover {
    opacity: 1;
}

/* ── Header ────────────────────────────────────────────────────────────── */
.pepstore-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: var(--color-header-bg);
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: box-shadow var(--transition-base);
}

.pepstore-header.is-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

.pepstore-header__inner {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    height: 100%;
}

.pepstore-header__logo {
    flex-shrink: 0;
}

.pepstore-header__logo img,
.pepstore-header__logo svg {
    max-height: 180px;
    width: auto;
}

.pepstore-header__site-name {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: #fff;
    letter-spacing: -.02em;
}

.pepstore-header__nav {
    flex: 1;
    display: none;
    justify-content: center;
}

/* Desktop nav */
.pepstore-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    margin: 0;
    padding: 0;
    height: 100%;
}

.pepstore-nav__list li {
    position: relative;
}

.pepstore-nav__list>li>a,
.pepstore-shop-menu__link {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: var(--color-text);
    border-radius: var(--radius-md);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.pepstore-nav__list>li>a:hover,
.pepstore-shop-menu__link:hover {
    color: var(--color-primary);
    background: var(--color-surface-alt);
}

.pepstore-nav__list .current-menu-item>a,
.pepstore-nav__list .current_page_item>a {
    color: var(--color-primary);
}

.pepstore-nav__item--shop {
    position: relative;
}

.pepstore-shop-menu__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pepstore-shop-menu__chevron {
    transition: transform var(--transition-base), opacity var(--transition-base);
    width: 14px;
    height: 14px;
    opacity: .58;
    transform: translateY(1px);
}

.pepstore-nav__item--shop.is-open .pepstore-shop-menu__chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.pepstore-shop-menu__panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: min(760px, 78vw);
    padding: 20px;
    border: 1px solid rgba(10, 18, 31, 0.08);
    border-radius: 24px;
    background: radial-gradient(circle at top left, rgba(139, 90, 177, 0.14), transparent 34%), linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 252, 0.98));
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    transform: translateX(-50%) translateY(10px) scale(.98);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
    z-index: 30;
    backdrop-filter: blur(10px);
}

.pepstore-shop-menu__panel[aria-hidden="true"] {
    display: none;
}

.pepstore-nav__item--shop.is-open .pepstore-shop-menu__panel {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.pepstore-shop-menu__panel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.pepstore-shop-menu__eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: .12em;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    color: var(--color-primary);
}

.pepstore-shop-menu__title {
    margin: 0;
    font-size: var(--text-2xl);
    color: var(--color-text);
}

.pepstore-shop-menu__all-link {
    color: var(--color-primary);
    font-weight: var(--fw-bold);
    white-space: nowrap;
}

.pepstore-shop-menu__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pepstore-shop-menu__card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(139, 90, 177, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.pepstore-shop-menu__card:hover,
.pepstore-shop-menu__card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(139, 90, 177, 0.2);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.pepstore-shop-menu__card-media {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(139, 90, 177, 0.18), rgba(13, 186, 209, 0.16));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(139, 90, 177, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.pepstore-shop-menu__card-media.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pepstore-shop-menu__card:nth-child(3n + 1) .pepstore-shop-menu__card-media:not(.has-image) {
    background: linear-gradient(135deg, rgba(139, 90, 177, 0.22), rgba(13, 186, 209, 0.14));
}

.pepstore-shop-menu__card:nth-child(3n + 2) .pepstore-shop-menu__card-media:not(.has-image) {
    background: linear-gradient(135deg, rgba(13, 186, 209, 0.22), rgba(91, 122, 239, 0.14));
}

.pepstore-shop-menu__card:nth-child(3n) .pepstore-shop-menu__card-media:not(.has-image) {
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.2), rgba(139, 90, 177, 0.14));
}

.pepstore-shop-menu__card-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.pepstore-shop-menu__card-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.08));
}

.pepstore-shop-menu__card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pepstore-shop-menu__card-title {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: var(--color-text);
}

.pepstore-shop-menu__card-copy {
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--color-text-muted);
}

.pepstore-shop-menu__card-meta {
    font-size: 12px;
    font-weight: var(--fw-bold);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--color-primary);
}



.pepstore-header__nav .sub-menu {
    display: none !important;
}

/* Header icons */
.pepstore-header__icons {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    height: 100%;
}

.pepstore-header__icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    border-radius: var(--radius-lg);
    color: var(--color-text);
    cursor: pointer;
    transition: color var(--transition-fast), background var(--transition-fast);
    padding: 0;
    margin: 0;
}

.pepstore-header__icon-btn svg {
    display: block;
    margin: 0;
    width: 24px;
    height: 24px;
}

.pepstore-header__icon-btn:hover {
    color: var(--color-primary);
    background: var(--color-surface-alt);
}

.pepstore-header__cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: var(--fw-bold);
    min-width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    transform: scale(0);
    transition: transform var(--transition-fast);
}

.pepstore-header__cart-count.is-visible {
    transform: scale(1);
}

/* ─── Cart bounce animation (triggered via JS on added_to_cart) ── */
@keyframes cart-pop {
    0% {
        transform: scale(1) rotate(0deg);
    }

    20% {
        transform: scale(1.22) rotate(-12deg);
    }

    40% {
        transform: scale(0.92) rotate(8deg);
    }

    55% {
        transform: scale(1.1) rotate(-5deg);
    }

    70% {
        transform: scale(0.97) rotate(2deg);
    }

    85% {
        transform: scale(1.04) rotate(-1deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes badge-pop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.5);
    }

    70% {
        transform: scale(0.88);
    }

    100% {
        transform: scale(1);
    }
}

.pepstore-header__cart-btn.cart-bounce svg {
    animation: cart-pop 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.pepstore-header__cart-btn.cart-bounce .pepstore-header__cart-count {
    animation: badge-pop 0.45s 0.1s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}


/* Hamburger */
.pepstore-header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 9px;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.pepstore-header__hamburger:hover {
    background: var(--color-surface-alt);
}

.pepstore-header__hamburger-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.pepstore-header__hamburger.is-open .pepstore-header__hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.pepstore-header__hamburger.is-open .pepstore-header__hamburger-bar:nth-child(2) {
    opacity: 0;
}

.pepstore-header__hamburger.is-open .pepstore-header__hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Search bar */
.pepstore-search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-header-bg);
    border-top: 1px solid transparent;
    padding: 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base), border-color var(--transition-base);
}

.pepstore-search-bar.is-open {
    max-height: 96px;
    padding: var(--space-3) 0;
    border-color: var(--color-border);
}

.pepstore-search-bar.is-open.has-results {
    max-height: min(70vh, 560px);
    padding-bottom: var(--space-4);
}

.pepstore-search-form {
    display: flex;
    gap: var(--space-2);
}

.pepstore-search-form__input {
    flex: 1;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    color: var(--color-text);
    font-size: var(--text-base);
    font-family: var(--font-primary);
}

.pepstore-search-form__input::placeholder {
    color: var(--color-text-muted);
}

.pepstore-search-form__input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.pepstore-search-form__btn {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition-fast);
}

.pepstore-search-form__btn:hover {
    background: var(--color-primary-dark);
}

.pepstore-search-results {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 260ms ease, margin-top 260ms ease, opacity 220ms ease, transform 220ms ease;
}

.pepstore-search-results.is-active {
    max-height: 420px;
    margin-top: var(--space-3);
    opacity: 1;
    transform: translateY(0);
}

.pepstore-search-results__inner {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(139, 90, 177, 0.16);
    border-radius: calc(var(--radius-lg) + 4px);
    box-shadow: 0 24px 60px rgba(23, 16, 38, 0.14);
    overflow: hidden;
}

.pepstore-search-results__list {
    display: grid;
}

.pepstore-search-results__item {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-3);
    padding: 0.875rem 1rem;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    opacity: 0;
    transform: translateY(8px);
    animation: pepstoreSearchResultIn 280ms cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: calc(var(--search-result-index, 0) * 45ms);
}

.pepstore-search-results__item:last-child {
    border-bottom: none;
}

.pepstore-search-results__item:hover,
.pepstore-search-results__item:focus-visible {
    background: linear-gradient(135deg, rgba(242, 232, 250, 0.7), rgba(255, 255, 255, 0.98));
    outline: none;
}

.pepstore-search-results__thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-surface);
}

.pepstore-search-results__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.pepstore-search-results__content {
    min-width: 0;
}

.pepstore-search-results__title {
    display: block;
    color: var(--color-text);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    line-height: 1.35;
}

.pepstore-search-results__meta {
    display: block;
    margin-top: 0.2rem;
    color: var(--color-text-secondary);
    font-size: var(--text-xs);
}

.pepstore-search-results__price {
    color: var(--color-primary-dark);
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    text-align: right;
    white-space: nowrap;
}

.pepstore-search-results__price ins {
    text-decoration: none;
}

.pepstore-search-results__state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 1rem 1.25rem;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    text-align: center;
}

.pepstore-search-results__state.is-loading::before {
    content: "";
    width: 16px;
    height: 16px;
    margin-right: 0.65rem;
    border: 2px solid rgba(139, 90, 177, 0.18);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: pepstoreSpin 0.7s linear infinite;
}

.pepstore-search-results__view-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    border-top: 1px solid rgba(229, 231, 235, 0.9);
    color: var(--color-link);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    background: linear-gradient(180deg, rgba(252, 250, 255, 0.8), rgba(242, 232, 250, 0.45));
}

.pepstore-search-results__view-all:hover,
.pepstore-search-results__view-all:focus-visible {
    color: var(--color-link-hover);
    outline: none;
}

.pepstore-search-results__view-all::after {
    content: "+";
    font-size: 1rem;
    line-height: 1;
}

@keyframes pepstoreSearchResultIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pepstoreSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Mobile Nav ────────────────────────────────────────────────────────── */
.pepstore-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: var(--z-mobile-nav);
    display: flex;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.pepstore-mobile-nav.is-open {
    pointer-events: auto;
    opacity: 1;
}

.pepstore-mobile-nav__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    cursor: pointer;
}

.pepstore-mobile-nav__panel {
    position: relative;
    width: min(320px, 85vw);
    height: 100%;
    background: var(--color-header-bg);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform var(--transition-slow) cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
}

.pepstore-mobile-nav.is-open .pepstore-mobile-nav__panel {
    transform: translateX(0);
}

.pepstore-mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--color-border);
}

.pepstore-mobile-nav__title {
    font-weight: var(--fw-bold);
    color: var(--color-text);
    font-size: var(--text-lg);
}

.pepstore-mobile-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-surface-alt);
    border: none;
    border-radius: var(--radius-lg);
    color: var(--color-text);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.pepstore-mobile-nav__close:hover {
    color: var(--color-primary);
}

.pepstore-mobile-nav__body {
    flex: 1;
    padding: var(--space-4) 0;
}

.pepstore-mobile-nav__list li>a,
.pepstore-mobile-nav__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    color: var(--color-text);
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
    border-bottom: 1px solid var(--color-border);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.pepstore-mobile-nav__row > a {
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.pepstore-mobile-nav__list li>a:hover,
.pepstore-mobile-nav__row:hover {
    color: var(--color-primary);
    background: rgba(139, 90, 177, .06);
}

.pepstore-mobile-nav__list .current-menu-item>a,
.pepstore-mobile-nav__list .current_page_item>a,
.pepstore-mobile-nav__list .current-menu-item > .pepstore-mobile-nav__row {
    color: var(--color-primary);
}

.pepstore-mobile-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.pepstore-mobile-nav__toggle:hover {
    background: rgba(139, 90, 177, .1);
}

.pepstore-mobile-nav__toggle svg {
    transition: transform var(--transition-fast);
}

.pepstore-mobile-nav__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.pepstore-mobile-nav__sub-list {
    margin: 0;
    padding: 0;
    list-style: none;
    background: rgba(139, 90, 177, .03);
}

.pepstore-mobile-nav__sub-list[hidden] {
    display: none;
}

.pepstore-mobile-nav__sub-list a {
    padding-left: var(--space-10);
    font-size: var(--text-sm);
}

.pepstore-mobile-nav__footer {
    padding: var(--space-5) var(--space-6);
}

.pepstore-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky-cta);
    background: var(--color-header-bg);
    border-top: 1px solid var(--color-border);
    display: flex;
    height: 60px;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.pepstore-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--color-text-muted);
    font-size: 10px;
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: color var(--transition-fast);
    position: relative;
}

.pepstore-bottom-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}

.pepstore-bottom-nav__icon svg {
    width: 100%;
    height: 100%;
}

.pepstore-bottom-nav__label {
    line-height: 1;
}

.pepstore-bottom-nav__item:hover,
.pepstore-bottom-nav__item.is-active {
    color: var(--color-primary);
}

.pepstore-bottom-nav__badge {
    position: absolute;
    top: 5px;
    right: calc(50% - 18px);
    background: var(--color-primary);
    color: #fff;
    font-size: 9px;
    font-weight: var(--fw-bold);
    min-width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.pepstore-btn,
a.button:not(.pepstore-btn),
button.button:not(.pepstore-btn),
input[type="submit"]:not(.pepstore-btn),
input[type="button"]:not(.pepstore-btn),
input[type="reset"]:not(.pepstore-btn),
.wp-element-button:not(.pepstore-btn),
.wp-block-button__link:not(.pepstore-btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    line-height: 1;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
    white-space: nowrap;
    user-select: none;
    appearance: none;
}

.pepstore-btn:active,
a.button:not(.pepstore-btn):active,
button.button:not(.pepstore-btn):active,
input[type="submit"]:not(.pepstore-btn):active,
input[type="button"]:not(.pepstore-btn):active,
input[type="reset"]:not(.pepstore-btn):active,
.wp-element-button:not(.pepstore-btn):active,
.wp-block-button__link:not(.pepstore-btn):active {
    transform: scale(.98);
}

.pepstore-btn--primary,
a.button:not(.pepstore-btn),
button.button:not(.pepstore-btn),
input[type="submit"]:not(.pepstore-btn),
input[type="button"]:not(.pepstore-btn),
input[type="reset"]:not(.pepstore-btn),
.wp-element-button:not(.pepstore-btn),
.wp-block-button__link:not(.pepstore-btn) {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 90, 177, 0.4);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-full);
}

.pepstore-btn--primary::after,
a.button:not(.pepstore-btn)::after,
button.button:not(.pepstore-btn)::after,
.wp-element-button:not(.pepstore-btn)::after,
.wp-block-button__link:not(.pepstore-btn)::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.95s cubic-bezier(0.4, 0, 0.2, 1);
}

.pepstore-btn--primary:hover,
a.button:not(.pepstore-btn):hover,
button.button:not(.pepstore-btn):hover,
input[type="submit"]:not(.pepstore-btn):hover,
input[type="button"]:not(.pepstore-btn):hover,
input[type="reset"]:not(.pepstore-btn):hover,
.wp-element-button:not(.pepstore-btn):hover,
.wp-block-button__link:not(.pepstore-btn):hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #3a1e54 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(139, 90, 177, 0.6);
    transform: translateY(-2px);
}

.pepstore-btn--primary:hover::after,
a.button:not(.pepstore-btn):hover::after,
button.button:not(.pepstore-btn):hover::after,
.wp-element-button:not(.pepstore-btn):hover::after,
.wp-block-button__link:not(.pepstore-btn):hover::after {
    left: 150%;
}

a.button:not(.pepstore-btn):focus-visible,
button.button:not(.pepstore-btn):focus-visible,
input[type="submit"]:not(.pepstore-btn):focus-visible,
input[type="button"]:not(.pepstore-btn):focus-visible,
input[type="reset"]:not(.pepstore-btn):focus-visible,
.wp-element-button:not(.pepstore-btn):focus-visible,
.wp-block-button__link:not(.pepstore-btn):focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(139, 90, 177, 0.18), 0 6px 20px rgba(139, 90, 177, 0.28);
}

.pepstore-btn--ghost {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    border-radius: var(--radius-full);
}

.pepstore-btn--ghost:hover {
    background: var(--color-primary);
    color: #fff;
}

.pepstore-btn--dark {
    background: var(--color-text);
    color: #fff;
}

.pepstore-btn--dark:hover {
    background: #000;
    color: #fff;
}

.pepstore-btn--sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.pepstore-btn--lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.pepstore-btn--full {
    width: 100%;
}

/* ── Badges ────────────────────────────────────────────────────────────── */
.pepstore-badge {
    display: inline-flex;
    align-items: center;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    line-height: 1;
}

.pepstore-badge--sale {
    background: linear-gradient(135deg, var(--color-sale), #ff5a71);
    color: #fff;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
}

.pepstore-badge--purity {
    background: var(--color-text);
    color: #fff;
}

.pepstore-badge--new {
    background: var(--color-accent);
    color: #fff;
}

.pepstore-badge--lg {
    font-size: var(--text-sm);
    padding: var(--space-1) var(--space-3);
}

/* ── Section Helpers ───────────────────────────────────────────────────── */
.pepstore-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
}

.pepstore-section-title {
    font-size: var(--text-3xl);
}

.pepstore-section-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    background: var(--color-primary-light);
    border: 1px solid var(--color-accent);
    box-shadow: 0 12px 28px rgba(139, 90, 177, 0.12);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.pepstore-section-link:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-color: var(--color-primary);
    box-shadow: 0 16px 32px rgba(139, 90, 177, 0.24);
    transform: translateY(-2px);
}

.pepstore-section-link svg {
    transition: transform var(--transition-base);
}

.pepstore-section-link:hover svg,
.pepstore-section-link:focus-visible svg {
    transform: translateX(3px);
}

.pepstore-eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.pepstore-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-color: var(--color-text);
    overflow: hidden;
}

.pepstore-hero--no-image {
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A3A 50%, #0A2A35 100%);
}

.pepstore-hero__media {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 45%, rgba(139, 90, 177, 0.26), transparent 34%),
        linear-gradient(90deg, #05050a 0%, #171622 42%, #272333 100%);
}

.pepstore-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
    display: block;
}

@media (min-width: 1200px) {
    .pepstore-hero__image {
        object-fit: contain;
        object-position: right center;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0) 24%, #000 42%, #000 100%);
        mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0) 24%, #000 42%, #000 100%);
    }
}

.pepstore-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .35) 100%);
}

.pepstore-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-12);
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
}

.pepstore-hero__content {
    max-width: 600px;
}

.pepstore-hero__headline {
    font-size: var(--text-5xl);
    font-weight: var(--fw-bold);
    color: #fff;
    line-height: var(--lh-tight);
    margin-bottom: var(--space-5);
}

.pepstore-hero__sub {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, .75);
    margin-bottom: var(--space-8);
    line-height: var(--lh-snug);
}

.pepstore-hero__cta {
    font-size: var(--text-lg);
    padding: var(--space-4) var(--space-8);
}

.pepstore-hero--has-image .pepstore-hero__badge-stamp {
    display: none;
}

.pepstore-seal {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: default;
    user-select: none;
}

.pepstore-seal__svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    animation: rotate-seal 30s linear infinite;
}

.pepstore-seal__text {
    fill: rgba(255, 255, 255, 0.45);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pepstore-seal__inner-circle {
    fill: rgba(255, 255, 255, 0.03);
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pepstore-seal__purity-value {
    fill: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pepstore-seal__purity-label {
    fill: var(--color-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.25em;
}

.pepstore-seal__icon {
    color: rgba(255, 255, 255, 0.6);
}

.pepstore-seal__glow {
    position: absolute;
    inset: 30px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(20px);
    z-index: -1;
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes rotate-seal {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.1;
        transform: scale(1);
    }

    50% {
        opacity: 0.25;
        transform: scale(1.1);
    }
}

/* Hover effects */
.pepstore-seal:hover .pepstore-seal__inner-circle {
    fill: rgba(255, 255, 255, 0.06);
    stroke: var(--color-primary);
    transition: all 0.4s ease;
}

.pepstore-seal:hover .pepstore-seal__text {
    fill: rgba(255, 255, 255, 0.8);
    transition: fill 0.6s ease;
}

/* ── Trust Badges ──────────────────────────────────────────────────────── */
.pepstore-trust {
    background: var(--color-surface);
    padding: var(--space-12) 0;
    border-bottom: 1px solid var(--color-border);
}

.pepstore-trust__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.pepstore-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-4);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease, background-color var(--transition-base), box-shadow var(--transition-base);
    padding: var(--space-6);
    border-radius: 24px;
    background: transparent;
    cursor: default;
}

.pepstore-trust__item:hover {
    background-color: var(--color-bg);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.pepstore-trust__item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pepstore-trust__item.is-visible:hover {
    transform: translateY(-6px);
}

.pepstore-trust__icon {
    font-size: 2rem;
    flex-shrink: 0;
    color: var(--color-primary);
    transition: transform var(--transition-base), color var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pepstore-trust__title {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-1);
}

.pepstore-trust__desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin: 0;
}

/* ── Home Products ─────────────────────────────────────────────────────── */
.pepstore-home-products {
    padding: var(--space-16) 0;
}

.pepstore-home-products--alt {
    background: var(--color-surface);
}

/* ── About ─────────────────────────────────────────────────────────────── */
.pepstore-about {
    padding: var(--space-20) 0;
    background: var(--color-text);
}

.pepstore-about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.pepstore-about__title {
    color: #fff;
    margin-bottom: var(--space-5);
}

.pepstore-about__text p {
    color: rgba(255, 255, 255, .75);
}

.pepstore-about__badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.pepstore-about__badge-item {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    padding: var(--space-6) var(--space-5);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
    cursor: default;
}

.pepstore-about__badge-item:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .25);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.pepstore-about__badge-num {
    display: block;
    font-size: var(--text-3xl);
    font-weight: var(--fw-bold);
    color: #fff;
    line-height: 1.2;
}

.pepstore-about__badge-item span:last-child {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, .60);
    line-height: 1.4;
}

/* ── Scientific Articles ───────────────────────────────────────────────── */
.pepstore-articles {
    padding: var(--space-16) 0;
    background: var(--color-surface-alt);
}

.pepstore-articles__carousel {
    margin-top: var(--space-10);
    position: relative;
}

.pepstore-articles__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    padding: var(--space-1) 0 var(--space-2);
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pepstore-articles__viewport::-webkit-scrollbar {
    display: none;
}

.pepstore-articles__grid {
    --articles-gap: var(--space-8);
    display: flex;
    gap: var(--articles-gap);
}

.pepstore-articles__item {
    background: var(--color-bg);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    min-height: 100%;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.04);
    position: relative;
    overflow: hidden;
    flex: 0 0 calc((100% - (var(--articles-gap) * 2)) / 3);
    scroll-snap-align: start;
}

.pepstore-articles__thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-surface);
}

.pepstore-articles__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .72);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.pepstore-articles__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

.pepstore-articles__item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.pepstore-articles__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(17, 24, 39, 0.10);
}

.pepstore-articles__item:hover .pepstore-articles__thumb-img {
    transform: scale(1.04);
}

.pepstore-articles__item:hover::before {
    opacity: 1;
}

.pepstore-articles__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: var(--space-5) var(--space-6) var(--space-5);
}

.pepstore-articles__badge {
    display: inline-block;
    width: fit-content;
    padding: 4px 11px;
    margin-bottom: var(--space-3);
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: #fff;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    text-transform: uppercase;
}

.pepstore-articles__meta {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
}

.pepstore-articles__title {
    font-size: 1.05rem;
    font-weight: var(--fw-bold);
    color: var(--color-text);
    margin-bottom: var(--space-5);
    line-height: var(--lh-tight);
}

.pepstore-articles__excerpt {
    color: var(--color-text-muted);
    font-size: .92rem;
    line-height: 1.65;
    margin: 0 0 var(--space-5);
}

.pepstore-articles__read-more {
    font-size: .88rem;
    font-weight: var(--fw-bold);
    color: var(--color-primary);
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: gap var(--transition-fast);
}

.pepstore-articles__item:hover .pepstore-articles__read-more {
    gap: var(--space-4);
}

.pepstore-articles__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    inset: 0 var(--space-3);
    z-index: 2;
    margin-top: 0;
    pointer-events: none;
}

.pepstore-articles__control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(139, 90, 177, .2);
    border-radius: var(--radius-full);
    color: var(--color-primary-dark);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 44px rgba(17, 24, 39, .12);
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base), transform var(--transition-base), opacity var(--transition-base);
}

.pepstore-articles__control:hover,
.pepstore-articles__control:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-color: transparent;
    transform: translateY(-1px) scale(1.03);
}

.pepstore-articles__control:focus-visible {
    outline: 3px solid rgba(139, 90, 177, .25);
    outline-offset: 3px;
}

.pepstore-articles__control[disabled] {
    opacity: 0;
    cursor: default;
    pointer-events: none;
    transform: none;
}

@media (max-width: 1199px) {
    .pepstore-articles__control {
        width: 42px;
        height: 42px;
    }
}

@media (min-width: 1440px) {
    .pepstore-articles__controls {
        inset: 0 -58px;
    }
}

.pepstore-articles__carousel.is-static .pepstore-articles__controls {
    display: none;
}

.pepstore-articles__carousel.is-static .pepstore-articles__viewport {
    overflow: hidden;
}

/* ── Newsletter ────────────────────────────────────────────────────────── */
.pepstore-newsletter {
    background: var(--color-primary);
    padding: var(--space-16) 0;
}

.pepstore-newsletter__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-10);
    flex-wrap: wrap;
}

.pepstore-newsletter__title {
    color: #fff;
    margin-bottom: var(--space-2);
}

.pepstore-newsletter__text p {
    color: rgba(255, 255, 255, .80);
    margin: 0;
}

.pepstore-newsletter__actions {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.pepstore-newsletter__form {
    width: 100%;
}

.pepstore-newsletter__fields {
    display: flex;
    gap: var(--space-3);
}

.pepstore-newsletter .pepstore-newsletter__input {
    flex: 1;
    background: rgba(255, 255, 255, .15);
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: var(--radius-full);
    padding: var(--space-4) var(--space-6);
    color: #ffffff !important;
    font-size: var(--text-md);
    font-family: var(--font-primary);
    font-weight: 500;
    transition: all var(--transition-base);
    min-height: 52px;
}

/* Ensure placeholder is bright white with high specificity */
.pepstore-newsletter .pepstore-newsletter__input::-webkit-input-placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}

.pepstore-newsletter .pepstore-newsletter__input::-moz-placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}

.pepstore-newsletter .pepstore-newsletter__input:-ms-input-placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}

.pepstore-newsletter .pepstore-newsletter__input::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}

.pepstore-newsletter .pepstore-newsletter__input:focus {
    outline: none;
    background: rgba(255, 255, 255, .25);
    border-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

.pepstore-newsletter .pepstore-btn--primary {
    background: var(--color-text);
    flex-shrink: 0;
}

.pepstore-newsletter .pepstore-btn--primary:hover {
    background: #000;
}

.pepstore-newsletter__social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, .24);
    color: #fff;
}

.pepstore-newsletter__social-label {
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.pepstore-newsletter__social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.pepstore-newsletter__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 38px;
    padding: .55rem .85rem;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: var(--radius-full);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, .12);
    transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.pepstore-newsletter__social-link:hover,
.pepstore-newsletter__social-link:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .2);
    border-color: rgba(255, 255, 255, .55);
    transform: translateY(-1px);
}

.pepstore-newsletter__social-link:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .45);
    outline-offset: 3px;
}

.pepstore-newsletter__social-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    max-width: 18px;
    max-height: 18px;
    fill: currentColor;
}

.pepstore-newsletter__social-link[href*="instagram"] svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.pepstore-footer-trust {
    background: var(--color-surface);
    padding: var(--space-8) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.pepstore-footer-trust__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.pepstore-footer-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
}

.pepstore-footer-trust__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
}

.pepstore-footer-trust__icon svg {
    width: 24px;
    height: 24px;
}

.pepstore-footer-trust__item strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: var(--color-text);
}

.pepstore-footer-trust__item span {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

.pepstore-footer-main {
    background: linear-gradient(180deg, var(--color-footer-bg) 0%, #120b1f 100%);
    padding: var(--space-16) 0;
}

.pepstore-footer-main__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
}

.pepstore-footer-logo-text {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: #f4e9ff;
}

.pepstore-footer-main__tagline {
    color: #d6c0ea;
    font-size: var(--text-sm);
    margin: var(--space-4) 0;
}

.pepstore-footer-main__disclaimer {
    color: #a994bf;
    font-size: var(--text-xs);
    line-height: var(--lh-loose);
}

.pepstore-footer-main__heading {
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-5);
}

.pepstore-footer-main__links li+li {
    margin-top: var(--space-3);
}

.pepstore-footer-main__links--affiliate {
    margin-top: var(--space-3);
}

.pepstore-affiliate-program {
    max-width: 780px;
    padding: clamp(28px, 5vw, 56px);
    margin: var(--space-8) auto;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f2fb, #fff 68%);
}

.pepstore-affiliate-program__eyebrow {
    color: var(--color-primary);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pepstore-affiliate-program hr {
    margin: var(--space-7) 0;
    border: 0;
    border-top: 1px solid var(--color-border);
}

.pepstore-footer-main__links a {
    color: #e7d7f3;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.pepstore-footer-main__links a:hover {
    color: #c9a3e6;
}

.pepstore-footer-bottom {
    background: #100a1b;
    border-top: 1px solid rgba(210, 183, 229, 0.22);
    padding: var(--space-5) 0;
}

.pepstore-footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.pepstore-footer-bottom__copy {
    font-size: var(--text-xs);
    color: #a994bf;
    margin: 0;
}

.pepstore-footer-bottom__payments {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.pepstore-payment-icon {
    font-size: var(--text-xs);
    color: #b9a3cf;
}

/* ── Breadcrumbs ───────────────────────────────────────────────────────── */
.pepstore-breadcrumb-wrap {
    padding: var(--space-4) 0;
}

.pepstore-breadcrumb {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.pepstore-breadcrumb a {
    color: var(--color-text-secondary);
}

.pepstore-breadcrumb a:hover {
    color: var(--color-primary);
}

/* ── Sticky Product CTA (mobile only) ─────────────────────────────────── */
.pepstore-sticky-cta {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    z-index: calc(var(--z-sticky-cta) - 1);
    background: var(--color-header-bg);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: var(--space-3) 0;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.pepstore-sticky-cta.is-visible {
    transform: translateY(0);
}

.pepstore-sticky-cta__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.pepstore-sticky-cta__info {
    display: flex;
    flex-direction: column;
}

.pepstore-sticky-cta__title {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text);
    line-height: 1.3;
}

.pepstore-sticky-cta__price {
    font-size: var(--text-sm);
    color: var(--color-primary);
    font-weight: var(--fw-bold);
}

.pepstore-sticky-cta__btn {
    flex-shrink: 0;
}

/* ── Wishlist ──────────────────────────────────────────────────────────── */
.pepstore-wishlist-btn {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, .90);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-text-muted);
    box-shadow: var(--shadow-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.pepstore-wishlist-btn:hover {
    color: var(--color-sale);
    background: #fff;
}

.pepstore-wishlist-btn.is-active {
    color: var(--color-sale);
}

/* ── Blog / Posts ──────────────────────────────────────────────────────── */
.pepstore-post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.pepstore-post-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.pepstore-post-card__thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.pepstore-post-card__body {
    padding: var(--space-6);
}

.pepstore-post-card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.pepstore-post-card__title a {
    color: var(--color-text);
}

.pepstore-post-card__title a:hover {
    color: var(--color-primary);
}

.pepstore-post-card__meta {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    display: block;
    margin-bottom: var(--space-3);
}

.pepstore-post-card__excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
}

.pepstore-no-results {
    text-align: center;
    padding: var(--space-16);
    color: var(--color-text-muted);
}

.pepstore-page-title {
    margin-bottom: var(--space-3);
}

/* Standard pages deliberately omit the old oversized title banner. */
.pepstore-page-shell {
    padding-top: clamp(36px, 6vw, 72px);
    padding-bottom: clamp(48px, 7vw, 96px);
}

/* ── Pagination ────────────────────────────────────────────────────────── */
.pepstore-pagination .page-numbers {
    display: inline-flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.pepstore-pagination a.page-numbers,
.pepstore-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    font-size: var(--text-sm);
    color: var(--color-text);
    transition: background var(--transition-fast);
}

.pepstore-pagination span.current {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.pepstore-pagination a.page-numbers:hover {
    background: var(--color-surface);
}

/* ── Tab Content ───────────────────────────────────────────────────────── */
.pepstore-tab-content {
    padding: var(--space-6) 0;
}

.pepstore-tab-content__table-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: var(--space-4) 0;
    margin-inline: 0;
    padding-bottom: 1px;
    padding-inline: 0;
    touch-action: pan-x;
}

.pepstore-tab-content__table-wrap table {
    width: auto;
    min-width: 100%;
    border-collapse: collapse;
    margin: 0;
    table-layout: auto;
}

.pepstore-tab-content__table-wrap th,
.pepstore-tab-content__table-wrap td {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.pepstore-tab-content__table-wrap th {
    background: var(--color-surface);
    font-weight: var(--fw-semibold);
    white-space: normal;
}

.pepstore-tab-content figure,
.pepstore-tab-content .wp-block-table {
    width: 100%;
    max-width: 100%;
    margin: var(--space-4) 0;
    margin-inline: 0;
}

@media (max-width: 1024px) {
    .pepstore-articles__grid {
        --articles-gap: var(--space-6);
    }

    .pepstore-articles__item {
        flex-basis: calc((100% - var(--articles-gap)) / 2);
    }
}

@media (max-width: 767px) {
    .pepstore-tab-content__table-wrap table {
        table-layout: fixed;
    }

    .pepstore-tab-content__table-wrap th,
    .pepstore-tab-content__table-wrap td {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
        line-height: 1.4;
    }
}

.pepstore-tab-content--empty {
    opacity: .6;
    font-style: italic;
}

/* ── Reveal animation ──────────────────────────────────────────────────── */
.js-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }

    .pepstore-header__nav {
        display: flex;
        align-items: center;
    }

    .pepstore-header__hamburger {
        display: none;
    }

    .pepstore-bottom-nav {
        display: none;
    }

    .pepstore-sticky-cta {
        display: none;
    }

    .pepstore-trust__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pepstore-footer-trust__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pepstore-post-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pepstore-stamp {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 767px) {
    .pepstore-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }

    .pepstore-section-link {
        padding: 0.95rem 1.4rem;
    }

    .pepstore-hero {
        min-height: 540px;
        align-items: flex-end;
    }

    .pepstore-hero__overlay {
        background:
            linear-gradient(90deg, rgba(3, 3, 9, .9) 0%, rgba(3, 3, 9, .72) 56%, rgba(3, 3, 9, .48) 100%),
            linear-gradient(180deg, rgba(3, 3, 9, .28) 0%, rgba(3, 3, 9, .08) 42%, rgba(3, 3, 9, .86) 100%);
    }

    .pepstore-hero__inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        padding-top: var(--space-16);
        padding-bottom: var(--space-12);
    }

    .pepstore-hero__content {
        max-width: 24rem;
    }

    .pepstore-hero__headline {
        font-size: clamp(2.1rem, 9vw, 3rem);
    }

    .pepstore-hero__sub {
        font-size: var(--text-base);
    }

    .pepstore-hero__badge-stamp {
        display: none;
    }

    .pepstore-about__inner {
        grid-template-columns: 1fr;
    }

    .pepstore-footer-main__grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .pepstore-newsletter__inner {
        flex-direction: column;
        text-align: center;
    }

    .pepstore-newsletter__actions {
        width: 100%;
    }

    .pepstore-newsletter__fields {
        flex-direction: column;
        width: 100%;
        gap: var(--space-4);
    }

    .pepstore-newsletter .pepstore-newsletter__input {
        padding: var(--space-5) var(--space-6);
        font-size: 1.125rem;
        min-height: 64px;
    }

    .pepstore-newsletter__social {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-2);
    }

    .pepstore-newsletter__social-links {
        width: 100%;
        gap: var(--space-2);
    }

    .pepstore-newsletter__social-link {
        flex: 0 1 auto;
        min-width: 0;
        min-height: 40px;
        padding: .6rem .75rem;
    }

    .pepstore-newsletter__social-link span {
        font-size: .875rem;
    }

    .pepstore-footer-bottom__inner {
        flex-direction: column;
        text-align: center;
    }

    .pepstore-post-grid {
        grid-template-columns: 1fr;
    }

    .pepstore-articles__grid {
        --articles-gap: var(--space-4);
    }

    .pepstore-articles__item {
        flex-basis: min(86vw, 360px);
    }

    .pepstore-articles__controls {
        display: none;
    }

    .pepstore-about__badges {
        grid-template-columns: 1fr;
    }

    .pepstore-trust__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* ── Mobile Header Utilities ── */
    .pepstore-header__inner {
        position: relative;
        justify-content: space-between;
    }

    .pepstore-header__logo {
        position: absolute;
        inset: 0;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        pointer-events: none;
    }

    .pepstore-header__logo>* {
        pointer-events: auto;
    }

    .pepstore-hidden-mobile {
        display: none !important;
    }

    .pepstore-mobile-nav__search-container {
        display: block;
    }

    .pepstore-about__text {
        text-align: center;
        margin-bottom: var(--space-10);
    }

    .pepstore-about__badge-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-2);
    }
}

@media (max-width: 768px) {
    .ast-left-sidebar #content>.ast-container {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -moz-box-orient: horizontal;
        -moz-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

/* ── Mobile Header Desktop Utilities ── */
@media (min-width: 768px) {
    .pepstore-visible-mobile {
        display: none !important;
    }

}

@media (max-width: 640px) {
    .cmplz-cookiebanner {
        left: 8px !important;
        right: 8px !important;
        bottom: 8px !important;
        width: auto !important;
        max-width: calc(100vw - 16px) !important;
    }

    .cmplz-cookiebanner .cmplz-body {
        padding: 12px !important;
    }

    .cmplz-cookiebanner p,
    .cmplz-cookiebanner .cmplz-message {
        font-size: 13px !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
    }
}
