/* Peluche Huggy Wuggy — atelier template custom styles */

body {
    font-family: 'Open Sans', 'Roboto', ui-sans-serif, system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', 'Open Sans', ui-sans-serif, system-ui, sans-serif;
}

h1.font-display {
    font-weight: 900;
}

h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
}

.font-display {
    font-family: 'Roboto', 'Open Sans', ui-sans-serif, system-ui, sans-serif;
    font-weight: 800;
}

.font-display.font-bold,
h2.font-bold,
h3.font-bold {
    font-weight: 800;
}

html {
    scroll-behavior: smooth;
}

.footer-affiliate-disclaimer {
    color: hsl(260 35% 18%);
    background-color: hsl(260 20% 94%);
    border-color: hsl(260 25% 75%);
}

.footer-affiliate-disclaimer strong {
    color: hsl(260 40% 12%);
    font-weight: 700;
}

#best-sellers {
    width: 100%;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid hsl(260 18% 86%);
    background: linear-gradient(165deg, hsl(260 30% 99%) 0%, hsl(260 22% 96%) 100%);
    box-shadow:
        inset 0 1px 0 hsl(0 0% 100% / 0.8),
        0 1px 2px hsl(260 35% 20% / 0.05),
        0 10px 28px hsl(260 35% 20% / 0.07);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.32, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: hsl(280 55% 58% / 0.45);
    box-shadow:
        inset 0 1px 0 hsl(0 0% 100% / 0.9),
        0 4px 8px hsl(260 35% 20% / 0.06),
        0 22px 44px hsl(260 35% 20% / 0.11);
}

.product-card__media {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 1.5rem;
    background:
        radial-gradient(circle at 50% 28%, hsl(260 35% 99%) 0%, hsl(260 24% 94%) 72%),
        linear-gradient(180deg, hsl(260 28% 97%) 0%, hsl(260 20% 92%) 100%);
    border-bottom: 1px solid hsl(260 18% 88% / 0.75);
}

.product-card__media img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px hsl(260 35% 20% / 0.14));
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.32, 1);
}

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

.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.65rem;
    padding: 1.35rem 1.35rem 1.5rem;
}

.product-card__title {
    font-family: Roboto, "Open Sans", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: hsl(260 35% 18%);
}

.product-card__text {
    flex: 1;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: hsl(260 12% 34%);
}

.product-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.65rem;
    min-height: 2.85rem;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    color: hsl(260 30% 98%);
    background: hsl(260 45% 32%);
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card__cta:hover {
    background: hsl(280 55% 52%);
}

.product-card__cta:focus-visible {
    outline: 2px solid hsl(280 55% 52%);
    outline-offset: 2px;
}

#header.scrolled {
    background-color: rgba(245, 243, 250, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08);
}

#mobile-menu {
    transition: opacity 0.25s ease-out, max-height 0.3s ease-out;
}

.img-zoom img {
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.32, 1);
}

.img-zoom:hover img {
    transform: scale(1.04);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -24px rgba(30, 21, 64, 0.28);
}

.hide-scrollbar {
    scrollbar-width: none;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid #6d4bd3;
    outline-offset: 2px;
}

details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown-inner {
    min-width: 12rem;
}

/* —— Header nav: pill cluster + mega panels + CTAs —— */

.nav-pill-surface {
    border-radius: 9999px;
    border: 1px solid rgba(109, 75, 211, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(245, 243, 250, 0.92) 100%);
    box-shadow:
        0 1px 2px rgba(30, 21, 64, 0.06),
        0 8px 24px -8px rgba(91, 60, 196, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-link-pill,
.nav-trigger-pill {
    border: none;
    background: transparent;
    cursor: pointer;
    color: rgba(30, 21, 64, 0.72);
    border-radius: 9999px;
    padding: 0.5rem 0.65rem;
    transition:
        color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.nav-link-pill:hover,
.nav-link-pill:focus-visible,
.nav-trigger-pill:hover,
.nav-trigger-pill:focus-visible {
    color: #1e1540;
    background: rgba(109, 75, 211, 0.1);
    box-shadow: inset 0 0 0 1px rgba(109, 75, 211, 0.12);
}

.nav-dropdown:hover .nav-trigger-pill,
.nav-dropdown:focus-within .nav-trigger-pill {
    color: #1e1540;
    background: rgba(109, 75, 211, 0.12);
    box-shadow: inset 0 0 0 1px rgba(109, 75, 211, 0.2);
}

.nav-megapanel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(109, 75, 211, 0.16);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 255, 0.98) 55%, rgba(245, 243, 250, 1) 100%);
    box-shadow:
        0 22px 48px -14px rgba(30, 21, 64, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.nav-megapanel::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #5b3cc4, #8b6be8, #5b3cc4);
    opacity: 0.95;
}

.nav-mega-link {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0.15rem 0.4rem;
    padding: 0.55rem 0.85rem 0.55rem 0.75rem;
    border-radius: 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(30, 21, 64, 0.88);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.nav-mega-link:hover,
.nav-mega-link:focus-visible {
    background: rgba(109, 75, 211, 0.1);
    border-left-color: #6d4bd3;
    color: #1e1540;
    transform: translateX(2px);
}

.header-cta-row {
    flex-shrink: 0;
}

.header-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 9999px;
    font-family: 'Roboto', 'Open Sans', ui-sans-serif, system-ui, sans-serif;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(135deg, #4f36b0 0%, #6d4bd3 42%, #7c5ce0 100%);
    box-shadow:
        0 4px 14px -2px rgba(91, 60, 196, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
    white-space: nowrap;
}

.header-cta-primary:hover,
.header-cta-primary:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow:
        0 8px 22px -4px rgba(91, 60, 196, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.header-cta-primary--wide {
    width: 100%;
    min-height: 3.1rem;
    font-size: 0.8125rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.header-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-family: 'Roboto', 'Open Sans', ui-sans-serif, system-ui, sans-serif;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #3d2d6b;
    border: 2px solid rgba(109, 75, 211, 0.38);
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
    white-space: nowrap;
}

.header-cta-secondary:hover,
.header-cta-secondary:focus-visible {
    transform: translateY(-1px);
    background: rgba(109, 75, 211, 0.08);
    border-color: rgba(109, 75, 211, 0.55);
    color: #1e1540;
}

.header-cta-secondary--wide {
    width: 100%;
    min-height: 3.1rem;
    font-size: 0.8125rem;
}

.nav-burger-fancy {
    border-radius: 9999px;
    border: 1px solid rgba(109, 75, 211, 0.22);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 243, 250, 0.95) 100%);
    color: #1e1540;
    box-shadow: 0 4px 14px -4px rgba(91, 60, 196, 0.25);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.nav-burger-fancy:hover,
.nav-burger-fancy:focus-visible {
    transform: scale(1.04);
    border-color: rgba(109, 75, 211, 0.45);
    box-shadow: 0 8px 20px -6px rgba(91, 60, 196, 0.35);
}

.mobile-menu-shell {
    border-bottom: 1px solid rgba(109, 75, 211, 0.12);
    background: linear-gradient(180deg, rgba(252, 251, 255, 0.98) 0%, rgba(245, 243, 250, 1) 45%, rgba(255, 255, 255, 1) 100%);
    box-shadow: 0 18px 40px -24px rgba(30, 21, 64, 0.2);
}

.nav-mobile-toplink {
    display: block;
    text-decoration: none;
    color: #1e1540;
    border-bottom: 1px solid rgba(109, 75, 211, 0.12);
    margin-bottom: 0.35rem;
    transition: color 0.15s ease;
}

.nav-mobile-toplink:hover,
.nav-mobile-toplink:focus-visible {
    color: #6d4bd3;
}

.nav-mobile-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(109, 75, 211, 0.14);
    border-radius: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 6px 20px -12px rgba(30, 21, 64, 0.18);
}

.nav-mobile-sublink {
    display: block;
    padding: 0.55rem 0.65rem;
    border-radius: 0.6rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(30, 21, 64, 0.85);
    text-decoration: none;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}

.nav-mobile-sublink:hover,
.nav-mobile-sublink:focus-visible {
    background: rgba(109, 75, 211, 0.1);
    color: #6d4bd3;
    transform: translateX(3px);
}

.header-mobile-cta-row {
    padding-top: 0.25rem;
}

/* Desktop nav dropdowns (hover + keyboard focus-within) */
@media (min-width: 1024px) {
    .nav-dropdown-panel {
        padding-top: 0.375rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(6px) scale(0.98);
        transition:
            opacity 0.18s ease,
            visibility 0.18s ease,
            transform 0.22s cubic-bezier(0.16, 1, 0.32, 1);
    }

    .nav-dropdown:hover .nav-dropdown-panel,
    .nav-dropdown:focus-within .nav-dropdown-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .nav-dropdown:hover .nav-dropdown-chevron,
    .nav-dropdown:focus-within .nav-dropdown-chevron {
        transform: rotate(180deg);
    }
}

.nav-dropdown-chevron {
    transition: transform 0.2s ease;
}

.nav-mobile-details summary {
    position: relative;
    padding-right: 1.75rem;
}

.nav-mobile-details summary::after {
    content: '';
    position: absolute;
    right: 0.85rem;
    top: 50%;
    margin-top: -0.35rem;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.55;
}

.nav-mobile-details[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 0.1rem;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .img-zoom img,
    .hover-lift {
        transition: none;
    }

    .img-zoom:hover img {
        transform: none;
    }

    .nav-dropdown-panel,
    .nav-mega-link,
    .nav-mobile-sublink,
    .header-cta-primary,
    .header-cta-secondary,
    .nav-burger-fancy {
        transition: none;
    }

    .nav-mega-link:hover,
    .nav-mega-link:focus-visible,
    .nav-mobile-sublink:hover,
    .nav-mobile-sublink:focus-visible,
    .header-cta-primary:hover,
    .header-cta-primary:focus-visible,
    .header-cta-secondary:hover,
    .header-cta-secondary:focus-visible,
    .nav-burger-fancy:hover,
    .nav-burger-fancy:focus-visible {
        transform: none;
    }

    .nav-dropdown:hover .nav-dropdown-panel,
    .nav-dropdown:focus-within .nav-dropdown-panel {
        transform: none;
    }
}
