/* Hide default WordPress sidebar on single product page */
#sidebar {
    display: none !important;
}

/* Hide WooCommerce notices on single product page - handled by AJAX */
.woocommerce-notices-wrapper {
    display: none !important;
}

/* Hide default WooCommerce breadcrumb (not in our custom container) */
.woocommerce.single-product main > .woocommerce-breadcrumb {
    display: none !important;
}

/* Override WooCommerce default price color on single product */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: var(--color-primary) !important;
    font-weight: 200;
}

/**
 * Single Product Page Styles - Babuszka Store
 * Custom single product layout
 */

/* ===== MAIN CONTAINER ===== */
.custom-single-product {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0 0 0;
}

/* ===== BREADCRUMB & BACK BUTTON ROW ===== */
.product-breadcrumb-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.product-back-btn {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    background-color: transparent;
    color: var(--color-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15); */
}

.product-back-btn:hover {
    background-color: var(--color-dark);
    color: var(--color-secondary);
    transform: translateY(-0.125rem) scale(1.05);
    box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.2);
}

.product-back-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2.5;
}

.product-breadcrumb {
    flex: 1;
}

.product-breadcrumb .woocommerce-breadcrumb {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-breadcrumb .woocommerce-breadcrumb a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.product-breadcrumb .woocommerce-breadcrumb a:hover {
    color: var(--color-primary);
}

/* ===== TOP SECTION: Image + Product Info ===== */
.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Product Main Image */
.product-main-image {
    width: 125%;
    margin-left: -6rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.product-main-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ===== SHARE BUTTON ===== */
.product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.product-title-row .product-title {
    flex: 1;
}

.share-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-secondary);
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--color-primary);
    color: white;
}

.share-btn.copied {
    background: #22c55e;
    border-color: #22c55e;
    color: white;
}

.share-btn .check-icon {
    display: none;
}

.share-btn.copied .share-icon {
    display: none;
}

.share-btn.copied .check-icon {
    display: block;
}

/* Tooltip */
.share-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--color-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

.share-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    /* border-top-color: var(--color-primary); */
}

.share-btn.copied .share-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Product Title */
.product-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
}

/* Product Subtitle */
.product-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    margin: -1rem 0 0 0;
    color: var(--color-primary);
}

/* Price */
.product-price-single {
    font-size: 1.5rem;
    font-weight: 400;
    color: #999;
    display: grid;
    grid-template-columns: auto auto;
    gap: 0.75rem;
    align-items: baseline;
    justify-content: start;
}

/* Sale price styling */
.product-price-single del {
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
    margin-right: 0;
    font-size: 1.25rem;
}

.product-price-single ins {
    text-decoration: none;
    color: #c41e3a;
    font-weight: 500;
}

/* Omnibus info spans both columns */
.product-price-single .iworks-omnibus {
    grid-column: 1 / -1;
    font-size: 0.875rem;
    color: #666;
    margin: 0.25rem 0 0 0;
}

/* ===== PRODUCT FORM ===== */
.single-product-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Desktop: Price above quantity, button on right */
@media (min-width: 769px) {
    .product-price-quantity-wrapper {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas: 
            "price price"
            "quantity button";
        gap: 1rem;
        align-items: end;
    }

    .product-price-single {
        grid-area: price;
    }

    .single-product-quantity {
        grid-area: quantity;
    }

    .single-product-add-to-cart {
        grid-area: button;
        margin: 0;
        max-width: none;
    }
}

/* ===== ATTRIBUTES (Toggle Switches) ===== */
.single-product-attribute {
    margin-bottom: 0;
}

.attribute-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

/* Hide default attribute buttons */
.attribute-toggles {
    display: flex;
    gap: 0.75rem;
}

.attribute-toggle {
    padding: 0.75rem 2rem;
    background-color: var(--color-white);
    border: 0.125rem solid var(--color-primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: none; /* Changed from uppercase - keep original case (cm, g) */
    color: var(--color-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.attribute-toggle:hover {
    background-color: var(--color-light);
}

.attribute-toggle.active {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

/* ===== SIMPLE PRODUCT ATTRIBUTES ===== */
.simple-product-attribute {
    margin-bottom: 0;
}

.simple-product-attribute .attribute-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.attribute-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 1rem;
}

.attribute-value-badge {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--color-primary);
    border: 0.125rem solid var(--color-primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    /* text-transform: uppercase; */
    color: var(--color-secondary);
}

/* ===== QUANTITY CONTROLS ===== */
.single-product-quantity {
    margin-bottom: 0;
}

.quantity-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    color: var(--color-primary);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0rem;
}

.quantity-btn {
    width: 3rem;
    height: 3rem;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.quantity-btn:hover {
    background-color: var(--color-primary);
    transform: scale(1.05);
}

.quantity-input {
    width: 4rem;
    height: 3rem;
    border: none;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    background-color: transparent;
}

.quantity-input:focus {
    outline: none;
}

/* Remove number input arrows */
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* ===== ADD TO CART BUTTON ===== */
.single-product-add-to-cart {
    width: 100%;
    max-width: 400px;
    padding: 1rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: none;
}

.single-product-add-to-cart:hover {
    background-color: var(--color-primary);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.2);
}

.single-product-add-to-cart:active {
    transform: translateY(0);
}

/* Success state - green with tilt animation */
.single-product-add-to-cart.added {
    background-color: #4CAF50 !important;
    pointer-events: none;
    animation: singleProductTilt 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.single-product-add-to-cart.added:hover {
    background-color: #4CAF50 !important;
    transform: translateY(0);
}

@keyframes singleProductTilt {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    20% {
        transform: translateY(-0.25rem) rotate(-3deg);
    }
    40% {
        transform: translateY(-0.25rem) rotate(3deg);
    }
    60% {
        transform: translateY(-0.25rem) rotate(-2deg);
    }
    80% {
        transform: translateY(-0.125rem) rotate(1deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* WooCommerce "Zobacz koszyk" link */
.woocommerce a.added_to_cart,
.added_to_cart.wc-forward {
    display: none !important;
}

/* ===== MIDDLE SECTION: Description (2 Columns) ===== */
.product-description-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    padding: 3rem 0;
    border-top: 0.0625rem solid var(--color-border);
}

.description-column {
    padding: 0 2rem;
}

.description-heading {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.description-column p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text);
}

/* ===== PRODUCT TABS SECTION ===== */
.product-tabs-section {
    padding: 2rem;
    margin-bottom: 2rem;
}

.product-tabs-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.product-tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.product-tab-btn:hover {
    color: var(--color-primary);
}

.product-tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.product-tabs-content {
    position: relative;
    min-height: 200px;
}

.product-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.product-tab-panel.active {
    display: block;
}

.tab-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text);
}

.tab-content p {
    margin-bottom: 1rem;
}

.tab-content div {
    margin-bottom: 1rem;
}

.product-tab-panel p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BOTTOM SECTION: Product Gallery (2x2 Grid) ===== */
.product-gallery-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 0rem;
    width: 100vw;
    max-width: 100vw;
    margin-left: -10rem;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

/* Special layout for 3 images: first image spans 2 rows */
.product-gallery-section:has(.gallery-item:nth-child(3):last-child) .gallery-item:first-child {
    grid-row: span 2;
    aspect-ratio: 2 / 3; /* Taller aspect ratio for vertical span */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}


/* ===== RESPONSIVE ===== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .custom-single-product {
        padding: 0;
    }

    .product-main {
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .description-column {
        padding: 0 1rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .custom-single-product {
        padding: 0;
    }

    /* Breadcrumb row on mobile */
    .product-breadcrumb-row {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
        gap: 0.75rem;
        padding-top: 1rem;
    }

    .product-back-btn {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        margin-right: -1rem;
    }

    .product-back-btn svg {
        width: 1rem;
        height: 1rem;
    }

    .product-breadcrumb .woocommerce-breadcrumb {
        font-size: 0.75rem;
    }

    /* Stack image and info vertically */
    .product-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    /* Center product image on mobile */
    .product-main-image {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .product-info {
        padding: 0 1rem;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    /* Title row stays at top */
    .product-title-row {
        order: 1;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-subtitle {
        font-size: 1rem;
        order: 2;
    }

    /* Form - vertical layout on mobile */
    .single-product-form {
        order: 3;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    /* Attributes side by side */
    .product-attributes-wrapper {
        display: flex;
        gap: 0.75rem;
        align-items: stretch;
    }

    .single-product-attribute {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .attribute-values {
        flex: 1;
        display: flex;
        align-items: stretch;
    }

    .attribute-value-badge {
        flex: 1;
        font-size: 0.75rem;
        padding: 0.625rem 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* Price + Quantity side by side, button below */
    .product-price-quantity-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "quantity price"
            "button button";
        gap: 0.75rem;
        align-items: stretch;
        margin-bottom: 1.5rem;
    }

    .single-product-quantity {
        grid-area: quantity;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Price - larger on mobile */
    .product-price-single {
        grid-area: price;
        flex: 1;
        font-size: 1.25rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        transform: translate(0, 19%);
    }

    /* Grid layout only for sale prices */
    .product-price-single:has(del) {
        display: grid;
        grid-template-columns: auto auto;
        column-gap: 0.35rem;
        row-gap: 0.15rem;
        transform: translate(0, 40%);
    }

    .product-price-single del,
    .product-price-single ins {
        align-self: center;
    }

    .product-price-single .iworks-omnibus {
        grid-column: 1 / -1;
        font-size: 0.8rem !important;
        text-align: right;
        align-self: start;
        white-space: nowrap;
        margin: 0;
        margin-top: -0.5rem !important;
    }

    /* Product Tabs - mobile */
    .product-tabs-section {
        padding: 1rem;
        margin-top: -5rem;
    }

    .product-tabs-buttons {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .product-tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .product-tabs-content {
        min-height: 150px;
    }

    .product-tab-panel p {
        font-size: 0.875rem;
    }

    /* Description columns - two columns on mobile */
    .product-description-section {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .description-column {
        padding: 0;
    }

    .description-heading {
        font-size: 1rem;
    }

    /* Attribute toggles - vertical on mobile */
    .attribute-toggles {
        flex-direction: column;
    }

    .attribute-toggle {
        padding: 0.625rem 1.5rem;
        font-size: 0.8rem;
    }

    /* Quantity controls - smaller */
    .quantity-btn {
        width: 2rem;
        height: 2rem;
        font-size: 1.25rem;
    }
    .minus{
        margin-right: -2%;
    }

    .plus{
        margin-left: -2%;
    }

    .quantity-input {
        width: 3rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    /* Add to cart button */
    .single-product-add-to-cart {
        grid-area: button;
        max-width: 100%;
        font-size: 0.9rem;
    }

    /* Gallery - no margin on mobile */
    .product-gallery-section {
        margin-left: 0rem;
        gap: 0.15rem;
    }
}

/* ===== FREE SHIPPING NOTIFICATION (STICKY BOTTOM) ===== */
.free-shipping-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #6B4D57 100%);
    color: white;
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(107, 77, 87, 0.4);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 9999;
}

.free-shipping-notification.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.free-shipping-notification.success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.notification-icon {
    font-size: 1.5rem;
    line-height: 1;
    animation: bounce 1s ease-in-out infinite;
}

.notification-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

.notification-message strong {
    font-weight: 600;
    color: #FFE5E5;
}

.notification-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.notification-progress-bar {
    height: 100%;
    background: white;
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .free-shipping-notification {
        padding: 0.875rem 1rem;
    }

    .notification-content {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .notification-icon {
        font-size: 1.25rem;
    }

    .notification-text {
        font-size: 0.85rem;
    }

    .notification-progress {
        height: 6px;
    }
}

/* ========================================
   SPECIAL SCARF OPTION & POPUP - WIECZÓR PANIEŃSKI
======================================== */

.special-scarf-option {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.special-scarf-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.special-scarf-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.special-scarf-option span {
    font-size: 14px;
    line-height: 1.4;
}

.minimum-scarf-note {
    margin: 20px 0;
    padding: 5px;
    background: #ffc6b0;
    border-radius: 8px;
    border: 1px solid #ee4141;
}

.minimum-scarf-note span{
    font-size: 14px;
    line-height: 1.4;
}

/* Minimum Quantity Notice - Wstrzyknięty przez JavaScript */
.minimum-quantity-notice {
    margin: 0 0 20px 0;
    padding: 12px 16px;
    background: #5a3636bb;
    border-left: 4px solid var(--color-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ffffff;
}

.minimum-quantity-notice .notice-icon {
    font-size: 18px;
    line-height: 1;
}

.minimum-quantity-notice .notice-text {
    font-size: 14px;
    line-height: 1.4;
}

.minimum-quantity-notice strong {
    font-weight: 700;
    color: #ffffff;
}

.special-scarf-learn-more {
    color: #D4AF37;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 5px;
    font-size: 13px;
}

.special-scarf-learn-more:hover {
    color: #B8941F;
}

/* Popup Container */
.special-scarf-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.popup-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    margin: 30px auto;
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-height: 85vh;
    overflow-y: auto;
    z-index: 10;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    transition: color 0.2s;
}

.popup-close:hover {
    color: #000;
}

.popup-body {
    display: block;
    max-width: 600px;
    margin: 0 auto;
}

.popup-image img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}

.popup-text h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    color: #1a1a1a;
}

.popup-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

.popup-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.popup-text ul li {
    padding: 8px 0;
    font-size: 15px;
    color: #555;
}

/* Mobile */
@media (max-width: 768px) {
    .popup-content {
        margin: 20px;
        padding: 30px 20px;
        width: 95%;
    }
}

/* ========================================
   PANIENSKI DISCOUNT NOTICE - Dynamiczna informacja o rabacie
======================================== */

.panienski-discount-notice {
    margin: 15px 0;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}

.panienski-discount-notice.info {
    background: #FFF9E6;
    border: 1px solid #FFD700;
    color: #B8860B;
}

.panienski-discount-notice.success {
    background: #E8F5E9;
    border: 1px solid #4CAF50;
    color: #2E7D32;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

