/* Eshop styling - integrovany s globalnym 'text-torty' stylom stranky */

/* Eshop nadpis a väčšia medzera pred tabmi */
.eshop-title {
    margin-bottom: 28px;
}
.eshop-taby-wrap {
    clear: both;
    max-width: 1100px;
    margin: 0 auto 36px;
    padding: 0 20px;
}
.eshop-taby {
    margin: 0;
    line-height: 2.4;
}

/* Tabs */
.kat-tab {
    text-decoration: none;
    color: #4b4342;
    padding: 4px 12px;
    border-bottom: 2px solid transparent;
}
.kat-tab.active {
    border-bottom-color: #b8a4dd;
    font-weight: bold;
}

/* Product grid */
.eshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}
.eshop-karta {
    background: #fff;
    border: 2px solid #d6c6f0;     /* pastelová ružová */
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
}
.eshop-karta:hover {
    box-shadow: 0 6px 18px rgba(214, 198, 240, 0.4);
    transform: translateY(-2px);
}
.eshop-foto-link {
    display: block;
    line-height: 0;     /* eliminate phantom whitespace below img */
    font-size: 0;
}
.eshop-foto {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.eshop-foto-placeholder {
    background: #f3eae6;
    width: 100%;
    aspect-ratio: 1 / 1;
}
/* Override global h1-h6 { padding-top: 200px } from style.css */
.eshop-karta h4,
.eshop-detail h4,
.eshop-form h4 {
    padding-top: 0 !important;
    text-align: center;
    line-height: 1.25;
}
.eshop-karta h4 {
    font-size: 16px;
    margin: 8px 0 4px;
}
.eshop-karta h4 a {
    color: #4b4342;
    text-decoration: none;
}
.eshop-cena {
    font-weight: bold;
    color: #b8a4dd;
    margin: 4px 0;
}
.eshop-cena small { color: #888; font-weight: normal; }
.eshop-cena-velka {
    font-size: 22px;
    color: #b8a4dd;
    font-weight: bold;
    margin: 6px 0 18px;
}
.eshop-min {
    font-size: 12px;
    color: #888;
    margin: 0 0 8px;
}

/* Buttons — modernized for accessibility (WCAG AA contrast) */
.eshop-btn, .eshop-btn-primary, .eshop-btn-link {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    border: 2px solid #6b4ea0;
    background: #fff;
    color: #4d3877;
    margin: 4px;
    letter-spacing: .2px;
    transition: all .18s ease;
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
}
.eshop-btn:hover, .eshop-btn:focus-visible {
    background: #f3edff;
    color: #3a2a5e;
    border-color: #4d3877;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(77, 56, 119, .18);
    outline: none;
}
.eshop-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(77, 56, 119, .15);
}
.eshop-btn-primary {
    background: linear-gradient(135deg, #7d5fb0 0%, #5a3f8c 100%);
    border-color: #5a3f8c;
    color: #fff;
    padding: 13px 28px;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(90, 63, 140, .35);
}
.eshop-btn-primary:hover, .eshop-btn-primary:focus-visible {
    background: linear-gradient(135deg, #6b4ea0 0%, #4a3275 100%);
    border-color: #4a3275;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(90, 63, 140, .45);
    outline: none;
}
.eshop-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(90, 63, 140, .35);
}
.eshop-btn:disabled, .eshop-btn[disabled],
.eshop-btn-primary:disabled, .eshop-btn-primary[disabled] {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.eshop-btn-link {
    border: none;
    background: transparent;
    color: #5a3f8c;
    text-decoration: none;
    padding: 11px 14px;
    font-weight: 500;
}
.eshop-btn-link:hover, .eshop-btn-link:focus-visible {
    color: #3a2a5e;
    background: #f3edff;
    text-decoration: none;
    outline: none;
}

/* Cart action rows */
.eshop-cart-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 16px 0 18px;
}
.eshop-cart-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 22px 0 8px;
    padding-top: 18px;
    border-top: 1px solid #eee5f7;
}
.eshop-cart-actions .eshop-btn-primary {
    margin-left: auto;
}
@media (max-width: 520px) {
    .eshop-cart-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .eshop-cart-actions .eshop-btn-primary,
    .eshop-cart-actions .eshop-btn-link {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
}

/* Detail */
.eshop-grid,
.eshop-detail {
    clear: both;          /* clear .container-torty float: left */
}
.eshop-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
    align-items: flex-start;
}
.eshop-detail-foto {
    flex: 1 1 320px;
    min-width: 280px;
}
.eshop-detail-foto img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
/* True crossfade slideshow — dva stackované obrázky, prelínanie bez bieleho prechodu */
.eshop-detail-foto-stack {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
}
.eshop-detail-foto-stack img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.eshop-detail-foto-stack img.is-visible {
    opacity: 1;
}
.eshop-detail-info {
    flex: 1 1 380px;
    min-width: 280px;
    text-align: left;
}
.eshop-dodanie {
    background: #fef5e6;
    border-left: 3px solid #fab85b;
    padding: 8px 12px;
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 0 6px 6px 0;
}
.eshop-alergeny,
.eshop-trvanlivost {
    background: #fbf9ff;
    border-left: 3px solid #d6c6f0;
    padding: 8px 12px;
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
}
.eshop-alergeny small {
    display: block;
    margin-top: 4px;
    color: #888;
    font-size: 12px;
    line-height: 1.4;
}

/* Klikateľný odkaz na alergeny.pdf */
.eshop-alergeny-link {
    color: #5a5a5a;
    text-decoration: none;
    border-bottom: 1px dashed #9d7fc7;
    padding-right: 14px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%239d7fc7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M9 3H6'/><path d='M9 3v3'/><path d='M9 3L4.5 7.5'/><path d='M3 4.5v4.5h4.5'/></svg>") no-repeat right center / 11px 11px;
    transition: color .15s, border-color .15s;
}
.eshop-alergeny-link:hover {
    color: #9d7fc7;
    border-bottom-color: #7d5fb0;
}
.eshop-alergeny-link-small {
    color: #9d7fc7;
    text-decoration: underline;
}
.eshop-alergeny-link-small:hover {
    color: #7d5fb0;
}

/* ── Rozbaľovacie alergény ── */
.eshop-alergeny-details {
    background: linear-gradient(135deg, #fef3d6 0%, #fde0ec 100%);
    border-left: 3px solid #f8c8d8;
    border-radius: 0 8px 8px 0;
    margin: 8px 0;
    overflow: hidden;
    transition: box-shadow .2s ease;
}
.eshop-alergeny-details[open] {
    box-shadow: 0 4px 12px rgba(153, 53, 86, .12);
}
.eshop-alergeny-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #993556;
    list-style: none;
    user-select: none;
}
.eshop-alergeny-details summary::-webkit-details-marker { display: none; }
.eshop-alergeny-details summary:hover {
    background: rgba(255, 255, 255, .35);
}
.eshop-alergeny-summary-text {
    flex: 1;
    line-height: 1.5;
}
.eshop-alergeny-summary-text b {
    color: #993556;
    margin-right: 4px;
}
.eshop-alergeny-cisla {
    font-weight: 700;
    color: #993556;
    font-size: 15px;
    letter-spacing: 0.3px;
}
/* ── Rozbaľovacie zloženie výrobku ── */
.eshop-zlozenie-details {
    background: #f6fbff;
    border-left: 3px solid #b8d6f0;
    border-radius: 0 8px 8px 0;
    margin: 8px 0;
    overflow: hidden;
    transition: box-shadow .2s ease;
}
.eshop-zlozenie-details[open] {
    box-shadow: 0 4px 12px rgba(58, 74, 122, .12);
}
.eshop-zlozenie-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #3a4a7a;
    list-style: none;
    user-select: none;
}
.eshop-zlozenie-details summary::-webkit-details-marker { display: none; }
.eshop-zlozenie-details summary:hover {
    background: rgba(184, 214, 240, .15);
}
.eshop-zlozenie-summary-text {
    flex: 1;
    line-height: 1.5;
}
.eshop-zlozenie-summary-text b {
    color: #3a4a7a;
}
.eshop-zlozenie-content {
    padding: 4px 16px 14px;
    background: rgba(255, 255, 255, .55);
    border-top: 1px solid rgba(184, 214, 240, .25);
}
.eshop-zlozenie-content p {
    margin: 10px 0 0;
    font-size: 13.5px;
    color: #4b4342;
    line-height: 1.65;
    text-align: justify;
}

/* ── Rozbaľovacie skladovanie a doba spotreby ── */
.eshop-trvanlivost-details {
    background: #fbf9ff;
    border-left: 3px solid #d6c6f0;
    border-radius: 0 8px 8px 0;
    margin: 8px 0;
    overflow: hidden;
    transition: box-shadow .2s ease;
}
.eshop-trvanlivost-details[open] {
    box-shadow: 0 4px 12px rgba(157, 127, 199, .12);
}
.eshop-trvanlivost-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #5a3a8c;
    list-style: none;
    user-select: none;
}
.eshop-trvanlivost-details summary::-webkit-details-marker { display: none; }
.eshop-trvanlivost-details summary:hover {
    background: rgba(157, 127, 199, .08);
}
.eshop-trvanlivost-summary-text {
    flex: 1;
    line-height: 1.5;
}
.eshop-trvanlivost-summary-text b {
    color: #5a3a8c;
}
.eshop-trvanlivost-content {
    padding: 4px 16px 14px;
    background: rgba(255, 255, 255, .55);
    border-top: 1px solid rgba(157, 127, 199, .12);
}
.eshop-trvanlivost-content p {
    margin: 10px 0 0;
    font-size: 13.5px;
    color: #4b4342;
    line-height: 1.55;
}

/* ── Zjednotená rozbaľovacia šípka pre všetky <details> v eshope ── */
.eshop-collapse-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(157, 127, 199, .15);
    color: #5a3a8c;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    transition: transform .25s ease, background .15s ease;
    margin-left: 10px;
}
details[open] > summary > .eshop-collapse-toggle {
    transform: rotate(180deg);
    background: rgba(157, 127, 199, .28);
}

.eshop-alergeny-content {
    padding: 4px 16px 14px;
    background: rgba(255, 255, 255, .55);
    border-top: 1px solid rgba(153, 53, 86, .1);
}
.eshop-alergeny-hint {
    font-size: 12.5px;
    color: #6d4858;
    margin: 10px 0 8px;
    line-height: 1.45;
}
.eshop-alergeny-zoznam {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}
@media (min-width: 520px) {
    .eshop-alergeny-zoznam {
        grid-template-columns: 1fr 1fr;
        gap: 4px 12px;
    }
}
.eshop-alergeny-zoznam li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 12.5px;
    line-height: 1.35;
    transition: background .12s ease;
}
.eshop-alergeny-zoznam li.is-active {
    background: rgba(153, 53, 86, .12);
    color: #2a2030;
    font-weight: 600;
}
.eshop-alergeny-zoznam li.is-inactive {
    color: #aaa1ad;
    opacity: .6;
}
.eshop-alergen-cislo {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ece6f4;
    color: #6d6573;
    border-radius: 50%;
    font-weight: 700;
    font-size: 11px;
}
.eshop-alergeny-zoznam li.is-active .eshop-alergen-cislo {
    background: #993556;
    color: #fff;
}
.eshop-alergen-nazov {
    flex: 1;
}
.eshop-alergen-check {
    flex-shrink: 0;
    color: #993556;
    font-weight: 700;
    font-size: 14px;
}
.eshop-alergeny-warning {
    margin: 8px 0 0;
    padding: 8px 10px;
    background: rgba(250, 184, 91, .15);
    border-left: 3px solid #fab85b;
    border-radius: 0 6px 6px 0;
    font-size: 11.5px;
    color: #6b4a0e;
    line-height: 1.5;
}

.eshop-zaloha {
    background: #fff5e0;
    border-left: 3px solid #d3a64f;
    padding: 8px 12px;
    margin: 12px 0;
}

/* Doručenie — vyhľadanie mesta + výpočet ceny */
.eshop-dorucenie-search {
    background: #fff;
    border: 2px solid #d6c6f0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
}
.eshop-dorucenie-search > label {
    display: block;
    color: #5a5a5a;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}
.eshop-dorucenie-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.eshop-dorucenie-row input[type="text"] {
    flex: 1 1 220px;
    min-width: 0;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 15px;
    color: #4b4342;
    background: #fbf9ff;
    border: 2px solid #d6c6f0;
    border-radius: 8px;
    transition: border-color .15s, box-shadow .15s;
}
.eshop-dorucenie-row input[type="text"]:focus {
    outline: none;
    border-color: #9d7fc7;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(157, 127, 199, 0.18);
}
.eshop-dorucenie-row input[type="text"]::placeholder { color: #b7a8a4; }
.eshop-dorucenie-row button {
    padding: 11px 22px;
    background: #9d7fc7;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.eshop-dorucenie-row button:hover { background: #7d5fb0; }
.eshop-dorucenie-row button:disabled { background: #b8a4dd; cursor: wait; }

.eshop-dorucenie-vysledok {
    margin-top: 12px;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.55;
}
.eshop-dorucenie-vysledok.ok {
    background: #f6f0fb;
    border: 1px dashed #b8a4dd;
    color: #5a5a5a;
}
.eshop-dorucenie-vysledok.ok b.suma {
    color: #7d5fb0;
    font-size: 18px;
}
.eshop-dorucenie-vysledok.err {
    background: #fde8e8;
    border-left: 3px solid #d33;
    color: #a02020;
}
.eshop-dorucenie-vysledok.err a { color: #a02020; text-decoration: underline; }
.eshop-dorucenie-vysledok.loading {
    background: #fbf9ff;
    color: #8a7d7c;
    font-style: italic;
}

/* "Pridať do košíka" je deaktivované, pokým sa nevypočíta cena */
.eshop-form button[type="submit"]:disabled,
.eshop-form input[type="submit"]:disabled {
    background: #d6c6f0;
    cursor: not-allowed;
    opacity: 0.7;
}

/* TEST MÓD banner — len lokálne testovanie */
.eshop-test-banner {
    background: #fff5e0;
    border: 2px dashed #d3a64f;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 0 0 18px;
    color: #6e5424;
    font-size: 14px;
    line-height: 1.55;
}
.eshop-test-banner code {
    background: #fef0d4;
    padding: 1px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Courier New', monospace;
    font-size: 12px;
}

/* Rezervačná zmluva — blok pre svadobné rezervácie */
.eshop-zmluva-blok {
    background: #f6f0fb;
    border: 2px solid #b8a4dd;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 18px 0;
}
.eshop-zmluva-blok h4 {
    margin: 0 0 10px;
    color: #5a3a8c;
    padding-top: 0;
}
.eshop-zmluva-blok .eshop-info {
    margin: 0 0 12px;
    line-height: 1.55;
    color: #4b4342;
}
.eshop-zmluva-zhrnutie {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}
.eshop-zmluva-zhrnutie li {
    position: relative;
    padding: 6px 0 6px 24px;
    color: #4b4342;
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px dashed #e8dcf4;
}
.eshop-zmluva-zhrnutie li:last-child { border-bottom: none; }
.eshop-zmluva-zhrnutie li::before {
    content: "✓";
    position: absolute;
    left: 4px;
    top: 6px;
    color: #9d7fc7;
    font-weight: bold;
}
.eshop-zmluva-blok label {
    display: block;
    font-weight: 600;
    color: #5a3a8c;
    cursor: pointer;
    padding: 8px 0;
}
.eshop-zmluva-blok label input[type="checkbox"] {
    margin-right: 6px;
    accent-color: #9d7fc7;
}
.eshop-zmluva-note {
    margin: 4px 0 0;
    color: #6e6363;
}

/* ── Zaujímavosť — rozkliknuteľný blok (rovnaká štruktúra ako ostatné) ── */
.eshop-zaujimavost {
    background: #f6f0fb;
    border-left: 3px solid #c4b5e0;
    border-radius: 0 8px 8px 0;
    padding: 0;
    margin: 8px 0;
    overflow: hidden;
    transition: box-shadow .2s ease;
}
.eshop-zaujimavost[open] {
    box-shadow: 0 4px 12px rgba(157, 127, 199, .12);
}
.eshop-zaujimavost summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #5a3a8c;
    list-style: none;
    user-select: none;
}
.eshop-zaujimavost summary::-webkit-details-marker { display: none; }
.eshop-zaujimavost summary:hover {
    background: rgba(157, 127, 199, .12);
}
.eshop-zaujimavost-summary-text {
    flex: 1;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 8px;
}
.eshop-zaujimavost-summary-text b {
    color: #5a3a8c;
}
.eshop-zaujimavost-ikona {
    font-size: 16px;
    flex-shrink: 0;
}
.eshop-zaujimavost p {
    margin: 10px 0 0;
    padding: 0 16px 14px;
    color: #4b4342;
    font-size: 13.5px;
    line-height: 1.65;
    text-align: justify;
}

/* Forms — 2 a 3 stĺpcové riadky pre adresu/firma */
.eshop-row-2,
.eshop-row-3 {
    display: grid;
    gap: 14px;
}
.eshop-row-2 { grid-template-columns: 1fr 1fr; }
.eshop-row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) {
    .eshop-row-2, .eshop-row-3 { grid-template-columns: 1fr; }
}
.eshop-row-2 label,
.eshop-row-3 label { margin: 0; }

/* Radio – typ zákazníka */
.eshop-radio {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin-right: 18px !important;
    padding: 6px 14px;
    background: #fbf9ff;
    border: 2px solid #d6c6f0;
    border-radius: 8px;
    cursor: pointer;
}
.eshop-radio input { margin: 0; }

/* Firemné údaje sekcia */
.eshop-firma-pole {
    background: #fbf9ff;
    border-left: 3px solid #d6c6f0;
    padding: 6px 18px 14px;
    margin: 14px 0 8px;
    border-radius: 6px;
}

/* Forms */
.eshop-form label {
    display: block;
    margin: 12px 0;
    font-weight: 500;
}
.eshop-form input[type="text"],
.eshop-form input[type="email"],
.eshop-form input[type="tel"],
.eshop-form input[type="date"],
.eshop-form input[type="number"],
.eshop-form select,
.eshop-form textarea {
    display: block;
    width: 100%;
    max-width: 420px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 4px;
    font-family: inherit;
}
/* Predvyplnený text (placeholder) v slabo sivej farbe — odlíšenie od reálnej hodnoty */
.eshop-form input::placeholder,
.eshop-form textarea::placeholder {
    color: #b7a8a4;
    opacity: 1;          /* Firefox má default opacity 0.5 */
    font-style: italic;
}
.eshop-form input::-webkit-input-placeholder,
.eshop-form textarea::-webkit-input-placeholder {
    color: #b7a8a4;
    font-style: italic;
}
.eshop-form input::-moz-placeholder,
.eshop-form textarea::-moz-placeholder {
    color: #b7a8a4;
    opacity: 1;
    font-style: italic;
}
.eshop-form input:-ms-input-placeholder,
.eshop-form textarea:-ms-input-placeholder {
    color: #b7a8a4;
    font-style: italic;
}
.eshop-form input[type="checkbox"],
.eshop-form input[type="radio"] {
    margin-right: 6px;
}
.eshop-form h4 {
    margin-top: 24px;
    border-bottom: 1px solid #ecdcd8;
    padding-bottom: 4px;
}

/* Cart table — kompaktný prehľadný layout */
.eshop-tabulka {
    width: 100%;
    max-width: 900px;
    margin: 14px auto;
    border-collapse: collapse;
    font-size: 14px;            /* zmenšené z default ~17px na 14px */
    line-height: 1.35;
}
.eshop-tabulka th, .eshop-tabulka td {
    padding: 6px 8px;            /* znížené z 10px → 6px 8px */
    border-bottom: 1px solid #ecdcd8;
    text-align: left;
    vertical-align: middle;
}
.eshop-tabulka th {
    background: #f9f1ed;
    font-size: 12px;             /* hlavička ešte menšia */
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
    color: #6d5a55;
    padding: 8px 8px;
}
.eshop-tabulka td {
    color: #3a2f2c;
}
.eshop-tabulka tfoot td {
    font-size: 15px;
    padding-top: 10px;
}
.eshop-tabulka tfoot td b {
    color: #5a3a8c;
}
/* Cena/spolu na pravo, čisle aj button vystredene/pravo */
.eshop-tabulka td:nth-child(3),
.eshop-tabulka td:nth-child(5),
.eshop-tabulka th:nth-child(3),
.eshop-tabulka th:nth-child(5) {
    text-align: right;
    white-space: nowrap;
}
.eshop-tabulka td:nth-child(4),
.eshop-tabulka td:nth-child(6),
.eshop-tabulka th:nth-child(4),
.eshop-tabulka th:nth-child(6) {
    text-align: center;
}
.eshop-pocet {
    width: 56px;                 /* zmenšené z 70px */
    padding: 4px 6px;
    text-align: center;
    font-size: 14px;
    border: 1px solid #d6c6c0;
    border-radius: 4px;
}
.eshop-tabulka button[type="submit"] {
    background: none;
    border: 0;
    cursor: pointer;
    color: #b76d6d;
    font-size: 16px;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background .15s;
}
.eshop-tabulka button[type="submit"]:hover {
    background: #fbe5ec;
}

/* Mobil — ešte kompaktnejšie */
@media (max-width: 700px) {
    .eshop-tabulka { font-size: 13px; }
    .eshop-tabulka th, .eshop-tabulka td { padding: 5px 4px; }
    .eshop-tabulka th { font-size: 10px; }
    .eshop-pocet { width: 44px; font-size: 13px; padding: 3px; }
}

/* Messages */
.eshop-info {
    background: #e6f4ea;
    border-left: 3px solid #4caf50;
    padding: 10px 14px;
    margin: 16px 0;
}
.eshop-chyba {
    background: #fde8e8;
    border-left: 3px solid #d33;
    padding: 10px 14px;
    margin: 16px 0;
    color: #a02020;
}

/* Mini cart link in header (badge) */
.kosik-badge {
    display: inline-block;
    background: #b8a4dd;
    color: #fff;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 12px;
    margin-left: 4px;
    vertical-align: top;
}

@media (max-width: 768px) {
    .eshop-detail { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   Voľný odber — kategória "Ihneď k odberu"
   ───────────────────────────────────────────── */
.eshop-volny-odber-info {
    background: linear-gradient(135deg, #c8e7d8 0%, #fef0c8 100%);
    border-radius: 18px;
    padding: 14px 24px;
    margin: 12px auto 22px;
    max-width: 760px;
    color: #085041;
    font-size: 15px;
    box-shadow: 0 3px 12px rgba(8, 80, 65, 0.08);
}
.eshop-volny-odber-info b { color: #04342c; }

/* ── CTA banner: chcem notifikáciu cez Telegram ── */
.vo-notify-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto 24px;
    padding: 16px 22px;
    background: linear-gradient(135deg, #229ED9 0%, #1d8cc0 100%);
    color: #fff;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(34, 158, 217, .25);
    transition: transform .18s ease, box-shadow .18s ease;
}
.vo-notify-cta:hover, .vo-notify-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(34, 158, 217, .38);
    color: #fff;
    text-decoration: none;
    outline: none;
}
.vo-notify-cta:active {
    transform: translateY(0);
}
.vo-notify-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .22);
    border-radius: 50%;
    backdrop-filter: blur(4px);
}
.vo-notify-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}
.vo-notify-text {
    flex: 1;
    line-height: 1.35;
}
.vo-notify-text b {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
}
.vo-notify-text small {
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}
.vo-notify-arrow {
    flex-shrink: 0;
    font-size: 24px;
    color: #fff;
    margin-left: 4px;
    transition: transform .18s ease;
}
.vo-notify-cta:hover .vo-notify-arrow {
    transform: translateX(4px);
}
@media (max-width: 480px) {
    .vo-notify-cta {
        padding: 14px 16px;
        gap: 12px;
    }
    .vo-notify-icon {
        width: 40px;
        height: 40px;
    }
    .vo-notify-icon svg {
        width: 22px;
        height: 22px;
    }
    .vo-notify-text b {
        font-size: 15px;
    }
    .vo-notify-text small {
        font-size: 12px;
    }
    .vo-notify-arrow {
        display: none;
    }
}

.eshop-volny-badge {
    background: #c8e7d8;
    color: #085041;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 10px;
    display: inline-block;
    border: 1px solid #9fe1cb;
}
.eshop-volny-badge b {
    color: #04342c;
    font-weight: 700;
}

/* Príchuť pri voľnom odbere */
.eshop-volny-prichut {
    font-size: 13px;
    color: #4b4342;
    margin: 0 0 6px;
    padding: 4px 12px;
    background: #f6f0fb;
    border-radius: 999px;
    display: inline-block;
}
.eshop-volny-prichut span {
    color: #9d7fc7;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-right: 4px;
}
.eshop-volny-prichut b {
    color: #5a3a8c;
    font-weight: 700;
}

/* ─────────────────────────────────────────────
   Voľný odber — info box v detaile produktu
   ───────────────────────────────────────────── */
.eshop-volny-info {
    background: linear-gradient(135deg, #c8e7d8 0%, #fef0c8 100%);
    border-radius: 14px;
    padding: 14px 18px;
    margin: 14px 0;
    color: #04342c;
    box-shadow: 0 3px 10px rgba(8, 80, 65, 0.08);
}
.eshop-volny-info-titul {
    display: inline-block;
    font-weight: 700;
    font-size: 13px;
    background: #04342c;
    color: #fff;
    padding: 3px 12px;
    border-radius: 999px;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}
.eshop-volny-info p {
    margin: 4px 0;
    font-size: 14px;
}
.eshop-volny-info b {
    color: #04342c;
    font-weight: 700;
}
.eshop-volny-pocet {
    border-color: #9fe1cb !important;
}
.eshop-volny-max-hint {
    display: block;
    margin-top: 4px;
    color: #0f6e56;
    font-size: 12px;
    font-style: italic;
}
