
.order-history-link {
    margin: 8px 0 20px;
    font-size: 11px;
}

.order-history-link a {
    text-decoration: none;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--text);
    padding-bottom: 1px;
}

.order-history-link a:hover { opacity: 0.6; }

.cart-empty {
    color: var(--muted);
    font-style: italic;
    font-size: 13px;
    padding: 24px 0;
}

/* ════════════════════════════════════════
   WARENKORB LAYOUT
════════════════════════════════════════ */
.warenkorb-layout {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.products-section {
    flex: 1;
    padding: 48px 24px 64px;
    min-width: 0;
}

.products-section > h3 {
    font-family: 'Arial', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 32px;
}

/* ── Artikel (identisch zum Shop) ── */
.products {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

article {
    display: flex;
    gap: 28px;
    align-items: center;
    background: var(--bg);
    padding: 28px 24px;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: visible;
    transition: background 0.2s;
}

article:last-child {
    border-bottom: 1px solid var(--border);
}

article:hover { background: var(--card); }

/* Ghost number stamp */
article::before {
    content: attr(data-num);
    position: absolute;
    top: 8px; right: 20px;
    font-family: 'Arial', sans-serif;
    font-size: 5rem;
    color: rgba(152,152,152,0.114);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

body.dark article::before { color: rgba(255,255,255,0.04); }

/* Left accent bar on hover */
article::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--text);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s ease;
}

article:hover::after { transform: scaleY(1); }

/* ── Image tilt ── */
.img-wrap {
    flex-shrink: 0;
    width: 210px; height: 210px;
    overflow: visible;
}

.img-wrap img {
    width: 250px; height: 225px;
    object-fit: cover;
    display: block;
    box-shadow: 6px 6px 4px rgba(127, 127, 127, 0.331);
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), box-shadow 0.35s ease;
}

article:nth-child(odd)  .img-wrap img { transform: rotate(-3deg); }
article:nth-child(even) .img-wrap img { transform: rotate(2.5deg); }

article:hover .img-wrap img {
    transform: rotate(0deg) scale(1.04) !important;
    box-shadow: 8px 8px 8px rgba(174, 174, 174, 0.427);
}

/* ── Product info ── */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-info h4 {
    font-family: 'Arial', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 0.05em;
    color: var(--text);
    line-height: 1;
}

.product-info .price {
    font-family: 'Arial Narrow', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.cart-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    color: var(--muted);
}

.menge-zeile {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.menge-zeile input {
    width: 52px;
    background: var(--bg);
    border: 1.5px solid var(--text);
    color: var(--text);
    padding: 4px 8px;
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    text-align: center;
}

.cart-actions {
    display: flex;
    gap: 15px;
    margin-top: 4px;
}

.cart-actions button {
    font-size: 11px;
    padding: 6px 9px;
    
}

.lieferung {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ════════════════════════════════════════
   KASSE
════════════════════════════════════════ */
.kasse {
    width: 380px;
    flex-shrink: 0;
    padding: 48px 28px;
    position: sticky;
    top: 0;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 14px;
    
}

.kasse h2 {
    font-family: 'Arial', sans-serif;
    font-size: 3rem;
    letter-spacing: 0.1em;
}

.kasse p, .kasse-zeile {
    font-size: 14px;
    color: var(--muted);
}

.kasse-zeile {
    display: flex;
    justify-content: space-between;
}

.kasse hr {
    border: none;
    border-top: 1px solid var(--border);
}

.kasse-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: var(--text);
    font-family: 'Arial Narrow', sans-serif;
}

.kasse #BezahlButton {
    width: 100%;
    margin-top: 8px;
    font-size: 15px;
    padding: 14px;
}

/* ════════════════════════════════════════
   EMPFEHLUNGEN
════════════════════════════════════════ */
.empfehlungen-section {
    padding: 48px 24px 64px;   
}

.empfehlungen-section > h3 {
    font-family: 'Arial', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 32px;
}

.empfehlungen {
    display: flex;
    flex-direction: row;
    gap: 2px;
}

.emp-artikel {
    flex: 1;
    display: flex;
    gap: 20px;
    align-items: center;
    background: rgba(0, 0, 0, 0.031);
    padding: 28px 24px;
    border-right: 1px solid var(--border);
    position: relative;
    overflow: visible;
    transition: background 0.2s;
    cursor: pointer;
    border-top: none;
}

.emp-artikel:last-child {
    border-right: none;
    border-bottom: none;
    border-top: none;
}

.emp-artikel:hover { background: rgba(0, 0, 0, 0.116); }


.emp-artikel::before {
    content: attr(data-num);
    position: absolute;
    top: 8px; right: 20px;
    font-size: 5rem;
    color: rgba(152,152,152,0.114);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.emp-artikel::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--text);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s ease;
}

.emp-artikel:hover::after { transform: scaleY(1); }


.emp-artikel .img-wrap {
    width: 125px;
    height: 125px;
    flex-shrink: 0;
}

.emp-artikel .img-wrap img {
    width: 137px;
    height: 130px;
    object-fit: cover;
    box-shadow: 6px 6px 4px rgba(138, 138, 138, 0.423);
}

.emp-artikel:nth-child(odd)  .img-wrap img { transform: rotate(-3deg); }
.emp-artikel:nth-child(even) .img-wrap img { transform: rotate(2.5deg); }

.emp-artikel:hover .img-wrap img {
    transform: rotate(0deg) scale(1.04) !important;
    box-shadow: 6px 6px 8px rgba(138, 138, 138, 0.391);
}

.emp-artikel .product-info {
    gap: 27px;
}

.emp-artikel .product-info h4 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.emp-artikel .product-info button {
    font-size: 11px;
    padding: 6px 9px;
}
