/* MayaMood - Premium RTL Farsi E-Commerce CSS */
/* <!-- ivp_ty7cdcvfp6wvp6be1ha9uacc --> */

/* ============================================
   FONT FACE
   ============================================ */
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* MayaMood Markenfarben (CR#832): Warm Ivory / Mocha / Olive Sage */
    --cream: #F4F0E8;       /* Warm Ivory */
    --sage: #7F8872;        /* Olive Sage */
    --charcoal: #6B5448;    /* Mocha */
    --border: #E3DCD1;
    --white: #ffffff;
    --light-sage: #A8B09C;
    --dark-sage: #67705B;
    --error: #c0392b;
    --success: #27ae60;
    --shadow-sm: 0 1px 3px rgba(45,45,45,0.08);
    --shadow-md: 0 4px 16px rgba(45,45,45,0.10);
    --shadow-lg: 0 8px 32px rgba(45,45,45,0.13);
    --radius: 4px;
    --radius-lg: 10px;
    --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    direction: rtl;
    text-align: right;
    background-color: var(--white);
    color: var(--charcoal);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--sage);
}

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   STICKY HEADER / NAV
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    /* ohne Schatten — ruhiger, minimaler Look (CR#832) */
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

/* Logo - right side (RTL). Kundenlogo, nur proportional skaliert. */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity var(--transition);
}

.site-logo:hover {
    opacity: 0.75;
}

.site-logo-full {
    height: 30px;
    width: auto;
    display: block;
}

.site-logo-mark {
    height: 30px;
    width: auto;
    display: none;
}

.footer-logo {
    height: 30px;
    width: auto;
    display: block;
    margin-bottom: 14px;
}

.search-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    color: var(--charcoal);
    transition: background-color var(--transition);
}

.search-link:hover {
    background-color: var(--cream);
}

.search-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

/* Nav - center */
.site-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav ul li a {
    display: block;
    padding: 6px 14px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--charcoal);
    border-radius: var(--radius);
    transition: background-color var(--transition), color var(--transition);
}

.site-nav ul li a:hover,
.site-nav ul li a.active {
    background-color: var(--cream);
    color: var(--charcoal);
}

/* Header actions - left side */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: background-color var(--transition);
}

.cart-link:hover {
    background-color: var(--cream);
    color: var(--charcoal);
}

.cart-link svg {
    width: 22px;
    height: 22px;
    stroke: var(--charcoal);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background-color: var(--sage);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}

.account-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal);
    border: 1px solid var(--border);
    border-radius: 99px;
    transition: all var(--transition);
}

.account-link:hover {
    background-color: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--charcoal);
    transition: all var(--transition);
    border-radius: 2px;
}

/* ============================================
   FLASH MESSAGES
   ============================================ */
.flash-message {
    padding: 14px 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid transparent;
    transition: opacity 0.4s ease;
}

.flash-message.success {
    background-color: #e8f5e9;
    color: #1b5e20;
    border-color: #a5d6a7;
}

.flash-message.error {
    background-color: #fce4ec;
    color: #b71c1c;
    border-color: #f48fb1;
}

.flash-message.info {
    background-color: #e3f2fd;
    color: #0d47a1;
    border-color: #90caf9;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background-color: var(--cream);
    padding: 96px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero bewusst ohne Verlauf — der Kunde will einen ruhigen, minimalen Auftritt (CR#832). */
.hero::before {
    content: none;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--sage);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--charcoal);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    font-weight: 300;
    color: #5a5a5a;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background-color: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--charcoal);
}

.btn-secondary {
    background-color: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.btn-secondary:hover {
    background-color: var(--charcoal);
    color: var(--white);
}

.btn-sage {
    background-color: var(--sage);
    color: var(--white);
    border-color: var(--sage);
}

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

.btn-sm {
    padding: 10px 22px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.0625rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section {
    padding: 80px 0;
}

.section-sm {
    padding: 48px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-title p {
    font-size: 1rem;
    color: #6b6b6b;
    max-width: 480px;
    margin: 0 auto 20px;
}

.section-title .title-line {
    width: 48px;
    height: 3px;
    background-color: var(--sage);
    margin: 0 auto;
    border-radius: 2px;
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1.1;
    background-color: var(--cream);
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    box-shadow: var(--shadow-md);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

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

.category-card-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px 16px 16px;
    background: linear-gradient(to top, rgba(45,45,45,0.75) 0%, transparent 100%);
}

.category-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    display: block;
}

.category-card-count {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.75);
}

/* Category placeholder (no image) */
.category-card-placeholder {
    background-color: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    aspect-ratio: 1 / 1;
    text-decoration: none;
    transition: all var(--transition);
}

.category-card-placeholder:hover {
    background-color: var(--sage);
    border-color: var(--sage);
}

.category-card-placeholder:hover .category-card-placeholder-name {
    color: var(--white);
}

.category-card-placeholder-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    transition: color var(--transition);
}

/* ============================================
   PRODUCT GRID & CARDS
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-card-image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: var(--cream);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

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

.product-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cream);
}

.product-card-image-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: var(--border);
    fill: none;
}

.product-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--sage);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 99px;
}

.product-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
}

.product-card-category {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-card-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.4;
    flex: 1;
}

.product-card-name a {
    color: inherit;
}

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

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

.product-card-price .currency {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #888;
    margin-right: 4px;
}

.product-card-footer {
    padding: 0 16px 16px;
}

.product-card-footer .btn {
    width: 100%;
}

/* ============================================
   ABOUT SECTION (2-column)
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content .eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--sage);
    text-transform: uppercase;
}

.about-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.about-content p {
    font-size: 1rem;
    color: #5a5a5a;
    line-height: 1.8;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: box-shadow var(--transition), transform var(--transition);
}

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

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: var(--cream);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

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

.blog-card-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-card-date {
    font-size: 0.8125rem;
    color: #888;
    font-weight: 400;
}

.blog-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.5;
}

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

.blog-card-excerpt {
    font-size: 0.875rem;
    color: #6b6b6b;
    line-height: 1.7;
    flex: 1;
}

.blog-card-more {
    margin-top: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sage);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    color: var(--charcoal);
    background-color: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    direction: rtl;
}

.form-control:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(143,175,139,0.15);
}

.form-control.error {
    border-color: var(--error);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.field-error {
    font-size: 0.8125rem;
    color: var(--error);
    margin-top: 2px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-info-value {
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--charcoal);
    color: var(--cream);
    padding: 64px 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(245,240,235,0.1);
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(245,240,235,0.65);
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav ul li a {
    font-size: 0.9rem;
    color: rgba(245,240,235,0.65);
    transition: color var(--transition);
}

.footer-nav ul li a:hover {
    color: var(--cream);
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(245,240,235,0.65);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(245,240,235,0.45);
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.cart-items {
    flex: 1;
}

.cart-summary {
    width: 320px;
    flex-shrink: 0;
    background-color: var(--cream);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
    position: sticky;
    top: 96px;
}

.cart-summary h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.9375rem;
    color: var(--charcoal);
}

.cart-summary-row.total {
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 16px;
    font-weight: 700;
    font-size: 1rem;
}

.cart-summary-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.cart-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item:first-child {
    padding-top: 0;
}

.cart-item-image {
    width: 80px;
    height: 100px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--cream);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.cart-item-price {
    font-size: 0.9rem;
    color: #6b6b6b;
    margin-bottom: 12px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-btn {
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition);
}

.qty-btn:hover {
    background-color: var(--cream);
}

.qty-input {
    width: 48px;
    height: 34px;
    border: none;
    border-right: 1.5px solid var(--border);
    border-left: 1.5px solid var(--border);
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--charcoal);
    outline: none;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8125rem;
    color: #999;
    transition: color var(--transition);
    text-decoration: underline;
    padding: 0;
}

.cart-item-remove:hover {
    color: var(--error);
}

.cart-item-subtotal {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--charcoal);
    text-align: left;
    white-space: nowrap;
}

.cart-empty {
    text-align: center;
    padding: 80px 0;
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    stroke: #ccc;
    fill: none;
    margin: 0 auto 20px;
}

.cart-empty h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.cart-empty p {
    color: #888;
    margin-bottom: 24px;
}

/* ============================================
   CHECKOUT FORM
   ============================================ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: flex-start;
}

.checkout-form-section {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.checkout-form-section h2 {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.checkout-order-summary {
    background-color: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: sticky;
    top: 96px;
}

.checkout-order-summary h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 16px;
}

/* ============================================
   ACCOUNT PAGES (Login/Register)
   ============================================ */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 72px);
    padding: 48px 0;
    background-color: var(--cream);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin: 0 24px;
}

.auth-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.auth-card .auth-subtitle {
    font-size: 0.9rem;
    color: #6b6b6b;
    margin-bottom: 28px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #6b6b6b;
}

.auth-footer a {
    color: var(--sage);
    font-weight: 600;
}

.auth-footer a:hover {
    color: var(--dark-sage);
}

/* ============================================
   ACCOUNT PAGE
   ============================================ */
.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: flex-start;
}

.account-sidebar {
    background-color: var(--cream);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
}

.account-welcome {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.account-welcome h2 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--charcoal);
}

.account-welcome p {
    font-size: 0.875rem;
    color: #6b6b6b;
}

.account-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-sidebar-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: background-color var(--transition);
}

.account-sidebar-nav a:hover {
    background-color: rgba(143,175,139,0.15);
    color: var(--charcoal);
}

.account-sidebar-nav a.logout {
    color: var(--error);
    margin-top: 8px;
}

.account-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.account-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.account-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    padding: 10px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #888;
    text-align: right;
    border-bottom: 1px solid var(--border);
}

.orders-table td {
    padding: 14px 12px;
    font-size: 0.9rem;
    color: var(--charcoal);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.pending {
    background-color: #fff3e0;
    color: #e65100;
}

.status-badge.processing {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-badge.shipped {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-badge.completed {
    background-color: #e8f5e9;
    color: #1b5e20;
}

.status-badge.cancelled {
    background-color: #fce4ec;
    color: #880e4f;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    border: 1.5px solid var(--border);
    transition: all var(--transition);
    color: var(--charcoal);
}

.pagination a:hover {
    background-color: var(--sage);
    border-color: var(--sage);
    color: var(--white);
}

.pagination span.current {
    background-color: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--white);
}

.pagination span.dots {
    border-color: transparent;
    background: none;
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: flex-start;
}

.product-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    background-color: var(--cream);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 100px;
}

.product-detail-category {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-detail-name {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.product-detail-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
}

.product-detail-price .currency {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

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

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

.product-stock::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
}

.product-detail-desc {
    font-size: 0.9375rem;
    color: #5a5a5a;
    line-height: 1.8;
}

.product-add-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.product-add-form-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Related Products */
.related-products {
    margin-top: 80px;
    padding-top: 64px;
    border-top: 1px solid var(--border);
}

/* ============================================
   BLOG POST PAGE
   ============================================ */
.blog-post-hero {
    width: 100%;
    aspect-ratio: 21/9;
    overflow: hidden;
    background-color: var(--cream);
    margin-bottom: 48px;
}

.blog-post-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    max-width: 760px;
    margin: 0 auto;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: #888;
}

.blog-post-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

.blog-post-body {
    font-size: 1.0625rem;
    color: #3d3d3d;
    line-height: 1.9;
}

.blog-post-body p {
    margin-bottom: 1.25em;
}

.blog-post-body h2, .blog-post-body h3 {
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 32px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sage);
}

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-header {
    background-color: var(--cream);
    padding: 48px 0 32px;
    margin-bottom: 48px;
}

.shop-header h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.shop-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.category-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.category-tab {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1.5px solid var(--border);
    color: var(--charcoal);
    transition: all var(--transition);
}

.category-tab:hover,
.category-tab.active {
    background-color: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--white);
}

.search-form {
    display: flex;
    gap: 0;
}

.search-form input {
    padding: 10px 16px;
    border: 1.5px solid var(--border);
    border-left: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 0.9rem;
    outline: none;
    width: 220px;
}

.search-form button {
    padding: 10px 18px;
    background-color: var(--charcoal);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color var(--transition);
}

.search-form button:hover {
    background-color: var(--sage);
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.about-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
}

.about-hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(45,45,45,0.45);
    z-index: -1;
    margin: -60px;
}

.about-hero-overlay h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.about-hero-overlay p {
    font-size: 1.125rem;
    opacity: 0.9;
    font-weight: 300;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background-color: var(--white);
    transition: box-shadow var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--sage);
    fill: none;
    stroke-width: 1.8;
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.9375rem;
    color: #6b6b6b;
    line-height: 1.7;
}

/* ============================================
   PAGE HERO (Generic)
   ============================================ */
.page-hero {
    background-color: var(--cream);
    padding: 56px 0;
    margin-bottom: 48px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.625rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}

.page-hero p {
    margin-top: 8px;
    font-size: 1rem;
    color: #6b6b6b;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404 {
    text-align: center;
    padding: 100px 0;
}

.error-404-number {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
    opacity: 0.08;
    display: block;
    margin-bottom: -20px;
}

.error-404 h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.error-404 p {
    font-size: 1rem;
    color: #6b6b6b;
    max-width: 480px;
    margin: 0 auto 32px;
}

/* ============================================
   SUCCESS PAGE / STATES
   ============================================ */
.success-state {
    text-align: center;
    padding: 64px 0;
}

.success-state svg {
    width: 64px;
    height: 64px;
    stroke: var(--success);
    fill: none;
    margin: 0 auto 20px;
}

.success-state h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.success-state p {
    font-size: 1rem;
    color: #6b6b6b;
    margin-bottom: 24px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sage { color: var(--sage); }
.text-muted { color: #888; }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.hidden { display: none; }

/* Divider */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 48px 0;
}

/* Background utilities */
.bg-cream { background-color: var(--cream); }
.bg-charcoal { background-color: var(--charcoal); }

/* ============================================
   RESPONSIVE - TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-grid {
        gap: 40px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .checkout-layout {
        grid-template-columns: 1fr 320px;
        gap: 24px;
    }

    .product-detail-layout {
        gap: 40px;
    }

    .account-layout {
        grid-template-columns: 220px 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Mobil das Monogramm statt des breiten Wortmarken-Logos (CR#832). */
    .site-logo-full {
        display: none;
    }

    .site-logo-mark {
        display: block;
        height: 32px;
    }

    .site-nav {
        display: none;
        position: fixed;
        top: 72px;
        right: 0;
        left: 0;
        background-color: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 16px;
        flex-direction: column;
        z-index: 999;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
    }

    .site-nav ul li a {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 64px 0 48px;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        margin-bottom: 32px;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .cart-layout {
        flex-direction: column;
    }

    .cart-summary {
        width: 100%;
        position: static;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-order-summary {
        position: static;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-detail-info {
        position: static;
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-post-hero {
        aspect-ratio: 16/9;
        margin-bottom: 28px;
    }

    .about-hero {
        height: 280px;
    }

    .orders-table th,
    .orders-table td {
        padding: 8px 8px;
        font-size: 0.8125rem;
    }

    .error-404-number {
        font-size: 6rem;
    }

    .search-form input {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

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

    .product-card-body {
        padding: 12px;
    }

    .product-card-footer {
        padding: 0 12px 12px;
    }

    .product-card-footer .btn {
        padding: 10px 14px;
        font-size: 0.8125rem;
    }
}
