/* ===== CSS Reset & Variables ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Brand colors — refined palette */
    --primary: #1B6B35;
    --primary-light: #2D8B4E;
    --primary-dark: #145228;
    --primary-gradient: linear-gradient(135deg, #1B6B35 0%, #2D8B4E 100%);
    --secondary: #F0F7F1;
    --secondary-light: #F7FBF8;
    --accent: #C8956C;
    --accent-dark: #B07D55;
    --accent-red: #D32F2F;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #FAFBFA;
    --gray-100: #F3F4F3;
    --gray-200: #E2E4E2;
    --gray-300: #C4C7C4;
    --gray-400: #9CA09C;
    --gray-500: #6B706B;
    --gray-600: #4A4F4A;
    --gray-700: #363B36;
    --gray-800: #252825;
    --gray-900: #141614;

    /* Functional */
    --red-500: #EF4444;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-blur: 16px;

    /* Shadows — premium depth with colored tints */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.04);
    --shadow-md: 0 4px 12px -2px rgb(27 107 53 / 0.06), 0 2px 4px -2px rgb(0 0 0 / 0.04);
    --shadow-lg: 0 12px 24px -4px rgb(27 107 53 / 0.08), 0 4px 8px -4px rgb(0 0 0 / 0.03);
    --shadow-xl: 0 20px 40px -8px rgb(27 107 53 / 0.1), 0 8px 16px -6px rgb(0 0 0 / 0.03);
    --shadow-2xl: 0 32px 64px -16px rgb(27 107 53 / 0.14);
    --shadow-glow: 0 0 30px -5px rgb(27 107 53 / 0.2);
    --shadow-gold: 0 8px 24px -4px rgb(200 149 108 / 0.2);

    /* Radius */
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    opacity: 1;
    transition: opacity 0.5s ease;
}

body.page-loading {
    opacity: 0;
}

::selection {
    background: rgba(27, 107, 53, 0.15);
    color: var(--primary-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== Scroll Reveal Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(3deg);
    }
}

@keyframes pulse-soft {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.85;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 2rem;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 14px -3px rgb(27 107 53 / 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 24px -4px rgb(27 107 53 / 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--secondary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* ===== Top Bar ===== */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    display: none;
    letter-spacing: 0.01em;
}

@media (min-width: 1024px) {
    .top-bar {
        display: block;
    }
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-out-expo);
}

.top-bar a:hover {
    color: var(--accent);
    transform: translateX(2px);
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 1px 0 rgba(27, 107, 53, 0.06);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.3s;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    display: none;
}

@media (min-width: 640px) {
    .logo-text {
        display: block;
    }
}

.logo-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.875rem;
    color: var(--primary);
    opacity: 0.7;
    margin-top: -0.125rem;
}

/* Navigation */
.nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav {
        display: flex;
    }
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    position: relative;
    transition: color 0.3s var(--ease-out-expo);
    padding: 0.25rem 0;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.4s var(--ease-out-expo);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    display: none;
}

@media (min-width: 1024px) {
    .header-cta {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--gray-700);
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Phone Link (visible only on mobile) */
.mobile-phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--primary);
    transition: color 0.3s;
}

.mobile-phone-link:hover {
    color: var(--primary-dark);
}

@media (min-width: 1024px) {
    .mobile-phone-link {
        display: none;
    }
}

/* Mobile: center logo, phone left, burger right */
@media (max-width: 1023px) {
    .header-inner {
        position: relative;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-phone-link {
        order: -1;
    }

    .mobile-menu-btn {
        margin-left: auto;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s var(--ease-out-expo), opacity 0.3s ease, padding 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.mobile-menu.open {
    max-height: 85vh;
    opacity: 1;
    padding: 1rem;
    overflow-y: auto;
}

@media (min-width: 1024px) {
    .mobile-menu {
        max-height: 0 !important;
        opacity: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    color: var(--gray-700);
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Mobile Submenu Accordion */
.mobile-submenu-parent {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-submenu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-submenu-header .mobile-nav-link {
    border-bottom: none;
    flex: 1;
}

.mobile-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    color: var(--gray-400);
    transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-submenu-parent.open .mobile-submenu-toggle {
    transform: rotate(180deg);
    color: var(--primary);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding-left: 1rem;
}

.mobile-submenu-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s, padding-left 0.2s;
    border-left: 2px solid var(--gray-100);
}

.mobile-submenu-link:hover {
    color: var(--primary);
    padding-left: 1rem;
    border-left-color: var(--primary);
}

.mobile-submenu-link:last-child {
    margin-bottom: 0.5rem;
}

.mobile-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(160deg, #F0F7F1 0%, #FAFBFA 40%, #FFFAF5 100%);
    padding: 2rem 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244, 250, 244, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-card-img {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.hero-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.hero-card:hover .hero-card-img img {
    transform: scale(1.03);
}

.hero-bg-circle-1 {
    position: absolute;
    top: 3rem;
    right: 5%;
    width: 22rem;
    height: 22rem;
    background: radial-gradient(circle, rgba(27, 107, 53, 0.06) 0%, transparent 70%);
    border-radius: var(--radius-full);
    animation: float 8s ease-in-out infinite;
}

.hero-bg-circle-2 {
    position: absolute;
    bottom: 3rem;
    left: 5%;
    width: 28rem;
    height: 28rem;
    background: radial-gradient(circle, rgba(200, 149, 108, 0.08) 0%, transparent 70%);
    border-radius: var(--radius-full);
    animation: floatSlow 10s ease-in-out infinite;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.02em;
}

.hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title-underline {
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 12px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 36rem;
}

.hero-mobile-image {
    margin-bottom: 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-mobile-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .hero-mobile-image {
        display: none;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-icon {
    width: 3rem;
    height: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s var(--ease-out-expo);
}

.trust-item:hover .trust-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.trust-title {
    font-weight: 600;
    color: var(--gray-900);
}

.trust-subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .hero-visual {
        display: block;
    }
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: 1.5rem;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(27, 107, 53, 0.05);
}

.hero-card-inner {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pharmacy-cross {
    position: relative;
    width: 8rem;
    height: 8rem;
}

@media (min-width: 768px) {
    .pharmacy-cross {
        width: 10rem;
        height: 10rem;
    }
}

.cross-h,
.cross-v {
    position: absolute;
    background: var(--primary);
    border-radius: var(--radius);
}

.cross-h {
    width: 100%;
    height: 33.33%;
    top: 50%;
    transform: translateY(-50%);
}

.cross-v {
    width: 33.33%;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.hero-card-circle-1 {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 5rem;
    height: 5rem;
    background: rgba(212, 165, 116, 0.3);
    border-radius: var(--radius-full);
}

.hero-card-circle-2 {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 4rem;
    height: 4rem;
    background: rgba(27, 94, 60, 0.2);
    border-radius: var(--radius-full);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-stat {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s var(--ease-out-expo);
}

.hero-stat:hover {
    transform: translateY(-2px);
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: Georgia, 'Times New Roman', serif;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.hero-badge-floating {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-gold);
    z-index: 20;
    animation: float 6s ease-in-out infinite;
    letter-spacing: 0.02em;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    color: var(--primary);
}

.scroll-indicator span {
    font-size: 0.875rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Section Styles ===== */
.section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 7rem 0;
    }
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3.5rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 1.5rem;
    height: 1px;
    background: var(--primary-gradient);
    opacity: 0.5;
}

.section-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* ===== News Section ===== */
.news-section {
    background: var(--white);
}

.news-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out-expo);
    transform-origin: left;
}

.news-card:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: translateY(-6px);
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card-header {
    padding: 1.5rem 1.5rem 0;
}

.news-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.news-card:hover .news-icon {
    transform: scale(1.1);
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.news-card:hover .news-title {
    color: var(--primary);
}

.news-card-body {
    padding: 0 1.5rem;
    flex-grow: 1;
}

.news-description {
    color: var(--gray-600);
    line-height: 1.75;
}

.news-card-footer {
    padding: 1.5rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: gap 0.3s;
}

.news-card:hover .news-link {
    gap: 0.75rem;
}

/* ===== Services Section ===== */
.services-section {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--white) 100%);
}

.services-grid {
    display: grid;
    gap: 2rem;
}

@media (max-width: 767px) {
    .services-section .container {
        padding-right: 0;
    }
    
    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding-bottom: 1.5rem;
        padding-right: 1.25rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .services-grid .service-card {
        flex: 0 0 68%;
        scroll-snap-align: start;
        min-width: 0;
        padding: 1.25rem;
    }
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Services swipe navigation (mobile only) */
.services-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.25rem;
    padding-bottom: 0.5rem;
}

.services-nav-arrow {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.services-nav-arrow:active {
    background: var(--secondary);
    border-color: var(--primary);
}

.services-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.services-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .services-nav {
        display: none;
    }
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.service-card:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: translateY(-6px);
    border-left-color: var(--primary);
}

.service-card-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background: var(--secondary);
    border-radius: var(--radius-full);
    transform: translate(50%, -50%);
    transition: transform 0.5s;
}

.service-card:hover .service-card-bg {
    transform: translate(50%, -50%) scale(1.5);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s var(--ease-out-expo);
    color: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--primary-gradient);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
    border-radius: var(--radius-xl);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.service-card:hover .service-title {
    color: var(--primary);
}

.service-description {
    color: var(--gray-600);
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

/* ===== Products Section ===== */
.products-section {
    background: var(--secondary);
}

/* Products grid (used on product detail & service pages) */
.products-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Scroll-snap carousel for products */
.products-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-scroll::-webkit-scrollbar {
    display: none;
}

.products-scroll .product-card {
    flex: 0 0 72%;
    scroll-snap-align: start;
    min-width: 0;
}

@media (min-width: 640px) {
    .products-scroll .product-card {
        flex: 0 0 46%;
    }
}

@media (min-width: 768px) {
    .products-scroll .product-card {
        flex: 0 0 31%;
    }
}

@media (min-width: 1024px) {
    .products-scroll .product-card {
        flex: 0 0 calc(25% - 1.125rem);
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--gray-100);
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: translateY(-6px);
    border-color: rgba(27, 107, 53, 0.15);
}

.product-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: all 0.4s var(--ease-out-expo);
}

.product-card:hover .product-icon {
    background: var(--primary-gradient);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.product-card-image {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
}

.product-card-image img {
    max-width: 100%;
    max-height: 130px;
    object-fit: contain;
    transition: transform 0.4s var(--ease-out-expo);
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-subtitle {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
    flex-grow: 1;
}

.product-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
    line-height: 1.3;
}

.product-card:hover .product-name {
    color: var(--primary);
}

.product-description {
    font-size: 0.875rem;
    color: var(--gray-500);
    flex-grow: 1;
}

.product-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--secondary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-arrow {
    color: var(--primary);
    transition: transform 0.3s;
    opacity: 0;
    transform: translateX(-10px);
}

.product-card:hover .product-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Products navigation (dots & arrows) */
.products-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.25rem;
    padding-bottom: 0.5rem;
}

.products-nav-arrow {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.products-nav-arrow:active {
    background: var(--secondary);
    border-color: var(--primary);
}

.products-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.products-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.products-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* Products nav always visible – carousel has more items than fit on screen */

.products-cta {
    text-align: center;
    margin-top: 3rem;
}

.products-cta p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

/* ===== Product Detail Page ===== */
.product-detail-page {
    background-color: var(--gray-50);
}

.product-detail-section {
    padding: 2rem 0 4rem;
}

.product-detail-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: visible;
}

.product-hero {
    padding: 4rem 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary);
}

.product-detail-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
    padding: 2rem;
}

@media (min-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
        padding: 3rem;
    }
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 320px 1fr 280px;
        gap: 2.5rem;
    }
}

.product-left-column {
    position: sticky;
    top: 6rem;
}

.product-image-container {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.5rem 5.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 360px;
    max-width: 360px;
    margin: 0 auto;
}



.product-image {
    width: 100%;
    height: 320px;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

.product-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: var(--primary);
    border-radius: var(--radius-xl);
}

.product-info-container {
    padding: 0;
}

.product-info-container .product-category {
    margin-bottom: 0.75rem;
    display: inline-block;
}

.product-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .product-title {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .product-title {
        font-size: 2.25rem;
    }
}

.product-subtitle {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-description {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-description p {
    margin-bottom: 1rem;
}

.product-actions {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.product-hint {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.product-hint svg {
    color: var(--primary);
}

/* ===== About Section ===== */
.about-section {
    background: var(--white);
    overflow: hidden;
}

.about-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.about-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .about-title {
        font-size: 2.75rem;
    }
}

.about-text {
    color: var(--gray-600);
    line-height: 1.75;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about-value-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--secondary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.about-value-title {
    font-weight: 600;
    color: var(--gray-900);
}

.about-value-subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.about-visual {
    position: relative;
}

.about-card {
    background: var(--primary-gradient);
    border-radius: var(--radius-2xl);
    padding: 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.about-card-img {
    position: relative;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    overflow: hidden;
}

.about-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out-expo);
}

.about-card:hover .about-card-img img {
    transform: scale(1.03);
}

.about-card-overlay {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    color: var(--gray-900);
}

.about-card-overlay .about-card-title {
    color: var(--gray-900);
}

.about-card-overlay .about-card-text {
    color: var(--gray-600);
}

.about-card-overlay .about-stat-value {
    color: var(--primary);
}

.about-card-overlay .about-stat-label {
    color: var(--gray-500);
}

.about-card-overlay .about-stat-icon {
    background: var(--secondary);
    color: var(--primary);
}

.about-card-circle-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    transform: translate(50%, -50%);
}

.about-card-circle-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 12rem;
    height: 12rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    transform: translate(-50%, 50%);
}

.about-card-content {
    position: relative;
    z-index: 1;
}

.about-card-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-card-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-stat {
    text-align: center;
}

.about-stat-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.about-stat-value {
    font-size: 1.875rem;
    font-weight: 700;
}

.about-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-floating-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    max-width: 16rem;
    display: none;
}

@media (min-width: 1024px) {
    .about-floating-card {
        display: block;
    }
}

.about-floating-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-floating-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(212, 165, 116, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.about-floating-title {
    font-weight: 700;
    color: var(--gray-900);
}

.about-floating-subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s var(--ease-out-expo);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    animation: pulse-soft 3s ease-in-out infinite;
}

.contact-card-title {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-card-text {
    color: var(--gray-600);
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 0.5rem;
    transition: gap 0.3s;
}

.contact-card-link:hover {
    gap: 0.75rem;
}

.contact-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    transition: color 0.3s;
    display: block;
}

.contact-phone:hover {
    color: var(--primary-dark);
}

.contact-email {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.3s;
    display: block;
}

.contact-email:hover {
    color: var(--primary-dark);
}

.contact-card-hours {
    flex-direction: column;
}

.contact-hours-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-hours-header .contact-card-title {
    margin: 0;
}

.contact-hours-list {
    margin-left: 4.5rem;
}

.contact-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    gap: 1.5rem;
}

.contact-hours-notdienst {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-hours-notdienst a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s, color 0.3s;
}

.contact-hours-notdienst a:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

.contact-hours-day {
    color: var(--gray-600);
}

.contact-hours-time {
    font-weight: 600;
    color: var(--gray-900);
}

.contact-hours-time.closed {
    color: var(--red-500);
}

.contact-map {
    background: var(--secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    position: relative;
}

@media (min-width: 1024px) {
    .contact-map {
        min-height: 500px;
    }
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-map-overlay {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 1rem;
}

.contact-map-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-map-title {
    font-weight: 700;
    color: var(--gray-900);
}

.contact-map-subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.contact-map-btn {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.875rem;
    transition: background 0.3s;
}

.contact-map-btn:hover {
    background: var(--primary-dark);
}

.contact-cta {
    margin-top: 4rem;
}

.contact-cta-inner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #1A4A2A 100%);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

@media (min-width: 768px) {
    .contact-cta-inner {
        padding: 3rem;
    }
}

.contact-cta-circle-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    transform: translate(-50%, -50%);
}

.contact-cta-circle-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12rem;
    height: 12rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    transform: translate(50%, 50%);
}

.contact-cta-content {
    position: relative;
    z-index: 1;
}

.contact-cta-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .contact-cta-title {
        font-size: 1.875rem;
    }
}

.contact-cta-text {
    color: rgba(255, 255, 255, 0.8);
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.contact-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .contact-cta-buttons {
        flex-direction: row;
    }
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, #243326 0%, #1A261C 50%, #131D15 100%);
    color: var(--white);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.footer-grid {
    display: grid;
    gap: 3rem;
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
}

.footer-logo-subtitle {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: -0.125rem;
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-link:hover {
    color: var(--white);
}

.footer-link-dot {
    width: 0.375rem;
    height: 0.375rem;
    background: var(--accent);
    border-radius: var(--radius-full);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item:hover {
    color: var(--white);
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

.footer-made {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
}

/* ===== Legal Pages ===== */
.legal-page {
    padding-top: 2rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .legal-title {
        font-size: 2.75rem;
    }
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* ===== Product Component Styles (New) ===== */
.product-actions {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.product-hint {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 1.5rem;
    text-align: center;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .action-buttons {
        flex-direction: row;
    }
}

@media (min-width: 640px) {
    .action-buttons .btn {
        flex: 1;
        justify-content: center;
    }
}

.product-badges {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    position: absolute;
    right: 1rem;
    left: 1rem;
    top: auto;
    bottom: 1rem;
    z-index: 5;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--secondary);
    color: var(--primary);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-details-accordion {
    margin-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.product-details-accordion details {
    border-bottom: 1px solid var(--gray-200);
}

.product-details-accordion summary {
    padding: 1.25rem 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-900);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s;
}

.product-details-accordion summary:hover {
    color: var(--primary);
}

.product-details-accordion summary::-webkit-details-marker {
    display: none;
}

.product-details-accordion .details-content {
    padding-bottom: 1.5rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.ingredients-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.25rem;
    table-layout: fixed;
}

.ingredients-table th,
.ingredients-table td {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: top;
    line-height: 1.45;
}

.ingredients-table tr:last-child th,
.ingredients-table tr:last-child td {
    border-bottom: 0;
}

.ingredients-table th {
    width: 68%;
    padding-right: 1rem;
    color: var(--gray-700);
    font-weight: 500;
    text-align: left;
}

.ingredients-table td {
    width: 32%;
    color: var(--gray-900);
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.ingredients-table .is-subingredient th {
    padding-left: 1.75rem;
    color: var(--gray-500);
    position: relative;
}

.ingredients-table .is-subingredient th::before {
    content: '↳';
    position: absolute;
    left: 0.5rem;
    color: var(--primary);
}

.ingredients-empty {
    color: var(--gray-500);
    font-style: italic;
}

@media (max-width: 480px) {
    .ingredients-table th {
        width: 62%;
    }

    .ingredients-table td {
        width: 38%;
        white-space: normal;
    }
}

.bg-light {
    background-color: var(--gray-50);
}

.text-center-mobile {
    text-align: center;
}

@media (min-width: 768px) {
    .text-center-mobile {
        text-align: left;
    }
}

/* ===== Dropdown Navigation ===== */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 50;
    border: 1px solid var(--gray-100);
}

/* Gap bridge to prevent dropdown closing */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.dropdown-link:hover {
    background: var(--gray-50);
    color: var(--primary);
    padding-left: 1.5rem;
}

.mobile-subnav {
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.mobile-subnav a {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

/* ===== E-Commerce / Shop Styles ===== */

/* Cart Link in Header */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    color: var(--gray-700);
    transition: all 0.3s;
}

.cart-link:hover {
    background: var(--secondary);
    color: var(--primary);
}

.cart-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    min-width: 1.25rem;
    height: 1.25rem;
    background: var(--accent);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
}

.mobile-cart-badge {
    position: static;
    margin-left: auto;
}

.mobile-shop-link,
.mobile-cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

/* Shop Page */
.shop-page {
    background: var(--gray-50);
}

.shop-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--white) 100%);
    padding: 3rem 0;
}

.shop-hero-content {
    max-width: 600px;
}

.shop-hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .shop-hero-title {
        font-size: 3rem;
    }
}

.shop-hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.shop-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 500;
}

.hero-badge-item svg {
    color: var(--primary);
}

/* Shop Filter */
.shop-filter {
    background: var(--white);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 5rem;
    z-index: 40;
}

.filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .filter-wrapper {
        flex-direction: row;
        align-items: center;
    }
}

.filter-label {
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-100);
    transition: all 0.3s;
    white-space: nowrap;
}

.filter-btn:hover {
    background: var(--secondary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.filter-results {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

@media (min-width: 768px) {
    .filter-results {
        margin-top: 0.5rem;
    }
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
    display: none;
}

@media (max-width: 767px) {
    .mobile-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        border-radius: var(--radius-full);
        border: 1.5px solid var(--gray-200);
        background: var(--white);
        color: var(--gray-600);
        font-size: 0.875rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s;
        margin-top: 0.5rem;
    }

    .mobile-filter-toggle svg {
        transition: transform 0.3s ease;
    }

    .mobile-filter-toggle.active {
        border-color: var(--primary);
        color: var(--primary);
    }

    .mobile-filter-toggle.active svg {
        transform: rotate(180deg);
    }

    .filter-categories {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        margin-top: 0 !important;
    }

    .filter-categories.open {
        margin-top: 0.75rem !important;
    }
}

/* Shop Products Grid */
.shop-products {
    padding: 3rem 0;
}

.shop-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .shop-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.shop-product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.shop-product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.stock-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

.stock-badge.in-stock {
    background: rgba(52, 160, 44, 0.1);
    color: var(--primary);
}

.stock-badge.out-of-stock {
    background: rgba(234, 51, 35, 0.1);
    color: var(--accent);
}

.shop-product-image {
    display: block;
    aspect-ratio: 1;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.3s;
}

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

.shop-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
}

.shop-product-info {
    padding: 1.25rem;
    flex-grow: 1;
}

.shop-product-category {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.shop-product-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    display: block;
    margin-bottom: 0.375rem;
    transition: color 0.3s;
    line-height: 1.3;
}

.shop-product-name:hover {
    color: var(--primary);
}

.shop-product-subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.shop-product-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.shop-product-price {
    display: flex;
    flex-direction: column;
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.price-info {
    font-size: 0.6875rem;
    color: var(--gray-500);
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
}

.btn-add-cart.added {
    background: var(--primary-dark);
}

.btn-add-cart .btn-text {
    display: none;
}

@media (min-width: 640px) {
    .btn-add-cart .btn-text {
        display: inline;
    }
}

/* Shop Info Banner */
.info-banner {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .info-banner {
        flex-direction: row;
        align-items: flex-start;
        padding: 2.5rem;
    }
}

.info-banner-icon {
    width: 4rem;
    height: 4rem;
    background: var(--secondary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.info-banner-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.info-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .info-steps {
        flex-direction: row;
        gap: 2rem;
    }
}

.info-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.step-number {
    width: 1.75rem;
    height: 1.75rem;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    color: var(--gray-600);
    line-height: 1.5;
}

/* No Products */
.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
}

.no-products p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

/* ===== Cart Page Styles ===== */
.cart-page {
    background: var(--gray-50);
}

.cart-section {
    padding: 2rem 0 4rem;
}

/* Cart Info Bar */
.cart-info-bar {
    background: rgba(52, 160, 44, 0.08);
    border: 1px solid rgba(52, 160, 44, 0.18);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.cart-info-bar-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gray-800);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.cart-info-bar .info-steps {
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .cart-info-bar .info-steps {
        flex-direction: row;
        gap: 2rem;
    }
}

.cart-info-bar .info-step {
    align-items: flex-start;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.step-detail {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.step-detail strong {
    color: var(--primary);
    font-weight: 700;
}

.cart-header {
    margin-bottom: 2rem;
}

.cart-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.cart-subtitle {
    color: var(--gray-500);
}

.cart-layout {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr 400px;
        align-items: start;
    }
}

/* Cart Empty State */
.cart-empty {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
}

.empty-icon {
    width: 5rem;
    height: 5rem;
    background: var(--secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.cart-empty h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

/* Cart List */
.cart-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 767px) {
    .cart-item {
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto;
    }

    .cart-item-quantity,
    .cart-item-subtotal {
        grid-column: 2;
    }

    .btn-remove-item {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
    }

    .cart-item {
        position: relative;
    }
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--gray-50);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.cart-item-placeholder {
    color: var(--gray-300);
}

.cart-item-name {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--gray-50);
    border-color: var(--primary);
    color: var(--primary);
}

.qty-value {
    min-width: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.cart-item-subtotal {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.125rem;
    white-space: nowrap;
}

.btn-remove-item {
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    color: var(--gray-400);
    cursor: pointer;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-remove-item:hover {
    background: rgba(234, 51, 35, 0.1);
    color: var(--accent);
}

/* Cart Sidebar */
.cart-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-summary {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.cart-summary h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--gray-600);
}

.summary-row.summary-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--gray-100);
}

.summary-note {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

/* Reservation Form */
.reservation-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.reservation-form h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 160, 44, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input {
    width: auto;
    margin-top: 0.25rem;
    accent-color: var(--primary);
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

.form-error {
    background: rgba(234, 51, 35, 0.1);
    color: var(--accent);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.btn-block {
    width: 100%;
}

/* Pickup Info */
.pickup-info {
    background: var(--secondary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.pickup-info h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.pickup-info p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pickup-info p:last-child {
    margin-bottom: 0;
}

.pickup-hours {
    font-size: 0.875rem;
}

/* Cart Success */
.cart-success {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.success-icon {
    width: 5rem;
    height: 5rem;
    background: rgba(52, 160, 44, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.cart-success h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.cart-success>p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.success-info {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.success-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-600);
}

.success-info-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 480px) {
    .success-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    padding: 1rem 1.5rem;
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    border: 1px solid var(--gray-100);
}

.cart-notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-content svg {
    color: var(--primary);
    flex-shrink: 0;
}

.notification-content span {
    color: var(--gray-700);
    font-weight: 500;
}

.notification-link {
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.notification-link:hover {
    text-decoration: underline;
}

.cart-notification-warning {
    border-color: #f59e0b;
}

.cart-notification-warning .notification-content svg {
    color: #f59e0b;
}

/* Product Detail Page Enhancements */
.product-price-box {
    background: var(--secondary);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-price-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.product-price-vat {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
}

.product-stock.in-stock {
    color: var(--primary);
}

.product-stock.low-stock {
    color: #f59e0b;
}

.product-stock.out-of-stock {
    color: var(--accent);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.quantity-selector label {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-minus,
.qty-plus {
    width: 2rem;
    height: 2rem;
    border: none;
    background: var(--gray-50);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: background 0.2s;
}

.qty-minus:hover,
.qty-plus:hover {
    background: var(--gray-100);
}

.quantity-input {
    width: 2.5rem;
    height: 2rem;
    border: none;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--white);
}

.quantity-input:focus {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.product-detail-page .action-buttons {
    flex-direction: column;
}

.product-detail-page .action-buttons .btn {
    width: 100%;
    justify-content: center;
}

/* Pulse animation for cart indicator */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.cart-badge.pulse {
    animation: pulse 0.5s ease-in-out 2;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 40;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
    pointer-events: none;
}

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

.back-to-top:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: translateY(-3px);
}

/* ===== Focus-Visible Accessibility ===== */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.btn:focus-visible {
    outline-offset: 3px;
}

/* ===== Footer Link Hover Underline ===== */


/* ===== Enhanced Service Card Shimmer ===== */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.service-card:hover::before {
    left: 100%;
}
/* ===== Mega Menu Additions ===== */
.dropdown-menu.mega-menu {
    width: 600px; /* Large width for mega menu */
    max-width: 90vw;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
}

.nav-item-dropdown:hover .dropdown-menu.mega-menu {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-item-dropdown:focus-within .dropdown-menu.mega-menu {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mega-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    transition: all 0.3s var(--ease-out-expo);
    border: 1px solid transparent;
}

.mega-menu-item:hover {
    background: var(--white);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.mega-menu-icon {
    color: var(--primary);
    background: rgba(27, 107, 53, 0.08); /* light primary tint */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-expo);
}

.mega-menu-item:hover .mega-menu-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.mega-menu-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
}


/* ===== 3-Column Product Update ===== */
.product-sidebar-container {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    position: sticky;
    top: 6rem;
}

@media (max-width: 1023px) {
    .product-sidebar-container {
        grid-column: 1 / -1;
        position: static;
        margin-top: 2rem;
    }
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 300px 1fr 300px !important;
        gap: 2rem !important;
    }
    
    .product-image-container {
        max-width: 100% !important;
        align-items: center;
    }
    
    .product-image {
        height: 360px !important;
        max-height: none !important;
    }
}

@media (min-width: 1200px) {
    .product-detail-grid {
        grid-template-columns: 350px 1fr 320px !important;
        gap: 2.5rem !important;
    }
}

@media (min-width: 1400px) {
    .product-detail-grid {
        grid-template-columns: 450px 1fr 350px !important;
        gap: 3rem !important;
    }
    
    .product-image {
        height: 440px !important;
        max-height: none !important;
    }
}

.w-100 { width: 100%; }

/* --- Notdienst Banner --- */
.notdienst-banner {
    background-color: var(--primary); /* using their primary color */
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.notdienst-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.notdienst-banner strong {
    font-weight: 600;
}

@media (max-width: 768px) {
    .notdienst-banner-inner {
        font-size: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
}

/* ===== Cookie Consent Banner ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.cookie-consent.visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 24px -4px rgb(0 0 0 / 0.08);
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--gray-800);
    font-size: 0.9375rem;
}

.cookie-consent-text p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-consent-buttons .btn {
    white-space: nowrap;
    font-size: 0.8125rem;
    padding: 0.625rem 1.25rem;
    width: 12.5rem;
}

.footer-cookie-settings {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible {
    text-decoration: underline;
}

.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 100000;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background: var(--gray-900);
    color: var(--white);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

body.mobile-menu-open {
    overflow: hidden;
}

.hl-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.form-status {
    min-height: 1.5em;
    margin-top: 0.75rem;
    color: var(--gray-700);
    font-size: 0.875rem;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .cookie-consent-buttons {
        width: 100%;
    }

    .cookie-consent-buttons .btn {
        flex: 1;
        width: auto;
    }
}

/* ===== Blog Archive Page (aktuelles.php) ===== */
.blog-hero {
    background-color: var(--secondary-light);
    padding: 4rem 0;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-out-expo);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-100);
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.blog-card-header {
    padding: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.blog-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: transform 0.4s var(--ease-spring);
}

.blog-card:hover .blog-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.blog-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-date-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.9375rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.blog-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    background: var(--gray-50);
    color: var(--gray-500);
    border: 1px solid var(--gray-100);
    letter-spacing: 0.02em;
}

.blog-footer {
    margin-top: auto;
    border-top: 1px solid var(--gray-100);
    padding: 1.25rem 2rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    transition: gap 0.3s var(--ease-out-expo);
}

.blog-card:hover .read-more {
    gap: 0.75rem;
}

.read-more:hover {
    color: var(--primary-dark);
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
        padding: 2rem 0;
    }

    .blog-hero {
        padding: 2.5rem 0;
    }
}

/* ===== Leistungen Overview Page ===== */
/* Ported from leistungen.php inline <style> */

.leistungen-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 6rem 0 4rem;
    color: white;
    text-align: center;
}

.leistungen-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 1rem;
}

.leistungen-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.leistungen-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.leistungen-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: white;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 50px;
    text-decoration: none;
    color: var(--gray-700);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.leistungen-nav a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.leistungen-section {
    padding: 3.5rem 0 1rem;
}

.leistungen-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
}

.leistungen-section-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.leistungen-section-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    margin: 0;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .leistungen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .leistungen-grid {
        grid-template-columns: 1fr;
    }
}

.leistung-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leistung-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.leistung-card-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.leistung-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.leistung-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.leistung-card-arrow {
    margin-top: 1rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== Themen Overview Page ===== */
/* Ported from themen.php inline styles */

.themen-hero {
    background: var(--primary-dark);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.themen-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.themen-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.themen-hero-label {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.themen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.themen-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--gray-100);
}

.themen-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.themen-card-image {
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}

.themen-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-out-expo);
}

.themen-card:hover .themen-card-image img {
    transform: scale(1.05);
}

.themen-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.themen-card-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.themen-card:hover .themen-card-title {
    color: var(--primary);
}

.themen-card-text {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.themen-card-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s var(--ease-out-expo);
}

.themen-card:hover .themen-card-link {
    gap: 0.75rem;
}

/* ===== Mobile usability refinements (v1.8.4) ===== */

/* Prevent grid and flex children from forcing narrow layouts wider. */
.product-detail-grid,
.product-detail-grid > *,
.contact-grid,
.contact-grid > *,
.contact-cards,
.contact-card,
.contact-map {
    min-width: 0;
}

.shop-load-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    text-align: center;
}

.shop-load-more[hidden],
.shop-product-card[hidden] {
    display: none;
}

.shop-load-status {
    min-height: 1.25rem;
    margin: 0;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Comfortable touch targets without changing the visual hierarchy. */
.mobile-menu-btn,
.mobile-phone-link,
.mobile-submenu-toggle,
.services-nav-arrow,
.products-nav-arrow,
.qty-btn,
.btn-remove-item,
.qty-minus,
.qty-plus {
    min-width: 44px;
    min-height: 44px;
}

.btn-add-cart,
.mobile-filter-toggle,
.cookie-consent-buttons .btn {
    min-height: 44px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.services-dot,
.products-dot {
    position: relative;
    width: 32px;
    height: 44px;
    background: transparent;
}

.services-dot::before,
.products-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gray-200);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, background 0.3s ease;
}

.services-dot.active,
.products-dot.active {
    width: 44px;
    background: transparent;
}

.services-dot.active::before,
.products-dot.active::before {
    width: 24px;
    background: var(--primary);
}

@media (max-width: 767px) {
    .services-nav,
    .products-nav {
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
    }

    .services-dots,
    .products-dots {
        flex: 0 1 160px;
        max-width: 160px;
        min-width: 0;
        justify-content: flex-start;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .services-dots::-webkit-scrollbar,
    .products-dots::-webkit-scrollbar {
        display: none;
    }

    .services-dot,
    .products-dot {
        flex: 0 0 32px;
    }

    .services-dot.active,
    .products-dot.active {
        flex-basis: 44px;
    }
}

@media (max-width: 767px) {
    .product-detail-section {
        padding-top: 1rem;
    }

    .product-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
        padding: 1.25rem;
    }

    .product-left-column {
        position: static;
        top: auto;
        width: 100%;
    }

    .product-image-container {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        padding: 1rem 1rem 4.5rem;
    }

    .product-image {
        height: clamp(180px, 56vw, 230px);
    }

    .product-sidebar-container {
        margin-top: 0.5rem;
        padding: 1.25rem;
    }

    .product-sidebar-container .btn-add-cart {
        min-height: 48px;
    }

    .ingredients-table th,
    .ingredients-table td,
    .product-description,
    .product-details-accordion,
    .details-content {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .shop-filter {
        position: static;
        top: auto;
        z-index: auto;
        padding: 1rem 0;
    }

    .filter-wrapper {
        gap: 0.5rem;
    }

    .filter-label {
        display: none;
    }

    .mobile-filter-toggle {
        width: 100%;
        justify-content: center;
        margin-top: 0;
    }

    .filter-results {
        margin-top: 0.75rem;
        text-align: center;
    }

    .filter-categories.open {
        padding-bottom: 0.25rem;
    }

    .btn-add-cart {
        min-width: 44px;
    }

    .qty-btn,
    .btn-remove-item,
    .qty-minus,
    .qty-plus {
        width: 44px;
        height: 44px;
    }

    .quantity-input {
        height: 44px;
    }

    .reveal-left,
    .reveal-right {
        transform: translateY(24px);
    }

    .reveal-left.revealed,
    .reveal-right.revealed {
        transform: translateY(0);
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        column-gap: 1rem;
        row-gap: 0.75rem;
        max-width: 100%;
    }

    .footer-bottom-links a,
    .footer-cookie-settings {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

@media (min-width: 400px) and (max-width: 639px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .shop-product-info,
    .shop-product-footer {
        padding: 1rem;
    }

    .shop-product-footer {
        gap: 0.5rem;
    }

    .shop-product-name {
        font-size: 1rem;
    }

    .price-amount {
        font-size: 1.1rem;
    }

    .shop-product-image img {
        padding: 1rem;
    }

    .stock-badge {
        top: 0.75rem;
        left: 0.75rem;
        padding-inline: 0.5rem;
    }
}

@media (max-width: 359px) {
    .product-detail-grid {
        padding: 1rem;
    }

    .product-image-container {
        padding-inline: 0.75rem;
    }

    .contact-grid {
        gap: 2rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-hours-list {
        margin-left: 0;
        width: 100%;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-consent-buttons .btn {
        width: 100%;
        flex: none;
        white-space: normal;
    }
}
