/* ════════════════════════════════════════════════════════════════
   RAFFiniertes – Site 3  |  idee-shop.com inspired design
   Font: Poppins | Colors: #1B0080 purple, #FF0D8C pink, #FFF white
   ════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Kalam', cursive, sans-serif;
    font-size: 15px;
    color: #222;
    background: #F5F5F5;
    line-height: 1.6;
}

a { color: #1B0080; text-decoration: none; }
a:hover { color: #FF0D8C; }

img { max-width: 100%; height: auto; }

/* ── Container ─────────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Test-Phase Banner ─────────────────────────────────────────── */
.testbanner {
    background: #FFD700;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 0;
    text-align: center;
    border-bottom: 3px solid #e6b800;
    letter-spacing: 0.3px;
}
.testbanner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Top info bar ──────────────────────────────────────────────── */
.topbar {
    background: #1B0080;
    color: #fff;
    font-size: 12px;
    padding: 6px 0;
}
.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.topbar span { display: flex; align-items: center; gap: 5px; }

/* ── Site header ───────────────────────────────────────────────── */
.site-header {
    background: #fff;
    border-bottom: 1px solid #E8E8E8;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-img {
    height: 44px;
    width: auto;
}
.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #1B0080;
    letter-spacing: -0.5px;
    font-family: 'Kalam', cursive;
}

/* Search */
.header-search {
    flex: 1;
    display: flex;
    max-width: 500px;
}
.search-input {
    flex: 1;
    border: 2px solid #E8E8E8;
    border-right: none;
    border-radius: 30px 0 0 30px;
    padding: 9px 18px;
    font-size: 14px;
    font-family: 'Kalam', cursive, sans-serif;
    outline: none;
    transition: border-color .2s;
}
.search-input:focus { border-color: #1B0080; }
.search-btn {
    background: #1B0080;
    color: #fff;
    border: none;
    border-radius: 0 30px 30px 0;
    padding: 9px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background .2s;
}
.search-btn:hover { background: #FF0D8C; }

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-left: auto;
}
.header-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #444;
    text-decoration: none;
    gap: 2px;
    transition: color .2s;
}
.header-icon-link:hover { color: #1B0080; }

/* Cart badge */
.cart-icon-wrap { position: relative; display: inline-flex; }
.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #FF0D8C;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* Free shipping indicator */
.free-ship-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #888;
    gap: 2px;
    cursor: default;
}
.free-ship-hint svg { stroke: #888; }
.free-ship-amount { font-weight: 600; }
.free-ship-ok svg { stroke: #2a9d4a; }
.free-ship-ok .free-ship-amount { color: #2a9d4a; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: auto;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1B0080;
    border-radius: 2px;
    transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Category navigation ───────────────────────────────────────── */
.cat-nav {
    background: #fff;
    border-bottom: 1px solid #E8E8E8;
    position: sticky;
    top: 69px;
    z-index: 190;
}
.cat-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-link {
    display: block;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
}
.cat-link:hover, .cat-link.active {
    color: #1B0080;
    border-bottom-color: #FF0D8C;
}

/* ── Mobile overlay nav ────────────────────────────────────────── */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 500;
    padding: 60px 0 30px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .3s ease;
    box-shadow: 4px 0 20px rgba(0,0,0,.15);
}
.mobile-nav-overlay.open { transform: translateX(0); }
.mobile-nav-overlay a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    border-bottom: 1px solid #F0F0F0;
    text-decoration: none;
}
.mobile-nav-overlay a:hover { color: #1B0080; background: #F7F0FF; }
.mobile-nav-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    width: auto;
    padding: 0;
}
.mobile-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 499;
}
.mobile-nav-backdrop.show { display: block; }

/* ── Main content ──────────────────────────────────────────────── */
.main-content {
    min-height: 60vh;
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 10px 26px;
    border-radius: 30px;
    font-family: 'Kalam', cursive, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .25s;
    text-decoration: none;
    text-align: center;
}
.btn-primary {
    background: #1B0080;
    color: #fff;
    box-shadow: 0 4px 12px rgba(27,0,128,.25);
}
.btn-primary:hover {
    background: #FF0D8C;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,13,140,.35);
    transform: translateY(-1px);
}
.btn-outline {
    background: #fff;
    color: #1B0080;
    border: 2px solid #1B0080;
}
.btn-outline:hover {
    background: #1B0080;
    color: #fff;
}
.btn-pink {
    background: #FF0D8C;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255,13,140,.25);
}
.btn-pink:hover {
    background: #1B0080;
    color: #fff;
    box-shadow: 0 4px 16px rgba(27,0,128,.35);
}
.btn-sm { padding: 7px 18px; font-size: 13px; }
.btn-block { display: block; width: 100%; }

/* ── Alerts / Messages ─────────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #e8f0ff; color: #1B0080; border: 1px solid #c5cff8; }

/* ── Section heading ───────────────────────────────────────────── */
.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #1B0080;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Kalam', cursive;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #FF0D8C;
    border-radius: 2px;
}
.section-title-center { text-align: center; }
.section-title-center::after { left: 50%; transform: translateX(-50%); }

/* ── HOME ──────────────────────────────────────────────────────── */
/* Hero */
.hero {
    background: linear-gradient(135deg, #1B0080 0%, #3d00b0 50%, #FF0D8C 100%);
    border-radius: 16px;
    padding: 60px 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
}
.hero-text { flex: 1; }
.hero-kicker {
    display: inline-block;
    background: rgba(255,255,255,.2);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 16px;
}
.hero h1 { font-size: 46px; font-weight: 700; line-height: 1.15; margin-bottom: 16px; font-family: 'Kalam', cursive; }
.hero p  { font-size: 16px; opacity: .9; margin-bottom: 28px; max-width: 460px; }
.hero-img {
    flex-shrink: 0;
    width: 160px;
    text-align: center;
}
.hero-img img { height: 140px; width: auto; filter: brightness(0) invert(1) opacity(.85); }

/* Free shipping bar */
.ship-bar-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    gap: 20px;
}
.ship-bar-icon { font-size: 28px; flex-shrink: 0; }
.ship-bar-text { flex: 1; }
.ship-bar-label { font-size: 13px; color: #666; margin-bottom: 6px; }
.ship-bar-track {
    height: 8px;
    background: #E8E8E8;
    border-radius: 4px;
    overflow: hidden;
}
.ship-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1B0080, #FF0D8C);
    border-radius: 4px;
    transition: width .4s ease;
}

/* Category tiles */
.cat-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}
.cat-tile {
    background: #fff;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    text-decoration: none;
    color: #222;
    transition: transform .25s, box-shadow .25s;
    border: 2px solid transparent;
}
.cat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(27,0,128,.12);
    border-color: #FF0D8C;
    color: #1B0080;
}
.cat-tile-icon { font-size: 36px; margin-bottom: 10px; display: block; }
.cat-tile-name { font-size: 15px; font-weight: 600; }

/* Featured products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Product card */
.product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(27,0,128,.14);
}
.product-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #F5F5F5;
}
.product-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.06); }
.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF0D8C;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
}
.product-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card-cat {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.product-card-name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.35;
    flex: 1;
    font-family: 'Kalam', cursive;
}
.product-card-price {
    font-size: 17px;
    font-weight: 700;
    color: #1B0080;
    margin-bottom: 12px;
}
.product-card-btn {
    display: block;
    background: #1B0080;
    color: #fff;
    text-align: center;
    padding: 9px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: 'Kalam', cursive, sans-serif;
    transition: background .2s, transform .2s;
    text-decoration: none;
}
.product-card-btn:hover {
    background: #FF0D8C;
    color: #fff;
    transform: none;
}
.product-unavail {
    font-size: 13px;
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 9px;
}

/* ── SHOP ──────────────────────────────────────────────────────── */
.shop-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    align-items: start;
}
.shop-sidebar {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky;
    top: 120px;
}
.sidebar-title {
    font-size: 14px;
    font-weight: 700;
    color: #1B0080;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F0F0F0;
}
.sidebar-cat-list { list-style: none; }
.sidebar-cat-list li { margin-bottom: 4px; }
.sidebar-cat-list a {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #444;
    text-decoration: none;
    transition: all .2s;
}
.sidebar-cat-list a:hover,
.sidebar-cat-list a.active {
    background: #F0E8FF;
    color: #1B0080;
    font-weight: 600;
}
.price-filter { margin-top: 20px; }
.price-filter label { font-size: 13px; display: block; margin-bottom: 4px; }
.price-filter input {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    font-family: 'Kalam', cursive, sans-serif;
    font-size: 14px;
    margin-bottom: 8px;
}
.shop-main {}
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}
.shop-count { font-size: 14px; color: #666; }
.shop-sort select {
    padding: 8px 14px;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    font-family: 'Kalam', cursive, sans-serif;
    font-size: 14px;
    color: #444;
}
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.no-products {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 16px;
}

/* ── PRODUCT DETAIL ────────────────────────────────────────────── */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.product-gallery-main {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #F5F5F5;
}
.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.product-gallery-thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
}
.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active { border-color: #FF0D8C; }

.product-info {}
.product-cat-link {
    display: inline-block;
    font-size: 12px;
    color: #999;
    background: #F5F5F5;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-decoration: none;
}
.product-name {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.2;
    font-family: 'Kalam', cursive;
}
.product-price {
    font-size: 30px;
    font-weight: 700;
    color: #1B0080;
    margin-bottom: 20px;
}
.product-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
}
.product-add-form { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.qty-input {
    width: 70px;
    padding: 10px;
    text-align: center;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Kalam', cursive, sans-serif;
    font-weight: 600;
}
.product-meta {
    font-size: 13px;
    color: #888;
    border-top: 1px solid #F0F0F0;
    padding-top: 16px;
    line-height: 1.8;
}

/* ── CART ──────────────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.cart-table-wrap {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    background: #F7F0FF;
    color: #1B0080;
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.cart-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #F5F5F5;
    vertical-align: middle;
    font-size: 14px;
}
.cart-table tr:last-child td { border-bottom: none; }
.cart-product-img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.cart-qty { width: 60px; padding: 6px; text-align: center; border: 1px solid #E8E8E8; border-radius: 6px; font-family: 'Kalam', cursive, sans-serif; }
.cart-remove { background: none; border: none; color: #ccc; cursor: pointer; font-size: 20px; transition: color .2s; padding: 0; width: auto; }
.cart-remove:hover { color: #FF0D8C; }
.cart-empty-msg { text-align: center; padding: 60px; color: #888; font-size: 16px; }

.cart-summary {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky;
    top: 120px;
}
.cart-summary h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1B0080;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F0F0F0;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
}
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: #1B0080;
    border-top: 2px solid #1B0080;
    padding-top: 14px;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Ship progress in cart */
.ship-progress-cart { margin-bottom: 20px; }
.ship-progress-label { font-size: 12px; color: #666; margin-bottom: 6px; }
.ship-track { height: 6px; background: #E8E8E8; border-radius: 3px; overflow: hidden; }
.ship-fill { height: 100%; background: linear-gradient(90deg, #1B0080, #FF0D8C); border-radius: 3px; }

/* ── CHECKOUT ──────────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.checkout-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    margin-bottom: 20px;
}
.checkout-card h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1B0080;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F0F0F0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkout-card h2 .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: #1B0080;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #E8E8E8;
    border-radius: 10px;
    font-family: 'Kalam', cursive, sans-serif;
    font-size: 14px;
    transition: border-color .2s;
    background: #fff;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #1B0080; outline: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    display: flex;
    align-items: center;
    gap: 14px;
}
.payment-option:has(input:checked) {
    border-color: #1B0080;
    background: #F7F0FF;
}
.payment-option input[type=radio] { width: 18px; height: 18px; accent-color: #1B0080; }
.payment-option-label { font-weight: 600; font-size: 14px; }
.payment-option-desc  { font-size: 12px; color: #888; }

.iban-info-box {
    background: #E8F0FF;
    border: 1px solid #1B0080;
    border-radius: 12px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.8;
    display: none;
}
.iban-info-box.visible { display: block; }
.iban-ref { font-size: 16px; font-weight: 700; color: #1B0080; }

/* Order summary sticky */
.order-summary-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky;
    top: 120px;
}
.order-summary-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1B0080;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F0F0F0;
}
.order-item { display: flex; justify-content: space-between; font-size: 13px; color: #555; margin-bottom: 8px; }
.order-total {
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    font-weight: 700;
    color: #1B0080;
    border-top: 2px solid #1B0080;
    padding-top: 12px;
    margin-top: 8px;
}

/* ── CONFIRMATION ───────────────────────────────────────────────── */
.confirm-card {
    background: #fff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.confirm-icon { font-size: 64px; margin-bottom: 16px; }
.confirm-card h1 { font-size: 26px; color: #1B0080; margin-bottom: 12px; }
.confirm-card p { color: #555; margin-bottom: 10px; }
.confirm-iban {
    background: #F7F0FF;
    border: 2px solid #1B0080;
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    text-align: left;
    font-size: 14px;
    line-height: 2;
}

/* ── ACCOUNT ────────────────────────────────────────────────────── */
.account-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.account-tab-btn {
    padding: 9px 22px;
    border-radius: 30px;
    border: 2px solid #1B0080;
    background: #fff;
    color: #1B0080;
    font-family: 'Kalam', cursive, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}
.account-tab-btn.active, .account-tab-btn:hover {
    background: #1B0080;
    color: #fff;
}
.account-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.order-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-table th {
    background: #F7F0FF;
    color: #1B0080;
    padding: 10px 14px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.order-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #F5F5F5;
    color: #444;
}
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.status-neu         { background: #e8f0ff; color: #1B0080; }
.status-bezahlt     { background: #d4edda; color: #155724; }
.status-versendet   { background: #fff3cd; color: #856404; }
.status-abgeschlossen { background: #d1ecf1; color: #0c5460; }
.status-storniert   { background: #f8d7da; color: #721c24; }

/* ── GALLERY ────────────────────────────────────────────────────── */
.gallery-grid {
    columns: 4;
    column-gap: 14px;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 14px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .25s;
    display: block;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; display: block; }

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close {
    position: absolute;
    top: 20px; right: 24px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    background: none; border: none; width: auto; padding: 0;
}

/* ── CONTACT ────────────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.contact-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.contact-info { font-size: 14px; color: #555; line-height: 2; }
.contact-info strong { color: #1B0080; }

/* ── IMPRESSUM / DATENSCHUTZ ────────────────────────────────────── */
.text-page {
    background: #fff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    max-width: 800px;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}
.text-page h2 { color: #1B0080; font-size: 18px; margin: 24px 0 8px; }
.text-page h3 { color: #333; font-size: 15px; margin: 16px 0 6px; }
.text-page p  { margin-bottom: 12px; }

/* ── ADMIN ──────────────────────────────────────────────────────── */
.admin-body { background: #F0F2F5; }
.admin-header {
    background: #1B0080;
    color: #fff;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}
.admin-header a { color: rgba(255,255,255,.8); text-decoration: none; margin-left: 16px; }
.admin-header a:hover { color: #FF0D8C; }
.admin-main { max-width: 1100px; margin: 30px auto; padding: 0 20px; }
.admin-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    margin-bottom: 24px;
}
.admin-card h2 { font-size: 18px; color: #1B0080; margin-bottom: 20px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
    background: #F7F0FF;
    color: #1B0080;
    padding: 10px 14px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.admin-table td { padding: 12px 14px; border-bottom: 1px solid #F5F5F5; vertical-align: middle; }
.admin-table tr:hover td { background: #FAFAFA; }
.admin-form label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 4px; margin-top: 14px; }
.admin-form input[type=text],
.admin-form input[type=number],
.admin-form input[type=email],
.admin-form input[type=password],
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    font-family: 'Kalam', cursive, sans-serif;
    font-size: 14px;
}
.admin-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1B0080, #3d00b0);
}
.admin-login-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    width: 360px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    text-align: center;
}
.admin-login-card h2 { color: #1B0080; margin-bottom: 24px; }
.admin-dash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
.admin-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.admin-stat-num { font-size: 32px; font-weight: 700; color: #1B0080; }
.admin-stat-label { font-size: 12px; color: #888; margin-top: 4px; }
.admin-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-nav a {
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    transition: all .2s;
}
.admin-nav a:hover { background: #1B0080; color: #fff; border-color: #1B0080; }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
    background: #1B0080;
    color: rgba(255,255,255,.85);
    margin-top: 60px;
}
.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}
.footer-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 18px;
}
.footer-col .footer-logo img { filter: brightness(0) invert(1) opacity(.9); height: 36px; width: auto; }
.footer-col p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.7); }
.footer-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: rgba(255,255,255,.5);
    margin-bottom: 14px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color .2s;
}
.footer-col a:hover { color: #FF0D8C; }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,.5);
    flex-wrap: wrap;
    gap: 8px;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */

/* Tablet: ≤ 992px */
@media (max-width: 992px) {
    .products-grid   { grid-template-columns: repeat(3, 1fr); }
    .shop-layout     { grid-template-columns: 1fr; }
    .shop-sidebar    { position: static; }
    .shop-grid       { grid-template-columns: repeat(2, 1fr); }
    .cat-tiles       { grid-template-columns: repeat(3, 1fr); }
    .footer-top      { grid-template-columns: 1fr 1fr; }
    .cart-layout     { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .contact-layout  { grid-template-columns: 1fr; }
    .product-detail  { grid-template-columns: 1fr; }
    .admin-dash-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid    { columns: 3; }
}

/* Mobile: ≤ 680px */
@media (max-width: 680px) {
    .topbar              { display: none; }
    .header-inner        { gap: 8px; padding: 10px 12px; }
    .logo-img            { height: 34px; }
    .logo-text           { font-size: 16px; }
    .header-search       { max-width: none; flex: 1; }
    .search-input        { padding: 8px 10px; font-size: 13px; }
    .search-btn          { padding: 8px 10px; }
    .free-ship-hint      { display: none; }
    .header-icon-link span:last-child { display: none; }
    .header-actions      { gap: 10px; }
    .hamburger           { display: flex; }
    .cat-nav             { display: none; }

    .products-grid       { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .shop-grid           { grid-template-columns: repeat(2, 1fr); }
    .cat-tiles           { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid        { columns: 2; }
    .footer-top          { grid-template-columns: 1fr; }

    .hero                { padding: 28px 16px; flex-direction: column; text-align: center; }
    .hero h1             { font-size: 28px; }
    .hero-img            { display: none; }
    .hero-kicker         { font-size: 11px; }

    /* Cart table: allow horizontal scroll on mobile */
    .cart-table-wrap     { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; }
    .cart-table          { min-width: 480px; }

    /* Reduce card padding on mobile */
    .checkout-card       { padding: 20px 16px; }
    .account-card        { padding: 20px 16px; }
    .contact-card        { padding: 20px 16px; }
    .cart-summary        { padding: 16px; }
    .admin-card          { padding: 16px; overflow-x: auto; }

    .form-row            { grid-template-columns: 1fr; }
    .admin-dash-grid     { grid-template-columns: 1fr 1fr; }

    .main-content        { padding: 16px 10px; }
    .confirm-card        { padding: 24px 16px; }
    .text-page           { padding: 24px 16px; }
    .ship-bar-wrap       { padding: 14px 16px; gap: 12px; }
    .ship-bar-icon       { font-size: 22px; }
}

/* Small mobile: ≤ 400px */
@media (max-width: 400px) {
    .logo-text     { display: none; }
    .products-grid { grid-template-columns: 1fr; }
    .cat-tiles     { grid-template-columns: 1fr; }
    .shop-grid     { grid-template-columns: 1fr; }
    .gallery-grid  { columns: 1; }
}
