/*
Theme Name: ZiCoding Shop V1
Theme URI: https://example.com/myshop
Author: ZiCoding
Description: Super brza, SEO optimizovana WooCommerce tema.
Version: 1.0
*/
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
}

.product-card {
  padding: 15px;
  margin: auto;
}

.breadcrumbs {
  text-align: center;
  background-color: #ffffff;
  justify-content: center;
  max-width: 1200px;
  margin: 0 0 5px auto;
  padding: 10px;
  font-size: 14px;
  box-shadow: 0px 10px 20px -15px rgba(0, 0, 0, .75);
}
.breadcrumbs a{
  color: #7359A6;
  text-decoration: none;
}
.shop-main,
.single-product,
.wp-block-woocommerce-empty-cart-block,
.wc-block-components-sidebar-layout {
  padding: 1rem;
  text-align: center;
}

.home .entry-title,
.home .entry-header,
.page-title {
  display: none !important;
}

.entry-content {
  padding: 25px;
}
.entry-title,
.shop-title,
.product_title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.05em;
    text-align: center;
    text-transform: uppercase;
    background: linear-gradient(90deg, #7359A6 0%, #B39DDB 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 1.5rem 0 0;
    padding: 0.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.entry-title::after,
.shop-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #7359A6 0%, #B39DDB 100%);
    border-radius: 2px;
}

/* Woocommerce */
.woocommerce {
  padding: 0;
}
.woocommerce-info {
    border-top-color: #9BC90D;
}
.woocommerce-info::before {
    color: #9BC90D;
}
.woocommerce div.product {
  margin-bottom: 0;
  position: relative;
}
/* Base Styles */
.woocommerce-MyAccount-navigation {
    margin-bottom: 2rem;
    width: 100%;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.woocommerce-MyAccount-navigation-link {
    position: relative;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation-link a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

/* Hover State */
.woocommerce-MyAccount-navigation-link a:hover {
    background-color: #e9ecef;
    color: #000;
    transform: translateX(4px);
}

/* Active State */
.woocommerce-MyAccount-navigation-link.is-active a {
    background-color: #e9ecef;
    color: #000;
    border-left-color: #7359A6;
    font-weight: 600;
}

/* Logout Link Special Styling */
.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background-color: rgba(220, 53, 69, 0.2);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .woocommerce-MyAccount-navigation {
        width: 280px;
        margin-right: 2rem;
        margin-bottom: 0;
    }
    
    .woocommerce-MyAccount-navigation-link a:hover {
        transform: translateX(8px);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .woocommerce-MyAccount-navigation-link a {
        color: #e0e0e0;
        background-color: #2d2d2d;
    }
    
    .woocommerce-MyAccount-navigation-link a:hover,
    .woocommerce-MyAccount-navigation-link.is-active a {
        background-color: #3d3d3d;
        color: #fff;
    }
    
    .woocommerce-MyAccount-navigation-link.is-active a {
        border-left-color: #4dabf7;
    }
    
    .woocommerce-MyAccount-navigation-link--customer-logout a {
        color: #ff6b6b;
        background-color: rgba(255, 107, 107, 0.1);
    }
    
    .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
        background-color: rgba(255, 107, 107, 0.2);
    }
}
/* Početna kategorije */
li.product-category.product,
.woocommerce.columns-3 ul.products li.product,
.woocommerce-page.columns-3 ul.products li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce-page ul.products.columns-3 li.product {
    width: 100% !important; /* Resetira defaultne % vrijednosti */
    margin: 0 !important; /* Resetira margine */
    float: none !important; /* Onemogućava floating */
}
/* Osnovni grid layout za 3 kolone */
.woocommerce.columns-3 ul.products,
.woocommerce-page.columns-3 ul.products,
.woocommerce ul.products.columns-3,
.woocommerce-page ul.products.columns-3 {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 15px; /* Manji razmak između kartica */
    padding: 0;
    list-style: none;
    width: 100%;
}

/* Stilovi za smanjene kartice proizvoda */
li.product-category.product,
.woocommerce.columns-3 ul.products li.product,
.woocommerce-page.columns-3 ul.products li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce-page ul.products.columns-3 li.product {
    display: flex;
    flex-direction: column;
    padding: 10px !important; /* Manji padding */
    text-align: center;
    box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.75); /* Manja sjena */
    border-radius: 4px; /* Manji border radius */
    border: 1px solid #7359A6;
    height: 100%;
    box-sizing: border-box;
}

/* Smanjena veličina slike */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    display: block;
    height: 200px !important;      /* Fiksna visina - ista kao širina */
    margin: 0 auto 15px !important;
    object-fit: cover;             /* Osigurava ispravno skaliranje */
    object-position: center;       /* Centrira sliku */
    border: 2px solid #f5f5f5;     /* Opcionalni okvir */
    border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1); /* Opcionalna sjena */
    transition: all 0.3s ease;     /* Glatka tranzicija za hover efekte */
}
/* Samo za kategorije */
.woocommerce ul.products.columns-3 li.product a img,
.woocommerce-page ul.products.columns-3 li.product a img {
    object-fit: cover;             /* Osigurava ispravno skaliranje */
    border-radius: 50% !important; /* Savršeni krug */
    width: 120px !important;       /* Fiksna širina */
    height: 120px !important;      /* Fiksna visina - ista kao širina */
}
/* Hover efekti */
.woocommerce ul.products li.product a:hover img,
.woocommerce-page ul.products li.product a:hover img {
    transform: scale(1.03);        /* Blago uvećanje */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Jača sjena */
}

/* Smanjeni naslov proizvoda */
.woocommerce.columns-3 ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page.columns-3 ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products.columns-3 li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products.columns-3 li.product .woocommerce-loop-product__title {
    font-size: 14px !important; /* Manja veličina fonta */
    margin-bottom: 8px !important; /* Manji razmak */
    line-height: 1.3;
}

/* Smanjena cijena */
.woocommerce.columns-3 ul.products li.product .price,
.woocommerce-page.columns-3 ul.products li.product .price,
.woocommerce ul.products.columns-3 li.product .price,
.woocommerce-page ul.products.columns-3 li.product .price {
    font-size: 13px !important;
    margin-bottom: 8px !important;
}

/* Smanjeni gumb */
.woocommerce.columns-3 ul.products li.product .button,
.woocommerce-page.columns-3 ul.products li.product .button,
.woocommerce ul.products.columns-3 li.product .button,
.woocommerce-page ul.products.columns-3 li.product .button {
    padding: 6px 12px !important;
    font-size: 12px !important;
}
/* Hover efekti za kartice proizvoda */
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: #7359A6;
    transition: all 0.3s ease;
}

/* Hover efekti za slike proizvoda */
.woocommerce ul.products li.product:hover img,
.woocommerce-page ul.products li.product:hover img {
    transform: scale(1.05);
    opacity: 0.9;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

/* Efekat za naslov proizvoda na hover */
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title {
    color: #7359A6;
    transition: color 0.3s ease;
}

/* Efekat za cijenu na hover */
.woocommerce ul.products li.product:hover .price,
.woocommerce-page ul.products li.product:hover .price {
    color: #333;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Efekat za gumb na hover */
.woocommerce ul.products li.product:hover .button,
.woocommerce-page ul.products li.product:hover .button {
    background-color: #7359A6;
    color: white;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Dodatni overlay efekat za sliku */
.woocommerce ul.products li.product a:first-child {
    position: relative;
    display: block;
    overflow: hidden;
}

.woocommerce ul.products li.product a:first-child::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.woocommerce ul.products li.product:hover a:first-child::after {
    opacity: 1;
    color: #7359A6;
}
/* Link grupe */
/* Jači selektor za naslov kategorije */
.woocommerce.columns-3 ul.products li.product a[aria-label^="Visit product category"] h2.woocommerce-loop-category__title,
.woocommerce-page.columns-3 ul.products li.product a[aria-label^="Visit product category"] h2.woocommerce-loop-category__title {
    color: #7359A6 !important; 
}

/* Jači selektor za hover */
.woocommerce.columns-3 ul.products li.product a[aria-label^="Visit product category"]:hover h2.woocommerce-loop-category__title,
.woocommerce-page.columns-3 ul.products li.product a[aria-label^="Visit product category"]:hover h2.woocommerce-loop-category__title {
    color: #5D3D8B !important;
}
/* Broj proizvoda u zagradi (mark.count) */
a[aria-label^="Visit product category"] h2.woocommerce-loop-category__title mark.count {
    color: #FF5733 !important; /* Narančasta (promijenite po želji) */
    background-color: transparent !important; /* Uklanja žutu pozadinu */
}

/* Hover efekat za broj */
a[aria-label^="Visit product category"]:hover h2.woocommerce-loop-category__title mark.count {
    color: #E74C3C !important; /* Tamnija narančasta */
}
.woocommerce ul.products li.product{
    margin: 0 3.8% 10px 0 !important;
    }

/* Stil za naslov "Kategorije" */
.wp-block-heading {
    position: relative;
    text-align: center;
    font-weight: 700;
    color: #2d2d2d;
    margin: 40px 0 30px;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}

.wp-block-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #7359A6, #a387d4);
    border-radius: 3px;
}

.wp-block-heading::after {
    width: 120px;
    transition: all 0.3s ease;
}
  h2.wp-block-heading {
    font-size: 1.6rem;
}
h3.wp-block-heading {
    font-size: 1.4rem;
}
/* kraj */
/* Products Grid - 4 Columns */
.products-grid ul.products.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px;
    padding: 0;
    list-style: none;
    width: 100%;
}

/* Product Category Items in 4-column grid */
.products-grid .product-category.product {
    display: flex;
    flex-direction: column;
    padding: 10px !important;
    text-align: center;
    box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.75);
    border-radius: 4px;
    border: 1px solid #7359A6;
    height: 100%;
    box-sizing: border-box;
    margin: 0 !important;
}

/* Images in 4-column grid */
.products-grid .product-category.product a img {
    display: block;
    height: 200px !important;
    margin: 0 auto 15px !important;
    object-fit: cover;
    object-position: center;
    border: 2px solid #f5f5f5;
    border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Circular images for categories */
.products-grid .product-category.product a img {
    object-fit: cover;
    width: 120px !important;
    height: 120px !important;
}

/* Category titles */
.products-grid .woocommerce-loop-category__title {
    color: #7359A6 !important;
    font-size: 14px !important;
    margin-bottom: 8px !important;
    line-height: 1.3;
}

/* Count styling */
.products-grid .woocommerce-loop-category__title mark.count {
    color: #FF5733 !important;
    background-color: transparent !important;
}

/* Hover effects */
.products-grid .product-category.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: #7359A6;
    transition: all 0.3s ease;
}

.products-grid .product-category.product:hover img {
    transform: scale(1.05);
    opacity: 0.9;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.products-grid .product-category.product:hover .woocommerce-loop-category__title {
    color: #5D3D8B !important;
    transition: color 0.3s ease;
}

.products-grid .product-category.product:hover .woocommerce-loop-category__title mark.count {
    color: #E74C3C !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .products-grid ul.products.columns-4 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

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

@media (max-width: 480px) {
    .products-grid ul.products.columns-4 {
        grid-template-columns: 1fr !important;
    }
}
/* Skriva tekst za čitače ekrana */
.wc-block-grid__product-onsale .screen-reader-text {
  display: none !important;
}
/* KRAJ Stilizacija wrappera proizvoda u korpi */
.woocommerce ul.products:not(.products-categories),
.woocommerce-page ul.products:not(.products-categories){
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
  list-style: none;
  width: 100%;
  margin-top: 20px;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}
.woocommerce ul.products li.product:not(.product-category),
.woocommerce-page ul.products li.product:not(.product-category) {
  width: 100%;
  padding: 10px !important;
  text-align: center;
  box-shadow: 0px 10px 20px -15px rgba(0, 0, 0, .75) !important;
  border-radius: 5px;
  border: 1px solid #7359A6;
  display: flex;
  flex-direction: column;
    justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.woocommerce ul.products li.product:not(.product-category):hover {
  border: 1px solid #79A70A;
  transform: translateY(-3px);
  transition: all 0.3s ease;
}
/* Badge "Sniženje" kao .onsale */
.product-card,
.woocommerce ul.products li.product {
  position: relative !important;
  overflow: visible !important;
}

/* 2. Link unutar kartice proizvoda */
.woocommerce ul.products li.product a {
  position: relative;
  display: block;
  overflow: visible !important;
}

/* 3. Glavni stil za badge "Akcija" */
.onsale {
  position: absolute !important;
  top: -10px !important;
  right: -10px !important;
  width: 60px !important;
  height: 60px !important;
  background: linear-gradient(#9BC90D 0%, #79A70A 100%) !important;
  border-radius: 50% !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  text-transform: uppercase;
  line-height: 1.2 !important;
  padding: 5px !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 900 !important;
}

/* 4. Slika proizvoda - osigurava prostor za badge */
.woocommerce ul.products li.product img {
  margin-top: 15px !important;
}
/* Kraj početna proizvodi */
.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button,
.button.wc-forward,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background-color: #79A70A !important;
  color: #fff !important;
}

.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button:hover,
.button.wc-forward:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background-color: #9BC90D !important;
}
.wc-block-components-button__text{
  font-size: 1.25em !important;
  font-weight: 700 !important;
}
.woocommerce span.onsale {
  background: linear-gradient(#9BC90D 0%, #79A70A 100%) !important;
}
.woocommerce ul.products li.product .price,
.woocommerce.single-product div.product p.price,
.woocommerce.archive ul.products li.product .price {
  color: #000000;
  font-weight: 700;
  font-size: 22px
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: #79A70A;
}
.woocommerce ul.products li.product .price del .woocommerce-Price-amount,
.woocommerce div.product p.price del .woocommerce-Price-amount {
  color: #d60505;
}
.summary .price {
  margin: 20px 0;
}
/* Galerija proizvoda */
.rtwpvg-images {
  box-shadow: 0px 10px 20px -15px rgba(0, 0, 0, .75) !important;
  padding: 15px;
}
.rtwpvg-single-image-container img {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
}

/* Detalji proizvoda */
.woocommerce div.product div.summary {
  padding: 15px;
  box-shadow: 0px 10px 20px -15px rgba(0, 0, 0, .75) !important;
}

/* Sveukupno */
.wc-block-components-main.wc-block-checkout__main.wp-block-woocommerce-checkout-fields-block,
.wp-block-woocommerce-checkout-order-summary-block{
  border: 1px solid #7359A6 !important;
  padding: 15px !important;
  margin-bottom: 15px;
  box-shadow: 0px 10px 20px -15px rgba(0, 0, 0, .75) !important;
}
.cart_totals.calculated_shipping,
.shop_table.shop_table_responsive{
  border-radius: 5px;
  padding: 15px;
  box-shadow: 0px 10px 20px -15px rgba(0, 0, 0, .75) !important;
}
.cart-subtotal,
.woocommerce-shipping-totals.shipping,
.order-total,
.shop_table.shop_table_responsive{
  border: 1px solid #7359A6 !important;
  padding: 15px !important;
  margin-bottom: 15px;
}
.cart-subtotal th,
.woocommerce-shipping-totals.shipping th,
.order-total th{
  color: #7359A6 ;
}
.cart_totals h2,
.wc-block-components-title.wc-block-components-title{
  margin: 10px !important;
  color: #7359A6 ;
}
/* css za količinu */ 
/* Osnovni stilovi za formu košarice */
.cart.ajax-cart {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    width: 100%;
}

/* Input za količinu */
.cart .quantity {
    flex: 1 0 60px; /* Minimalna širina 60px, ali može rasti */
    max-width: 80px; /* Maksimalna širina */
    display: flex; /* Dodano */
    align-items: center; /
}

.cart .quantity .qty {
    width: 100%;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #7359A6;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
    height: 40px; /* Eksplicitna visina */
    line-height: normal;
}


/* Gumb za dodavanje */
.woocommerce a.button,
.woocommerce ul.products li.product .button,
.cart .button.ajax-cart,
.shipping-calculator-button,
.woocommerce button.button {
    flex: 2 0 auto; /* Veći flex faktor za gumb */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 4px;
    background-color: #7359A6 !important;
    color: white !important;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-top: auto;
    text-decoration: none !important;
}
.woocommerce a.button:hover,
.woocommerce ul.products li.product .button:hover,
.cart .button.ajax-cart:hover,
.shipping-calculator-button:hover,
.woocommerce button.button:hover {
    background-color: #79A70A !important;
}
.shipping-calculator-button {
    line-height: unset !important;
    text-decoration: none !important;
}
/* SVG ikona unutar gumba */
.cart .button.ajax-cart svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    stroke: currentColor;
    vertical-align: middle;
}

/* Hover efekti */
.cart .button.ajax-cart:hover {
    background-color: #5E4791;
    transform: translateY(-1px);
}

/* Loading stanje */
.cart .button.ajax-cart.loading {
    opacity: 0.8;
    pointer-events: none;
}

.cart .button.ajax-cart.loading::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}



.woocommerce div.product form.cart div.quantity,
.woocommerce div.product form.cart .button {
  float: none;
  display: inline-block;
  font-weight: 500;
}

.woocommerce .quantity .qty {
  height: 35px;
  border: 1px solid #7359A6 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

}

/* Osnovni stil za product_meta kontejner */
.product_meta {
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Stil za sve span elemente unutar product_meta */
.product_meta>span {
  display: block;
  margin-bottom: 8px;
}

/* Stil za linkove unutar meta podataka */
.product_meta a {
  color: #7359A6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product_meta a:hover {
  color: #B39DDB;
  text-decoration: underline;
}

/* Specifični stil za kategorije */
.posted_in {
  font-weight: 600;
}

/* Stil za tagove (ako ih ima) */
.tagged_as {
  font-style: italic;
}

/* Naslovi trgovine */
.woocommerce-order-details__title,
.woocommerce-column__title {
  color: #fff;
  background: #B39DDB !important;
  border-radius: 5px;
  padding: 15px;
}

/* Recenzije */


span[role="group"] a,
span[role="group"] a:hover,
span[role="group"] a:focus,
span[role="group"] a:active {
  color: #7359A6;
}
/* Osnovni stil za sekciju recenzija */
#reviews {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 2rem;
  margin-top: 3rem;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Naslov sekcije */
#reviews h2.woocommerce-Reviews-title {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  font-weight: 600;
}

/* Poruka bez recenzija */
.woocommerce-noreviews {
  font-style: italic;
  color: #777;
}

/* Forma za recenziju */
#review_form {
  margin-top: 2rem;
}

/* Naslov forme */
.comment-reply-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

/* Polja forme */
.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-rating,
.comment-form-cookies-consent {
  margin-bottom: 1.5rem;
}

.comment-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea,
.comment-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus,
.comment-form select:focus {
  border-color: #2d89ef;
  outline: none;
}

/* Broj stranice*/
.woocommerce nav.woocommerce-pagination ul li a{
  font-size: 0.95rem;
  color: #7359A6;
}

/* Checkbox za cookies */
.comment-form-cookies-consent {
  font-size: 0.95rem;
  color: #555;
}

.comment-form-cookies-consent input {
  margin-right: 0.5rem;
}


.wp-element-button,
.wp-block-button__link {
  background-color: #79A70A;
  color: #fff;
  text-decoration: none;
  border: 1px solid #7359A6;
  border-radius: 2px;
  margin-top: 10px;

}

.wp-element-button,
.wp-block-button__link:hover {
  background-color: #9BC90D;
}

.wc-block-cart__submit-container {
  padding: 0;
  margin-top: 20px;
}


.woocommerce-loop-product__title {
    font-size: 1.25rem; /* osnovna veličina */
    font-weight: 600;
    color: #7359A6; /* osnovna boja */
    margin: 0.5rem 0;
    text-align: center;
    transition: color 0.3s ease;
}

/* Hover efekt za isticanje */
.woocommerce-loop-product__title:hover {
    color: #B39DDB;
}
/* GALERIJA SLIKA PROIZVODA - Wrapper slider stil */
.rtwpvg-thumbnail-slider {
  position: relative;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Stil za svaki slajd */
.rtwpvg-thumbnail-image {
  padding: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border-radius: 8px;
}

.rtwpvg-thumbnail-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Hover efekat */
.rtwpvg-thumbnail-image:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Aktivni slide (trenutni thumbnail) */
.swiper-slide-thumb-active {
  outline: 3px solid #7359A6;
  border-radius: 10px;
}

/* Navigacijske strelice */
.rtwpvg-thumbnail-prev-arrow,
.rtwpvg-thumbnail-next-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 24px;
  color: #333;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.rtwpvg-thumbnail-prev-arrow:hover,
.rtwpvg-thumbnail-next-arrow:hover {
  background: #7359A6;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.rtwpvg-thumbnail-prev-arrow {
  left: 10px;
}

.rtwpvg-thumbnail-next-arrow {
  right: 10px;
}


/* FILTER ORDER */
.woocommerce-ordering {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 20px 0;
}

.woocommerce-ordering select.orderby {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  background-color: #fdfdfd;
  color: #333;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 40px;
  cursor: pointer;
}

.woocommerce-ordering select.orderby:hover,
.woocommerce-ordering select.orderby:focus {
  border-color: #7359A6;
  box-shadow: 0 0 0 3px rgba(179, 157, 219, 1);
  outline: none;
}

/* Kontakt forma*/
/* Glavni omotač forme */
#wpcf7-f157-p144-o1 {
    max-width: 70%;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Stil za sve labele */
#wpcf7-f157-p144-o1 label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

/* Stil za input i textarea polja */
#wpcf7-f157-p144-o1 .wpcf7-form-control {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

#wpcf7-f157-p144-o1 .wpcf7-form-control:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 2px rgba(74, 108, 247, 0.2);
    outline: none;
    background-color: #fff;
}

/* Poseban stil za textarea */
#wpcf7-f157-p144-o1 textarea.wpcf7-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Stil za submit dugme */
#wpcf7-f157-p144-o1 .wpcf7-submit {
    background-color: #79A70A;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}

#wpcf7-f157-p144-o1 .wpcf7-submit:hover {
    background-color: #9BC90D !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 108, 247, 0.3);
}

/* Stil za validacijske poruke */
#wpcf7-f157-p144-o1 .wpcf7-response-output {
    padding: 15px;
    margin: 1rem 0 0;
    border-radius: 4px;
    font-size: 0.9rem;
}

#wpcf7-f157-p144-o1 .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: -1rem;
    margin-bottom: 1rem;
}

/* Animacija za spinner */
#wpcf7-f157-p144-o1 .wpcf7-spinner {
    border-color: #4a6cf7;
    border-right-color: transparent;
}
/* Osnovni stil za reCAPTCHA wrapper */
span.wpcf7-recaptcha {
  display: block;
  max-width: 100%;
  width: 304px; /* originalna širina */
  margin: 0 auto; /* centriranje */
  box-sizing: border-box;
}

/* Reci da unutrašnji div zauzima 100% širine wrappera */
span.wpcf7-recaptcha > div:first-child {
  width: 100% !important;
  height: auto !important;
  min-height: 78px; /* originalna visina */
  box-sizing: border-box;
}

/* Responzivno smanjenje iframe-a */
span.wpcf7-recaptcha iframe {
  max-width: 100% !important;
  width: 100% !important;
  height: 78px !important;
  box-sizing: border-box;
}

/* Na manjim ekranima neka širina bude 100% */
@media (max-width: 400px) {
  .wpcf7-form,
  .wpcf7-recaptcha {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }
#rc-anchor-container,
  .rc-anchor-normal {
  transform: scale(0.7);
    transform-origin: 0 0;
}
}
/* kraj */
/* Footer Styles */
.site-footer {
    max-width: 1200px;
    margin: auto;
    background-color: #f1f1f1 ;
    color: #fff;
    line-height: 1.6;
}

/* Ovo će nadjačati globalne .container stilove samo unutar footera */
.site-footer > .container {
    background-color: #f1f1f1  !important;
    margin: 0 auto;
    padding: 15px;
}

.site-footer a {
    color: #1f1f1f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #000;
}
/* prefooter */
.pre-footer-widgets {
  color: #fff;
    padding: 20px;
    background-color: #7359A6;
    text-align: center;    
    margin-bottom: 20px;
    font-weight: 700;
}
.pre-footer-widgets h2{
  color: #fff;
  margin: 10px;
  font-weight: 700;
}

/* Footer Widgets */
.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 2rem;
}

.site-footer .footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 10px;
}

.site-footer .footer-column h3,
.site-footer .footer-col h3 {
  color: #000;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
    margin: 0 1.5rem 0 0 !important;
    text-align: left !important;
}

.site-footer .footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #7359A6;
    text-align: left !important;
}
.site-footer .wp-block-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #7359A6;
    background-image: none !important;
    border-radius: 0;
    transform: none;
    text-align: left !important;
}
.site-footer .footer-column p {
  color: #000;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}
.site-footer .footer-widgets,
.site-footer .footer-bottom {
    text-align: left;
}
/* Site Info */
.site-info {
  color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    background-color: #7359A6;
}

.site-info p {
    margin: 0.5rem 0;
}
.site-footer .site-info a {
   color: #fff !important;
}
.site-footer .site-info a:hover {
   color: #000;
}


address {
    font-style: normal;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer-column {
    animation: fadeIn 0.5s ease forwards;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

/* Kraj */ 

.wc-block-components-totals-footer-item {
  color: #79A70A;
}

.wc-block-components-product-badge {
  color: #79A70A;
  border: 1px solid #7E57C2 !important;
  padding: 10px !important;
}

.woocommerce.columns-3 ul.products li.product {
  width: 20%;
}
/*/ Sidebar */ 
/* Sidebar wrapper unutar shop stranice */
.shop-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.shop-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  width: 100%;
}

/* Glavni sadržaj */
.shop-main {
  flex: 3;
}

/* WooCommerce sidebar stil */
.woocommerce-sidebar {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  font-family: inherit;
  color: #333;
}

.woocommerce-sidebar .widget {
  margin-bottom: 30px;
}

.woocommerce-sidebar .widget-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 2px solid #00aaff;
  padding-bottom: 5px;
}

.wp-block-woocommerce-product-categories {
  padding: 1.5rem;
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}

.wc-block-product-categories-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.wc-block-product-categories-list-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wc-block-product-categories-list-item:last-child {
  border-bottom: none;
}

.wc-block-product-categories-list-item > a {
  color: #7359A6;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  word-break: break-word;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.wc-block-product-categories-list-item > a:hover {
  color: #B39DDB !important;
}

.wc-block-product-categories-list-item-count {
  color: #999;
  font-size: 0.85rem;
}

/* Podkategorije - manji font, uvučene i sive */
.wc-block-product-categories-list--depth-1 {
  padding-left: 1rem;
  margin-top: 0.25rem;
}

.wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item > a {
  font-weight: 400;
  color: #555;
  font-size: 0.95rem;
}

.wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item > a:hover {
  color: #7359A6 !important;
}

/* Filter po cijeni */
.widget_price_filter .price_slider_wrapper {
    padding-top: 10px;
}

.widget_price_filter .ui-slider {
    position: relative;
    height: 6px;
    background: #ddd;
    margin: 20px 0;
    border-radius: 5px;
}

.widget_price_filter .ui-slider-range {
    background: #00aaff;
    height: 6px;
    border-radius: 5px;
}
.wc-block-components-price-slider__controls .wc-block-components-price-slider__amount {
    border-radius: 4px !important;
    color: #666 !important;
}

.widget_price_filter .price_label {
    margin-top: 10px;
    display: block;
    font-size: 14px;
    color: #555;
}
.wp-block-woocommerce-price-filter .wc-block-price-filter__range-input-wrapper input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    background: #7359A6 !important;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

/* Hover za slider handle - za webkit */
.wp-block-woocommerce-price-filter .wc-block-price-filter__range-input-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 5px rgba(0, 170, 255, 0.8);
}
/* Dugme Poništi */
.wp-block-woocommerce-price-filter .wc-block-components-filter-reset-button {
    background: #7359A6;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.3s ease;
    text-decoration: none
}

.wp-block-woocommerce-price-filter .wc-block-components-filter-reset-button:hover {
    background: #B39DDB;
}

/* korpa novi izgled */
/* Osnovni stil za tabelu košarice */
.woocommerce-cart-form__contents {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 2rem;
  font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* Stil za zaglavlje tabele */
.woocommerce-cart-form__contents thead {
  background-color: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
}

.woocommerce-cart-form__contents th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #495057;
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* Redovi sa proizvodima */
.woocommerce-cart-form__cart-item {
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s;
}

.woocommerce-cart-form__cart-item:hover {
  background-color: #f8f9fa;
}

/* Ćelije u redu */
.woocommerce-cart-form__cart-item td {
  padding: 1.2rem 1rem;
  vertical-align: middle;
}

/* Slika proizvoda */
.product-thumbnail img {
  width: 80px;
  height: auto;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s;
}

.product-thumbnail img:hover {
  transform: scale(1.05);
}

/* Naziv proizvoda */
.product-name a {
  font-weight: 600;
  color: #212529;
  text-decoration: none;
  transition: color 0.2s;
}

.product-name a:hover {
  color: #0d6efd;
}

/* Cijena */
.product-price .amount {
  font-weight: 600;
  color: #2c3e50;
}

/* Input za količinu */
.quantity {
  display: flex;
  align-items: center;
}

.qty {
  padding: 0.5rem;
  text-align: center;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 1rem;
}

/* Dugme za brisanje (X) */
.woocommerce .product-remove .remove {
    display: flex !important;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    font-size: 1.5rem;
    color: #dc3545 !important;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.2s;
}

.product-remove .remove:hover {
  background-color: rgba(220, 53, 69, 0.1);
  transform: scale(1.1);
}
/* Ukupna cijena po proizvodu */
.product-subtotal .amount {
  font-weight: 600;
  color: #2c3e50;
}

/* Dugme za ažuriranje košarice */
.actions .button {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.actions .button:hover {
  background-color: #5a6268;
}

/* kraj korpa novi izgled */
.summary .woocommerce-product-details__short-description {
    margin-bottom: 2rem;
}

/* Dark mode podrška - poseban media query */
@media (prefers-color-scheme: dark) {
    .entry-title, .shop-title {
        color: #f7fafc;
        background: linear-gradient(90deg, #9f7aea 0%, #ed64a6 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }
    
    .entry-title, .shop-title::after {
        background: linear-gradient(90deg, #9f7aea 0%, #ed64a6 100%);
    }
}

/* 1024px i manje */
@media (max-width: 1024px) {
    .entry-title, .shop-title {
        font-size: 2.2rem;
    }
}

/* 992px i manje */
@media (max-width: 992px) {
    .woocommerce.columns-3 ul.products,
    .woocommerce-page.columns-3 ul.products,
    .woocommerce ul.products.columns-3,
    .woocommerce-page ul.products.columns-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .footer-widgets {
        gap: 1.5rem;
    }
    
    .footer-column {
        flex: 0 0 calc(50% - 1rem);
    }
}

/* Tablet (767px - 1023px) */
@media screen and (min-width: 767px) and (max-width: 1023px) {
   .shop-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .woocommerce-sidebar {
        order: 2;
        margin-top: 20px;
    }

    .products-grid {
        order: 1;
    }
    .cart .quantity {
        flex: 1 0 100%;
        max-width: 100%;
    }
    
    .cart .quantity .qty {
        max-width: 80px;
        padding: 0.8rem;
        text-align: center;
        margin: 0 auto; 
    }
    
    .cart .button.ajax-cart {
        width: 100%;
        padding: 0.8rem;
    }

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        padding: 8px !important;
        width: 100% !important;
    }
    .woocommerce ul.products li.product-category,
    .woocommerce-page ul.products li.product-category {
        max-width: 200px;
        padding: 5px;
    }
}

/* 768px i manje */
@media (max-width: 768px) {
    .entry-title, .shop-title {
        font-size: 1.8rem;
        letter-spacing: -0.03em;
    }
    
    .entry-title::after,
    .shop-title::after  {
        width: 80px;
        height: 3px;
    }
    
    .wp-block-heading {
        font-size: 1.8rem;
        margin: 30px 0 20px;
    }
      h2.wp-block-heading {
    font-size: 1.5rem;
}
h3.wp-block-heading {
    font-size: 1.3rem;
}
    #reviews {
        padding: 1.5rem;
    }

    .comment-form input,
    .comment-form textarea {
        font-size: 0.95rem;
    }

    .comment-reply-title,
    #reviews h2 {
        font-size: 1.5rem;
    }
    
    #wpcf7-f157-p144-o1 {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    #wpcf7-f157-p144-o1 .wpcf7-form-control {
        padding: 10px 12px;
    }
        
    .footer-column {
        flex: 0 0 100%;
    }
    
    .site-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Stilovi za košaricu */
    .woocommerce-cart-form__contents thead {
        display: none;
    }
    
    .woocommerce-cart-form__cart-item {
        display: block;
        padding: 1.5rem;
        position: relative;
    }
    
    .woocommerce-cart-form__cart-item td {
        display: block;
        padding: 0.5rem 0;
        text-align: right;
    }
    
    .woocommerce-cart-form__cart-item td::before {
        content: attr(data-title);
        float: left;
        font-weight: 600;
        color: #495057;
    }
    
    .product-remove {
        position: absolute;
        top: 1rem;
        right: 1rem;
        padding: 0 !important;
    }
    
    .product-thumbnail {
        width: 100%;
        padding-bottom: 1rem !important;
        text-align: center !important;
    }
    
    .product-thumbnail::before {
        display: none;
    }
    
    .product-thumbnail img {
        width: 120px;
        height: auto;
    }
    
    .product-name {
        text-align: left !important;
        font-size: 1.1rem;
        padding-top: 1.5rem !important;
    }
    
    .product-name::before {
        display: none;
    }
    
    .quantity {
        justify-content: flex-end;
    }
    
    .actions {
        padding-top: 1.5rem !important;
    }
    
    .actions .button {
        width: 100%;
    }
}

/* 767px i manje */
@media (max-width: 767px) {
    .shop-container {
        flex-direction: column;
    }

    .shop-main,
    .woocommerce-sidebar {
        width: 100%;
        flex: unset;
    }
    
    .shop-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .woocommerce-sidebar {
        order: 2;
        margin-top: 20px;
    }

    .products-grid {
        order: 1;
    }
    .woocommerce ul.products:not(.products-categories) {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        padding: 6px !important;
    }

    .product_meta {
        font-size: 13px;
        padding: 10px 0;
    }
    
    .woocommerce-loop-product__title {
        font-size: 1.1rem;
    }
    
    .rtwpvg-thumbnail-prev-arrow,
    .rtwpvg-thumbnail-next-arrow {
        font-size: 20px;
        padding: 6px;
    }

    .rtwpvg-thumbnail-image:hover {
        transform: scale(1.02);
    }
    .wp-block-woocommerce-product-categories {
    padding: 1rem;
  }

  .wc-block-product-categories-list-item {
    padding: 0.5rem 0;
  }

  .wc-block-product-categories-list-item > a {
    font-size: 0.95rem;
  }

  .wc-block-product-categories-list--depth-1 {
    padding-left: 0.75rem;
  }
}

/* 576px i manje */
@media (max-width: 576px) {
    .woocommerce.columns-3 ul.products,
    .woocommerce-page.columns-3 ul.products,
    .woocommerce ul.products.columns-3,
    .woocommerce-page ul.products.columns-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .woocommerce.columns-3 ul.products li.product,
    .woocommerce-page.columns-3 ul.products li.product,
    .woocommerce ul.products.columns-3 li.product,
    .woocommerce-page ul.products.columns-3 li.product {
        padding: 8px !important;
    }
    
    .woocommerce ul.products li.product a img,
    .woocommerce-page ul.products li.product a img {
        width: 150px !important;
        height: 150px !important;
    }
}

/* 480px i manje */
@media (max-width: 480px) {
  .woocommerce ul.products:not(.products-categories) {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .woocommerce ul.products li.product .price, 
    .woocommerce.single-product div.product p.price, 
    .woocommerce.archive ul.products li.product .price {
    font-size: 18px;
}
    .entry-title, .shop-title {
        font-size: 1.5rem;
        margin: 0 1rem 0 0;
        padding: 0.3rem 0;
    }
    
    .entry-title::after,
    .shop-title::after  {
        width: 60px;
        height: 2px;
    }
    h2.wp-block-heading {
    font-size: 1.2rem;
}
h3.wp-block-heading {
    font-size: 1.1rem;
}
    .woocommerce ul.products li.product:not(.product-category), .woocommerce-page ul.products li.product:not(.product-category)
 { width: auto;
}
    .woocommerce ul.products[class*=columns-] li.product, 
    .woocommerce-page ul.products[class*=columns-] li.product {
        margin: 0 0 5px !important;
    }
    
    .cart .quantity {
        flex: 1 0 100%;
        max-width: 100%;
    }
    
    .cart .quantity .qty {
        max-width: 50px;
        padding: 0.8rem;
        text-align: center;
        margin: 0 auto; 
    }
    
    .cart .button.ajax-cart {
        width: 100%;
        padding: 0.8rem;
    }
    
    .woocommerce-ordering {
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce-ordering select.orderby {
        width: 100%;
    }
    
    .shop-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .products-grid .products {
        grid-template-columns: 1fr !important;
        display: grid;
        gap: 15px;
    }
    
    .woocommerce ul.products li.product, 
    .woocommerce-page ul.products li.product {
        width: 100% !important;
        margin: 0 0 15px 0;
    }
    
    .woocommerce-loop-product__title {
        font-size: 1rem;
        text-align: center;
    }
}