\

html, body {
    overflow-x: hidden;
}




/* =========================
   1) FONT – MONTSERRAT
   ========================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

body,
button,
input,
textarea,
select,
.site-header,
.site-header .menu,
.site-header .menu a {
    font-family: 'Montserrat', sans-serif !important;
}

/* =========================
   2) NASLOV + SORT NA SHOPU
   ========================= */

/* Naslov stranice – centar, Playfair samo za title */
body.woocommerce .page-title,
body.woocommerce-page .page-title {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    letter-spacing: .14em;
    text-transform: capitalize;
    text-align: center;
    margin: 32px 0 8px;
    background: none !important;
}

/* "Prikaz X–Y..." ispod naslova na sredini */
.woocommerce-result-count {
    float: none !important;
    display: block !important;
    text-align: center !important;
    font-size: 14px !important;
    color: #7a6a5d !important;
    margin: 0 0 4px !important;
}

/* Sort select centriran ispod */
.woocommerce-ordering {
    float: none !important;
    text-align: center !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}

.woocommerce .woocommerce-ordering select {
    border-radius: 999px !important;
    border: 1px solid rgba(0,0,0,0.12) !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    background: #f7ecdd !important;
}

/* Manji padding sekcije na shop stranici */
body.woocommerce .section,
body.woocommerce-page .section {
    padding-top: 40px !important;
    padding-bottom: 60px !important;
}

/* Shop container širi */
body.woocommerce .container,
body.woocommerce-page .container {
    max-width: 1200px !important;
}

/* =========================
   3) GRID PROIZVODA – VRATIMO KARTICE
   ========================= */

/* Reset + grid na UL */
body ul.products,
body .woocommerce ul.products,
body .woocommerce-page ul.products {
    all: unset !important;
    list-style: none;
    margin: 24px 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

/* Ugasimo pseudo elemente na UL-u */
body ul.products::before,
body ul.products::after,
body .woocommerce ul.products::before,
body .woocommerce ul.products::after,
body .woocommerce-page ul.products::before,
body .woocommerce-page ul.products::after {
    content: none !important;
    display: none !important;
}

/* Kartica proizvoda */
body ul.products li.product,
body .woocommerce ul.products li.product,
body .woocommerce-page ul.products li.product {
    all: unset !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: #f7ecdd !important;
    border-radius: 22px !important;
    padding: 18px !important;
    text-align: center !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06) !important;
    overflow: hidden !important;
}

/* Uklonimo pseudo-elemente na kartici */
body ul.products li.product::before,
body ul.products li.product::after,
body ul.products li.product *::before,
body ul.products li.product *::after {
    content: none !important;
    display: none !important;
}

/* Link kao fleks kolona */
body ul.products li.product > a,
body ul.products li.product .woocommerce-LoopProduct-link,
body ul.products li.product .woocommerce-loop-product__link {
    all: unset !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    cursor: pointer;
}

/* Slika */
body ul.products li.product img {
    width: 100% !important;
    max-width: 240px !important;
    border-radius: 16px !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    margin-bottom: 12px !important;
}

/* Naziv */
body ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #3c342f !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    max-height: 3.2em !important;
    overflow: hidden !important;
}

/* Cena */
body ul.products li.product .price {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: #000 !important;
}

/* Dugme */
body ul.products li.product .button {
    margin-top: auto !important;
    background: #c59a5a !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 10px 20px !important;
    border: none !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12) !important;
}

/* Responsive kolone */
@media (max-width: 992px) {
    body ul.products,
    body .woocommerce ul.products,
    body .woocommerce-page ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    body ul.products,
    body .woocommerce ul.products,
    body .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 520px) {
    body ul.products,
    body .woocommerce ul.products,
    body .woocommerce-page ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* =========================
   4) HAMBURGER MENI
   ========================= */

/* Osnovni stil dugmeta */
.menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
}

/* Tri linije */
.menu-toggle .hamburger,
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
    width: 28px;
    height: 2px;
    background: #000;
    display: block;
    transition: .25s ease;
    position: relative;
}

.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle .hamburger::before {
    top: -8px;
}

.menu-toggle .hamburger::after {
    top: 8px;
}

/* Animacija u X */
.menu-toggle.is-active .hamburger {
    background: transparent;
}

.menu-toggle.is-active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.is-active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobilni layout menija */
@media (max-width: 980px) {
    .menu-toggle {
        display: inline-flex !important;
        margin-left: auto;
    }

    .primary-nav .menu {
        display: none;
        flex-direction: column;
        gap: 16px;
        padding-top: 20px;
        text-align: center;
    }

    .primary-nav.toggled .menu {
        display: flex !important;
    }
}
.psbb-shop-search {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 14px;
}

.psbb-shop-search__field {
    min-width: 220px;
    max-width: 320px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #f7ecdd;
    font-size: 13px;
}

.psbb-shop-search__button {
    padding: 8px 18px;
    border-radius: 999px;
    border: none;
    background: #c59a5a;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
}
.psbb-filters-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
}

.psbb-filter-select {
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 6px 16px;
    font-size: 13px;
    background: #f7ecdd;
}
/* HEADER STRUCTURE */
.site-header {
    background: var(--bg-main);
}

/* SECONDARY MENU BAR */
.secondary-nav {
    background: var(--bg-light);
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.secondary-menu {
    display: flex;
    gap: 28px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.secondary-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
}

.secondary-menu a:hover {
    color: var(--accent);
}

/* MOBILE */
@media (max-width: 768px) {
    .secondary-menu {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
    }
}
