/*
Theme Name: Sooftcase Landing Page
Theme URI: 
Author: Sooftcase
Description: A simple WordPress theme based on the Sooftcase landing page design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sooftcase
*/

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.text-logo {
    font-family: 'Quicksand', sans-serif;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.sooft-shadow {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.active-ring {
    box-shadow: 0 0 0 3px #fff8f7, 0 0 0 6px #b60055;
}

.pink-yellow-gradient {
    background: linear-gradient(to right, #e4006c, #c9a800);
}

/* Powiększenie zdjęć produktów w koszyku i dodanie stylu */
.woocommerce table.cart img,
.woocommerce-cart .cart_item .product-thumbnail img {
    width: 90px !important;
    height: auto !important;
    max-width: none !important;
    border-radius: 0.75rem;
    /* rounded-xl */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.woocommerce table.cart img:hover,
.woocommerce-cart .cart_item .product-thumbnail img:hover {
    transform: scale(1.05);
}

@media (min-width: 768px) {

    .woocommerce table.cart img,
    .woocommerce-cart .cart_item .product-thumbnail img {
        width: 140px !important;
        border-radius: 1rem;
        /* rounded-2xl */
    }

    /* Zapewnienie odpowiedniej szerokości kolumny ze zdjęciem na desktopie */
    .woocommerce table.cart td.product-thumbnail {
        min-width: 170px;
        width: 170px;
    }
}

/* Optymalizacja silnika Google Chrome (Blink) dla rozmycia tła (backdrop-blur) przy przewijaniu */
section {
    isolation: isolate;
    contain: paint;
}
[class*="backdrop-blur"], header {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

/* Wymiary i pozycjonowanie nowego logo WebP w nagłówku (+30% większe) oraz stopce */
.header-logo-img {
    width: 125px !important;
    height: auto !important;
    margin-top: -12px !important;
    margin-bottom: -65px !important;
    transition: transform 0.2s ease;
    transform-origin: left top;
}
@media (min-width: 640px) {
    .header-logo-img {
        width: 146px !important;
        margin-top: -14px !important;
        margin-bottom: -78px !important;
    }
}
@media (min-width: 768px) {
    .header-logo-img {
        width: 168px !important;
        margin-top: -16px !important;
        margin-bottom: -92px !important;
    }
}
.header-logo-img:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    width: 80px !important;
    height: auto !important;
    transition: transform 0.2s ease;
}
@media (min-width: 768px) {
    .footer-logo-img {
        width: 96px !important;
    }
}
.footer-logo-img:hover {
    transform: scale(1.05);
}