/* --- product.css ---
 * Product Detail Page Specific Styles
 */

/* Layout: Detail Container */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

/* Grid items default to min-width:auto — without this override, the gallery's swipeable
   image strip (.main-image-track, overflow-x:auto by design) bubbles its children's natural
   image widths up as this column's minimum size, stretching the whole page sideways instead
   of staying capped at the grid column's width. */
.detail-left,
.detail-right {
    min-width: 0;
}

@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Gallery/lightbox markup+CSS now lives in styles.css (shared component, see
   src/templates/components/product_gallery.php + assets/js/components/gallery.js). */

/* .catalog-breadcrumb itself carries no margin (styles.css — spacing now lives on the
   .breadcrumb-bar wrapper other pages use via components/breadcrumb.php). This page inlines
   its breadcrumb directly inside .detail-left instead of using that wrapper (it sits beside
   the gallery, not above a hero section), so it needs both margins applied here directly. */
.detail-left .catalog-breadcrumb {
    margin-top: 1rem;
    margin-bottom: 12px;
}

/* .product-short-desc is the same class the catalog card uses (styles.css) — reused here
   for the text itself, but this page isn't a card: no side padding, no reserved 4-line
   min-height. The actual clamping/line count is owned by .clamp-toggle-content (styles.css,
   assets/js/components/clamp-toggle.js) — that rule is declared after .product-short-desc
   in styles.css so its -webkit-line-clamp already wins the (equal-specificity) cascade;
   this override only needs to cancel the card's padding/min-height. Scoped to .detail-right
   so it only affects this page, not the catalog card the class is shared with. */
.detail-right .product-short-desc {
    padding: 0;
    min-height: 0;
    font-size: 1rem;
}

/* --- Section 1: Info (Right) --- */
.detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Labels chip row — above the title, at the very top of the right column. Margin-top
   matches .catalog-breadcrumb's own margin-top (product-catalog.css) so the right column
   lines up with the breadcrumb sitting above the gallery in the left column. */
.product-detail-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 12px;
}

/* No labels on this product — .detail-header (title) is the first thing in the right
   column instead, so it needs that same top alignment itself. */
.detail-right > .detail-header:first-child {
    margin-top: 20px;
}

.product-detail-label {
    display: inline-block;
    background: var(--clr-purple);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Price pill / stock block now come from ProductCardRenderer::renderPriceBlock()/
   renderStockBlock() — same price-pill/stock rules as the catalog cards, defined once
   in styles.css. This file only positions them on this page (see .product-price-row--detail
   further down, which also bumps the font size up). */

/* Product feature bullets — in the "Popis" tab, after the carousel, as a horizontal row
   of small cards rather than a vertical checklist (visual language borrowed from
   .catalog-cta-benefits' benefit cards, but its own classes — different content/context). */
.product-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.product-bullet-card {
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--clr-beige, #f8f4ee);
    border-radius: 12px;
}

.product-bullet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--clr-green);
    color: #fff;
    flex-shrink: 0;
}

.product-bullet-card p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    /* Stacked, full-width rows instead of a wrapped grid of small square-ish cards —
       icon+text side by side reads better at full width than the desktop centered-column
       card shape does stretched out. */
    .product-bullets {
        flex-direction: column;
        margin-top: 0;
        gap: 0.5rem;
    }

    .product-bullet-card {
        flex: 1 1 100%;
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 0.5rem;
    }

    .product-bullet-icon {
        width: 24px;
        height: 24px;
    }
}

/* --- Section 3: Tabs ---
   .tabs-bar/.tabs-nav/.tab-btn/.tab-content visuals + the responsive collapse-to-dropdown
   behavior (ResponsiveTabs, assets/js/components/tabs.js) come from styles.css — the same
   component /produkty uses, and /produkty gives its .tab-content no card chrome at all
   (no background/border/shadow) — content just flows in the page's own .container. This
   page follows the same look: .product-tab-panes only adds a little vertical breathing
   room for the rich text/tables inside, nothing else. (switchProductTab() in this
   template's own inline script still just toggles .active on .tab-pane.) */
.product-tabs-section {
    margin: 0;
    /* Only matters for goToTab()'s scrollIntoView() (product_detail.php's inline script) —
       keeps the section from landing under the fixed header. */
    scroll-margin-top: calc(var(--header-height, 70px) + 16px);
}

.product-tab-panes {
    padding: 1.5rem 0;
}

/* Breathing room after the carousel embedded in the first tab, before the description
   text that follows it — the carousel component itself has no bottom margin of its own
   (it's also used flush against a page's next section on /produkty). */
.product-tab-panes .carousel-band {
    margin-bottom: 2rem;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

.rich-text-content ul {
    list-style: disc;
    padding-left: 1.5em;
}

.rich-text-content ol {
    padding-left: 1.5em;
}

/* --- Quantity Discount Tiers --- */
.qty-discount-tiers {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    background: var(--clr-beige);
    border-radius: 8px;
    font-size: 0.9rem;
}

.qty-discount-tiers-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.qty-discount-tiers table {
    border-collapse: collapse;
    width: 100%;
}

.qty-discount-tiers td {
    padding: 3px 8px 3px 8px;
}

.qty-tier-active td {
    background: rgba(0, 0, 0, 0.06);
}

.qty-tier-active td:first-child {
    border-radius: 4px 0 0 4px;
}

.qty-tier-active td:last-child {
    border-radius: 0 4px 4px 0;
}

.qty-tier-price {
    text-align: right;
    color: var(--clr-strawberry-pink);
    font-weight: 600;
}

@media (max-width: 768px) {
    .detail-info h1 {
        font-size: 1.8rem;
    }
}

/* --- Product Manuals --- */
.product-manuals {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.product-manual-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--clr-primary, #333);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.product-manual-link:hover {
    text-decoration: underline;
}

.product-manual-link svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* --- Product review stars (under title) --- */
.product-review-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.prs-count {
    font-size: .85rem;
    color: #888;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-left: 2px;
    cursor: pointer;
}

.prs-count:hover { color: var(--clr-green, #73b7ab); }

.product-review-stars--lg {
    font-size: 1.6rem;
    margin: 10px 0 14px;
    flex-wrap: wrap;
    row-gap: 6px;
}

.product-review-stars--lg .prs-score {
    font-size: 1.1rem;
}

.product-review-stars--lg .prs-count {
    font-size: .9rem;
}

.prs-recommend-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--clr-green, #73b7ab);
    background: var(--clr-beige);
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 8px;
}

/* --- Tab badge --- */
.tab-badge {
    display: inline-block;
    background: var(--clr-apricot, #f5a623);
    color: #fff;
    border-radius: 20px;
    font-size: .72rem;
    padding: 1px 7px;
    margin-left: 4px;
    vertical-align: middle;
}

/* --- Reviews tab pane: Alza-style stats header ---
   Moved to assets/css/review-summary.css (shared with the /recenze listing page) — see that
   file's own header comment. */

/* --- Individual review (no bubble, separated by line) --- */
.prs-review-item {
    border-bottom: 1px solid #eee;
    padding: 16px 0;
}

.prs-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.prs-review-stars { font-size: 1rem; display: flex; align-items: center; gap: 2px; }
.prs-star-filled { color: #f5c518; }
.prs-star-empty  { color: #ddd; }
.prs-review-score { font-size: .8rem; font-weight: 700; color: #555; margin-left: 4px; }

.prs-review-name {
    font-weight: 600;
    font-size: .9rem;
    color: #333;
}

.prs-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--clr-green, #73b7ab);
    font-size: .75rem;
}

.prs-review-date {
    font-size: .8rem;
    color: #aaa;
    margin-left: auto;
}

.prs-review-comment {
    font-size: .9rem;
    color: #444;
    margin: 0 0 8px;
    line-height: 1.5;
}

.prs-review-response {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    margin-left: 16px;
    padding: 12px 14px;
    background: color-mix(in srgb, var(--clr-green) 20%, #fff);
    border-left: 3px solid var(--clr-green, #73b7ab);
    border-radius: 0 8px 8px 0;
}

.prs-review-response-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--clr-green, #73b7ab);
}

.prs-review-response-label {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    color: var(--clr-green, #73b7ab);
    margin-bottom: 2px;
}

.prs-review-response-text {
    font-size: .88rem;
    color: #444;
    margin: 0;
    line-height: 1.5;
}

.prs-bullets-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.prs-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .85rem;
    flex: 1;
    min-width: 140px;
}

.prs-bullets li { display: flex; align-items: center; padding: 2px 0; }

.prs-bullet-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    color: #fff;
    font-size: .7rem;
    line-height: 1;
    font-weight: 700;
    margin-right: 6px;
    padding-bottom: 1px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.prs-bullet-badge--pos { background-color: var(--clr-green, #73b7ab); }
.prs-bullet-badge--neg { background-color: var(--clr-strawberry-pink, #e0848f); }


/* --- Expert reviews (odborné hodnocení) --- */
.per-expert-review-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.per-expert-review-item:last-child { border-bottom: none; }

.per-expert-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.per-expert-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f2f2f2;
}

.per-expert-avatar-placeholder {
    padding: 12px;
    color: #bbb;
    box-sizing: border-box;
}

.per-expert-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.per-expert-name {
    font-weight: 600;
    font-size: .95rem;
    color: #333;
}

.per-expert-profession {
    font-size: .85rem;
    color: #777;
}

.per-expert-stars { font-size: 1rem; display: flex; align-items: center; gap: 2px; }

.per-expert-text {
    font-size: .9rem;
    color: #444;
    line-height: 1.5;
}

/* --- Admin preview banner --- */
.admin-preview-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #664d00;
}

/* --- Accessory discount hint / social share ---
   Copied (not moved) from common.css: this page no longer loads common.css (see
   header.php — it now uses the styles.css/product-catalog.css layer instead), but
   cart_view.php and blog_post.php still do and still use these same classes — moving
   them out of common.css would break those pages. Kept byte-for-byte identical to the
   common.css versions so the two never visually drift apart. */
/* .accessory-discount-hint / --detail now shared in styles.css (also used by cart.css). */

.accessory-discount-cart-note {
    font-weight: 400;
    color: var(--clr-text-secondary, #777);
}

.social-share {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--clr-beige);
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.social-share-title {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
}

.social-share-links {
    display: flex;
    gap: 20px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    background-color: var(--clr-beige);
    color: var(--text-dark);
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    flex-shrink: 0;
}

.btn-social svg {
    fill: currentColor;
    display: block;
    flex-shrink: 0;
    transition: inherit;
}

.btn-social.fb-icon svg {
    width: 15px;
    height: 15px;
}

.btn-social.x-icon svg {
    width: 15px;
    height: 15px;
}

.btn-social:hover {
    background-color: var(--clr-apricot);
    color: #ffffff;
    transform: scale(1.1) translateZ(0);
}

/* --- Buy actions (components/sticky_buybar.php) ---
   Desktop: sits inline after the price, normal flow. Below the .product-detail-layout
   breakpoint it becomes a fixed bottom bar via this media query alone — always visible,
   buttons only, no JS show/hide needed either way. */
.buy-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1rem 0;
}

.buy-actions .btn {
    height: 50px;
    white-space: nowrap;
}

/* Equal 50/50 split — .js-buy-now is a direct child, the other button is one level
   deeper inside .product-actions-wrapper/.js-cart-action-container, so both wrapper
   levels need flex:1 for the two to end up the same width. Both also get an explicit
   height:100%/50px (not auto) so .qty-control's own height:100% (styles.css) has
   something real to resolve against once it swaps in for the button — an auto-height
   ancestor chain would let it collapse to its own (smaller) content height instead. */
.buy-actions .js-buy-now,
.buy-actions .js-cart-action-container,
.buy-actions .product-actions-wrapper {
    flex: 1 1 50%;
    min-width: 0;
    height: 50px;
}

.buy-actions .js-add-to-cart,
.buy-actions .qty-control {
    width: 100%;
}

/* Pre-order: no "Koupit rychle" — the single button takes the whole row */
.buy-actions--single .product-actions-wrapper {
    flex-basis: 100%;
}

.buy-actions .js-buy-now svg {
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .buy-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 500;
        margin: 0;
        padding: 10px 1rem;
        background: #fff;
        box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
    }

    /* Room at the bottom of the page so the fixed bar never covers the last bit of
       content (bullets/share/tabs/contact form) — this page's own body only, since
       product.css is loaded only on $page == 'product'. */
    body {
        padding-bottom: 74px;
    }

    /* footer.php's #scrollToTopBtn (its own inline <style>, sitewide) otherwise sits right
       under .buy-actions' fixed bar — pushed up to clear it, same 74px the bar reserves in
       body's own padding-bottom above, plus a small gap. #scrollToTopBtn (id selector, not
       just .scroll-to-top) so this wins regardless of the two <style>/<link> tags' order in
       the page — footer.php's own mobile override is otherwise later in the cascade at the
       same specificity and would win instead. Scoped here since product.css only loads on
       this page — no other page has a fixed bottom bar. */
    #scrollToTopBtn.scroll-to-top {
        bottom: 90px;
    }
}

/* --- Shipping box (components/product_info_box_physical.php) ---
   Beige box: stock/ship on top (row layout, override of the card's normally-stacked
   .stock), delivery method rows below, free-shipping note at the bottom.
   .shipping-box's background/radius are shared (styles.css, also used by the cart sidebar) —
   this page-specific padding/margin is product detail's own spacing only. */
.shipping-box,
.product-info-box {
    padding: 0.75rem 1rem;
    margin: 1rem 0;
}

.shipping-box .stock,
.product-info-box .stock {
    flex-direction: row;
    gap: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.shipping-methods-rest {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.shipping-methods.is-open .shipping-methods-rest {
    display: flex;
}

.shipping-method-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.shipping-method-type-icon {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    flex-shrink: 0;
}

/* Carrier logo images come in whatever size each PNG happens to be (checkout page never
   needed to normalize this since it lays them out as separate group headers) — cap both
   dimensions and let the image shrink to fit inside, never stretch. */
.shipping-method-logo {
    max-width: 70px;
    max-height: 16px;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.shipping-method-eta {
    color: var(--clr-green);
    font-weight: 600;
    flex-shrink: 0;
}

.shipping-method-type-label {
    color: var(--text-light);
    flex-shrink: 0;
}

.shipping-method-price {
    margin-left: auto;
    font-weight: 700;
    color: var(--text-dark);
    flex-shrink: 0;
    white-space: nowrap;
}

.shipping-methods-toggle {
    display: inline-block;
    /* Not full-width like its .shipping-methods siblings (align-items:stretch by default) —
       stays left-aligned at its own content width instead of centering under button UA styles. */
    align-self: flex-start;
    margin-top: 4px;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-green);
    cursor: pointer;
    text-align: left;
}

/* .shipping-box-free / .shipping-progress* now shared in styles.css (also used by the cart sidebar). */
.detail-shipping-slot .shipping-box-free {
    margin-top: 0.75rem;
}

/* On mobile the row has no room for the type label (DPD/Balíkovna's full box-brand list is
   long) next to the price — wrap it onto its own line instead of hiding it, indented to
   align under the carrier logo (18px icon + 10px .shipping-method-row gap). */
@media (max-width: 480px) {
    .shipping-method-row {
        flex-wrap: wrap;
    }

    /* Price must stay on the first line (with the icon/logo/eta) — only the label wraps.
       Default flex order follows markup (icon, logo, eta, label, price), so without this the
       label's flex-basis:100% would push price down onto a 2nd line too. */
    .shipping-method-price {
        order: 1;
    }

    .shipping-method-type-label {
        order: 2;
        flex-basis: 100%;
        margin-left: 28px;
        white-space: normal;
    }
}

/* --- Payment strip closing both info boxes (components/product_payment_info.php) ---
   A .stock row (label in the stock-line style) + the ComGate logo right after it. */
.product-info-box .product-payment-info {
    flex-wrap: wrap;
    align-items: center;
    margin: 0.75rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.product-payment-logos {
    display: block;
    height: 18px;
    width: auto;
    max-width: 100%;
}
/* --- Price — bigger than the card version, this is a full detail page, not a card. --- */
.product-price-row--detail {
    justify-content: flex-start;
    padding: 0;
    min-height: 0;
    margin: 2.5rem 0;
}

.product-price-row--detail .price-plain {
    font-size: 1.9rem;
}

.product-price-row--detail .price-original {
    font-size: 1.1rem;
}

.product-price-row--detail .price-pill-mid {
    font-size: 1.5rem;
}

/* The whole block is as wide as the price row: price line + countdown (vertically centred, next to each other) on
   the first row, the "* explanation" on its own row under them using the full width — so it takes as few lines as
   possible. */
.product-price-row--detail .promo-stack--detail {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    column-gap: 1rem;
    width: 100%;
}

.product-price-row--detail .promo-countdown {
    margin-top: 0;
    font-size: 1.5rem;
}

.product-price-row--detail .promo-note {
    flex: 0 0 100%;
    max-width: none;
    margin-top: 0.6rem;
    text-align: left;
    font-size: 0.75rem;
}

/* Mobile: the countdown goes under the price instead of next to it, and the countdown and the "* explanation"
   are centred. (After the base rules above — same specificity, later wins.) */
@media (max-width: 768px) {
    .product-price-row--detail .promo-stack--detail {
        justify-content: center;
        row-gap: 0.4rem;
    }

    .product-price-row--detail .promo-countdown {
        flex: 0 0 100%;
        text-align: center;
    }

    .product-price-row--detail .promo-note {
        margin-top: 0;
        text-align: center;
    }
}

.product-price-row--detail .price-pill-top,
.product-price-row--detail .price-pill-bottom {
    font-size: 0.8rem;
}

/* VAT mode: the price without VAT in small print right under the price, which gives up its bottom gap to it. */
.product-price-row--detail.product-price-row--with-net {
    margin-bottom: 0.4rem;
}

.product-price-net {
    margin: 0 0 2.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Mobile only: price comes right after the shipping box's normal (desktop) spot, i.e.
   swapped with it — everything else in the right column keeps its natural order. Explicit
   order on every direct child (not just the two swapped ones) — flex only groups items by
   order value, so leaving the rest at the default 0 would pull them ahead of whichever of
   the swapped pair got order:1+. */
@media (max-width: 900px) {
    .detail-right {
        display: flex;
        flex-direction: column;
    }

    .detail-right > .product-detail-labels { order: 1; }
    .detail-right > .detail-header { order: 2; }
    .detail-right > .clamp-toggle { order: 3; }
    .detail-right > .product-price-row--detail,
    .detail-right > .product-price-net { order: 4; }
    .detail-right > .detail-shipping-slot { order: 5; }
    .detail-right > .accessory-discount-hint { order: 6; }
    .detail-right > .qty-discount-tiers { order: 7; }
    .detail-right > .buy-actions { order: 8; }
    .detail-right > .trust-badges { order: 9; }
    .detail-right > .social-share { order: 10; }

    .product-detail-label {
        padding: 3px 9px;
        font-size: 0.7rem;
    }

    .product-price-row--detail {
        justify-content: center;
        margin: 1rem 0;
    }

    .product-price-net {
        margin: 0 0 1rem;
        text-align: center;
    }

    .trust-badges {
        gap: 5px;
        margin: 0;
    }

    .social-share {
        margin-top: 1rem;
    }

    .social-share-title {
        font-size: 0.85rem;
    }
}

/* --- First tab: icon-only "home" button, no text label next to the icon. --- */
.tab-btn--icon-only svg {
    margin-right: 0;
}

/* --- Trust badges — under the buy actions (warranty / money-back / EU compliance). --- */
/* Column-major: warranty+moneyback stacked in column 1, CE+CZ stacked in column 2 (source
   order is warranty, moneyback, CE, CZ — grid-auto-flow:column with 2 explicit rows fills
   column 1 first, then column 2, instead of row-major default). */
.trust-badges {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-auto-flow: column;
    gap: 10px 16px;
    margin: 1rem 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.trust-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--clr-beige, #f8f4ee);
    color: var(--clr-green);
    flex-shrink: 0;
}

.trust-badge-icon--ce {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
