/**
 * Single Product Page Styles - V6 Mix
 * Speed Nadruki
 */

/* ==========================================================================
   1. PRODUCT PAGE LAYOUT
   ========================================================================== */

.product-page {
    padding: 40px 0 80px;
}

.product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

/* ==========================================================================
   2. GALLERY - Traditional E-commerce
   ========================================================================== */

#konfigurator,
#dane-techniczne,
#rozmiarowka {
    scroll-margin-top: 135px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 120px;
}

@media (max-width: 1024px) {
    .product-gallery {
        position: static;
    }
}

/* Main Image */
.gallery-main {
    aspect-ratio: 1/1;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-main a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-main .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-main a:hover .main-image {
    transform: scale(1.02);
}

.gallery-main .zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
}

/* Thumbnails - Horizontal below */
.gallery-thumbnails {
    display: flex;
    gap: 10px;
}

.gallery-thumbnails .thumb {
    width: 72px;
    height: 72px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.gallery-thumbnails .thumb:hover,
.gallery-thumbnails .thumb.active {
    border-color: var(--navy);
}

.gallery-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thumbnails Slider Wrapper */
.gallery-thumbnails-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* gallery-thumbs-female: visibility controlled by inline style (PHP) + JS toggle */

.gallery-thumbnails-wrapper .gallery-thumbnails {
    overflow: hidden;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
}

.gallery-thumbnails-wrapper .gallery-thumbnails.color-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-thumbnails-wrapper .gallery-thumbnails.color-thumbnails::-webkit-scrollbar {
    display: none;
}

/* Thumbnail Navigation Arrows */
.thumb-nav {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    background: var(--bg-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    color: var(--text-secondary);
}

.thumb-nav:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: white;
}

.thumb-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.thumb-nav:disabled:hover {
    border-color: var(--border-light);
    background: var(--bg-white);
    color: var(--text-secondary);
}

/* ==========================================================================
   3. CONFIGURATOR
   ========================================================================== */

.product-configurator {
    padding: 0 8px;
}

/* Header: Title + SKU + Rating */
.product-title {
    font-size: 30px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 8px;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 13px;
}

.product-sku {
    color: var(--text-muted);
}

.rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-stars {
    color: #f59e0b;
    font-size: 14px;
}

.rating-text {
    color: var(--text-secondary);
}

/* Price */
.product-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--mint-dark);
    margin-bottom: 6px;
}

.product-price .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.product-price .suffix {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.product-price .price-qty-note {
    font-size: 13px;
    color: var(--text-secondary);
}

.price-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ==========================================================================
   PRICE TIERS
   ========================================================================== */

/* Price Tiers - Ruler/Scale variant */
.price-tiers-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    margin-top: 14px;
    position: relative;
    padding: 0;
}

/* Sticky Price Tier - fixed at top when scrolled past */
.price-tiers-sticky-placeholder {
    display: none !important;
}
.price-tiers-wrapper.is-sticky-top + .price-tiers-sticky-placeholder {
    display: block !important;
}

.price-tiers-wrapper.is-sticky-top {
    position: fixed;
    top: 73px;
    z-index: 999;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    margin-top: 0;
    margin-bottom: 0;
    padding: 12px 20px 8px;
    animation: stickyTierSlideIn 0.3s ease both;
    transition: opacity 0.2s ease;
}

.price-tiers-wrapper.is-sticky-top.is-hidden-past {
    opacity: 0 !important;
    pointer-events: none !important;
}

.price-tiers-wrapper.is-unsticking {
    animation: stickyTierSlideOut 0.15s ease both;
}

@keyframes stickyTierSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes stickyTierSlideOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

.price-tiers {
    display: flex;
    gap: 0;
    flex: 1;
    overflow-x: auto;
    align-items: flex-end;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    padding: 30px 8px 0;
}

.price-tiers:active {
    cursor: grabbing;
}

.price-tiers::-webkit-scrollbar {
    display: none;
}

.price-tier {
    flex: 0 0 calc(100% / 3);
    min-width: 0;
    text-align: center;
    position: relative;
    cursor: default;
}

/* The progress bar segment */
.price-tier .tier-bar {
    height: 4px;
    background: var(--border-light);
    margin-bottom: 10px;
    position: relative;
    overflow: visible;
}

.price-tier:first-child .tier-bar {
    border-radius: 3px 0 0 3px;
}

.price-tier:last-child .tier-bar {
    border-radius: 0 3px 3px 0;
}

/* Tick mark between tier segments */
.price-tier + .price-tier .tier-bar {
    border-left: 5px solid white;
}

/* Fill overlay inside each bar segment */
.price-tier .tier-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--fill, 0%);
    background: var(--mint);
    border-radius: inherit;
    transition: width 0.4s ease;
}

.price-tier:first-child .tier-bar::before {
    border-radius: 3px 0 0 3px;
}

/* Progress dot - follows the fill edge */
.price-tier .tier-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--fill, 0%);
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--mint);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--mint);
    z-index: 2;
    opacity: 0;
    transition: left 0.4s ease, opacity 0.3s;
}

/* Show dot on the tier with the leading edge */
.price-tier.has-dot .tier-bar::after {
    opacity: 1;
}

/* Idle dot (qty=0) — grayed out, at the start of the first tier */
.price-tier.has-dot-idle .tier-bar::after {
    opacity: 1;
    left: 0;
    background: var(--border-medium);
    box-shadow: 0 0 0 2px var(--border-medium);
}

/* Price */
.price-tier .tier-price {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--border-medium);
    transition: all 0.3s;
}

.price-tier.active .tier-price {
    color: var(--navy);
    font-weight: 700;
}

/* Quantity label */
.price-tier .tier-qty {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

/* Branding discount under qty */
.price-tier .tier-branding-discount {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

/* Badge/Label - positioned ABOVE the bar */
.price-tier .tier-label {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--border-medium);
    color: white;
    transition: background 0.3s;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    z-index: 5;
}

/* Badge active state - navy when user has qty > 0 */
.price-tiers-wrapper.has-qty .price-tier .tier-label {
    background: var(--navy);
}


/* Config Sections */
.config-section {
    margin-bottom: 24px;
}

.config-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.config-section .config-section-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    max-width: 100%;
    padding: 8px 12px 6px;
    background: var(--navy);
    color: #fff;
    border-radius: 6px;
    line-height: 1.3;
}

/* ==========================================================================
   3B. STACKED CONFIGURATOR SECTIONS
   ========================================================================== */

.config-tabs {
    margin-top: 24px;
}

.config-section--sizes,
.config-section--branding {
    scroll-margin-top: 135px;
}

/* Separate the next heading from sizes; keep its frame close below. */
.config-section--sizes + .config-section--branding {
    margin-top: 32px;
}

/* Branding options — frame matching .sizes-table */
.config-branding-frame {
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    padding: 16px;
}

.config-section--branding:focus-visible {
    outline: 2px solid var(--mint);
    outline-offset: 4px;
}

/* Branding options wrapper - styling for Barn2 plugin output */
.branding-options-wrapper {
    padding: 0;
}

/* Hide WPO totals - price shown in our summary box */
.branding-options-wrapper .wpo-totals-container {
    display: none !important;
}

.branding-options-wrapper .wpo-group {
    margin-bottom: 20px;
}

/* Barn2 option titles - smaller font */
.branding-options-wrapper .wpo-option-name,
.branding-options-wrapper .wpo-option-name__text {
    font-size: 13px;
}

/* Barn2 select dropdowns - smaller font */
.branding-options-wrapper .wpo-field select,
.branding-options-wrapper div.nice-select,
.branding-options-wrapper div.nice-select .current,
.branding-options-wrapper div.nice-select .option,
.branding-options-wrapper div.nice-select .wpo-price-container,
.branding-options-wrapper div.nice-select .wpo-price,
.branding-options-wrapper div.nice-select .wpo-currency,
.branding-options-wrapper .dz-message,
.branding-options-wrapper .wpo-file-dropzone.dropzone .dz-button-label {
    font-size: 13px;
}

/* Keep the native upload controls inside the narrow branding frame. */
.branding-options-wrapper .wpo-file-dropzone.dropzone,
.branding-options-wrapper .wpo-file-dropzone.dropzone .dz-default,
.branding-options-wrapper .wpo-file-dropzone.dropzone .dz-button {
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

/* Barn2 selected option - less bold */
.branding-options-wrapper .wpo-field select option:checked,
.branding-options-wrapper .wpo-field select option[selected] {
    font-weight: 600;
}

/* Barn2 choice labels (radio/checkbox) */
.branding-options-wrapper .wpo-choice-label {
    font-size: 13px;
}

/* Barn2 nice-select selected option */
.branding-options-wrapper .nice-select .option.selected {
    font-weight: 700;
    color: var(--navy);
}

.branding-options-wrapper div.nice-select .nice-select-dropdown li img.wpo-choice-image,
.branding-options-wrapper div.nice-select span.current img.wpo-choice-image {
    display: inline-block;
    margin-right: .25em;
    vertical-align: -7px;
    width: 30px;
}

/* Barn2 upload fallback for files without browser thumbnail support */
.branding-options-wrapper .dz-preview.sn-upload-preview--no-thumb img[data-dz-thumbnail],
.wpo-field-file_upload .dz-preview.sn-upload-preview--no-thumb img[data-dz-thumbnail] {
    display: none !important;
}

.branding-options-wrapper .wpo-file-dropzone.dropzone .dz-preview.sn-upload-preview--no-thumb,
.wpo-field-file_upload .wpo-file-dropzone.dropzone .dz-preview.sn-upload-preview--no-thumb {
    min-height: 92px;
}

.branding-options-wrapper .wpo-file-dropzone.dropzone .dz-preview.sn-upload-preview--no-thumb .sn-upload-preview-fallback,
.wpo-field-file_upload .wpo-file-dropzone.dropzone .dz-preview.sn-upload-preview--no-thumb .sn-upload-preview-fallback {
    grid-area: thumbnail;
    align-self: center;
    justify-self: start;
}

.branding-options-wrapper .sn-upload-preview-fallback,
.wpo-field-file_upload .sn-upload-preview-fallback {
    width: 74px;
    height: 72px;
    min-height: 72px;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    background: #f0fdf4;
    color: #166534;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 5px 4px;
    text-align: center;
    overflow: hidden;
}

.branding-options-wrapper .sn-upload-preview-fallback__icon,
.wpo-field-file_upload .sn-upload-preview-fallback__icon {
    color: #16a34a;
    line-height: 1;
}

.branding-options-wrapper .sn-upload-preview-fallback__title,
.wpo-field-file_upload .sn-upload-preview-fallback__title {
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.05;
    max-width: 64px;
}

.branding-options-wrapper .sn-upload-preview-fallback__note,
.wpo-field-file_upload .sn-upload-preview-fallback__note {
    color: #4b5563;
    font-size: 8.5px;
    line-height: 1.05;
    max-width: 64px;
}

/* ==========================================================================
   4. COLOR SWATCHES — scrollable single row
   ========================================================================== */

/* Scroll container with arrows */
.color-swatches-scroll {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}
.color-swatches-scroll--female {
    display: none;
}
.color-swatches-scroll--active {
    display: flex;
}

/* Inner swatch strip */
.color-swatches-scroll .color-swatches {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    flex: 1;
    padding: 6px 14px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.color-swatches-scroll .color-swatch {
    scroll-snap-align: start;
}
.color-swatches-scroll .color-swatches::-webkit-scrollbar {
    display: none;
}

/* Arrow buttons */
.swatches-arrow {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--border-light);
    background: var(--bg-subtle);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    padding: 0;
}
.swatches-arrow:hover {
    background: var(--bg-muted);
    border-color: var(--navy);
    color: var(--navy);
}
.swatches-arrow.is-hidden {
    opacity: .25;
    pointer-events: none;
}

/* Individual swatch */
.color-swatch {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.selected {
    border-color: var(--navy);
    box-shadow: inset 0 0 0 2px #fff;
}

/* ==========================================================================
   3C. PRODUCT TYPE SELECTION (Męski/Damski)
   ========================================================================== */

.type-selection {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.type-option {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.type-option span {
    display: block;
    padding: 14px 20px;
    text-align: center;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.type-option:hover span {
    border-color: var(--border-medium);
    color: var(--navy);
}

.type-option.selected span,
.type-option input[type="radio"]:checked + span {
    background: var(--mint-light);
    border-color: var(--mint);
    color: var(--navy);
}

.type-option--static {
    cursor: default;
}
.type-option--static:hover span {
    border-color: var(--mint);
}

.selected-color {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.selected-color strong {
    color: var(--navy);
}

/* ==========================================================================
   5. SIZES — CHIP GROUPS (Popularne + Pozostałe)
   ========================================================================== */

.sizes-table-female {
    display: none;
}
.sizes-table-female--active {
    display: block;
}

.sizes-table {
    width: 100%;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    padding: 16px;
}

.sizes-table-child .child-size-selection-note {
    font-size: 13px;
}

/* Group structure */
.size-chips-group {
    margin-bottom: 14px;
}
.size-chips-group:last-child {
    margin-bottom: 0;
}

.size-chips-group__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.size-chips-group__label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

.size-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Base chip */
.size-chip {
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-white);
    transition: border-color .2s, box-shadow .2s;
}

.size-chip__label {
    font-weight: 700;
    text-align: center;
    letter-spacing: .3px;
    border-right: 1px solid var(--border-light);
}

/* Popular chips — larger, navy label */
.size-chip--popular {
    border: 1.5px solid var(--navy);
}
.size-chip--popular .size-chip__label {
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    padding: 7px 12px;
    min-width: 40px;
}
.sizes-table .size-chip--popular .quantity-control { height: 34px; border: none; border-radius: 0; background: transparent; box-shadow: none; }
.sizes-table .size-chip--popular .qty-btn { width: 28px; height: 34px; font-size: 14px; background: transparent; border: none; }
.sizes-table .size-chip--popular .qty-input { width: 34px; height: 34px; font-size: 14px; color: var(--navy); background: transparent; border: none; box-shadow: none; outline: none; padding: 0; }
.size-chip--popular.has-qty {
    border-color: var(--mint);
}
.size-chip--popular.has-qty .size-chip__label {
    background: var(--mint);
    color: #fff;
}
.sizes-table-child .size-chip--popular .size-chip__label {
    min-width: 54px;
}

/* Remaining chips — smaller, muted */
.size-chip--remaining {
    border: 1px solid var(--border-light);
    opacity: .75;
    transition: opacity .2s, border-color .2s;
}
.size-chip--remaining:hover {
    opacity: 1;
}
.size-chip--remaining.has-qty {
    opacity: 1;
    border-color: var(--mint);
    box-shadow: 0 0 0 1px var(--mint);
}
.size-chip--remaining .size-chip__label {
    padding: 5px 8px;
    font-size: 11px;
    min-width: 32px;
    background: var(--bg-subtle);
    color: var(--text-muted);
}
.size-chip--remaining.has-qty .size-chip__label {
    background: var(--mint-light);
    color: var(--mint-hover);
}
.sizes-table .size-chip--remaining .quantity-control { height: 26px; border: none; border-radius: 0; background: transparent; box-shadow: none; }
.sizes-table .size-chip--remaining .qty-btn { width: 22px; height: 26px; font-size: 11px; background: transparent; border: none; }
.sizes-table .size-chip--remaining .qty-input { width: 26px; height: 26px; font-size: 11px; color: var(--navy); background: transparent; border: none; box-shadow: none; outline: none; padding: 0; }

.size-chart-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 10px 14px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--navy);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-fast);
}
.config-section--sizes > .size-chart-link {
    margin-left: 0;
    margin-right: 0;
}

.size-chart-link:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: white;
}

.size-chart-link--back {
    position: absolute;
    top: 18px;
    right: 44px;
    margin: 0;
    padding: 8px 16px;
    font-size: 13px;
    gap: 6px;
}

.size-label {
    font-weight: 600;
    color: var(--navy);
    font-size: 14px;
}

/* ==========================================================================
   6. QUANTITY CONTROLS
   ========================================================================== */

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
    background: white;
}

.qty-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--bg-subtle);
    color: var(--navy);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover:not(:disabled) {
    background: var(--mint-light);
    color: var(--mint-dark);
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-input {
    width: 52px;
    height: 34px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    background: white;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ==========================================================================
   6B. FREE SHIPPING INFO
   ========================================================================== */

.free-shipping-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-subtle);
    border-radius: 8px;
    margin-top: 10px;
}

.free-shipping-icon {
    flex-shrink: 0;
    color: var(--mint-dark);
}

.free-shipping-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.free-shipping-remaining strong {
    color: var(--navy);
    font-weight: 600;
}

.free-shipping-achieved {
    color: var(--status-success);
    font-weight: 600;
}

/* ==========================================================================
   6C. VISUALIZATION INFO
   ========================================================================== */

.visualization-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 12px;
}

.visualization-icon {
    flex-shrink: 0;
    color: #ea580c;
}

.visualization-text {
    font-size: 13px;
    color: #9a3412;
    line-height: 1.5;
}

/* ==========================================================================
   7. SUMMARY BOX
   ========================================================================== */

.sticky-bottom-placeholder {
    display: none !important;
}
.sticky-bottom-group.is-fixed + .sticky-bottom-placeholder {
    display: block !important;
}

.sticky-bottom-group {
    margin-top: 20px;
}

.sticky-bottom-group.is-fixed {
    position: fixed;
    bottom: 20px;
    z-index: 1000;
    animation: stickySlideIn 0.4s ease 0.5s both;
}

.sticky-bottom-group.is-unfixing {
    animation: stickySlideOut 0.1s ease both;
}

@keyframes stickySlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes stickySlideOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(30px); }
}

.summary-box {
    background: var(--mint-light);
    border: 1px solid var(--mint);
    border-radius: 10px;
    padding: 18px;
}

.summary-box .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

/* Lewa część - ograniczona szerokość */
.summary-box .summary-row > div:first-child {
    flex: 0 1 auto;
    max-width: 55%;
    min-width: 0;
}

.summary-box .summary-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}

.summary-box .summary-details {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Znakowanie w nowej linii */
.summary-box .summary-details #options-price-info {
    display: inline;
}

.summary-box .summary-prompt {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
}

/* Summary box - default state (no quantity) - hide price elements via CSS */
.summary-box .summary-label,
.summary-box .summary-details,
.summary-box .summary-regular-price,
.summary-box .summary-price-line,
.summary-box .summary-netto,
.summary-box .summary-savings {
    display: none;
}

/* Summary box - has quantity state - show price, hide prompt */
.summary-box.has-quantity .summary-label,
.summary-box.has-quantity .summary-details,
.summary-box.has-quantity .summary-price-line,
.summary-box.has-quantity .summary-netto {
    display: block;
}

.summary-box.has-quantity.has-savings .summary-regular-price,
.summary-box.has-quantity.has-savings .summary-savings {
    display: block;
}

.summary-box.has-quantity .summary-prompt {
    display: none;
}

.summary-box .summary-netto {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    text-align: right;
}

.summary-box .summary-regular-price {
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: line-through;
    text-decoration-thickness: .5px;
    letter-spacing: -.5px;
}

.summary-box .summary-price-line {
    line-height: 1;
}

.summary-box .summary-savings {
    margin-top: 7px;
    color: var(--status-success);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

/* Project file reminder */
.project-file-reminder {
    background: rgba(220, 38, 38, 0.8);
    border: 2px solid #991B1B;
    border-radius: 8px;
    padding: 12px 14px 9px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-align: left;
    line-height: 1.4;
    margin: 0 0 10px;
}

.project-file-reminder strong {
    margin-right: 4px;
}
.project-file-reminder a.reminder-branding-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.project-file-reminder a.reminder-branding-link:hover {
    text-decoration-thickness: 2px;
}

@keyframes reminderFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Summary box animations */
.summary-box .summary-row {
    transition: opacity 0.2s ease;
}

.summary-box .summary-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
    line-height: 1.15;
}

/* ==========================================================================
   7B. PRIORITY SELECTION
   ========================================================================== */

.priority-selection {
    margin-top: 16px;
    padding: 14px 16px;
    background: var(--bg-subtle);
    border-radius: 10px;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.priority-selection.is-visible {
    display: block;
    animation: priorityFadeIn 0.4s ease forwards;
}

@keyframes priorityFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.priority-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.priority-options {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.priority-note {
    font-size: 11px;
    color: var(--text-muted);
    margin: 8px 0 0 3px;
}

.priority-option {
    flex: 1;
    cursor: pointer;
    display: flex;
}

.priority-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.priority-option-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 8px 10px;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
}

.priority-option:hover .priority-option-inner {
    border-color: var(--border-medium);
}

.priority-option input:checked + .priority-option-inner {
    border-color: var(--mint);
    background: var(--mint-light);
}

/* Express disabled overlay */
.priority-option {
    position: relative;
}

.priority-option-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    z-index: 2;
}

.priority-option.disabled {
    cursor: not-allowed;
}

.priority-option.disabled .priority-option-overlay {
    display: flex;
}

.priority-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
}

.priority-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.priority-discount {
    font-size: 11px;
    font-weight: 600;
    color: var(--status-success);
    margin-top: 4px;
}

.priority-markup {
    font-size: 11px;
    font-weight: 600;
    color: var(--status-warning);
    margin-top: 4px;
}

.priority-neutral {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 4px;
}

.priority-price-preview {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
    min-height: 14px;
}

/* Branding Info Textarea */
.branding-info-field {
    margin: var(--spacing-md) 0;
}

.branding-info-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.branding-info-textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 13px;
    color: var(--text-primary);
    resize: vertical;
    transition: border-color var(--transition-fast);
}

.branding-info-textarea:focus {
    outline: none;
    border-color: var(--mint);
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
}

.branding-info-textarea::placeholder {
    color: var(--text-muted);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .priority-options {
        gap: 6px;
    }

    .priority-option-inner {
        padding: 8px 6px;
        min-height: 50px;
    }

    .priority-name {
        font-size: 12px;
    }

    .priority-discount,
    .priority-markup {
        font-size: 10px;
    }
}

/* ==========================================================================
   8. BRANDING SECTION (WP OPTIONS PLACEHOLDER)
   ========================================================================== */

.branding-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.branding-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.branding-placeholder {
    border: 2px dashed var(--border-light);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    background: var(--bg-light);
}

.branding-placeholder p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

/* ==========================================================================
   9. ADD TO CART BUTTON
   ========================================================================== */

.add-to-cart-btn {
    width: 100%;
    padding: 18px 32px;
    background: var(--mint);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 24px;
}

.add-to-cart-btn:hover:not(:disabled) {
    background: var(--mint-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.add-to-cart-btn:disabled {
    background: var(--bg-subtle);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Consultant Button - Ghost */
.product-configurator .btn-ghost {
    width: 100%;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-secondary);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

.product-configurator .btn-ghost:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

/* Consultant Popup - Overlay */
.consultant-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.consultant-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Consultant Popup - Modal */
.consultant-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    z-index: 9999;
    width: 440px;
    max-width: calc(100vw - 32px);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.2);
    padding: 40px 36px 36px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.consultant-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Close button */
.consultant-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.15s ease;
    z-index: 2;
}

.consultant-popup__close:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.consultant-popup__close svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Icon */
.consultant-popup__icon {
    width: 56px;
    height: 56px;
    background: var(--mint-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.consultant-popup__icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--mint);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Title & description */
.consultant-popup__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 6px;
}

.consultant-popup__desc {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Phone - primary action */
.consultant-popup__phone {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--navy);
    border-radius: var(--radius-md);
    color: white;
    text-decoration: none;
    margin-bottom: 12px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.consultant-popup__phone:hover {
    background: var(--navy-hover);
    transform: translateY(-1px);
}

.consultant-popup__phone-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultant-popup__phone-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.consultant-popup__phone-text {
    flex: 1;
}

.consultant-popup__phone-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.consultant-popup__phone-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.consultant-popup__phone-arrow {
    width: 20px;
    height: 20px;
    opacity: 0.5;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.consultant-popup__phone:hover .consultant-popup__phone-arrow {
    transform: translateX(3px);
    opacity: 0.8;
}

/* Email - secondary action */
.consultant-popup__email {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.2s ease;
}

.consultant-popup__email:hover {
    background: #e5e7eb;
}

.consultant-popup__email > svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    stroke: var(--text-muted);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.consultant-popup__email-text {
    flex: 1;
}

.consultant-popup__email-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.consultant-popup__email-hint {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

/* ==========================================================================
   10. TRUST BADGES
   ========================================================================== */

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    padding: 32px;
    background: var(--bg-subtle);
    border-radius: 12px;
}

.trust-badge {
    text-align: center;
}

.trust-badge .icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: var(--shadow-sm);
    color: var(--navy);
}

.trust-badge .icon svg {
    width: 24px;
    height: 24px;
}

.trust-badge h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2px;
}

.trust-badge p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   11. REVIEWS SECTION
   ========================================================================== */

.reviews-section {
    margin-top: 60px;
    padding-top: 60px;
    padding-bottom: 60px;
    border-top: 1px solid var(--border-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-summary .big-rating {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
}

.reviews-summary .stars {
    color: #f59e0b;
    font-size: 16px;
}

.reviews-summary .count {
    color: var(--text-muted);
    font-size: 13px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    color: var(--navy);
    font-size: 14px;
}

.review-stars {
    color: #f59e0b;
    font-size: 13px;
}

.review-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 10px;
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   12. DANE TECHNICZNE SECTION
   ========================================================================== */

.dane-techniczne {
    position: relative;
    margin-top: 60px;
    padding: 50px 44px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.dane-techniczne h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.dt-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.dt-left {
    display: flex;
    flex-direction: column;
}

.dt-left .dt-washing {
    margin-top: auto;
}

.dt-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.dt-underline {
    background-image: linear-gradient(to right, var(--mint), var(--mint));
    background-position: 0 100%;
    background-size: 100% 3px;
    background-repeat: no-repeat;
    padding-bottom: 4px;
}

.dt-description {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.8;
    margin-bottom: 18px;
}

.dt-description p {
    margin-bottom: 10px;
}

.dt-description p:last-child {
    margin-bottom: 0;
}

.dt-specs-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.dt-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dt-specs li {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    padding: 3px 0 3px 16px;
    line-height: 1.5;
    position: relative;
}

.dt-specs li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--mint);
}

/* Właściwości produktu (ikony) */
.dt-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.dt-features__item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.dt-features__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    flex-shrink: 0;
}

.dt-features__label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Prawa kolumna - rozmiarówka */
.dt-right {
    position: relative;
}

.dt-sizing-graphic {
    position: absolute;
    top: -5px;
    right: 0;
}

.dt-sizing-img {
    width: 220px;
    height: auto;
}

/* Size chart tabs — segmented buttons */
.dt-size-tabs {
    display: inline-flex;
    border: 2px solid var(--navy);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 230px;
    margin-bottom: 16px;
}

.dt-size-tab {
    padding: 9px 28px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    background: var(--bg-white);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dt-size-tab + .dt-size-tab {
    border-left: 2px solid var(--navy);
}

.dt-size-tab.active {
    color: var(--text-inverse);
    background: var(--navy);
}

.dt-size-tab:not(.active):hover {
    background: var(--bg-subtle);
}

/* Tab content visibility */
.dt-tab-content {
    display: none;
}

.dt-tab-content.active {
    display: block;
}

.dt-size-table-wrap {
    overflow-x: auto;
    margin-bottom: 14px;
}

/* When tabs exist, table doesn't need extra margin */
.dt-tab-content {
    margin-top: 0 !important;
}

/* When no tabs, table-wrap needs margin-top for SVG space */
.dt-size-table-wrap:not(.dt-tab-content) {
    margin-top: 230px;
}

.dt-size-table-wrap--no-graphic:not(.dt-tab-content) {
    margin-top: 0;
}

.dt-size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
    text-align: center;
}

.dt-size-table thead th {
    padding: 10px 12px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--text-inverse);
    background: var(--navy);
}

.dt-size-table thead th:first-child {
    border-radius: var(--radius-md) 0 0 0;
}

.dt-size-table thead th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.dt-size-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.dt-size-table tbody tr:nth-child(even) td {
    background: var(--bg-light);
}

.dt-row-label {
    color: var(--mint) !important;
    font-weight: 700 !important;
    text-align: left !important;
    width: 30px;
}

.dt-compare-note {
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    margin: 0 0 0 10px;
}

.dt-washing {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
}

.dt-washing-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dt-washing-header svg {
    flex-shrink: 0;
    color: var(--mint);
    margin-top: 2px;
}

.dt-washing-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.dt-washing-temp {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--navy);
    margin-top: 2px;
}

.dt-washing-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dt-tip-badge {
    display: inline-flex;
    align-items: center;
    background: var(--mint-light);
    color: var(--mint-hover);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .dane-techniczne {
        padding: 30px 20px;
    }
    .dt-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .dane-techniczne h2 {
        font-size: 20px;
    }
    .dt-sizing-graphic {
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    .dt-size-table-wrap:not(.dt-tab-content) {
        margin-top: 0;
    }
    .dt-size-tabs {
        margin-top: 0;
    }
    .dt-size-tab {
        padding: 9px 20px;
        font-size: 12px;
    }
    .size-chart-link--back {
        position: static;
        margin: 24px auto 0;
        display: flex;
        justify-content: center;
        width: fit-content;
    }
}

/* ==========================================================================
   13. RELATED PRODUCTS
   ========================================================================== */

.related-products {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--border-light);
}

.related-products h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
}

.related-products-slider {
    position: relative;
    padding: 0 40px;
}

.related-products-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 60px) / 4);
    gap: 20px;
    margin: 0;
    padding: 6px 0 14px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--mint) var(--border-light);
}

/* Keep native scrolling; hide its bar only after this component's JS is ready. */
.related-products-track.is-enhanced {
    scrollbar-width: none;
}

.related-products-track.is-enhanced::-webkit-scrollbar {
    display: none;
}

.related-products-item {
    min-width: 0;
    padding: 2px;
    scroll-snap-align: start;
}

.related-products-track:focus-visible,
.related-card:focus-visible,
.related-products-arrow:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: -2px;
}

@media (max-width: 1023px) {
    .related-products-track {
        grid-auto-columns: calc((100% - 40px) / 3);
    }
}

@media (max-width: 767px) {
    .related-products-track {
        grid-auto-columns: calc((100% - 16px) / 2);
        gap: 16px;
    }
}

.related-card {
    display: block;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--mint);
}

.related-card .image {
    position: relative;
    aspect-ratio: 3/4;
    background: #fff;
    overflow: hidden;
}

.related-card .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.related-card .image .product-type-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.4;
    z-index: 1;
    background: var(--navy);
    color: white;
}

.related-card .image .product-colors-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.4;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
}

@media (max-width: 479px) {
    .related-card .image .product-type-badge,
    .related-card .image .product-colors-badge {
        left: 8px;
        right: auto;
        padding: 3px 5px;
        font-size: 10px;
        letter-spacing: 0;
    }

    .related-card .image .product-type-badge {
        bottom: 30px;
    }

    .related-card .image .product-colors-badge {
        bottom: 8px;
    }
}

.related-card .info {
    padding: 14px;
}

.related-card .category {
    font-size: 11px;
    color: var(--text-muted);
}

.related-card .name {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin: 4px 0 8px;
    line-height: 1.3;
}

.related-card .price {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
}

.related-card .price .from {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

.related-card .price .amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}

.related-card .price .currency {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
}

.related-card .product-cta-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--mint);
    margin-top: 10px;
    padding: 4px 0;
    transition: all var(--transition-fast);
}

.related-card:hover .product-cta-link {
    color: var(--mint-hover);
}

.related-card .product-badges-top {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.related-card .product-badge {
    padding: 6px 10px 4px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: -0.2px;
    line-height: 1;
    width: fit-content;
    background: var(--mint);
    color: white;
    text-transform: uppercase;
}

.related-card .product-badge--cmo-bestseller {
    background: var(--navy);
    color: white;
    letter-spacing: 0.8px;
    padding: 5px 12px;
}

.related-card .product-badge--cmo-premium {
    background: var(--mint);
    color: white;
    letter-spacing: 0.8px;
    padding: 5px 12px;
}

.related-card .product-badge--cmo-cheap {
    background: #7a8a9e;
    color: white;
    letter-spacing: 0.8px;
    padding: 5px 12px;
}

.related-card .product-badge--bestseller {
    background: var(--mint);
}

.related-card .product-badge--new {
    background: var(--mint);
}

/* Optional native-scroll controls; no script is required for layout or scrolling. */
.related-products-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.related-products-arrow[hidden] {
    display: none;
}

.related-products-arrow:disabled {
    opacity: .35;
    cursor: default;
}

.related-products-prev {
    left: 0;
}

.related-products-next {
    right: 0;
}

/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .gallery-main {
        max-width: 600px;
        margin: 0 auto;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-tiers-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .description-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .reviews-section {
        padding-bottom: 40px;
    }

    .reviews-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .trust-badges {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .product-title {
        font-size: 22px;
    }

    .product-price {
        font-size: 26px;
    }

    .related-products-slider {
        padding: 0;
    }

    .related-products-arrow {
        display: none;
    }

    .price-tier {
        flex: 0 0 calc(100% / 2);
    }
}

@media (max-width: 480px) {
    .product-page {
        padding: 24px 0 60px;
    }

    .product-configurator {
        padding: 0;
    }

    .price-tiers-wrapper.is-sticky-top {
        top: 77px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-price {
        font-size: 24px;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .gallery-thumbnails .thumb {
        width: 60px;
        height: 60px;
    }

    .color-swatch {
        width: 34px;
        height: 34px;
        min-width: 34px;
        aspect-ratio: 1;
        flex-shrink: 0;
    }

    .summary-box .summary-total {
        font-size: 22px;
    }

    .summary-box .summary-row {
        flex-direction: column;
        gap: 12px;
    }

    .summary-box .summary-row > div:first-child {
        max-width: 100%;
    }

    .summary-box .summary-total {
        width: 100%;
    }


    /* Size table - tighter padding */
    .sizes-table-header {
        padding: 5px 7px;
    }

    .size-row {
        padding: 6px 7px;
    }

    /* Size chart (dane techniczne) - tighter padding */
    .dt-size-table thead th {
        padding: 5px 6px;
    }

    .dt-size-table tbody td {
        padding: 5px 6px;
    }
}

/* ==========================================================================
   15. UTILITIES
   ========================================================================== */

.text-muted {
    color: var(--text-muted);
}

/* ==========================================================================
   16. FILE PREPARATION GUIDE — LINK & MODAL
   ========================================================================== */

/* Trigger link */
.file-prep-link {
    position: absolute;
    right: 5px;
    top: 2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    color: var(--mint);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    text-decoration-color: var(--mint);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    transition: all 0.3s ease;
    /* padding: 0 4px; */
}
.file-prep-link:hover {
    color: var(--navy);
    background-color: var(--mint-light);
    text-decoration-color: var(--navy);
    border-radius: 3px;
    text-underline-offset: 8px;
}
.file-prep-link svg {
    flex-shrink: 0;
}

/* Modal overlay */
.file-prep-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}
.file-prep-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.file-prep-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.file-prep-modal__dialog {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 820px;
    width: 92%;
    max-height: 88vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.25s;
}
.file-prep-modal__content {
    overflow-y: auto;
    padding: 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-medium) transparent;
}
.file-prep-modal__content::-webkit-scrollbar {
    width: 6px;
}
.file-prep-modal__content::-webkit-scrollbar-track {
    background: transparent;
    margin: 12px 0;
}
.file-prep-modal__content::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 3px;
}
.file-prep-modal__content::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
.file-prep-modal.is-open .file-prep-modal__dialog {
    transform: translateY(0);
}
.file-prep-modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 2;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}
.file-prep-modal__close:hover {
    color: var(--text-primary);
    background: var(--bg-light);
}

/* Section header */
.file-prep-section__header {
    text-align: center;
    margin-bottom: 28px;
}
.file-prep-section__header h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.file-prep-section__subtitle {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: 2px;
}

/* Grid */
.file-prep-grid {
    display: grid;
    gap: 20px;
}
.file-prep-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.file-prep-grid--bottom {
    margin-top: 20px;
    grid-template-columns: repeat(3, 1fr);
}
.file-prep-grid--bottom .file-prep-card:last-child {
    grid-column: 2;
}

/* Card */
.file-prep-card {
    text-align: center;
    padding: 20px 12px;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    transition: box-shadow var(--transition-fast);
}
.file-prep-card:hover {
    box-shadow: var(--shadow-sm);
}
.file-prep-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    color: var(--navy);
}
.file-prep-card__icon--pdf { color: var(--mint); }
.file-prep-card__icon--pantone { color: var(--mint); }
.file-prep-card__icon--cmyk { color: var(--mint); }
.file-prep-card__icon--reject { color: #E53935; }
.file-prep-card__icon--dpi { color: var(--navy); }

.file-prep-dpi-text {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--navy);
}

.file-prep-card strong {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.file-prep-card p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}
.file-prep-card small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Divider */
.file-prep-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 32px 0;
}

/* ============================================================
   Zmiana #9: Dobieramy metodę nadruku — light callout
   ============================================================ */
.method-note-c {
    position: relative;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}


.method-note-c__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--mint-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.method-note-c__icon svg {
    stroke: var(--mint);
}

.method-note-c__content {
    position: relative;
    z-index: 1;
}

.method-note-c__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.method-note-c__text {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================================
   Zmiana #11: Karty rozmiarowe wzrost/waga
   ============================================================ */
.size-helper-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin: 24px 0 12px;
}

.size-helper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.size-helper-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px 10px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.size-helper-card:hover {
    border-color: var(--mint);
    box-shadow: 0 2px 12px rgba(105, 164, 180, 0.2);
}

.size-helper-circle {
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    margin: 0 auto 8px;
}

.size-helper-height {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.size-helper-weight {
    font-size: 12px;
    color: var(--text-muted);
}

.size-helper-note {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 10px 14px;
    background: var(--mint-light);
    border-radius: var(--radius-md);
    margin-top: 12px;
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .file-prep-modal__dialog {
        padding: 24px 16px;
        max-height: 92vh;
        width: 96%;
    }
    .file-prep-grid--3 {
        grid-template-columns: 1fr;
    }
    .file-prep-grid--bottom {
        grid-template-columns: 1fr;
    }
    .file-prep-grid--bottom .file-prep-card:last-child {
        grid-column: auto;
    }
}

/* ══════════════════════════════════════════
   WHATSAPP PRODUCT LINK
   ══════════════════════════════════════════ */
.whatsapp-product-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 6px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.whatsapp-product-link:hover {
    color: #22c55e;
}

.whatsapp-product-link svg {
    width: 16px;
    height: 16px;
    fill: #25D366;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.whatsapp-product-link:hover svg {
    transform: scale(1.1);
}

.whatsapp-product-link span {
    border-bottom: 1px dashed var(--border-medium);
    transition: border-color var(--transition-fast);
}

.whatsapp-product-link:hover span {
    border-color: #22c55e;
}

/* ==========================================================================
   AI LOGO SECTION — Accordion + Modal
   ========================================================================== */

/* --- Accordion --- */
.ai-logo-accordion {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 12px;
}

.ai-logo-accordion__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--text-muted);
    text-align: left;
    line-height: 1.4;
    transition: color var(--transition-fast);
    list-style: none;
}

.ai-logo-accordion__toggle::-webkit-details-marker {
    display: none;
}

.ai-logo-accordion__toggle:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: -3px;
    border-radius: var(--radius-md);
}

.ai-logo-accordion__toggle:hover {
    color: var(--text-secondary);
}

.ai-logo-accordion__icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    position: relative;
}

.ai-logo-accordion__icon svg {
    width: 18px;
    height: 18px;
}

.ai-sparkle-aurora--big {
    width: 20px;
    height: 20px;
}

.ai-sparkle-aurora--small {
    width: 11px;
    height: 11px;
    position: absolute;
    bottom: 0;
    right: -2px;
}

.ai-logo-accordion__arrow {
    flex-shrink: 0;
    margin-left: auto;
    width: 16px;
    height: 16px;
    color: var(--text-light);
    transition: transform var(--transition-slow);
}

.ai-logo-accordion[open] .ai-logo-accordion__arrow {
    transform: rotate(180deg);
}

.ai-logo-accordion__content {
    /* Native details controls visibility; never clip longer instructions. */
    max-height: none;
    overflow: visible;
}

#ai-logo-accordion .ai-logo-copy-btn[hidden],
#ai-logo-accordion .sn-self-hosted-video__toggle[hidden] {
    display: none;
}

.ai-logo-accordion__inner {
    padding: 0 18px 20px;
}

.ai-logo-video-wrap {
    width: min(100%, 340px);
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 0 auto 16px;
}

.ai-logo-video-wrap .sn-self-hosted-video__media {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
}

.ai-logo-accordion__inner::before {
    content: '';
    display: block;
    height: 1px;
    background: var(--mint);
    opacity: 0.25;
    margin-bottom: 18px;
}

/* --- Shared steps --- */
.ai-logo-step {
    margin-bottom: 20px;
}

.ai-logo-step:last-child {
    margin-bottom: 0;
}

.ai-logo-step--video {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.ai-logo-step--video .ai-logo-step__number {
    background: var(--mint);
    color: var(--navy);
}

.ai-logo-step--video .ai-logo-step__number svg {
    width: 12px;
    height: 12px;
    stroke: var(--navy);
}

.ai-logo-step__video-wrap {
    width: min(calc(100% - 34px), 300px);
    margin: 10px auto 0;
    padding-left: 0;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.ai-logo-step__video-wrap .sn-self-hosted-video__media {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
}

.ai-logo-step__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.ai-logo-step__number {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    line-height: 1;
}

.ai-logo-step__title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--navy);
}

.ai-logo-step__desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.55;
    padding-left: 34px;
}

.ai-logo-step__desc a {
    color: var(--mint-hover);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.ai-logo-step__desc a:hover {
    border-bottom-color: var(--mint);
}

.ai-logo-step__check {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #059669;
    font-weight: 600;
    font-size: var(--font-size-sm);
}

/* --- Prompt block --- */
.ai-logo-prompt-wrap {
    margin-top: 10px;
    padding-left: 34px;
}

.ai-logo-prompt-warning {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-xs);
    color: #b45309;
    font-weight: 500;
    margin-bottom: 8px;
}

.ai-logo-prompt-warning svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.ai-logo-prompt {
    position: relative;
    background: var(--bg-white);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.ai-logo-prompt__text {
    display: block;
    padding: 14px 16px 52px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    line-height: 1.65;
    color: var(--text-secondary);
    white-space: pre-wrap;
    word-break: break-word;
}

.ai-logo-prompt__text strong {
    color: var(--navy);
    font-weight: 600;
}

.ai-logo-copy-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--navy);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: #fff;
    transition: background var(--transition-fast);
}

.ai-logo-copy-btn:hover {
    background: var(--navy-hover);
}

.ai-logo-copy-btn svg {
    width: 14px;
    height: 14px;
}

.ai-logo-copy-btn.copied {
    background: #059669;
}

/* --- Step list --- */
.ai-logo-step__list {
    padding-left: 34px;
    margin-top: 4px;
}

.ai-logo-step__list li {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.55;
    padding: 2px 0 2px 16px;
    list-style: none;
    position: relative;
}

.ai-logo-step__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--mint);
    font-weight: 600;
}

/* --- Tip box --- */
.ai-logo-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 6px;
    padding: 8px 12px;
    margin-left: 34px;
    background: rgba(105, 164, 180, 0.1);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    line-height: 1.5;
}

.ai-logo-tip svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    color: var(--mint);
}

/* --- Hint link (Option B trigger) --- */
.ai-logo-hint {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.ai-logo-hint a {
    color: var(--mint);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.ai-logo-hint a:hover {
    color: var(--mint-hover);
}

/* --- Modal --- */
.ai-logo-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ai-logo-modal.active {
    display: flex;
}

.ai-logo-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: aiModalFadeIn 0.25s ease;
}

.ai-logo-modal__box {
    position: relative;
    background: var(--bg-white);
    border: 2px solid var(--mint);
    border-radius: var(--radius-lg);
    max-width: 620px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(105, 164, 180, 0.1);
    animation: aiModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-logo-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    line-height: 1;
}

.ai-logo-modal__close:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.ai-logo-modal__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-right: 36px;
}

.ai-logo-modal__header-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint-light);
    border: 1px solid var(--mint);
    border-radius: var(--radius-md);
    color: var(--mint);
}

.ai-logo-modal__header-icon svg {
    width: 22px;
    height: 22px;
}

.ai-logo-modal__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.ai-logo-modal__subtitle {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    font-weight: 400;
}

@keyframes aiModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes aiModalSlideUp {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- AI Logo responsive --- */
@media (max-width: 768px) {
    .ai-logo-accordion__toggle {
        font-size: 0.8rem;
        padding: 12px 14px;
        gap: 8px;
    }

    .ai-logo-accordion__icon {
        width: 28px;
        height: 28px;
    }

    .ai-logo-accordion__icon svg {
        width: 15px;
        height: 15px;
    }

    .ai-logo-accordion__inner {
        padding: 0 14px 16px;
    }

    .ai-logo-step__desc,
    .ai-logo-step__list li {
        font-size: 0.8rem;
    }

    .ai-logo-prompt-wrap,
    .ai-logo-step__list,
    .ai-logo-tip {
        padding-left: 0;
        margin-left: 0;
    }

    .ai-logo-step__desc {
        padding-left: 0;
    }

    .ai-logo-modal__box {
        padding: 20px;
        max-height: 90vh;
        border-radius: var(--radius-md);
    }

    .ai-logo-modal__header {
        padding-right: 28px;
    }

    .ai-logo-modal__header-icon {
        width: 34px;
        height: 34px;
    }

    .ai-logo-modal__title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ai-logo-accordion__toggle {
        font-size: 0.78rem;
        padding: 11px 12px;
    }

    .ai-logo-step__number {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }

    .method-note-c {
        display: none;
    }
}
.sn-supplier-stock-sizes {
    width: 100%;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    padding: 16px;
}
.sn-supplier-stock-sizes .sizes-table { border: 0; padding: 0; }
.sn-supplier-stock-sizes .size-chip { display: grid; grid-template-columns: auto auto; }
.sn-supplier-stock-sizes .size-chip__label { grid-column: 1; grid-row: 1; }
.sn-supplier-stock-sizes .quantity-control { grid-column: 2; grid-row: 1; }
.sn-supplier-stock-sizes .size-chip--remaining { opacity: 1; }
.sn-stock-strip { grid-column: 1 / -1; font-size: 9px; line-height: 15px; text-align: center; font-weight: 600; color: rgba(89, 101, 116, 0.85); background: #f2f4f6; white-space: nowrap; }
.size-chip.has-qty[data-stock-band="red"] > .sn-stock-strip { color: rgba(180, 35, 24, 0.85); background: #fff0ef; }
.size-chip.has-qty[data-stock-band="yellow"] > .sn-stock-strip { color: rgba(122, 75, 0, 0.85); background: #fff7db; }
.size-chip.has-qty[data-stock-band="green"] > .sn-stock-strip { color: rgba(39, 100, 67, 0.85); background: #edf8f0; }
.sn-stock-track { display: none; grid-column: 1 / -1; height: 4px; background: #e7ebef; }
.sn-stock-fill { display: block; height: 100%; background: #687483; }
[data-stock-band="red"] .sn-stock-track { background: #fce6e3; }
[data-stock-band="red"] .sn-stock-fill { background: #c53024; }
[data-stock-band="yellow"] .sn-stock-track { background: #fff1c6; }
[data-stock-band="yellow"] .sn-stock-fill { background: #9b6500; }
[data-stock-band="green"] .sn-stock-track { background: #dceee1; }
[data-stock-band="green"] .sn-stock-fill { background: #338456; }
.sn-stock-legend { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 10px; font-size: 10px; color: var(--text-muted); }
.sn-stock-legend span { display: inline-flex; align-items: center; gap: 4px; }
.sn-stock-legend span::before { content: ''; width: 12px; height: 4px; border-radius: 2px; background: #687483; }
.sn-stock-legend [data-stock-band="red"]::before { background: #c53024; }
.sn-stock-legend [data-stock-band="yellow"]::before { background: #9b6500; }
.sn-stock-legend [data-stock-band="green"]::before { background: #338456; }
.sn-stock-notice { font-size: 11px; line-height: 1.5; color: var(--text-muted); margin: 0 0 10px; }
.sn-stock-notice--fixture { border-left: 3px solid #9b6500; padding-left: 9px; color: #7a4b00; }
.sn-stock-review { border: 0; background: transparent; color: var(--navy); padding: 0; margin-left: 6px; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.sn-supplier-stock { margin-top: 8px; font-size: 11px; line-height: 1.5; }
.sn-supplier-stock:empty { display: none; }
.sn-supplier-stock-sizes [hidden], .color-swatch[hidden], .color-thumbnails .thumb[hidden], [data-supplier-stock-notice][hidden] { display: none !important; }
.sn-supplier-stock p { margin: 4px 0; }
.sn-supplier-stock__updated { color: var(--text-muted); }
.sn-supplier-stock__sizes { list-style: none; margin: 6px 0; padding: 0; }
.sn-supplier-stock__sizes li { margin: 3px 0; overflow-wrap: anywhere; }
[data-supplier-stock-inquiry][hidden] { display: none !important; }
[data-stock-inquiry-summary] { overflow-wrap: anywhere; font-size: 14px; }
