/* ==========================================================================
   Alpenzaun Product Detail
   Brand: #f04e23 (terracotta), #141414 (black), #f6f5f2 (cream), #9c9c95 (steel)
   ========================================================================== */

.aze-pd,
.aze-pd *,
.aze-pd *::before,
.aze-pd *::after {
    font-family: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
    font-style: normal !important;
    box-sizing: border-box;
}

.aze-pd {
    --az-red: #f04e23;
    --az-red2: #772008;
    --az-black: #141414;
    --az-khaki: #3d403a;
    --az-cream: #f6f5f2;
    --az-steel: #9c9c95;
    --az-line: rgba(20, 20, 20, 0.08);

    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px clamp(20px, 3vw, 48px) 56px;
    color: var(--az-black);
}

/* ─── BREADCRUMB ─── */
.aze-pd-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--az-steel);
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.aze-pd-crumb a {
    color: var(--az-steel);
    text-decoration: none;
    transition: color 200ms ease;
}
.aze-pd-crumb a:hover { color: var(--az-red); }
.aze-pd-crumb svg { width: 12px; height: 12px; flex-shrink: 0; }
.aze-pd-crumb [aria-current="page"] {
    color: var(--az-black);
    font-weight: 600;
}

/* ─── MAIN — 2 column gallery + summary ─── */
.aze-pd-main {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    align-items: start;
}
.aze-pd-main.is-sticky .aze-pd-summary {
    position: sticky;
    top: 30px;
}

/* ─── GALLERY ─── */
.aze-pd-gallery {
    position: relative;
}
.aze-pd-gallery-badge {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 3;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    background: var(--az-red);
    border-radius: 5px;
}

/* ─── NEU badge — animovaný (zhodný s katalógom) ─── */
.aze-pd-gallery-badge--new {
    background: #141414 !important;
    color: #fff !important;
    position: absolute !important;
    overflow: hidden !important;
    padding: 6px 14px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.22em !important;
    border-radius: 5px !important;
    box-shadow:
        0 4px 12px rgba(20, 20, 20, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.15) inset !important;
    animation: aze-pd-neu-pulse 2.4s ease-in-out infinite;
}
.aze-pd-gallery-badge--new::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 0%,
        transparent 40%,
        rgba(240, 78, 35, 0.5) 50%,
        transparent 60%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: aze-pd-neu-shine 3s ease-in-out infinite;
    pointer-events: none;
}
.aze-pd-gallery-badge--new::after {
    content: '✦';
    margin-right: 5px;
    color: #f04e23;
    font-size: 10px;
    vertical-align: middle;
    position: relative;
    z-index: 1;
    display: inline-block;
    animation: aze-pd-neu-star 2.4s ease-in-out infinite;
}

@keyframes aze-pd-neu-pulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(20, 20, 20, 0.35), 0 0 0 0 rgba(240, 78, 35, 0.4), 0 1px 0 rgba(255, 255, 255, 0.15) inset; }
    50%      { box-shadow: 0 6px 16px rgba(20, 20, 20, 0.45), 0 0 0 4px rgba(240, 78, 35, 0), 0 1px 0 rgba(255, 255, 255, 0.15) inset; }
}
@keyframes aze-pd-neu-shine {
    0%   { background-position: 200% 0; }
    50%  { background-position: -100% 0; }
    100% { background-position: -100% 0; }
}
@keyframes aze-pd-neu-star {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50%      { transform: scale(1.25) rotate(180deg); }
}

.aze-pd-gallery-main {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--az-cream);
    border: 1px solid var(--az-line);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}
.aze-pd-gallery-main a,
.aze-pd-gallery-main figure,
.aze-pd-gallery-main picture {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.aze-pd-gallery-main img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.aze-pd-gallery-main:hover img {
    transform: scale(1.03);
}

.aze-pd-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
}
.aze-pd-thumb {
    aspect-ratio: 1 / 1;
    background: var(--az-cream);
    border: 1.5px solid var(--az-line);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    padding: 4px;
    transition: border-color 200ms ease, transform 200ms ease;
}
.aze-pd-thumb:hover { border-color: rgba(20, 20, 20, 0.3); transform: translateY(-1px); }
.aze-pd-thumb.is-active { border-color: var(--az-red); }
.aze-pd-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* ─── SUMMARY (right) ─── */
.aze-pd-summary { min-width: 0; }

.aze-pd-cat {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 11px 4px 10px;
    background: rgba(240, 78, 35, 0.08);
    color: var(--az-red) !important;
    border: 1px solid rgba(240, 78, 35, 0.18);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background 200ms ease;
}
.aze-pd-cat:hover {
    background: rgba(240, 78, 35, 0.14);
}

.aze-pd-title {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 14px;
    color: var(--az-black);
}

.aze-pd-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13px;
}
.aze-pd-stars {
    display: inline-flex;
    gap: 2px;
    color: #f59e0b;
}
.aze-pd-stars svg { width: 16px; height: 16px; }
.aze-pd-rating strong {
    font-weight: 700;
    color: var(--az-black);
    letter-spacing: -0.02em;
}
.aze-pd-rating-count {
    color: var(--az-steel);
}

.aze-pd-short {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--az-khaki);
    margin: 0 0 22px;
}
.aze-pd-short p { margin: 0 0 8px; }
.aze-pd-short p:last-child { margin-bottom: 0; }

.aze-pd-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 16px;
    font-size: 28px;
    font-weight: 700;
    color: var(--az-red);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.aze-pd-price del,
.aze-pd-price .woocommerce-Price-amount {
    color: var(--az-red);
}
.aze-pd-price del {
    color: var(--az-steel) !important;
    font-size: 18px;
    font-weight: 600;
    margin-right: 4px;
}
.aze-pd-price del .woocommerce-Price-amount {
    color: var(--az-steel) !important;
}
.aze-pd-price ins {
    background: none !important;
    text-decoration: none !important;
    color: var(--az-red);
}
.aze-pd-price-tax {
    font-size: 11px;
    font-weight: 500;
    color: var(--az-steel);
    letter-spacing: 0;
    margin-left: 2px;
    padding-left: 2px;
    align-self: baseline;
}

.aze-pd-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #34A853;
    margin-bottom: 22px;
}
.aze-pd-stock-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #34A853;
}
.aze-pd-stock--low { color: #f59e0b; }
.aze-pd-stock--low .aze-pd-stock-dot { background: #f59e0b; }
.aze-pd-stock--out { color: var(--az-steel); }
.aze-pd-stock--out .aze-pd-stock-dot { background: var(--az-steel); }

/* ─── CONFIGURATOR ─── */
.aze-pd-config {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 0;
    margin: 0 0 22px;
    border-top: 1px solid var(--az-line);
    border-bottom: 1px solid var(--az-line);
}
.aze-pd-config-group { display: flex; flex-direction: column; gap: 8px; }
.aze-pd-config-label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--az-black);
    letter-spacing: 0.02em;
}
.aze-pd-config-selected {
    font-size: 13px;
    font-weight: 500;
    color: var(--az-steel);
    letter-spacing: 0;
}

.aze-pd-config-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.aze-pd-config-opt {
    padding: 9px 16px;
    background: var(--az-cream);
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--az-black);
    cursor: pointer;
    transition: all 180ms ease;
    font-family: inherit !important;
}
.aze-pd-config-opt:hover {
    background: #fff;
    border-color: rgba(20, 20, 20, 0.2);
}
.aze-pd-config-opt.is-active {
    background: var(--az-red);
    color: #fff;
    border-color: var(--az-red);
    font-weight: 600;
}

.aze-pd-config-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.aze-pd-config-swatch {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: transform 200ms ease, border-color 200ms ease;
    box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.08);
}
.aze-pd-config-swatch:hover { transform: scale(1.08); }
.aze-pd-config-swatch.is-active {
    border-color: var(--az-red);
    box-shadow: 0 0 0 2px #fff inset, 0 0 0 1px rgba(20, 20, 20, 0.08) inset;
}

/* ─── ACTIONS (qty + cart) ─── */
.aze-pd-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 14px;
}

.aze-pd-qty {
    display: inline-flex !important;
    align-items: stretch;
    height: 52px;
    border: 1.5px solid rgba(20, 20, 20, 0.18) !important;
    border-radius: 6px !important;
    overflow: hidden;
    background: #fff;
}
.aze-pd-qty-btn {
    width: 42px;
    background: transparent !important;
    border: none !important;
    color: var(--az-black);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 !important;
    line-height: 1 !important;
    transition: background 180ms ease, color 180ms ease;
    font-family: inherit !important;
}
.aze-pd-qty-btn:hover {
    background: var(--az-black) !important;
    color: #fff !important;
}
.aze-pd-qty-input {
    width: 60px;
    background: transparent !important;
    border: none !important;
    border-left: 1px solid rgba(20, 20, 20, 0.1) !important;
    border-right: 1px solid rgba(20, 20, 20, 0.1) !important;
    border-radius: 0 !important;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--az-black);
    -moz-appearance: textfield;
    appearance: textfield;
    outline: none !important;
    box-shadow: none !important;
    font-family: inherit !important;
}
.aze-pd-qty-input::-webkit-outer-spin-button,
.aze-pd-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.aze-pd-cart {
    flex: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 28px !important;
    background: var(--az-red) !important;
    color: #fff !important;
    border: 1.5px solid var(--az-red) !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease !important;
    box-shadow: 0 6px 16px rgba(240, 78, 35, 0.28) !important;
    font-family: inherit !important;
}
.aze-pd-cart:hover {
    background: var(--az-red2) !important;
    border-color: var(--az-red2) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(119, 32, 8, 0.36) !important;
}
.aze-pd-cart svg { width: 16px; height: 16px; }
.aze-pd-cart.disabled,
.aze-pd-cart:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* ─── SECONDARY ACTIONS (wishlist, compare) ─── */
.aze-pd-secondary-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
}
.aze-pd-secondary-actions .xstore-wishlist,
.aze-pd-secondary-actions .xstore-compare,
.aze-pd-secondary-actions .aze-wishlist-btn,
.aze-pd-secondary-actions .aze-compare-btn,
.aze-pd-secondary-actions .aze-pd-manual-btn,
.aze-pd-secondary-actions .aze-cat-prod-manual {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    padding: 10px 16px !important;
    background: #fff !important;
    color: var(--az-black) !important;
    border: 1.5px solid rgba(20, 20, 20, 0.12) !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: none !important;
    cursor: pointer !important;
    transition: all 200ms ease !important;
    box-shadow: none !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
}
.aze-pd-secondary-actions .xstore-wishlist:hover,
.aze-pd-secondary-actions .xstore-compare:hover,
.aze-pd-secondary-actions .aze-pd-manual-btn:hover,
.aze-pd-secondary-actions .aze-cat-prod-manual:hover {
    background: var(--az-red) !important;
    color: #fff !important;
    border-color: var(--az-red) !important;
}
.aze-pd-secondary-actions .xstore-wishlist[data-action="remove"],
.aze-pd-secondary-actions .xstore-wishlist.added {
    background: var(--az-red) !important;
    color: #fff !important;
    border-color: var(--az-red) !important;
}
.aze-pd-secondary-actions .aze-icon-heart,
.aze-pd-secondary-actions .aze-icon-cmp,
.aze-pd-secondary-actions .aze-pd-manual-btn svg,
.aze-pd-secondary-actions .aze-cat-prod-manual svg {
    width: 16px !important;
    height: 16px !important;
    display: inline-block !important;
}
.aze-pd-secondary-actions .et-icon { display: none !important; }
.aze-pd-secondary-actions .aze-wishlist-btn[data-action="remove"] .aze-icon-heart--outline,
.aze-pd-secondary-actions .aze-wishlist-btn.added .aze-icon-heart--outline { display: none !important; }
.aze-pd-secondary-actions .aze-wishlist-btn[data-action="add"] .aze-icon-heart--filled,
.aze-pd-secondary-actions .aze-wishlist-btn:not(.added):not([data-action="remove"]) .aze-icon-heart--filled { display: none !important; }
.aze-pd-secondary-actions .aze-wishlist-btn .screen-reader-text {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* ─── META ─── */
.aze-pd-meta {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--az-line);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.aze-pd-meta-row {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--az-khaki);
}
.aze-pd-meta-row span {
    flex: 0 0 100px;
    color: var(--az-steel);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.aze-pd-meta-row strong {
    color: var(--az-black);
    font-weight: 500;
}

/* ─── TRUST CARDS ─── */
.aze-pd-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 24px;
    background: var(--az-cream);
    border-radius: 12px;
    margin-bottom: 48px;
}
.aze-pd-trust-card { display: flex; align-items: center; gap: 14px; }
.aze-pd-trust-icon {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    background: #fff;
    border: 1px solid var(--az-line);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--az-red);
}
.aze-pd-trust-icon svg { width: 20px; height: 20px; }
.aze-pd-trust-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aze-pd-trust-text strong {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--az-black);
    letter-spacing: -0.005em;
}
.aze-pd-trust-text span {
    font-size: 11.5px;
    color: var(--az-steel);
}

/* ─── TABS ─── */
.aze-pd-tabs { margin-bottom: 56px; }
.aze-pd-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--az-line);
    margin-bottom: 28px;
    overflow-x: auto;
    scrollbar-width: none;
}
.aze-pd-tabs-nav::-webkit-scrollbar { display: none; }
.aze-pd-tab {
    padding: 16px 22px;
    background: transparent;
    border: none;
    color: var(--az-steel);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    position: relative;
    font-family: inherit !important;
    white-space: nowrap;
    transition: color 200ms ease;
}
.aze-pd-tab:hover { color: var(--az-black); }
.aze-pd-tab.is-active {
    color: var(--az-black);
}
.aze-pd-tab.is-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 22px; right: 22px;
    height: 2px;
    background: var(--az-red);
}
.aze-pd-tab-count {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    background: rgba(20, 20, 20, 0.08);
    color: var(--az-steel);
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 0;
}
.aze-pd-tab.is-active .aze-pd-tab-count {
    background: var(--az-red);
    color: #fff;
}

.aze-pd-tab-panel { display: none; }
.aze-pd-tab-panel.is-active { display: block; animation: aze-pd-fade 280ms ease; }
@keyframes aze-pd-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.aze-pd-tab-panel { font-size: 14.5px; line-height: 1.7; color: var(--az-khaki); max-width: 880px; }
.aze-pd-tab-panel h2, .aze-pd-tab-panel h3, .aze-pd-tab-panel h4 {
    color: var(--az-black);
    font-weight: 700;
    margin: 28px 0 12px;
}
.aze-pd-tab-panel h2 { font-size: 22px; }
.aze-pd-tab-panel h3 { font-size: 18px; }
.aze-pd-tab-panel ul, .aze-pd-tab-panel ol { padding-left: 1.4em; }
.aze-pd-tab-panel a { color: var(--az-red); }
.aze-pd-tab-panel img { max-width: 100%; height: auto; border-radius: 6px; }

.aze-pd-attr-table {
    width: 100%;
    border-collapse: collapse;
}
.aze-pd-attr-table tr { border-bottom: 1px solid var(--az-line); }
.aze-pd-attr-table th {
    text-align: left;
    padding: 14px 18px 14px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--az-black);
    width: 220px;
}
.aze-pd-attr-table td {
    padding: 14px 0;
    color: var(--az-khaki);
    font-size: 14px;
}

/* ─── CFG BANNER ─── */
.aze-pd-cfg {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
    padding: 28px 32px;
    margin-bottom: 48px;
    background: var(--az-black);
    border: 1px solid rgba(240, 78, 35, 0.22);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 18px 48px -16px rgba(240, 78, 35, 0.35), 0 4px 12px rgba(0, 0, 0, 0.18);
}
.aze-pd-cfg-mesh {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}
.aze-pd-cfg-badge {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px 5px 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
}
.aze-pd-cfg-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--az-red);
    animation: azpd-pulse 1.6s ease-in-out infinite;
}
@keyframes azpd-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(240, 78, 35, 0.6); }
    50%      { box-shadow: 0 0 0 7px rgba(240, 78, 35, 0); }
}
.aze-pd-cfg-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; height: 60px;
    background: var(--az-red);
    border-radius: 12px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(240, 78, 35, 0.16), 0 8px 22px rgba(240, 78, 35, 0.4);
    transition: transform 350ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.aze-pd-cfg:hover .aze-pd-cfg-icon { transform: rotate(-6deg) scale(1.05); }
.aze-pd-cfg-icon svg { width: 26px; height: 26px; }
.aze-pd-cfg-text { min-width: 0; position: relative; z-index: 2; }
.aze-pd-cfg-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    color: #fff;
}
.aze-pd-cfg-title span {
    color: var(--az-red);
    position: relative;
    white-space: nowrap;
}
.aze-pd-cfg-title span::after {
    content: '';
    position: absolute;
    left: 0; bottom: 1px;
    width: 100%; height: 6px;
    background: rgba(240, 78, 35, 0.22);
    border-radius: 3px;
    z-index: -1;
}
.aze-pd-cfg-sub {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}
.aze-pd-cfg-cta {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    background: var(--az-red);
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 10px 26px rgba(240, 78, 35, 0.5), 0 4px 10px rgba(240, 78, 35, 0.28);
    transition: background 220ms ease, transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 240ms ease;
}
.aze-pd-cfg-cta:hover {
    background: var(--az-red2);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 36px rgba(119, 32, 8, 0.55), 0 6px 14px rgba(119, 32, 8, 0.35);
}
.aze-pd-cfg-cta svg {
    width: 18px; height: 18px;
    transition: transform 220ms ease;
}
.aze-pd-cfg-cta:hover svg { transform: translateX(5px); }

/* ─── RELATED ─── */
.aze-pd-related {
    padding-top: 32px;
    border-top: 1px solid var(--az-line);
    margin-bottom: 24px;
}
.aze-pd-related-head { margin-bottom: 24px; }
.aze-pd-related-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 11px;
    background: rgba(240, 78, 35, 0.08);
    color: var(--az-red);
    border: 1px solid rgba(240, 78, 35, 0.18);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.aze-pd-related-tag-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--az-red);
}
.aze-pd-related-title {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--az-black);
    margin: 0;
}
.aze-pd-related-title span {
    color: var(--az-red);
    position: relative;
}
.aze-pd-related-title span::after {
    content: '';
    position: absolute;
    left: 0; bottom: 3px;
    width: 100%; height: 6px;
    background: rgba(240, 78, 35, 0.15);
    border-radius: 3px;
    z-index: -1;
}

.aze-pd-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .aze-pd-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .aze-pd-main.is-sticky .aze-pd-summary { position: static; }
    .aze-pd-trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .aze-pd { padding: 16px 18px 40px; }
    .aze-pd-main { gap: 24px; margin-bottom: 32px; }
    .aze-pd-title { font-size: 22px; }
    .aze-pd-price { font-size: 24px; }
    .aze-pd-trust { grid-template-columns: 1fr; padding: 18px; }
    .aze-pd-cfg { grid-template-columns: 1fr; padding: 22px 18px; gap: 16px; }
    .aze-pd-cfg-cta { width: 100%; justify-content: center; }
    .aze-pd-tab { padding: 12px 16px; font-size: 13px; }
    .aze-pd-related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .aze-pd-actions { flex-direction: column; }
    .aze-pd-qty { width: 100%; justify-content: space-between; }
    .aze-pd-qty-input { flex: 1; }
}

@media (max-width: 420px) {
    .aze-pd-related-grid { grid-template-columns: 1fr; }
}

/* ─── REFINED: Config head s vybranou hodnotou vpravo ─── */
.aze-pd-config-head {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
}
.aze-pd-config-head .aze-pd-config-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--az-black) !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}
/* Skrytá pravá značka aktívnej voľby — user už vidí výber vľavo cez .is-active button */
.aze-pd-config-head .aze-pd-config-selected,
.aze-pd-config-selected {
    display: none !important;
}

/* ─── REFINED: variation opts — lepšia interaktivita ─── */
.aze-pd-config-opts { gap: 8px !important; }
.aze-pd-config-opt {
    padding: 10px 18px !important;
    background: #fff !important;
    border: 1.5px solid rgba(20, 20, 20, 0.14) !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--az-khaki) !important;
    transition: all 200ms cubic-bezier(0.2, 0.7, 0.2, 1) !important;
    position: relative;
}
.aze-pd-config-opt:hover {
    border-color: rgba(20, 20, 20, 0.4) !important;
    color: var(--az-black) !important;
    background: #fff !important;
    transform: translateY(-1px);
}
.aze-pd-config-opt.is-active {
    background: var(--az-red) !important;
    color: #fff !important;
    border-color: var(--az-red) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(240, 78, 35, 0.28) !important;
}
.aze-pd-config-opt.is-active::after {
    content: '';
    position: absolute;
    top: 6px; right: 6px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fff;
}

/* ─── REFINED: swatches s lepším active indikátorom ─── */
.aze-pd-config-swatches { gap: 10px !important; }
.aze-pd-config-swatch {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    border: 2.5px solid transparent !important;
    box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.1) !important;
    transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 220ms ease !important;
}
.aze-pd-config-swatch:hover { transform: scale(1.08); }
.aze-pd-config-swatch.is-active {
    border-color: var(--az-red) !important;
    box-shadow: 0 0 0 3px #fff inset, 0 0 0 1px rgba(20, 20, 20, 0.08) inset, 0 4px 12px rgba(240, 78, 35, 0.25) !important;
}

/* ─── REFINED: kompaktné wishlist + compare — ICON ONLY ─── */
.aze-pd-secondary-actions {
    gap: 10px !important;
    margin-top: 4px !important;
}
.aze-pd-secondary-actions .xstore-wishlist,
.aze-pd-secondary-actions .xstore-compare,
.aze-pd-secondary-actions a.xstore-wishlist,
.aze-pd-secondary-actions a.xstore-compare,
.aze-pd-secondary-actions .aze-wishlist-btn,
.aze-pd-secondary-actions .aze-compare-btn,
.aze-pd-secondary-actions .aze-pd-manual-btn,
.aze-pd-secondary-actions .aze-cat-prod-manual {
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 9px !important;
    flex-shrink: 0 !important;
    gap: 0 !important;
    font-size: 0 !important;
    letter-spacing: 0 !important;
}

/* Skry screen-reader text v product detail (chceme ikon-only) */
.aze-pd-secondary-actions .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    margin: -1px !important;
    padding: 0 !important;
    font-size: 0 !important;
}

.aze-pd-secondary-actions .aze-icon-heart,
.aze-pd-secondary-actions .aze-icon-cmp,
.aze-pd-secondary-actions .aze-pd-manual-btn svg,
.aze-pd-secondary-actions .aze-cat-prod-manual svg {
    width: 18px !important;
    height: 18px !important;
    color: currentColor !important;
    stroke: currentColor !important;
}

/* ─── REFINED: Quantity väčší a krajší ─── */
.aze-pd-qty {
    height: 56px !important;
    border-radius: 8px !important;
}
.aze-pd-qty-btn {
    width: 48px !important;
    font-size: 20px !important;
}
.aze-pd-qty-input {
    width: 64px !important;
    font-size: 16px !important;
}

/* ─── REFINED: Cart button trochu vyšší ─── */
.aze-pd-cart {
    padding: 18px 28px !important;
    font-size: 13.5px !important;
    border-radius: 8px !important;
}

/* ─── REFINED: meta sekcia (Kategorie/SKU/Tags) ─── */
.aze-pd-meta {
    margin-top: 22px !important;
    padding-top: 22px !important;
    gap: 8px !important;
}
.aze-pd-meta-row {
    align-items: center !important;
    gap: 12px !important;
}
.aze-pd-meta-row span {
    flex: 0 0 90px !important;
    font-size: 10.5px !important;
    letter-spacing: 0.1em !important;
}

/* ─── REFINED: rating row lepšie zarovnaný ─── */
.aze-pd-rating {
    background: rgba(245, 158, 11, 0.06);
    padding: 6px 12px;
    border-radius: 6px;
    align-self: flex-start;
    display: inline-flex !important;
    width: auto !important;
    margin-bottom: 16px !important;
}
.aze-pd-rating strong { font-size: 14px !important; }
.aze-pd-rating-count { font-size: 12px !important; }

/* ─── REFINED: stock indicator s ikonkou ─── */
.aze-pd-stock {
    padding: 8px 14px !important;
    background: rgba(52, 168, 83, 0.08) !important;
    border-radius: 6px !important;
    align-self: flex-start;
    margin-bottom: 24px !important;
}
.aze-pd-stock--low { background: rgba(245, 158, 11, 0.08) !important; }
.aze-pd-stock--out { background: rgba(156, 156, 149, 0.08) !important; }

/* ─── REFINED: price s tighter spacing ─── */
.aze-pd-price {
    margin-bottom: 10px !important;
}
.aze-pd-price-tax {
    font-size: 11.5px !important;
    margin-left: 4px !important;
    align-self: baseline !important;
}

/* ─── REFINED: title size dole ─── */
.aze-pd-title {
    margin-bottom: 12px !important;
}

/* ─── REFINED: config sekcia s lepším paddingom ─── */
.aze-pd-config {
    gap: 20px !important;
    padding: 22px 0 !important;
    margin-bottom: 24px !important;
}

/* ─── FIX: Wishlist + Compare ikony viditeľné v product detail ─── */
.aze-pd-secondary-actions a svg,
.aze-pd-secondary-actions .aze-wishlist-btn svg,
.aze-pd-secondary-actions .aze-compare-btn svg,
.aze-pd-secondary-actions .aze-icon-heart,
.aze-pd-secondary-actions .aze-icon-cmp {
    width: 18px !important;
    height: 18px !important;
    color: currentColor !important;
    stroke: currentColor !important;
    fill: none !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Default state — outline heart visible, filled hidden */
.aze-pd-secondary-actions .aze-wishlist-btn .aze-icon-heart--outline {
    display: block !important;
}
.aze-pd-secondary-actions .aze-wishlist-btn .aze-icon-heart--filled {
    display: none !important;
}

/* Added state — filled visible, outline hidden */
.aze-pd-secondary-actions .aze-wishlist-btn[data-action="remove"] .aze-icon-heart--outline,
.aze-pd-secondary-actions .aze-wishlist-btn.added .aze-icon-heart--outline {
    display: none !important;
}
.aze-pd-secondary-actions .aze-wishlist-btn[data-action="remove"] .aze-icon-heart--filled,
.aze-pd-secondary-actions .aze-wishlist-btn.added .aze-icon-heart--filled {
    display: block !important;
    fill: currentColor !important;
}

/* Skry XStore et-icon (zostáva v HTML pre ich JS) */
.aze-pd-secondary-actions .et-icon {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ─── FORCE: SVG ikony viditeľné v product detail (najsilnejšia specificita) ─── */
.aze-pd .aze-pd-secondary-actions a svg.aze-icon-heart,
.aze-pd .aze-pd-secondary-actions a svg.aze-icon-cmp,
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn svg,
.aze-pd .aze-pd-secondary-actions .aze-compare-btn svg {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: none !important;
    max-height: none !important;
    color: currentColor !important;
    stroke: currentColor !important;
    fill: none !important;
    position: relative !important;
    z-index: 1 !important;
    vertical-align: middle !important;
}

/* Default — outline visible, filled hidden */
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn .aze-icon-heart--outline {
    display: inline-block !important;
}
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn .aze-icon-heart--filled {
    display: none !important;
}

/* Added — filled visible, outline hidden */
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn[data-action="remove"] .aze-icon-heart--outline,
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn.added .aze-icon-heart--outline {
    display: none !important;
}
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn[data-action="remove"] .aze-icon-heart--filled,
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn.added .aze-icon-heart--filled {
    display: inline-block !important;
    fill: currentColor !important;
}

/* XStore et-icon — invisible but in DOM (XStore JS needs it) */
.aze-pd .aze-pd-secondary-actions .et-icon {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
}

/* Filled wishlist button styling */
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn[data-action="remove"],
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn.added {
    background: var(--az-red) !important;
    color: #fff !important;
    border-color: var(--az-red) !important;
}

/* ─── REFINED v3: Single heart SVG, fill toggle via CSS ─── */
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn .aze-icon-heart {
    fill: none !important;
    stroke: currentColor !important;
    transition: fill 200ms ease;
}
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn[data-action="remove"] .aze-icon-heart,
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn.added .aze-icon-heart {
    fill: currentColor !important;
}

/* ─── FIX: Quantity reset (theme overrides ničili layout) ─── */
.aze-pd .aze-pd-qty {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    height: 56px !important;
    width: auto !important;
    min-width: 160px !important;
    border: 1.5px solid rgba(20, 20, 20, 0.18) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
.aze-pd .aze-pd-qty-btn,
.aze-pd .aze-pd-qty button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    color: var(--az-black) !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    flex-shrink: 0 !important;
    transition: background 180ms ease, color 180ms ease !important;
    font-family: 'Instrument Sans', system-ui, sans-serif !important;
}
.aze-pd .aze-pd-qty-btn:hover,
.aze-pd .aze-pd-qty button:hover {
    background: var(--az-black) !important;
    color: #fff !important;
}
.aze-pd .aze-pd-qty-input,
.aze-pd .aze-pd-qty input {
    flex: 0 0 64px !important;
    width: 64px !important;
    height: 100% !important;
    min-width: 0 !important;
    background: transparent !important;
    border: none !important;
    border-left: 1px solid rgba(20, 20, 20, 0.1) !important;
    border-right: 1px solid rgba(20, 20, 20, 0.1) !important;
    border-radius: 0 !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--az-black) !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    font-family: 'Instrument Sans', system-ui, sans-serif !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}
.aze-pd .aze-pd-qty input::-webkit-outer-spin-button,
.aze-pd .aze-pd-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Actions row — zaisti flex */
.aze-pd .aze-pd-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
}

@media (max-width: 640px) {
    .aze-pd .aze-pd-actions {
        flex-direction: column !important;
    }
    .aze-pd .aze-pd-qty {
        width: 100% !important;
        min-width: 0 !important;
        justify-content: space-between !important;
    }
    .aze-pd .aze-pd-qty input {
        flex: 1 !important;
    }
}

/* ─── Wishlist + Compare nové dedikované buttony pre product detail ─── */
.aze-pd .aze-pd-fav-btn,
.aze-pd .aze-pd-cmp-btn,
.aze-pd a.aze-pd-fav-btn,
.aze-pd a.aze-pd-cmp-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    color: var(--az-black) !important;
    border: 1.5px solid rgba(20, 20, 20, 0.12) !important;
    border-radius: 9px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 200ms ease !important;
    flex-shrink: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
.aze-pd .aze-pd-fav-btn:hover,
.aze-pd .aze-pd-cmp-btn:hover {
    background: var(--az-red) !important;
    color: #fff !important;
    border-color: var(--az-red) !important;
    transform: translateY(-1px);
}
.aze-pd .aze-pd-fav-btn.added {
    background: var(--az-red) !important;
    color: #fff !important;
    border-color: var(--az-red) !important;
}
.aze-pd .aze-pd-fav-btn.added svg {
    fill: currentColor !important;
}
.aze-pd .aze-pd-fav-btn.added:hover {
    background: var(--az-red2) !important;
    border-color: var(--az-red2) !important;
}
.aze-pd .aze-pd-fav-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}
.aze-pd .aze-pd-fav-btn.loading svg {
    animation: aze-pd-heart-pulse 0.6s ease-in-out infinite;
}
@keyframes aze-pd-heart-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.85); }
}

.aze-pd .aze-pd-fav-btn svg,
.aze-pd .aze-pd-cmp-btn svg {
    width: 18px !important;
    height: 18px !important;
    color: currentColor !important;
    stroke: currentColor !important;
    fill: none !important;
    display: block !important;
    flex-shrink: 0 !important;
}
.aze-pd .aze-pd-fav-btn.added svg {
    fill: currentColor !important;
}

/* Zaisti že XStore JS nemanipuluje s wishlist (nemá xstore-wishlist class) */

/* ─── Out of stock card namiesto cart buttona ─── */
.aze-pd-unavailable {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: rgba(156, 156, 149, 0.08);
    border: 1px solid rgba(156, 156, 149, 0.25);
    border-radius: 8px;
    margin-bottom: 14px;
    color: var(--az-khaki);
}
.aze-pd-unavailable svg {
    width: 28px; height: 28px;
    color: var(--az-steel);
    flex-shrink: 0;
}
.aze-pd-unavailable-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.aze-pd-unavailable-text strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--az-black);
    letter-spacing: -0.005em;
}
.aze-pd-unavailable-text span {
    font-size: 12.5px;
    color: var(--az-khaki);
    line-height: 1.4;
}

/* Sync also re-load on focus for wishlist sync */

/* ─── Product detail wishlist/compare — kompaktné 44×44 (XStore xstore-wishlist class) ─── */
.aze-pd .aze-pd-secondary-actions .xstore-wishlist,
.aze-pd .aze-pd-secondary-actions .xstore-compare,
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn,
.aze-pd .aze-pd-secondary-actions .aze-compare-btn,
.aze-pd .aze-pd-secondary-actions a.xstore-wishlist,
.aze-pd .aze-pd-secondary-actions a.xstore-compare {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    color: var(--az-black) !important;
    border: 1.5px solid rgba(20, 20, 20, 0.12) !important;
    border-radius: 9px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 200ms ease !important;
    flex-shrink: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    gap: 0 !important;
    letter-spacing: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    overflow: visible !important;
}

.aze-pd .aze-pd-secondary-actions .xstore-wishlist:hover,
.aze-pd .aze-pd-secondary-actions .xstore-compare:hover {
    background: var(--az-red) !important;
    color: #fff !important;
    border-color: var(--az-red) !important;
    transform: translateY(-1px);
}

/* Filled state — vyplnené srdce */
.aze-pd .aze-pd-secondary-actions .xstore-wishlist[data-action="remove"],
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn.added {
    background: var(--az-red) !important;
    color: #fff !important;
    border-color: var(--az-red) !important;
}
.aze-pd .aze-pd-secondary-actions .xstore-wishlist[data-action="remove"] .aze-icon-heart,
.aze-pd .aze-pd-secondary-actions .aze-wishlist-btn.added .aze-icon-heart {
    fill: currentColor !important;
}

/* SVG dovnútra — viditeľná */
.aze-pd .aze-pd-secondary-actions a > svg,
.aze-pd .aze-pd-secondary-actions .aze-icon-heart,
.aze-pd .aze-pd-secondary-actions .aze-icon-cmp {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    color: currentColor !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Skry XStore et-icon font (zostáva v DOM kvôli XStore JS) */
.aze-pd .aze-pd-secondary-actions .et-icon {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    visibility: hidden !important;
    overflow: hidden !important;
}

/* Skry screen-reader text vizuálne (ale dostupné) */
.aze-pd .aze-pd-secondary-actions .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    font-size: 0 !important;
}

/* ─── Attribute hint (L × B × H) ─── */
.aze-pd-attr-table .aze-pd-attr-hint {
    margin-left: 8px;
    font-size: 12px;
    color: var(--az-steel);
    letter-spacing: 0.04em;
}

/* ─── BESCHREIBUNG + TECHNISCHE PARAMETER — 2 column layout ─── */
.aze-pd-specs {
    margin-bottom: 56px;
}
.aze-pd-specs-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    align-items: start;
}
.aze-pd-specs-col { min-width: 0; }

.aze-pd-specs-title {
    position: relative;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: var(--az-black) !important;
    margin: 0 0 22px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--az-line);
}
.aze-pd-specs-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--az-red);
}
.aze-pd-specs-title .aze-pd-tab-count {
    background: var(--az-red);
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    margin-left: 6px;
    text-transform: none;
}

.aze-pd-specs-desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--az-khaki);
}
.aze-pd-specs-desc p { margin: 0 0 14px; }
.aze-pd-specs-desc h2, .aze-pd-specs-desc h3, .aze-pd-specs-desc h4 {
    color: var(--az-black);
    font-weight: 700;
    margin: 24px 0 12px;
    letter-spacing: -0.005em;
}
.aze-pd-specs-desc h2 { font-size: 20px; }
.aze-pd-specs-desc h3 { font-size: 17px; }
.aze-pd-specs-desc h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; }
.aze-pd-specs-desc strong, .aze-pd-specs-desc b {
    color: var(--az-black);
    font-weight: 700;
}
.aze-pd-specs-desc ul, .aze-pd-specs-desc ol { padding-left: 1.4em; margin: 0 0 14px; }
.aze-pd-specs-desc li { margin-bottom: 6px; }
.aze-pd-specs-desc a { color: var(--az-red); }
.aze-pd-specs-desc img { max-width: 100%; height: auto; border-radius: 6px; margin: 12px 0; }

/* Tech parameters table — flat rows like ref screenshot */
.aze-pd-specs-col--params .aze-pd-attr-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.aze-pd-specs-col--params .aze-pd-attr-table tr {
    border-bottom: 1px solid var(--az-line);
}
.aze-pd-specs-col--params .aze-pd-attr-table tr:last-child {
    border-bottom: none;
}
.aze-pd-specs-col--params .aze-pd-attr-table th {
    text-align: left;
    padding: 13px 16px 13px 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--az-black);
    width: 45%;
    vertical-align: middle;
}
.aze-pd-specs-col--params .aze-pd-attr-table td {
    padding: 13px 0;
    color: var(--az-khaki);
    font-size: 14px;
    text-align: right;
    vertical-align: middle;
}

/* Reviews — pod 2-stĺpcom, full width */
.aze-pd-specs-reviews {
    padding-top: 32px;
    border-top: 1px solid var(--az-line);
    max-width: 880px;
}

/* Responsive */
@media (max-width: 980px) {
    .aze-pd-specs-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .aze-pd-specs-col--params .aze-pd-attr-table th { width: 50%; }
}

@media (max-width: 640px) {
    .aze-pd-specs { margin-bottom: 36px; }
    .aze-pd-specs-grid { gap: 28px; margin-bottom: 32px; }
    .aze-pd-specs-title { font-size: 12px !important; margin-bottom: 16px !important; }
    .aze-pd-specs-col--params .aze-pd-attr-table th,
    .aze-pd-specs-col--params .aze-pd-attr-table td { padding: 11px 0; font-size: 13px; }
    .aze-pd-specs-col--params .aze-pd-attr-table th { font-size: 10.5px; }
}

/* ════════════════════════════════════════════════════════════
   STICKY ADD-TO-CART BAR — objaví sa keď hlavné CTA odscrolluje
   ════════════════════════════════════════════════════════════ */
.aze-pd-sticky {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9990;
    background: #fff;
    border-top: 1px solid rgba(20, 20, 20, .1);
    box-shadow: 0 -10px 30px -12px rgba(20, 20, 20, .22);
    transform: translateY(110%);
    transition: transform .35s cubic-bezier(.22, .94, .36, 1);
    font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
}
.aze-pd-sticky.is-on { transform: translateY(0); }
.aze-pd-sticky-inner {
    max-width: 1650px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.aze-pd-sticky-img {
    width: 52px; height: 52px;
    border-radius: 10px;
    background: #fafaf8 center/cover no-repeat;
    border: 1px solid rgba(20, 20, 20, .08);
    flex-shrink: 0;
}
.aze-pd-sticky-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.aze-pd-sticky-name {
    font-size: 15px;
    font-weight: 700;
    color: #141414;
    letter-spacing: -.01em;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.aze-pd-sticky-price {
    font-size: 16px;
    font-weight: 800;
    color: #f04e23;
    line-height: 1;
}
.aze-pd-sticky-price .woocommerce-Price-amount { color: #f04e23 !important; font-weight: 800 !important; }

/* Sticky variant konfigurátor (proxy klon) */
.aze-pd-sticky-config {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.aze-pd-sticky-config:empty { display: none; }
.aze-pd-sticky-cfg-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.aze-pd-sticky-cfg-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a8a8a0;
    white-space: nowrap;
}
.aze-pd-sticky-cfg-opts {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.aze-pd-sticky-cfg-opt {
    padding: 6px 11px;
    background: #fff;
    border: 1.5px solid rgba(20, 20, 20, .14);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #141414;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: all .15s;
}
.aze-pd-sticky-cfg-opt:hover { border-color: rgba(240, 78, 35, .5); }
.aze-pd-sticky-cfg-opt.is-active {
    background: #f04e23;
    border-color: #f04e23;
    color: #fff;
}
.aze-pd-sticky-cfg-swatch {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1.5px rgba(20, 20, 20, .18);
    cursor: pointer;
    padding: 0;
    transition: box-shadow .15s, transform .15s;
}
.aze-pd-sticky-cfg-swatch:hover { transform: scale(1.08); }
.aze-pd-sticky-cfg-swatch.is-active {
    box-shadow: 0 0 0 2px #f04e23;
}

.aze-pd-sticky-qty {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    border: 1.5px solid rgba(20, 20, 20, .14);
    border-radius: 100px;
    overflow: hidden;
}
.aze-pd-sticky-qty-btn {
    width: 38px; height: 44px;
    background: transparent;
    border: 0;
    color: #141414;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
    font-family: inherit;
}
.aze-pd-sticky-qty-btn:hover { background: #f04e23; color: #fff; }
.aze-pd-sticky-qty-input {
    width: 44px;
    height: 44px;
    border: 0;
    border-left: 1px solid rgba(20, 20, 20, .1);
    border-right: 1px solid rgba(20, 20, 20, .1);
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #141414;
    font-family: inherit;
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
}
.aze-pd-sticky-qty-input::-webkit-outer-spin-button,
.aze-pd-sticky-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.aze-pd-sticky-cart {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 14px 28px;
    background: #f04e23;
    color: #fff;
    border: 0;
    border-radius: 100px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.aze-pd-sticky-cart:hover {
    background: #d63d13;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(240, 78, 35, .5);
}
.aze-pd-sticky-cart svg { width: 17px; height: 17px; }

/* Tablet/užšie — config labely skry, nech sa zmestia options */
@media (max-width: 1024px) {
    .aze-pd-sticky-cfg-label { display: none; }
    .aze-pd-sticky-config { gap: 10px; }
}
@media (max-width: 600px) {
    .aze-pd-sticky-inner { padding: 10px 14px; gap: 10px; }
    .aze-pd-sticky-img { display: none; }
    .aze-pd-sticky-config { display: none; }   /* varianty sa nastavia vyššie v product detail */
    .aze-pd-sticky-name { font-size: 13.5px; }
    .aze-pd-sticky-price { font-size: 15px; }
    .aze-pd-sticky-qty-btn { width: 32px; height: 40px; font-size: 16px; }
    .aze-pd-sticky-qty-input { width: 36px; height: 40px; font-size: 14px; }
    .aze-pd-sticky-cart span { display: none; }   /* na mobile len ikonka košíka */
    .aze-pd-sticky-cart { padding: 13px 16px; font-size: 12px; }
}
