/* ==========================================================================
   AGRINELEO-Shop – optisch an das Hauptdesign (css/style.css) angelehnt.
   Nutzt dieselben Farb-/Schrift-Variablen und Klassen wie die Hauptseite
   (.nav, .mobile-menu, .btn, .section-title …) und ergänzt nur die
   shop-spezifischen Bausteine (Varianten, Warenkorb, Checkout-Formular).
   ========================================================================== */

.shop-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 160px 20px 100px;
    color: var(--white);
}
.shop-wrap h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 42px;
    margin-bottom: 8px;
}
.shop-breadcrumb {
    font-size: 13px;
    letter-spacing: 0.03em;
    color: var(--grey);
    margin-bottom: 32px;
}
.shop-breadcrumb a { color: var(--gold); text-decoration: none; }
.shop-breadcrumb a:hover { text-decoration: underline; }

/* ---- "Shop startet in Kürze" / Hinweis-Teaser ---- */
.shop-soon {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200, 164, 90, 0.2);
    border-radius: 14px;
}
.shop-soon h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 34px;
    color: var(--gold);
    margin-bottom: 16px;
}
.shop-soon p { color: var(--grey); max-width: 540px; margin: 0 auto 24px; line-height: 1.7; }

.shop-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 420px;
    padding: 64px 36px;
    margin-bottom: 8px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200, 164, 90, 0.2);
}
.shop-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.shop-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13, 13, 11, 0.55), rgba(13, 13, 11, 0.88));
}
.shop-hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}
.shop-hero-content .eyebrow {
    display: block;
    text-align: center;
}
.shop-hero-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 18px;
}
.shop-hero-content p {
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 28px;
}
@media (max-width: 600px) {
    .shop-hero { min-height: 320px; padding: 44px 22px; border-radius: 12px; }
    .shop-hero-content h2 { font-size: 30px; }
}

/* ---- Produktdarstellung ---- */
.shop-produkt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 760px) {
    .shop-produkt { grid-template-columns: 1fr; }
}
.shop-produkt img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
.shop-produkt-beschreibung { color: var(--grey); line-height: 1.8; margin-bottom: 28px; }

.shop-varianten { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.shop-variante {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 16px 18px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.shop-variante:hover { border-color: rgba(200, 164, 90, 0.4); }
.shop-variante:has(input:checked) {
    border-color: var(--gold);
    background: rgba(200, 164, 90, 0.08);
}
.shop-variante-info { display: flex; align-items: center; gap: 14px; }
.shop-variante-name { font-weight: 600; display: block; }
.shop-variante-grundpreis { font-size: 12px; color: var(--grey); display: block; }
.shop-variante-preis { font-weight: 700; color: var(--gold); white-space: nowrap; font-size: 17px; }
.shop-variante-lagerstatus { font-size: 12px; color: #e07a6b; display: block; }

/* Eigenes Radio-Design statt Browser-Standard */
.shop-radio {
    position: relative;
    display: inline-flex;
    flex: none;
    width: 22px;
    height: 22px;
}
.shop-radio input[type="radio"] {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.shop-radio-dot {
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s, background 0.2s;
}
.shop-radio-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.18s ease;
}
.shop-radio input:checked ~ .shop-radio-dot { border-color: var(--gold); }
.shop-radio input:checked ~ .shop-radio-dot::after { transform: translate(-50%, -50%) scale(1); }
.shop-radio input:focus-visible ~ .shop-radio-dot { outline: 2px solid var(--gold); outline-offset: 2px; }
.shop-radio input:disabled ~ .shop-radio-dot { opacity: 0.4; }

.shop-menge-preis { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.shop-menge-preis label {
    margin: 0 !important;
    font-size: 13px;
    color: var(--grey);
}
.shop-menge-preis input[type="number"] {
    width: 76px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(200, 164, 90, 0.3);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font: 400 15px 'Inter', sans-serif;
}
.shop-menge-preis input[type="number"]:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(200, 164, 90, 0.06);
}

/* ---- Warenkorb-/Kasse-Tabelle ---- */
.shop-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 24px; }
.shop-table { width: 100%; min-width: 480px; border-collapse: collapse; margin-bottom: 0; }
.shop-table th, .shop-table td {
    text-align: left;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.shop-table th { color: var(--grey); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.shop-table .shop-sum-row td { border-bottom: none; padding-top: 18px; }
.shop-table .shop-sum-row strong { color: var(--gold); font-size: 17px; }
.shop-table input[type="number"] {
    width: 64px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(200, 164, 90, 0.3);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font: inherit;
}
.shop-table input[type="number"]:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(200, 164, 90, 0.06);
}
@media (max-width: 600px) {
    .shop-table { font-size: 14px; }
    .shop-table th, .shop-table td { padding: 10px 6px; }
}

/* ---- Buttons: shop verwendet zusätzlich eine dezente Outline-Variante ---- */
.btn-outline-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--white);
}
.btn-sm { padding: 10px 20px; font-size: 12px; }

/* ---- Checkout-Formular ---- */
.shop-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 8px; }
@media (max-width: 600px) { .shop-form-grid { grid-template-columns: 1fr; } }
.shop-form-grid .full { grid-column: 1 / -1; }

.shop-wrap label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.shop-wrap input[type="text"],
.shop-wrap input[type="email"],
.shop-wrap input[type="tel"],
.shop-wrap textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border-radius: 8px;
    border: 1px solid rgba(200, 164, 90, 0.3);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font: 400 15px 'Inter', sans-serif;
    color-scheme: dark;
    margin-bottom: 18px;
    transition: border-color 0.2s, background 0.2s;
}
.shop-wrap textarea { resize: vertical; min-height: 90px; }
.shop-wrap input:focus,
.shop-wrap textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(200, 164, 90, 0.06);
}

.shop-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 22px 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--grey);
    cursor: pointer;
}
.shop-checkbox-row a { color: var(--gold); }

/* Eigenes Checkbox-Design statt Browser-Standard */
.shop-checkbox {
    position: relative;
    display: inline-flex;
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}
.shop-checkbox input[type="checkbox"] {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.shop-checkbox-box {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 1.5px solid rgba(200, 164, 90, 0.5);
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s, border-color 0.2s;
}
.shop-checkbox-box::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--dark);
    border-width: 0 2px 2px 0;
    transform: rotate(40deg) scale(0);
    transition: transform 0.15s ease;
}
.shop-checkbox input:checked ~ .shop-checkbox-box {
    background: var(--gold);
    border-color: var(--gold);
}
.shop-checkbox input:checked ~ .shop-checkbox-box::after { transform: rotate(40deg) scale(1); }
.shop-checkbox input:focus-visible ~ .shop-checkbox-box { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---- Hinweise / Meldungen ---- */
.shop-alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; line-height: 1.6; }
.shop-alert-error { background: rgba(163, 58, 47, 0.2); border: 1px solid rgba(163, 58, 47, 0.6); color: #ffd9d3; }
.shop-alert-success { background: rgba(47, 122, 61, 0.2); border: 1px solid rgba(47, 122, 61, 0.6); color: #d6f0da; }

.shop-danke { text-align: center; padding: 60px 20px; }
.shop-danke h1 { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-weight: 400; }
