/* ─── Self-hosted Inter font (DSGVO-konform) ─── */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/public/fonts/inter-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/public/fonts/inter-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/public/fonts/inter-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/public/fonts/inter-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/public/fonts/inter-latin-800.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('/public/fonts/inter-latin-900.woff2') format('woff2'); }

:root {
    --black: #17232d;
    --white: #ffffff;
    --bg: #ffffff;
    --text: #374151;
    --muted: #6f7c88;
    --line: #dfe8f1;
    --line-light: #f3f8fc;
    --brand-blue: #1769aa;
    --brand-blue-dark: #0f4f86;
    --brand-orange: #f47a21;
    --brand-orange-dark: #d95f13;
    --brand-petrol: #223f46;
    --brand-ice: #f3f8fc;
    --brand-warm: #fff6ee;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --radius: 0;
    --shadow: 0 8px 28px rgba(23, 105, 170, 0.08);
    --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
img[style*="background-image"] { background-repeat: no-repeat; transition: filter 0.3s ease; }
img[loading="lazy"] { content-visibility: auto; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 30px;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-dark {
    background: var(--brand-orange);
    color: var(--white);
    border-color: var(--brand-orange);
}

.btn-dark:hover {
    background: var(--brand-blue);
    color: var(--white);
    border-color: var(--brand-blue);
}

.btn-outline {
    background: transparent;
    color: var(--brand-blue-dark);
    border: 2px solid var(--brand-blue);
    padding: 12px 40px;
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: var(--white);
    border-color: var(--brand-blue);
}

/* ─── Announcement Bar ─── */
.announcement-bar {
    background: var(--brand-petrol);
    color: var(--white);
    font-size: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.announcement-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    gap: 16px;
}

.announcement-left {
    display: flex;
    gap: 16px;
}

.announcement-left a {
    color: var(--white);
    font-size: 0.875rem;
    opacity: 0.7;
}

.announcement-left a:hover { opacity: 1; }

.announcement-center {
    font-weight: 500;
}

.announcement-center a {
    color: var(--brand-orange);
    font-weight: 600;
    margin-left: 4px;
}

.announcement-center a:hover { text-decoration: underline; }

.announcement-right {
    display: flex;
    gap: 16px;
    font-weight: 500;
    opacity: 0.8;
}

/* ─── Header ─── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
    gap: 36px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.logo img {
    width: 200px;
    height: auto;
}

.site-footer .logo img {
    width: 170px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex: 1;
}

.main-nav > a,
.nav-category > a,
.nav-more-btn {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--brand-petrol);
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.2;
    white-space: nowrap;
    background: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-category > a:hover,
.nav-category > a.active,
.nav-category:hover > a,
.nav-more-btn:hover,
.nav-more-btn.active,
.nav-more.is-open .nav-more-btn {
    color: var(--brand-orange);
    background: var(--brand-warm);
    border-color: #ffd7b5;
}

.nav-category {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-category::after,
.nav-more::after {
    content: "";
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    z-index: 299;
}

.nav-category::after {
    min-width: 220px;
}

.nav-more::after {
    left: auto;
    width: 200px;
    min-width: 0;
}

.nav-category:hover::after,
.nav-category:focus-within::after,
.nav-more:hover::after,
.nav-more.is-open::after {
    display: block;
}

.nav-category-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(23, 35, 45, 0.12);
    padding: 8px;
    z-index: 320;
}

.nav-category:hover .nav-category-dropdown,
.nav-category:focus-within .nav-category-dropdown {
    display: block;
}

.nav-category-dropdown a {
    display: block;
    padding: 9px 11px;
    border-radius: 6px;
    color: var(--brand-petrol);
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
}

.nav-category-dropdown a:hover,
.nav-category-dropdown a.active {
    background: var(--brand-warm);
    color: var(--brand-orange);
}

/* ─── Desktop "Mehr" Dropdown ─── */
.nav-more {
    position: relative;
}

.nav-more-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 8px 0;
    z-index: 300;
}

.nav-more.is-open .nav-more-dropdown,
.nav-more:hover .nav-more-dropdown {
    display: block;
}

.nav-more-dropdown a {
    display: block;
    padding: 9px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-petrol);
    white-space: nowrap;
    text-decoration: none;
}

.nav-more-dropdown a:hover,
.nav-more-dropdown a.active {
    background: var(--brand-warm);
    color: var(--brand-orange);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--brand-blue);
}

/* ─── Hero Slider ─── */
.hero-slider {
    background:
        linear-gradient(120deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.9) 44%, rgba(243,248,252,0.86) 44%, rgba(243,248,252,0.9) 73%, rgba(255,246,238,0.94) 73%),
        repeating-linear-gradient(90deg, rgba(23,105,170,0.08) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(0deg, rgba(244,122,33,0.06) 0 1px, transparent 1px 72px);
    background-color: var(--white);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.hero-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0 54%, rgba(23,105,170,0.08) 54% 56%, transparent 56% 64%, rgba(244,122,33,0.12) 64% 65%, transparent 65%);
    pointer-events: none;
}

.hero-slide {
    position: relative;
    z-index: 1;
}

.hero-slide-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    gap: 56px;
}

.hero-text {
    padding: 60px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.05;
    color: var(--brand-blue-dark);
    letter-spacing: 0;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 30px;
    max-width: 380px;
}

.hero-search-panel {
    width: min(100%, 560px);
    justify-self: end;
}

.hero-search-kicker {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--brand-orange-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 66px;
    margin: 0 0 14px;
    background: var(--white);
    border: 1px solid rgba(23, 105, 170, 0.2);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(23, 105, 170, 0.13);
    overflow: hidden;
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 16px 18px;
    color: var(--brand-petrol);
    font: inherit;
    font-size: 0.95rem;
    background: var(--white);
}

.hero-search input::placeholder {
    color: var(--muted);
}

.hero-search button {
    border: none;
    background: var(--brand-orange);
    color: var(--white);
    padding: 0 24px;
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-search button:hover {
    background: var(--brand-blue);
}

.hero-search-hint {
    max-width: 460px;
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-text .btn-dark {
    box-shadow: 0 14px 32px rgba(244, 122, 33, 0.18);
}

.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(23, 105, 170, 0.22);
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: var(--brand-orange);
}

/* ─── Marquee Bar ─── */
.marquee-bar {
    background: var(--brand-blue);
    padding: 16px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 48px;
    animation: marquee 25s linear infinite;
}

.marquee-track span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ─── Section Styles ─── */
.section {
    padding: 60px 0;
}

.section-header-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-header-center h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 8px;
}

.section-header-center p {
    color: var(--muted);
    font-size: 0.9rem;
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--brand-orange-dark);
    text-transform: uppercase;
}

/* ─── Categories Grid ─── */
.categories-section {
    padding: 50px 0;
    border-bottom: 1px solid var(--line);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.category-card:hover { transform: translateY(-4px); }

.category-card-img {
    aspect-ratio: 3/4;
    background: var(--brand-ice);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.category-icon {
    font-size: 4rem;
}

.category-card-name {
    padding: 14px 0 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-petrol);
    text-align: center;
}

.category-card-discover {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-warm);
    border-radius: 8px;
    aspect-ratio: 3/4;
}

.category-card-discover .category-card-text {
    text-align: center;
    padding: 24px;
}

.category-card-discover strong {
    display: block;
    font-size: 1.125rem;
    color: var(--brand-blue-dark);
    margin-bottom: 12px;
}

.discover-arrow {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--brand-orange);
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--brand-orange);
    transition: all 0.2s;
}

.category-card-discover:hover .discover-arrow {
    background: var(--brand-orange);
    color: var(--white);
}

/* ─── Category Strip ─── */
.category-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 30px;
    scrollbar-width: none;
}

.category-strip::-webkit-scrollbar { display: none; }

.category-strip a {
    flex-shrink: 0;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 100px;
    white-space: nowrap;
}

.category-strip a:hover,
.category-strip a.active {
    background: var(--brand-blue);
    color: var(--white);
    border-color: var(--brand-blue);
}

/* ─── Search Inline ─── */
.search-inline {
    display: flex;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto 30px;
}

.search-inline input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--line);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.search-inline input:focus { border-color: var(--brand-blue); }

.search-inline button {
    padding: 10px 24px;
    background: var(--brand-blue);
    color: var(--white);
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.search-inline button:hover {
    background: var(--brand-orange);
}

/* ─── Product Grid ─── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 16px;
}

.top-products-section {
    padding: 56px 0 24px;
    background: var(--white);
}

.top-products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.top-product-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.46fr) minmax(0, 0.54fr);
    gap: 24px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfe 100%);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.top-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 98, 174, 0.28);
}

.top-product-media {
    position: relative;
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.top-product-media picture,
.top-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    background: var(--white);
    transition: transform 0.4s ease;
}

.top-product-card:hover .top-product-media img {
    transform: scale(1.04);
}

.top-product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--brand-blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 4px;
}

.top-product-badge-ad {
    background: #b91c1c;
}

.top-product-info p {
    color: var(--brand-orange);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.top-product-info h3 {
    color: var(--brand-blue-dark);
    font-size: 1.28rem;
    line-height: 1.28;
    margin-bottom: 12px;
}

.top-product-info h3 a {
    color: inherit;
}

.top-product-info h3 a:hover {
    color: var(--brand-orange);
}

.top-product-info span {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.top-product-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 18px;
    padding: 11px 22px;
    background: var(--brand-orange);
    color: var(--white);
    border: 1px solid var(--brand-orange);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
}

.top-product-cta:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--white);
}

.product-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 32px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.product-section-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
}

.view-all-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-blue);
}

.view-all-link:hover {
    color: var(--brand-orange);
    text-decoration: underline;
}

/* ─── Product Card ─── */
.product-card {
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card-media {
    position: relative;
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 14px;
}

.product-card-media picture,
.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    background: var(--white);
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-media img {
    transform: scale(1.05);
}

.product-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    font-size: 3rem;
    font-weight: 800;
    color: #bfd8ec;
}

.product-badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand-orange);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    letter-spacing: 0;
}

.product-badge-ad {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #b91c1c;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0;
}

.product-card-info {
    padding: 0 4px;
}

.product-card-info h3 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brand-petrol);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-info h3 a { color: inherit; }
.product-card-info h3 a:hover { color: var(--brand-orange); }

.product-card-price {
    margin-bottom: 8px;
}

.price-category {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 500;
}

.product-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    padding: 10px 14px;
    background: var(--brand-blue);
    color: var(--white);
    border: 1px solid var(--brand-blue);
    border-radius: 6px;
    font-size: 0.86rem;
    font-weight: 700;
}

.product-card-cta:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: var(--white);
}

/* ─── Footer ─── */
.footer-main {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text);
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    font-size: 0.85rem;
    color: var(--text);
}

.footer-col ul a:hover { color: var(--brand-orange); }

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ─── Empty State ─── */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    border: 1px dashed var(--line);
}

.empty-state h2 {
    font-size: 1.5rem;
    color: var(--brand-blue-dark);
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto;
}

.empty-state code {
    background: var(--brand-ice);
    padding: 2px 6px;
    font-size: 0.85rem;
}

/* ─── Pagination ─── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-blue);
}

.pagination a:hover,
.pagination a.active {
    background: var(--brand-blue);
    color: var(--white);
    border-color: var(--brand-blue);
}

/* ─── PDP Breadcrumb ─── */
.pdp-breadcrumb {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--muted);
}

.breadcrumb a { color: var(--text); }
.breadcrumb a:hover { color: var(--brand-orange); }
.breadcrumb .current { color: var(--muted); }

/* ─── PDP Section ─── */
.pdp-section {
    padding: 50px 0;
}

.pdp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.pdp-main-image {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1/1;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
}

.pdp-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.pdp-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 800;
    color: #bfd8ec;
}

.pdp-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--brand-orange);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 12px;
    letter-spacing: 0;
}

.pdp-paid-ad {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    margin-bottom: 16px;
    background: #b91c1c;
    color: var(--white);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
}

/* ─── PDP Info ─── */
.pdp-info {
    padding-top: 10px;
}

.pdp-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--brand-orange-dark);
    margin-bottom: 12px;
}

.pdp-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: 16px;
}

.pdp-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.pdp-stars {
    color: var(--brand-orange);
    font-size: 0.9rem;
    letter-spacing: 0;
}

.pdp-review-count {
    font-size: 0.8rem;
    color: var(--muted);
}

.pdp-description {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.pdp-meta {
    margin-bottom: 20px;
}

.pdp-meta time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--muted);
}

.pdp-disclosure {
    padding: 12px 16px;
    background: var(--brand-warm);
    border: 1px solid #ffd7b5;
    color: #9a3f0b;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
}

.pdp-disclosure-paid {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #9f1239;
}

/* ─── PDP Actions ─── */
.pdp-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.pdp-btn-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    background: var(--brand-orange);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--brand-orange);
    padding: 14px 32px;
    transition: all 0.2s;
}

.pdp-btn-primary:hover {
    background: var(--brand-blue);
    color: var(--white);
    border-color: var(--brand-blue);
}

/* ─── PDP Features ─── */
.pdp-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
}

.pdp-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text);
}

.pdp-feature svg {
    flex-shrink: 0;
    color: var(--brand-blue);
}

/* ─── PDP Affiliate Links ─── */
.pdp-affiliate-links {
    margin-bottom: 24px;
}

.pdp-affiliate-links h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.pdp-affiliate-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid var(--line);
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--brand-petrol);
    transition: all 0.2s;
}

.pdp-affiliate-links a:hover {
    border-color: var(--brand-orange);
    background: var(--brand-warm);
    color: var(--brand-orange-dark);
}

/* ─── PDP Share ─── */
.pdp-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
}

.pdp-share > span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-blue-dark);
}

.pdp-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--brand-blue);
    transition: all 0.2s;
}

.pdp-share a:hover {
    background: var(--brand-blue);
    color: var(--white);
    border-color: var(--brand-blue);
}

/* ─── PDP Tabs ─── */
.pdp-tabs-section {
    padding: 0 0 60px;
}

.pdp-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 40px;
}

.pdp-tab {
    padding: 16px 32px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    transition: all 0.2s;
}

.pdp-tab:hover { color: var(--brand-orange); }

.pdp-tab.active {
    color: var(--brand-blue-dark);
    border-bottom-color: var(--brand-orange);
}

.pdp-tab-content {
    display: none;
    max-width: 800px;
}

.pdp-tab-content.active {
    display: block;
}

/* ─── PDP Article Content ─── */
.pdp-article-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text);
}

.pdp-article-content p { margin-bottom: 20px; }
.pdp-article-content p:last-child { margin-bottom: 0; }

.pdp-article-content h2 {
    color: var(--brand-blue-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 36px 0 14px;
    line-height: 1.2;
}

.pdp-article-content h2:first-child { margin-top: 0; }

.pdp-article-content h3 {
    color: var(--brand-petrol);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 28px 0 10px;
}

.pdp-article-content ul,
.pdp-article-content ol {
    margin: 0 0 20px;
    padding-left: 24px;
    list-style: revert;
}

.pdp-article-content li { margin-bottom: 8px; }

.pdp-article-content blockquote {
    border-left: 3px solid var(--brand-orange);
    padding: 16px 20px;
    margin: 24px 0;
    background: var(--brand-warm);
    color: var(--text);
    font-style: italic;
}

.pdp-article-content a {
    color: var(--brand-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pdp-article-content a:hover { opacity: 0.7; }

/* ─── PDP Details Grid ─── */
.pdp-details-grid {
    display: grid;
    gap: 0;
}

.pdp-detail-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
}

.pdp-detail-row:last-child { border-bottom: none; }

.pdp-detail-row span:first-child {
    font-weight: 600;
    color: var(--brand-blue-dark);
}

.pdp-detail-row span:last-child {
    color: var(--text);
}

/* ─── PDP Related ─── */
.pdp-related {
    border-top: 1px solid var(--line);
}

/* ─── Product Inline Link (in article content) ─── */
.product-inline-link {
    margin: 24px 0;
    padding: 18px;
    background: var(--brand-warm);
    border: 1px solid #ffd7b5;
    font-weight: 600;
    color: #9a3f0b;
}

.product-inline-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-left: 8px;
    padding: 8px 16px;
    background: var(--brand-orange);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
}

.product-inline-link a:hover {
    background: var(--brand-blue);
    color: var(--white);
}

/* ─── Legal Pages ─── */
.legal-page {
    padding: 70px 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
    gap: 56px;
    align-items: start;
}

.legal-hero {
    position: sticky;
    top: 120px;
}

.legal-hero h1 {
    color: var(--brand-blue-dark);
    font-size: 2.8rem;
    line-height: 1.05;
    margin: 8px 0 14px;
    letter-spacing: 0;
}

.legal-hero p:last-child {
    color: var(--text);
    max-width: 360px;
}

.legal-content {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.legal-content section + section {
    margin-top: 30px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.legal-content h2 {
    color: var(--brand-blue-dark);
    font-size: 1.2rem;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: 0;
}

.legal-content p,
.legal-content address {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.75;
    font-style: normal;
}

.legal-content p + p {
    margin-top: 10px;
}

.legal-content a {
    color: var(--brand-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    color: var(--brand-orange);
}

.legal-content code {
    background: var(--brand-ice);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.85em;
}

.legal-notice {
    background: var(--brand-warm);
    border: 1px solid #ffd7b5;
    border-radius: 8px;
    color: #9a3f0b;
    line-height: 1.6;
    margin-bottom: 28px;
    padding: 16px 18px;
}

/* ─── 404 ─── */
.error-404 {
    text-align: center;
    padding: 120px 24px;
}

/* ─── Product Card Image Hover Zoom ─── */
.product-card-media {
    position: relative;
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 14px;
}

.product-card-media picture,
.product-card-media img,
.product-card-media picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    background: var(--white);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-card-media img,
.product-card:hover .product-card-media picture img {
    transform: scale(1.08);
}

/* ─── Mobile Overlay ─── */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(23, 35, 45, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 920;
    width: 100%;
    max-width: 100%;
    display: none;
    flex-direction: column;
    background: var(--white);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 50px rgba(23, 35, 45, 0.14);
    transform: translateX(100%);
    transition: transform 0.28s ease;
}

.mobile-menu-panel.active {
    display: flex;
    transform: translateX(0);
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 86px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}

.mobile-menu-head .logo img {
    width: 165px;
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-ice);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--brand-blue);
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 18px 20px 24px;
    flex: 1;
    min-height: 0;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--brand-petrol);
    font-weight: 650;
    line-height: 1.25;
}

.mobile-menu-nav a.active,
.mobile-menu-nav a:hover {
    background: var(--brand-warm);
    border-color: #ffd7b5;
    color: var(--brand-orange-dark);
}

.mobile-menu-nav a.mobile-subcategory {
    min-height: 42px;
    margin-left: 18px;
    padding-left: 20px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
}

.mobile-menu-foot {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-top: 1px solid var(--line);
    flex-shrink: 0;
}

.mobile-menu-foot a {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ─── Back to Top ─── */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 90;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 12px 24px rgba(23, 105, 170, 0.22);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--brand-orange);
    transform: translateY(-2px);
}

/* ─── Cookie Consent Banner ─── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    background: var(--brand-petrol);
    color: #dfe8f1;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--container);
    margin: 0 auto;
}

.cookie-banner-inner p {
    font-size: 0.85rem;
    line-height: 1.5;
    flex: 1;
}

.cookie-banner-inner a {
    color: var(--white);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept {
    padding: 10px 24px;
    background: var(--white);
    color: var(--brand-blue-dark);
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.cookie-accept:hover { background: var(--brand-warm); }

.cookie-decline {
    padding: 10px 24px;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    font-weight: 500;
    font-size: 0.85rem;
}

.cookie-decline:hover { border-color: var(--white); }

/* ─── Sticky CTA Bar ─── */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 80;
    background: var(--white);
    border-top: 2px solid var(--brand-orange);
    box-shadow: 0 -8px 28px rgba(23, 105, 170, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 20px;
}

.sticky-cta-info {
    flex: 1;
    min-width: 0;
}

.sticky-cta-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--brand-blue-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-cta-info span {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0;
}

.sticky-cta-btn {
    flex-shrink: 0;
    padding: 12px 28px;
    font-size: 0.85rem;
}


/* Staggered reveal for grid children */
.product-card.reveal-on-scroll { transition-delay: 0s; }
.product-card.reveal-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.product-card.reveal-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.product-card.reveal-on-scroll:nth-child(4) { transition-delay: 0.24s; }

.testimonial-card.reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.testimonial-card.reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }

.feature-item.reveal-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.feature-item.reveal-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.feature-item.reveal-on-scroll:nth-child(4) { transition-delay: 0.24s; }

/* ─── Micro-interactions ─── */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn:hover::after {
    transform: translateX(0);
}

.category-strip a {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-strip a:hover {
    transform: translateY(-2px);
}

.product-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social a {
    transition: all 0.25s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.pdp-btn-primary {
    position: relative;
    overflow: hidden;
}

.pdp-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.08);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.pdp-btn-primary:hover::after {
    transform: scaleX(1);
}

.pdp-affiliate-links a {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-affiliate-links a:hover {
    transform: translateX(4px);
}

.pdp-share a {
    transition: all 0.25s ease;
}

.pdp-share a:hover {
    transform: scale(1.1);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .top-product-card {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .categories-grid .category-card:last-child {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .announcement-left,
    .announcement-right { display: none; }

    .announcement-bar .container { justify-content: center; }

    .main-nav { display: none; }

    .mobile-menu-toggle { display: flex; }

    .hero-slide-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-text { padding: 40px 0 20px; }

    .hero-title { font-size: 2.8rem; }

    .hero-search-panel {
        justify-self: stretch;
        width: 100%;
    }

    .top-products-grid {
        grid-template-columns: 1fr;
    }

    .top-product-card {
        grid-template-columns: minmax(160px, 0.42fr) minmax(0, 0.58fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .legal-hero {
        position: static;
    }

    .legal-hero h1 {
        font-size: 2.2rem;
    }

    /* PDP responsive */
    .pdp-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pdp-title { font-size: 1.75rem; }

    .pdp-tabs-section { padding-bottom: 40px; }

    .pdp-tab {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .pdp-detail-row {
        grid-template-columns: 130px 1fr;
    }

    /* Cookie banner responsive */
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-accept,
    .cookie-decline {
        flex: 1;
    }

    /* Sticky CTA responsive */
    .sticky-cta-info strong {
        font-size: 0.8rem;
    }

    .sticky-cta-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }

    .legal-page {
        padding: 42px 0;
    }

    .legal-content {
        padding: 22px;
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-search button {
        min-height: 48px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .top-product-card {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .top-product-info h3 {
        font-size: 1.1rem;
    }

    .pdp-actions {
        flex-direction: column;
    }

    .pdp-tab {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .pdp-detail-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
