/*!
Theme Name: Doza
Theme URI: http://underscores.me/
Author: Dogtronic
Author URI: https://dogtronic.io/
Description: Template for Doza.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: doza_dog
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Doza is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is  under the terms of the GNU GPL v2 or later.

*/

:root {
  --main-background-color: #fffef3;
  --yellow-background-color: #FFF9C3;
  --light-yellow-background-color: #f6f1c4;
  --light-product-background: #FFFDF9;
  --light-blue-gray: #d5dfe1;
  --pale-yellow: #f6f1c4;
  --white: #ffffff;
  --black: #000000;
  --dark-font-color: #171616;
  --dark-font-hover-color: #707070;
  --gray-blue-background-color: #d5dfe1;
  --light-gray-background-color: #f9f8f3;
  --new-product-page-background-color: #fffdf8;
  --text-50-color: rgba(23, 22, 22, 0.50);
  --form-err: #e75b5b;
  --button-light-gray: #ECECEC;
  --dark-gray: #323232;
  --light-black: #2c2c2c;
  --hover-gray: #5d737e;
  --almost-black: #1f1f1f;
  --background-gray: #d9d9d9;
  --light-gray: #efefef;
  --light-beige: #e2e2e2;
  --subscribe-background: #c2c2c2;
  --form-gray-color: #808292;
  --pink-background: #FFDAC9;
  --base-transition: 0.2s;
  --page-background-color: #FFFDF9;
  --star-color: #FFAE00;
  --gray-light: #D1D1D1;
  --video-section-background-color: #F3F3F3;
}

#home-page {
  --page-background-color: #E8E2D7;
}

#products-page {
  --page-background-color: #FFFDF9;
}

#product-page {
  --page-background-color: #FFFDF9;
}

#blog-page {
  --page-background-color: #FFFDF9;
}

#questions-page {
  --page-background-color: #FFFDF9;
}


body {
  accent-color: #000000;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("./fonts/NeueMontreal-MediumItalic.woff2") format("woff2"),
    url("./fonts/NeueMontreal-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("./fonts/NeueMontreal-Regular.woff2") format("woff2"),
    url("./fonts/NeueMontreal-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("./fonts/NeueMontreal-Light.woff2") format("woff2"),
    url("./fonts/NeueMontreal-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("./fonts/NeueMontreal-Italic.woff2") format("woff2"),
    url("./fonts/NeueMontreal-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("./fonts/NeueMontreal-Bold.woff2") format("woff2"),
    url("./fonts/NeueMontreal-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("./fonts/NeueMontreal-BoldItalic.woff2") format("woff2"),
    url("./fonts/NeueMontreal-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("./fonts/NeueMontreal-Medium.woff2") format("woff2"),
    url("./fonts/NeueMontreal-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("./fonts/NeueMontreal-LightItalic.woff2") format("woff2"),
    url("./fonts/NeueMontreal-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Montreal";
  src: url("./fonts/PPNeueMontreal-Thin.woff2") format("woff2"),
    url("./fonts/PPNeueMontreal-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Montreal";
  src: url("./fonts/PPNeueMontreal-SemiBolditalic.woff2") format("woff2"),
    url("./fonts/PPNeueMontreal-SemiBolditalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Montreal";
  src: url("./fonts/PPNeueMontreal-Medium.woff2") format("woff2"),
    url("./fonts/PPNeueMontreal-Medium.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Montreal";
  src: url("./fonts/PPNeueMontreal-Book.woff2") format("woff2"),
    url("./fonts/PPNeueMontreal-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Montreal";
  src: url("./fonts/PPNeueMontreal-Bold.woff2") format("woff2"),
    url("./fonts/PPNeueMontreal-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Montreal";
  src: url("./fonts/PPNeueMontreal-Italic.woff2") format("woff2"),
    url("./fonts/PPNeueMontreal-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Montreal";
  src: url("./fonts/PPNeueMontreal-Medium.woff2") format("woff2"),
    url("./fonts/PPNeueMontreal-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-display: swap;
  font-family: "Recoleta";
  font-weight: 400;
  src: url("./fonts/Recoleta-Normal.woff2") format("woff2"),
    url("./fonts/Recoleta-Normal.woff") format("woff")
}

/* body {
  opacity: 0;
} */

a {
  color: var(--black);
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  font-family: Neue Montreal;
  font-weight: 400;
  text-decoration: none;
  line-height: 120%;
  color: var(--dark-font-color);
}

body {
  overflow-x: hidden;
  background: var(--white);
}

html {
  margin-top: 0 !important;
}

button {
  border: none;
  cursor: pointer;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  background-color: var(--page-background-color);
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a,
li {
  font-family: Neue Montreal;
  background-color: transparent;
}

b,
strong {
  font-weight: bolder;
}

html {
  scroll-behavior: smooth;
}

#magicMouseCursor {
  top: 35px !important;
  border-color: #272727 !important;
  transition: transform 0.07s, margin 0.4s ease-in-out,
    backdrop-filter 0.4s ease-in-out, width 0.3s, height 0.3s !important;
}

.magic-hover {
  cursor: pointer !important;
}

#magicMouseCursor.link {
  height: 4px !important;
  width: 4px !important;
  border-radius: 50% !important;
  transition: 0.4s cubic-bezier(0.5, 0.2, 0.1, 1.14) !important;
  background-color: #272727;
}

#magicMouseCursor.logo {
  height: 70px !important;
  width: 70px !important;
  margin: -50px 0 0 -15px;
  backdrop-filter: invert(100%);
}

#magicMouseCursor.icon {
  height: 4px !important;
  width: 4px !important;
  margin: -25px 0 0 15px;
  transition: 0.4s cubic-bezier(0.5, 0.2, 0.1, 1.14) !important;
  background-color: #272727;
}

#magicMouseCursor.buttons {
  height: 70px !important;
  width: 70px !important;
  margin: -50px 0 0 -15px;
  backdrop-filter: invert(100%);
}

button,
a {
  color: var(--dark-font-color);
  cursor: pointer;
  transition: var(--base-transition) ease-in;
}

button:hover,
a:hover {
  color: var(--dark-font-hover-color);
  transition: var(--base-transition) ease-out;
}

strong {
  font-weight: 500;
}

svg path,
svg circle {
  transition: var(--base-transition) ease-out;
}

.site-main {
  padding-top: 70px !important;
  background-color: var(--page-background-color);

  @media(max-width: 800px) {
    padding-top: 50px !important;
  }
}

.entry-header {
  display: none;
}

.woocommerce-message,
.woocommerce-error {
  padding: 25px 25px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0.28px;
  color: var(--white);
  border-bottom: 1px solid var(--dark-font-color);
}

.woocommerce-error li,
.woocommerce-message a {
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0.28px;
  /*color: var(--white) !important; */
}
.woocommerce-message a{
  text-decoration: underline;
}

.page-cart .update-cart-button {
  display: none !important;
}

#wpadminbar {
  display: none;
}

.woocommerce-message{
  outline: 0;
}

/* ============================================================
   1. GLOBALNE CZYSZCZENIE
   ============================================================ */
.wpcsb-product-price { display: none !important; } 
.wpcsb-image-ori { display: none !important; } 
.gwiazdki-obok { display: none !important; } 
.lista-pod-tytulem { display: none !important; } 


/* ============================================================
   2. DESKTOP (Powyżej 900px)
   ============================================================ */
@media (min-width: 901px) {
    
    /* Główny kontener - UŻYWAMY GAP (ODSTĘPÓW) */
    .wpcsb-container .wpcsb-product {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        padding: 1px -0 !important;
        background: #fff !important;
		opacity: 1 !important;
        /* TO JEST KLUCZOWE - Sztywny odstęp między wszystkimi elementami */
        gap: 60px !important; 
    }

    /* A. Obrazek (SZTYWNY) */
    .wpcsb-image-ori {
        display: block !important;
        margin-left: -25px !important; /* Gap załatwia sprawę marginesu */
        flex: 0 0 70px !important; /* Sztywna szerokość 70px (nie ściśnie się) */
        width: 70px !important;
        height: 70px !important;
        max-width: 70px !important;
    }
    .wpcsb-image-ori img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 10px !important;
        object-fit: cover;
    }

    /* B. Kontener Info */
    .wpcsb-product-info {
        display: flex !important;
        align-items: center !important;
        width: auto !important;
        flex: 0 1 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    /* C. Wrapper Tekstowy (Tytuł + Lista) */
    .text-wrapper {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        /* Kreska oddzielająca od gwiazdek */
        border-right: 1px solid #e0e0e0; 
      padding-top: 30px;
        padding-right: 70px !important; /* Odstęp od kreski */
        width: 55%;
    }

    /* Tytuł */
    .wpcsb-product-name {
        font-size: 15px !important;
        font-weight: 500 !important;
        color: #000 !important;
        margin-bottom: 4px !important;
        line-height: 1.1 !important;
        white-space: nowrap;
        text-align: left !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
      
    }

    /* Lista - Poprawiona (Ten sam rozmiar, idealne wyrównanie) */

.lista-pod-tytulem {
    display: block !important;
    width: 100%;
}

.lista-pod-tytulem ul {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 1px !important;
}

.lista-pod-tytulem li {
    font-size: 10px !important;
    line-height: 1.3 !important;
    color: #555;
    padding-left: 12px; /* Miejsce na gwiazdkę */
   padding-top: 3px;
    position: relative; /* Ważne dla pozycjonowania gwiazdki */
    text-align: left;
    margin-bottom: -0px !important;
    display: block !important; /* Gwarancja, że element nie urośnie */
}

/* Gwiazdka */
.lista-pod-tytulem li:before {
    content: "✦";
    position: absolute;
    left: 0;
  padding-top: -3px;
    
    /* --- TU JEST POPRAWKA CENTROWANIA --- */
    top: 80% !important;              /* Ustawia górę gwiazdki na połowie wysokości linii */
    transform: translateY(-50%) !important; /* Cofa gwiazdkę o połowę jej własnej wysokości w górę */
    margin-top: -1px !important;      /* Mikrokorekta optyczna (często potrzebna dla czcionek) */
    /* ------------------------------------ */
    
    font-size: 8px !important;
    color: #000;
    line-height: 1 !important; /* Zerujemy interlinię samej gwiazdki */
}
    /* D. Gwiazdki */
    .gwiazdki-obok {
        display: flex !important;
        align-items: center !important;
        gap: 5px;
        border-right: 1px solid #e0e0e0;
        padding-right: 30px !important; /* Odstęp od kreski */
        height: 40px;
        flex-shrink: 0 !important;
        margin: -40px !important; /* Gap załatwia sprawę */
      
    }
    .gwiazdki-obok svg { width: 14px; height: 14px; fill: #ffb400; }
    .gwiazdki-obok .revierw-stars-text { font-weight: 400; font-size: 13px; color: #000; margin-left: 5px; }

    /* E. Przyciski */
    .wpcsb-product-action {
        display: flex !important;
        align-items: center !important;
        gap: 10px;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    .wpcsb-product-action .quantity {border: 1px solid #171616 !important;
    border-radius: 50px !important;
    background-color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 48px !important;
    
    /* --- ZMIANY TUTAJ --- */
     
    min-width: 140px !important; /* Wymuszamy szerszy licznik (było 110px/120px) */
    /* -------------------- */
    
    overflow: hidden !important;
    box-sizing: border-box !important; }
    .wpcsb-btn { min-width: 220px !important; }
}
.wpcsb-btn {
    background-color: #171616 !important; /* Wymuszamy czarny */
    background-image: none !important;    /* Usuwamy ewentualne gradienty motywu */
    border-radius: 50px !important;
    border: none !important;
    height: 48px !important;
    padding: 0 35px  !important;
    text-align: center;
  margin-left: 15px;
    
    /* Flexbox dla wycentrowania wewnętrznego kontenera */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Resetowanie stylów tekstu rodzica */
    color: #ffffff !important;
    box-shadow: none !important;
  
}

/* 2. Wnętrze przycisku (To, co wstawia JavaScript) */
.moj-btn-content {
    display: flex !important;
    flex-direction: row !important; /* Wymuszamy poziom */
    justify-content: space-between !important; /* Rozrzucamy na boki */
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    gap: 10px !important;
   
    
    /* Style tekstu */
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: #ffffff !important; /* Biały tekst */
    line-height: 1 !important;
    
}
/* 3. Lewa strona (Ikona + Tekst "DO KOSZYKA") */
.moj-btn-content .btn-lewa {
    display: flex !important;
    align-items: center !important;
    color: #ffffff !important;
    white-space: nowrap !important; /* Nie zawijaj tekstu */
}

/* 4. Prawa strona (Cena) */
.moj-btn-content .cena-w-btn {
    font-weight: 400 !important;
    font-size: 14px !important;
    color: #ffffff !important;
    opacity: 1 !important;
    white-space: nowrap !important;
    margin-left: auto !important; /* Dopycha cenę do prawej, jeśli justify zawiedzie */
}

/* ============================================================
   MOBILE "SLIM" (Skalowana wersja - Poniżej 900px)
   ============================================================ */
@media (max-width: 900px) {
    
    /* 1. Pasek - Mniejszy padding */
    .wpcsb-container .wpcsb-product {
        padding: 0px 35px 10px 0px !important; /* Zmniejszone odstępy */
        gap: 5px !important;
    }

    /* 2. Tytuł - Mniejsza czcionka */
    .wpcsb-product-name {
        font-size: 16px !important; /* Było 15/16px */
        margin-bottom: 0 !important;
        line-height: 1 !important;
      margin-left: -40px;
    }
    
    /* Mniejszy odstęp pod tytułem */
    .wpcsb-product-info {
        margin-bottom: 5px !important; 
    }

    /* 3. Przyciski - ZMIANA WYSOKOŚCI (Skalowanie) */
    .wpcsb-product-action .quantity,
    .wpcsb-btn {
        height: 50px !important; /* Zmniejszone z 48px do 38px */
    }

    /* 4. Licznik - Dopasowanie do nowej wysokości */
    .wpcsb-product-action .quantity {
        flex: 0 0 30% !important; /* Węższy licznik */
        max-width: 160px !important;
        border-width: 1px !important;
        padding: 0 20px !important;
     
    }
    .wpcsb-product-action .quantity button {
        font-size: 18px !important; /* Mniejsze plus/minus */
        width: 25px !important;
        padding-bottom: 2px !important;
     
        
      
    }
    .wpcsb-product-action .quantity input.qty {
        font-size: 14px !important; /* Mniejsza cyfra */
    }

    /* 5. Przycisk "Do Koszyka" - Dopasowanie */
    .wpcsb-btn {
        flex: 0 !important; /* Zajmuje resztę miejsca */
        padding: 0 20px !important;
    }
    
    /* Wnętrze przycisku - Mniejsze fonty */
    .moj-btn-content {
        font-size: 11px !important; /* Było 13px */
        gap: 5px !important;
    }
    .moj-btn-content .cena-w-btn {
        font-size: 12px !important; /* Było 14px */
      margin-right: 8px !important;
        margin-left: 3px !important;
    }
    /* Skalowanie ikonki w przycisku */
    .moj-btn-content svg {
        width: 14px !important;
        height: 14px !important;
        margin-right: 8px !important;
        margin-left: 8px !important;
    }
}

/* ============================================================
   LICZNIK ZAKUPÓW PRODUKTU - DOPASOWANY DO STRONY DOZA
   ============================================================ */

/* Główny kontener licznika */
.doza-sales-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #FFFDF9;
    border-radius: 12px;
    margin: 16px 0 20px 0;
    border-left: 4px solid #FF8C42;
    font-family: 'PP Neue Montreal', 'Neue Montreal', sans-serif;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.doza-sales-counter:hover {
    background: #FFF9F0;
    border-left-color: #FF7622;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Ikona zegara */
.doza-sales-counter svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    transition: all 0.2s ease;
}

.doza-sales-counter svg path {
    stroke: #FF8C42;
    transition: stroke 0.2s ease;
}

.doza-sales-counter:hover svg path {
    stroke: #FF7622;
}

/* Tekst licznika */
.doza-sales-counter .sales-counter-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-50-color);
    font-weight: 400;
}

.doza-sales-counter .sales-counter-text strong {
    color: var(--dark-font-color);
    font-weight: 500;
}

/* Pozycjonowanie - dopasowane do layoutu strony */
.single-product-details .doza-sales-counter {
    width: 100%;
    box-sizing: border-box;
}

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */

/* Tablet (601px - 900px) */
@media (min-width: 601px) and (max-width: 900px) {
    .doza-sales-counter {
        padding: 13px 16px;
        margin: 14px 0 18px 0;
        gap: 9px;
        border-radius: 10px;
    }
    
    .doza-sales-counter svg {
        width: 17px;
        height: 17px;
    }
    
    .doza-sales-counter .sales-counter-text {
        font-size: 13.5px;
    }
}

/* Mobile (401px - 600px) */
@media (min-width: 401px) and (max-width: 600px) {
    .doza-sales-counter {
        padding: 12px 14px;
        margin: 12px 0 16px 0;
        gap: 8px;
        border-radius: 10px;
        border-left-width: 3px;
    }
    
    .doza-sales-counter svg {
        width: 16px;
        height: 16px;
    }
    
    .doza-sales-counter .sales-counter-text {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* Bardzo małe ekrany (poniżej 400px) */
@media (max-width: 400px) {
    .doza-sales-counter {
        padding: 11px 12px;
        margin: 10px 0 14px 0;
        gap: 7px;
        border-radius: 8px;
        border-left-width: 3px;
    }
    
    .doza-sales-counter svg {
        width: 15px;
        height: 15px;
    }
    
    .doza-sales-counter .sales-counter-text {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .doza-sales-counter .sales-counter-text strong {
        display: block;
        margin-bottom: 2px;
    }
}

/* ============================================================
   ANIMACJE
   ============================================================ */

/* Płynne pojawienie się */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.doza-sales-counter {
    animation: fadeInSlide 0.4s ease-out;
}

/* ============================================================
   INTEGRACJA Z WOOCOMMERCE
   ============================================================ */

/* Usuń margines z elementu poniżej jeśli jest */
.doza-sales-counter + .quantity,
.doza-sales-counter + form.cart {
    margin-top: 0 !important;
}

/* Dopasowanie do single-product-details */
.single-product-details .doza-sales-counter {
    max-width: 100%;
}

