/**

 * Theme Name:     Prit
 * Author:         Intinet
 * Template:       phlox-pro
 * Text Domain:	   prit
 * Description:    Phlox is a modern, lightweight and customizable theme perfect for almost any type of website including, blog, portfolio, agency, startup, new &amp; magazine, restaurant, travel, and photography as well as WooCommerce storefront. What makes the Phlox unbeatable is being fast, truly responsive, translation ready, RTL layout, built with SEO in mind, professional portfolio features, professional news and magazine features, 45 exclusive widgets and elements, WooCommerce Ready, WPML ready, 100% GDPR compliance, reliable with regular updates, and also integrated with Elementor and Visual Composer page builders.
 * Author URI:     https://intinet.si/
 * Version:        1.0
 */

 .widget-container a:hover {
    color: var( --e-global-color-text );
}

.pvt-qty-input .qty-count {
    margin: 0;
}

.product .price {
    display: none;
}

.pvtfw-table-heading-continer {
    float: left;
    width: 100%;
}

.product_meta > span {
    display: block;
}

#payment-method,
.wp-block-woocommerce-checkout-order-summary-totals-block,
.wc-block-components-totals-wrapper {
    display: none;
}

.wp-block-woocommerce-checkout-order-summary-cart-items-block.wc-block-components-totals-wrapper {
    display: block;
}

.wc-block-cart__submit-container {
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;    
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    color: #515151;
    background-color: #e9e6ed;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    background-color: var(--e-global-color-secondary);

}

.wc-block-components-button__text {
    color: #fff;
    -webkit-font-smoothing: antialiased;
    font-size: 100%;
    text-shadow: none;
    padding: .618em 1em;
}

.wc-block-components-button__text:before {
    content: "\f101";
        font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    display: inline-block;

}


button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;    
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    color: #515151;
    background-color: #e9e6ed;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    background-color: var(--e-global-color-secondary);
}

.wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button .wc-block-components-checkout-place-order-button__text {
    display: inline-block !important;
}

.wc-block-components-checkout-step__description {
    display: none;
}

.trgovina #site-title {
    display: none !important;

}


ul.products.columns-4 .add_to_cart_button {
    display: none !important;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
    min-height: 250px;
}

ul.sub-menu.aux-submenu {
    text-align: left;
}

span.aux-submenu-indicator {
    background-image: none !important;
}

span.aux-submenu-indicator::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; /* 900 = Solid stil */
    content: '\f078'; /* Unicode za ikono "chevron-down" */
    color: white;
    margin-left: 0.375em;
    position: relative;
    top: -1px;
    font-size: 0.7em; /* po potrebi prilagodi */
}

.aux-de-col6 .product {
    width: 15%;
    padding-left: 15px;
    padding-right: 15px;
}

.kategorije .product-category {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.kategorije .woocommerce-loop-category__title {
    font-size: 100%;
    text-align: center;

}

.kategorije .count {
    display: block;
    clear: both;
    width: 100%;
}

.menu-item .aux-submenu-indicator{
    display: none;

}

#menu-woocommerce .aux-submenu  .menu-item:after {
    display: none;

}


#menu-woocommerce .menu-item::after {
  padding: 11px 0px 11px 20px;

}

.loop-tools-wrapper {
    display: none;
}

.auxshp-title-heading  {
    color: #141414;
    text-align: center;
}

.woocommerce ul.products li.product a img.woocommerce-loop-product__image{
  width: 100%;
  height: auto !important;
  object-fit: contain;
}


.auxshp-product-image-secondary,
.auxshp-hover-image { display: none !important; }

img.auxshp-product-image.auxshp-attachment {
    display: none;
}

.woocommerce.columns-4 .product  {

}

/* === PRIT kartice – veljajo samo znotraj .woocommerce.columns-4 ========== */

/* spremenljivke za ta grid */
.woocommerce.columns-4{
  --card-radius: 14px;
  --card-border: #E8EDF3;
  --card-shadow: 0 6px 20px rgba(20,30,50,.06);

  --frame-pad: 12px;
  --frame-border: #E5E9F0;
  --frame-radius: 12px;
}

/* skrij obrezane/sekundarne slike (samo tu) */
.woocommerce.columns-4 .products-loop .product img.auxshp-product-image,
.woocommerce.columns-4 .products-loop .product .auxshp-hover-image{
  display:none !important;
}

/* KARTICA */
.woocommerce.columns-4 .products-loop .product{
  display:flex !important;
  flex-direction:column;
  background:#fff;
  border:0px solid var(--card-border);
  overflow:hidden;
  transition:transform .15s ease, box-shadow .15s ease, border-color .2s ease;
  height:100%;
  margin: 0;

}
.woocommerce.columns-4 .products-loop .product:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(20,30,50,.08);
  border-color:#DFE6EE;
}

/* OKVIR ZA SLIKO (anchor) */
.woocommerce.columns-4 .products-loop .product a.woocommerce-LoopProduct-link{
  display:flex !important;
  align-items:center;
  justify-content:center;
  aspect-ratio: 4 / 3;
  padding: var(--frame-pad);
}

/* SLIKA – vedno cela + rahel rob */
.woocommerce.columns-4 .products-loop .product a.woocommerce-LoopProduct-link > img{
  width:100%;
  height:100% !important;
  object-fit:contain !important;
  display:block;
  background:#fff;
  margin:0;
    max-height: 170px !important;
}

/* VSEBINA */
.woocommerce.columns-4 .products-loop .product .auxshp-entry-main{
  padding:16px 16px 18px;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
}

/* Naslov – 2 vrstici */
.woocommerce.columns-4 .products-loop .product .woocommerce-loop-product__title{
  font-size:15px;
  line-height:1.35;
  margin:8px 0 6px;
  text-align:center;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height: 2.7em;
}

/* Cena */
.woocommerce.columns-4 .products-loop .product .price{
  margin:6px 0 10px;
  font-weight:600;
  text-align:center;
}

/* Gumb – outline */
.woocommerce.columns-4 .products-loop .product .button{
  margin-top:auto;
  align-self:center;
  padding:9px 16px;
  border:1px solid #1aa4a6;
  color:#1aa4a6;
  background:#fff;
  border-radius:10px;
  box-shadow:none;
}
.woocommerce.columns-4 .products-loop .product .button:hover{
  background:#1aa4a6;
  color:#fff;
}


/* Responsive */
@media (max-width:1024px){
  .woocommerce.columns-4 .products-loop .product a.woocommerce-LoopProduct-link{ padding:10px; }
}
@media (max-width:767px){
  .woocommerce.columns-4 .products-loop .product a.woocommerce-LoopProduct-link{ aspect-ratio: 16 / 11; }
}

/* KATEGORIJE (Elementor/Phlox products-loop) – enake kartice, neobrezane slike */
.woocommerce .products-loop li.product-category > a{
  display: grid;
  grid-template-rows: 180px auto;   /* 1. vrstica = slika, 2. vrstica = naslov */
  align-items: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

/* slika: zapolni 1. vrstico, vedno cela (contain), rahel rob */
.woocommerce .products-loop li.product-category > a img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  box-sizing: border-box;
  margin: 0 !important; /* prepiše .elementor img margin-bottom */
}

/* naslov: enotna višina za poravnavo */
.woocommerce .products-loop li.product-category > a .woocommerce-loop-category__title{
  min-height: 2.6em;                 /* ~2 vrstice */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* (opcijsko) če želiš samo na 6-stolpčni mreži spremeniti višino slike: */
.woocommerce.columns-6 .products-loop li.product-category > a{
  grid-template-rows: 200px auto;     /* prilagodi po potrebi */
}


/* Skrij On Sale / In Stock / Clear filters */
.prdctfltr_sale,
.prdctfltr_instock {
  display: none !important;
}

.products-loop .auxshp-meta-terms {
  display: none;
}

.prdctfltr_widget_title {
  font-size: 18px;
}

.prdctfltr_filter_title {
  display: none !important;
}

.woocommerce-product-gallery__image {
  position: relative !important;
}

.auxshp-related-products img.woocommerce-loop-product__image {
    width: 250px;      /* prilagodi po želji */
    height: 250px;     /* fiksna višina */
    object-fit: cover; /* obreže sliko, da se lepo prilega */
    display: block;
    margin: 0 auto;    /* centriranje */
}



.available-options-btn {
  display: none;
}

/* Kompaktna variacijska tabela */
table.variant {
    font-size: 13px;           /* manjša pisava */
    border-collapse: collapse; /* bolj kompaktne meje */
    width: 100%;
}

table.variant th,
table.variant td {
    padding: 6px 8px;          /* manjši padding */
    line-height: 1.3;          /* nižja višina vrstic */
    text-align: center;        /* lepše poravnano */
}

/* Glava tabele */
table.variant thead th {
    background: #f7f7f7;
    font-weight: 600;
}

/* Zebra stil za preglednost */
table.variant tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Gumb v tabeli */
table.variant .button {
    padding: 3px 8px;          /* bolj kompakten gumb */
    font-size: 12px;
    line-height: 1.2;
}

/* Glavni stil tabele */
table.variant {
    font-size: 16px;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Glava */
table.variant thead th {
    background: linear-gradient(to bottom, #f9f9f9, #f1f1f1);
    font-weight: 700 !important;
    text-align: center;
    padding: 8px;
    border-bottom: 1px solid #ddd;
    color: #333;
    font-size: 18px;
}

/* Vrstice */
table.variant tbody td {
    padding: 6px 10px;
    line-height: 1.3;
    text-align: center;
    border-bottom: 1px solid #eee;
    color: #444;
}

/* Zebra efekt */
table.variant tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Hover efekt */
table.variant tbody tr:hover {
    background-color: #f0f7ff;
}

/* Gumbi */
table.variant .button {
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.3;
    background-color: var( --e-global-color-primary );
    color: #fff;
    transition: background 0.2s ease;
}

table.variant .button:hover {
    background: #005f8d;
}

.tabs-content {
  border: 1px solid #ccc !important;

}

.woocommerce-page .woocommerce-tabs .tabs li.active {
  border-bottom: 1px solid #fff;
}

.iskalnik .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  background: #333;
  border: 1px solid #444;
  border-right: 0px;
  color: #ccc;
}

.iskalnik .dgwt-wcas-search-submit {
  border: 1px solid #444 !important;
  border-left: 0px;
  
  background: #FD4A4A !important;
}

.iskalnik .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit::before {
  border-color: transparent #FD4A4A !important;
}

.prdctfltr_wc_widget.prdctfltr_wc .prdctfltr_filter {
  margin-bottom: 0px !important;
}

.prdctfltr_collector.prdctfltr_collector_flat {
  padding: 20px 0;
}

@media (min-width: 760px) and (max-width: 1250px) {
  .projektznami h5 {
    font-size: 35px !important;
    max-width: 425px;
  }
}

.projektznami h5 {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  line-height: 1.2;
}

.nowrap a,
.nowrap { white-space: nowrap; }

/* Product Filter — poravnaj večvrstično besedilo v labelu */
.prdctfltr_filter.prdctfltr_product_cat .prdctfltr_checkboxes label > span{
  position: relative;
  display: block;
  padding-left: 24px;          /* prilagodi širini ikone/bulleta */
  line-height: 1.3;
}

.prdctfltr_filter.prdctfltr_product_cat .prdctfltr_checkboxes label > span::before{
  position: absolute;
  left: 0;
  top: 0.15em;                  /* po želji poravnaj vertikalno */
}

.aux-breadcrumbs span.aux-breadcrumb-sep {
    font-size: 0; /* skrije originalni ikon font, če je še prisoten */
}

.aux-breadcrumbs span.aux-breadcrumb-sep::before {
    content: "›";           /* ali "/" */
    display: inline-block;
    margin: 0 6px;
    font-size: 14px;
    line-height: 1;
    vertical-align: middle;
    position: relative;
    top: -3px;              /* tu poravnaš – po potrebi daj -2px ali 0 */
}


@media (max-width: 1699px) {
    .crtaspodaj {
        display: none !important;
    }
}


.not-found {
  margin: 0;
}

.not-found .aux-main  {
  margin: 10% 0;
}

.wpcf7-list-item input:not([type="submit"]) {
  height: auto !important;
}

.wpcf7-list-item {
  margin: 0 0 0 0;
}

.single-post .hentry .entry-info.aux-text-align-center,
.single-post .hentry .entry-meta,
.nocomments {
  display: none;
}