/*
Theme Name: Coolmaster
Author: Sinä
Description: Coolmaster - Ilmalämpöpumppujen asennukset
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
body { font-family: 'Inter', sans-serif; }

/* Animaatiot */
@keyframes buzz {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(0.5px, -0.5px) rotate(0.2deg); }
    50% { transform: translate(-0.5px, 0.5px) rotate(-0.2deg); }
    75% { transform: translate(0.5px, 0.5px) rotate(0deg); }
}
@keyframes blow {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.4) translateY(2px); }
}
@keyframes floatSnow1 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 0.8; }
    100% { transform: translate(-30px, 70px) scale(1.2) rotate(180deg); opacity: 0; }
}
@keyframes floatSnow2 {
    0% { transform: translate(0, 0) scale(0.3) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.5; }
    100% { transform: translate(20px, 80px) scale(0.9) rotate(-180deg); opacity: 0; }
}
@keyframes floatSnow3 {
    0% { transform: translate(0, 0) scale(0.4) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 0.9; }
    100% { transform: translate(50px, 60px) scale(1) rotate(90deg); opacity: 0; }
}
@keyframes spinFan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.anim-buzz { animation: buzz 0.05s infinite; transform-origin: center; }
.anim-blow { animation: blow 3s infinite ease-in-out; transform-origin: 150px 105px; }
.anim-snow-1 { animation: floatSnow1 3s infinite linear; transform-origin: center; }
.anim-snow-2 { animation: floatSnow2 2.5s infinite linear 1s; transform-origin: center; }
.anim-snow-3 { animation: floatSnow3 3.5s infinite linear 0.5s; transform-origin: center; }
.anim-fan { animation: spinFan 0.2s infinite linear; transform-origin: 85px 90px; }
/* Piilotetaan tuoteluokat (categories) ja avainsanat (tags) tuotesivulta */
.product_meta .posted_in, 
.product_meta .tagged_as {
    display: none !important;
}
/* Palautetaan listojen pallot ja sisennykset (Tailwindin nollauksen kumoaminen) */
.prose ul, 
.woocommerce-product-details__short-description ul,
.woocommerce-Tabs-panel--description ul {
    list-style-type: disc !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.prose ol,
.woocommerce-product-details__short-description ol,
.woocommerce-Tabs-panel--description ol {
    list-style-type: decimal !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.prose li,
.woocommerce-product-details__short-description li,
.woocommerce-Tabs-panel--description li {
    margin-bottom: 0.5rem !important;
}

/* Korostetaan tuotesivun päätuotteiden ja variaatioiden hinta */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .woocommerce-variation-price .price {
    color: #16a34a !important; /* Selkeä vihreä, vastaa Tailwindin green-600 väriä */
    font-weight: 900 !important; /* Ekstrapaksu (black) */
}

/* Varmistetaan, että itse numerosumma skaalautuu myös isommaksi */
.woocommerce div.product p.price .woocommerce-Price-amount,
.woocommerce div.product span.price .woocommerce-Price-amount,
.woocommerce div.product .woocommerce-variation-price .price .woocommerce-Price-amount {
    color: #16a34a !important;
    font-weight: 900 !important;
    font-size: 2.25rem !important; /* Vastaa Tailwindin text-4xl -kokoa */
}
