/* Modern Archive Product Page Styles - Technical Design */

    /* Přepsání Tailwind CSS pro h3 */
    .h3,
    h3 {
        padding-bottom: 0 !important;
    }

    /* Přepsání pro h2 (typografie dle požadavku) */
    .h2,
    h2 {
        padding-bottom: 2rem;
        --tw-text-opacity: 1;
        color: rgb(0 0 0 / var(--tw-text-opacity));
        font: normal bold 30px / 48px Nippo;
    }

    .archive-product-container {
        width: 1370px;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        padding-top: 80px;
        background: #ffffff;
        font-family: 'Space Grotesk', sans-serif;
    }

    /* Page scale on smaller desktop screens (e.g., MacBook) */
    @media (max-width: 1600px) and (min-width: 1024px) {
        .archive-product-container {
            zoom: 0.75;
            margin-top: 1.5rem;
            /* kompenzace pro fixní menu při zmenšení */
        }
    }

    /* Fallback for browsers without zoom support */
    @supports not (zoom: 1) {
        @media (max-width: 1600px) and (min-width: 1024px) {
            .archive-product-container {
                transform: scale(0.75);
                transform-origin: top center;
                width: calc(100% / 0.75);
                margin-top: 1.5rem;
                /* kompenzace pro fixní menu při zmenšení */
            }
        }
    }

    /* Breadcrumb Navigation */
    .breadcrumb-navigation {
        padding: 1.5rem 32px;
        background: #f8fafc;
        border-bottom: 1px solid #e2e8f0;
        font-size: 0.9rem;
        color: #64748b;
        margin-bottom: 2rem;
    }

    .breadcrumb-list {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .breadcrumb-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .breadcrumb-item:not(:last-child)::after {
        content: '/';
        color: #cbd5e1;
        font-weight: 300;
    }

    .breadcrumb-link {
        color: #64748b;
        text-decoration: none;
        transition: color 0.3s ease;
        font-weight: 500;
    }

    .breadcrumb-link:hover {
        color: #33d5f3;
    }

    .breadcrumb-current {
        color: #0f172a;
        font-weight: 600;
    }





    /* Top Products List View */
    .top-products-list {
        padding: 0 32px 2rem 32px;
        background: #ffffff;
    }

    .top-products-list h2 {
        font-family: 'Nippo', sans-serif;
        font-size: 2rem;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 1.5rem;
        text-align: left;
        position: relative;
    }

    .top-products-list h2::after {
        content: '';
        position: absolute;
        bottom: -0.5rem;
        left: 0;
        width: 60px;
        height: 3px;
        background: linear-gradient(135deg, #33d5f3 0%, #2bc4e0 100%);
        border-radius: 2px;
    }

    .top-products-list-container {
        background: #f8fafc;
        border-radius: 12px;
        padding: 1.5rem;
        border: 1px solid #e2e8f0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .top-product-item {
        display: flex;
        align-items: center;
        padding: 1rem;
        background: #ffffff;
        border-radius: 8px;
        margin-bottom: 0.75rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        border: 1px solid #e2e8f0;
        position: relative;
        overflow: hidden;
    }

    .top-product-item:last-child {
        margin-bottom: 0;
    }

    .top-product-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        border-color: #33d5f3;
    }

    .top-product-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(135deg, #33d5f3 0%, #2bc4e0 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .top-product-item:hover::before {
        opacity: 1;
    }

    .product-number {
        width: 32px;
        height: 32px;
        background: linear-gradient(135deg, #33d5f3 0%, #2bc4e0 100%);
        color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.9rem;
        margin-right: 1rem;
        flex-shrink: 0;
        box-shadow: 0 2px 8px rgba(51, 213, 243, 0.3);
    }

    .product-thumbnail {
        width: 60px;
        height: 60px;
        border-radius: 6px;
        overflow: hidden;
        margin-right: 1rem;
        flex-shrink: 0;
        background: #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .product-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-info-list {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .product-name-list {
        font-family: 'Nippo', sans-serif;
        font-size: 1rem;
        font-weight: 600;
        color: #0f172a;
        margin: 0;
        line-height: 1.3;
        transition: color 0.3s ease;
    }

    .top-product-item:hover .product-name-list {
        color: #33d5f3;
    }

    .product-name-list a {
        position: static;
    }

    .product-name-list a::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .product-availability {
        font-size: 0.9rem;
        font-weight: 500;
    }

    .product-availability.in-stock {
        color: #059669;
    }

    .product-availability.out-of-stock {
        color: #dc2626;
    }

    .product-labels {
        display: flex;
        gap: 0.25rem;
        flex-wrap: wrap;
        margin-top: 0.25rem;
    }

    .product-label {
        padding: 0.2rem 0.5rem;
        border-radius: 8px;
        font-size: 0.65rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-block;
        white-space: nowrap;
        width: auto !important;
        min-width: fit-content !important;
        max-width: none !important;
        flex: 0 0 auto !important;
        box-sizing: border-box !important;
    }

    /* Zajistit flexibilní šířku pro všechny štítky */
    .product-labels .product-label,
    .product-labels-grid .product-label {
        width: auto !important;
        min-width: fit-content !important;
        max-width: none !important;
        flex: 0 0 auto !important;
    }

    /* Default štítky */
    .product-label.top {
        background: #fce7f3;
        color: #be185d;
    }

    .product-label.sale {
        background: #fef3c7;
        color: #d97706;
    }

    .product-label.new {
        background: #dcfce7;
        color: #059669;
    }

    /* Dynamické štítky produktů */
    .product-label.top-produkt {
        background: #fce7f3;
        color: #be185d;
    }

    .product-label.novinka {
        background: #dcfce7;
        color: #059669;
    }

    .product-label.akce {
        background: #fef3c7;
        color: #d97706;
    }

    .product-label.bestseller {
        background: #fef3c7;
        color: #d97706;
    }

    .product-label.doporučujeme {
        background: #dbeafe;
        color: #1d4ed8;
    }



    .product-pricing-list {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25rem;
        margin-left: 1rem;
        min-width: 120px;
    }

    .original-price {
        color: #94a3b8;
        text-decoration: line-through;
        font-size: 0.9rem;
    }

    .discount-percentage {
        color: #dc2626;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .current-price-list {
        font-family: 'Nippo', sans-serif;
        font-size: 1.2rem;
        font-weight: 700;
        color: #0f172a;
    }

    .price-without-vat {
        font-size: 0.8rem;
        color: #64748b;
    }

    /* Shop Controls */
    .shop-controls {
        padding: 2rem 32px;
        background: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .shop-controls-left {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .shop-controls-right {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .result-count {
        color: #64748b;
        font-size: 0.95rem;
        font-weight: 500;
    }

    .sorting-options {
        display: flex;
        gap: 1rem;
    }

    .sort-link {
        color: #64748b;
        text-decoration: none;
        font-weight: 500;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .sort-link:hover,
    .sort-link.active {
        color: #33d5f3;
    }

    .pagination-info {
        color: #64748b;
        font-size: 0.9rem;
        font-weight: 500;
    }

    /* Products Grid */
    .products-grid {
        padding: 0 32px 4rem 32px;
        max-width: 100%;
        margin: 0 auto;
    }

    .products {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .product-item {
        background: #ffffff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        border: 1px solid rgba(226, 232, 240, 0.5);
    }

    .product-item:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        border-color: #33d5f3;
    }

    main ul li {
        padding: 6px 0 6px 0px !important;
    }

    /* Product Image */
    .product-image-container {
        position: relative;
        height: 340px;
        background: #ffffff !important;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
    }

    .product-image {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .product-item:hover .product-image,
    .product-item:hover .attachment-woocommerce_thumbnail,
    .product-item:hover .size-woocommerce_thumbnail,
    .product-item:hover img {
        transform: none;
    }

    /* Hide duplicate images from WooCommerce hooks */
    .product-image-container .woocommerce-loop-product__link img:not(.product-image),
    .product-image-container a:not(.product-image-link) img {
        display: none !important;
    }

    /* Force contain for any images injected by WooCommerce/global styles */
    .archive-product-container .product-image-container img,
    .archive-product-container .product-image-container .attachment-woocommerce_thumbnail,
    .archive-product-container .product-image-container .size-woocommerce_thumbnail,
    .archive-product-container .product-image-container .wp-post-image {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* Sale Badge */
    .onsale {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        color: #ffffff;
        padding: 0.75rem;
        border-radius: 25%;
        font-size: 0.8rem;
        font-weight: 600;
        text-align: center;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
        min-width: 60px;
        min-height: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }

    /* Product Info */
    .product-info {
        padding: 1.25rem;
    }

    .product-title {
        font-family: 'Nippo', sans-serif;
        font-size: 1.1rem;
        font-weight: 600;
        color: #0f172a;
        margin-bottom: 0.5rem;
        line-height: 1.3;
        transition: color 0.3s ease;
    }

    .product-item:hover .product-title {
        color: #33d5f3;
    }

    .product-price {
        font-family: 'Nippo', sans-serif;
        font-size: 1.2rem;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .product-price .amount {
        background: linear-gradient(135deg, #33d5f3 0%, #2bc4e0 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .product-price del {
        color: #94a3b8;
        font-size: 1rem;
        font-weight: 400;
    }

    .product-price ins {
        text-decoration: none;
    }

    .product-availability-grid {
        font-size: 0.9rem;
        font-weight: 500;
        margin-bottom: 1rem;
    }

    .product-availability-grid.in-stock {
        color: #059669;
    }

    .product-availability-grid.out-of-stock {
        color: #dc2626;
    }

    .price-without-vat-grid {
        font-size: 0.8rem;
        color: #64748b;
        margin-bottom: 1rem;
    }

    /* Add to Cart Button */
    .add-to-cart-container {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }

    .quantity-selector {
        display: flex;
        align-items: center;
        border-radius: 6px;
        overflow: hidden;
        max-width: 120px;
        background: #ffffff;
        border: 2px solid #e2e8f0;
        margin-bottom: 1rem;
    }

    .quantity-btn {
        width: 40px;
        height: 40px;
        border: none;
        background: #f8fafc;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1.2rem;
        font-weight: 600;
        color: #64748b;
    }

    .quantity-btn:hover {
        background: linear-gradient(135deg, #33d5f3 0%, #2bc4e0 100%);
        color: #ffffff;
    }

    .quantity-input {
        flex: 1;
        text-align: center;
        border: none !important;
        padding: 0.5rem;
        font-size: 1rem;
        font-weight: 600;
        background: #ffffff;
        color: #0f172a;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
    }

    .add-to-cart-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        color: #ffffff;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        position: relative;
        overflow: hidden;
    }

    .add-to-cart-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .add-to-cart-btn:hover::before {
        left: 100%;
    }

    .add-to-cart-btn:hover {
        background: linear-gradient(135deg, #33d5f3 0%, #2bc4e0 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(51, 213, 243, 0.3);
    }

    .detail-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        background: linear-gradient(135deg, #33d5f3 0%, #2bc4e0 100%);
        color: #ffffff;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-decoration: none;
    }

    .detail-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(51, 213, 243, 0.3);
        color: #ffffff;
    }

    .cart-icon {
        width: 18px;
        height: 18px;
    }

    /* Pagination */
    .woocommerce-pagination {
        padding: 3rem 32px;
        text-align: center;
    }

    .page-numbers {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .page-numbers li {
        margin: 0;
    }

    .page-numbers a,
    .page-numbers span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border: 2px solid #e2e8f0;
        border-radius: 6px;
        color: #64748b;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        background: #ffffff;
    }

    .page-numbers a:hover {
        border-color: #33d5f3;
        color: #33d5f3;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(51, 213, 243, 0.2);
    }

    .page-numbers .current {
        background: linear-gradient(135deg, #33d5f3 0%, #2bc4e0 100%);
        border-color: #33d5f3;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(51, 213, 243, 0.3);
    }

    /* No Products Found */
    .woocommerce-no-products-found {
        padding: 4rem;
        text-align: center;
        background: #f8fafc;
        border-radius: 12px;
        margin: 2rem 32px;
    }

    .woocommerce-no-products-found h2 {
        font-family: 'Nippo', sans-serif;
        font-size: 2rem;
        color: #0f172a;
        margin-bottom: 1rem;
    }

    .woocommerce-no-products-found p {
        color: #64748b;
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .return-to-shop {
        display: inline-block;
        padding: 1rem 2rem;
        background: linear-gradient(135deg, #33d5f3 0%, #2bc4e0 100%);
        color: #ffffff;
        text-decoration: none;
        border-radius: 6px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .return-to-shop:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(51, 213, 243, 0.3);
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .archive-product-container {
            padding-top: 80px;
            /* Hned pod hlavičkou */
        }

        .breadcrumb-navigation,
        .top-products-list,
        .shop-controls,
        .products-grid {
            padding-left: 32px;
            padding-right: 32px;
        }

        .products {
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }

        /* Kompaktnější shop controls na tabletech */
        .shop-controls {
            padding: 1.5rem 32px;
            gap: 0.75rem;
        }

        .shop-controls-left {
            gap: 1.5rem;
        }

        .result-count {
            font-size: 0.9rem;
        }

        .sorting-options {
            gap: 0.75rem;
        }

        .sort-link {
            padding: 0.4rem 0.75rem;
            font-size: 0.85rem;
        }

        .pagination-info {
            font-size: 0.85rem;
        }

        /* Kompaktnější top products na tabletech */
        .top-products-list {
            padding: 0 32px 1.5rem 32px;
        }

        .top-products-list h2 {
            font-size: 1.75rem;
            margin-bottom: 1rem;
        }

        .top-products-list-container {
            padding: 1rem;
        }

        .top-product-item {
            flex-direction: row;
            text-align: left;
            gap: 0;
            padding: 0.75rem;
            margin-bottom: 0.5rem;
        }

        .product-number {
            width: 24px;
            height: 24px;
            font-size: 0.75rem;
            margin-right: 0.75rem;
            margin-bottom: 0;
        }

        .product-thumbnail {
            width: 45px;
            height: 45px;
            margin-right: 0.75rem;
            margin-bottom: 0;
        }

        .product-name-list {
            font-size: 0.9rem;
            margin-bottom: 0.25rem;
        }

        .product-labels {
            gap: 0.2rem;
            margin-top: 0.2rem;
        }

        .product-label {
            padding: 0.15rem 0.4rem;
            font-size: 0.6rem;
        }

        .product-pricing-list {
            align-items: flex-end;
            margin-left: 0.5rem;
            min-width: 100px;
            gap: 0.15rem;
        }

        .current-price-list {
            font-size: 1rem;
        }

        .price-without-vat {
            font-size: 0.7rem;
        }

        .product-availability {
            font-size: 0.8rem;
        }
    }

    /* Specifické styly pro iPhone a zařízení s notchem */
    @supports (padding: max(0px)) {
        .archive-product-container {
            padding-top: max(80px, env(safe-area-inset-top) + 50px);
        }
    }

    /* iPhone 11 Pro a podobná zařízení */
    @media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) {
        .archive-product-container {
            padding-top: 90px;
        }
    }

    /* iPhone 12/13/14 Pro a podobná zařízení */
    @media only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) {
        .archive-product-container {
            padding-top: 90px;
        }
    }

    /* Obecné styly pro zařízení s notchem */
    @media screen and (max-width: 768px) and (orientation: portrait) {
        .archive-product-container {
            padding-top: calc(env(safe-area-inset-top) + 50px);
        }
    }

    @media (max-width: 640px) {
        main {
            -webkit-box-flex: 1;
            -ms-flex: 1 1 0%;
            flex: 1 1 0%;
            overflow: hidden;
            padding-top: 1rem;
        }

        .archive-product-container {
            padding-top: 80px;
            /* Hned pod hlavičkou */
        }

        .breadcrumb-navigation,
        .top-products-list,
        .shop-controls,
        .products-grid {
            padding-left: 16px;
            padding-right: 16px;
        }

        /* Kompaktní shop controls na mobilech */
        .shop-controls {
            flex-direction: row;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 16px;
            flex-wrap: wrap;
        }

        .shop-controls-left {
            justify-content: flex-start;
            flex: 1;
            min-width: 0;
        }

        .shop-controls-right {
            justify-content: flex-end;
            flex-shrink: 0;
        }

        .result-count {
            font-size: 0.8rem;
            white-space: nowrap;
            display: none;
        }

        .sorting-options {
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .sort-link {
            padding: 0.3rem 0.5rem;
            font-size: 0.75rem;
            white-space: nowrap;
        }

        .pagination-info {
            font-size: 0.75rem;
            white-space: nowrap;
        }

        .products {
            grid-template-columns: repeat(1, 1fr);
            gap: 1rem;
        }

        .product-image-container {
            height: 180px;
        }

        .woocommerce-pagination {
            padding: 2rem 1rem;
        }

        .woocommerce-no-products-found {
            margin: 1rem 16px;
            padding: 2rem;
        }

        /* Velmi kompaktní top products na mobilech */
        .top-products-list {
            padding: 0 16px 1rem 16px;
        }

        .top-products-list h2 {
            font-size: 1.5rem;
            margin-bottom: 0.75rem;
        }

        .top-products-list-container {
            padding: 0.75rem;
        }

        .top-product-item {
            flex-direction: row;
            text-align: left;
            gap: 0;
            padding: 0.5rem;
            margin-bottom: 0.5rem;
            align-items: center;
        }

        .product-number {
            width: 18px;
            height: 18px;
            font-size: 0.65rem;
            margin-right: 0.4rem;
            margin-bottom: 0;
            flex-shrink: 0;
        }

        .product-thumbnail {
            width: 40px;
            height: 40px;
            margin-right: 0.4rem;
            margin-bottom: 0;
            flex-shrink: 0;
        }

        .product-info-list {
            flex: 1;
            min-width: 0;
            margin-right: 0.4rem;
        }

        .product-name-list {
            font-size: 0.75rem;
            margin-bottom: 0.15rem;
            line-height: 1.2;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .product-labels {
            gap: 0.1rem;
            margin-top: 0.1rem;
            flex-wrap: wrap;
        }

        .product-label {
            padding: 0.08rem 0.25rem;
            font-size: 0.5rem;
            line-height: 1;
        }

        .product-availability {
            font-size: 0.65rem;
            margin-top: 0.1rem;
        }

        .product-pricing-list {
            align-items: flex-end;
            margin-left: 0;
            min-width: 70px;
            gap: 0.08rem;
            flex-shrink: 0;
        }

        .current-price-list {
            font-size: 0.8rem;
            font-weight: 700;
        }

        .price-without-vat {
            font-size: 0.6rem;
        }

        .original-price {
            font-size: 0.7rem;
        }

        .discount-percentage {
            font-size: 0.7rem;
        }
    }

    @media (max-width: 480px) {
        .archive-product-container {
            padding-top: 80px;
            /* Hned pod hlavičkou */
        }

        .archive-title {
            font-size: 2rem;
        }

        .products {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .product-image-container {
            height: 200px;
        }

        .product-title {
            font-size: 1.2rem;
        }

        .product-price {
            font-size: 1.3rem;
        }

        /* Extra kompaktní pro velmi malé obrazovky */
        .top-products-list {
            padding: 0 12px 0.75rem 12px;
        }

        .top-products-list h2 {
            font-size: 1.4rem;
            margin-bottom: 0.5rem;
        }

        .top-products-list-container {
            padding: 0.5rem;
            margin-top: 1.5rem;
        }

        /* Velmi kompaktní shop controls */
        .shop-controls {
            padding: 0.75rem 12px;
            gap: 0.4rem;
        }

        .result-count {
            font-size: 0.75rem;
        }

        .sort-link {
            padding: 0.25rem 0.4rem;
            font-size: 0.7rem;
        }

        .pagination-info {
            font-size: 0.7rem;
        }

        .top-product-item {
            padding: 0.4rem;
            margin-bottom: 0.4rem;
        }

        .product-number {
            width: 16px;
            height: 16px;
            font-size: 0.6rem;
            margin-right: 0.3rem;
        }

        .product-thumbnail {
            width: 36px;
            height: 36px;
            margin-right: 0.3rem;
        }

        .product-name-list {
            font-size: 0.7rem;
            margin-bottom: 0.1rem;
        }

        .product-label {
            padding: 0.06rem 0.2rem;
            font-size: 0.45rem;
        }

        .product-pricing-list {
            min-width: 60px;
        }

        .current-price-list {
            font-size: 0.75rem;
        }

        .price-without-vat {
            font-size: 0.55rem;
        }

        .product-availability {
            font-size: 0.6rem;
        }
    }

    /* Hide default WooCommerce elements */
    .woocommerce-breadcrumb {
        display: none !important;
    }

    .woocommerce-result-count {
        display: none !important;
    }

    .woocommerce-ordering {
        display: none !important;
    }

    /* Hide sidebar on archive pages */
    .archive .widget-area,
    .archive .sidebar,
    .archive aside,
    .archive .widget,
    .archive .widgets,
    .archive .widget_pages,
    .archive .widget_nav_menu,
    .archive .widget_archive,
    .archive .widget_categories,
    .archive .widget_meta,
    .archive .widget_search,
    .archive .widget_recent_entries,
    .archive .widget_recent_comments,
    .archive .widget_rss,
    .archive .widget_text,
    .archive .widget_calendar,
    .archive .widget_tag_cloud {
        display: none !important;
    }

    /* Ensure main content takes full width */
    .archive .content-area,
    .archive .main-content,
    .archive .site-main {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Override Tailwind input padding */
    input:not([type=radio]):not([type=checkbox]):not([type=submit]),
    textarea {
        padding: 0 !important;
    }

    /* Quantity input centering */
    .quantity-input {
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }