/* 
Theme Name: Dan John 
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Dan John theme
Author: RWD
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/*Hide Out of Stock Variants*/
li.variable-item.button-variable-item.disabled {
  display: none !important;
}
.register-form {
  max-width: 300px;
  margin: 50px auto;
  padding: 20px 0;
}

.register-form .form-group {
  margin-bottom: 20px;
  position: relative;
}

.register-form input[type="email"],
.register-form input[type="password"] {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #333;
  background: transparent;
  font-size: 14px;
  color: #333;
}

.register-form input::placeholder {
  color: #aaa;
  font-weight: 300;
}

.register-form .register-btn {
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 12px;
  border: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
}

.register-form .register-btn:hover {
  background-color: #000;
}

.elementor-location-footer nav .sub-menu {
  background-color: #FFFFFF;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: var( --e-global-color-primary );
}

/*Hide Out of Stock Variants*/
li.variable-item.button-variable-item.disabled {
  display: none !important;
}
/*--> END*/
:root {
	--footer-plus-color: #999;
	--footer-plus-size: 8px;
}
ins {
	 text-decoration: unset;
}
.footer-menu .sub-menu {
  margin-left: 90px !important;
  margin-top: -12px !important;
}

/* PDP Promocija */
.badge {
  position: absolute !important;
  z-index: 9999;
  right: 16px;
  font-family: "Supreme";
  font-size: 12px;
}
.badge-new {
  background-color: #B1943A;
  padding: 4px 8px;
  color: #fff;
	width: min-content;
  text-wrap: nowrap;
}

.yaydp-offer-description {
  padding: 0px 15px;
  border: 1px solid red;
  background-color: #fff;
  min-width: 90%;
  width: min-content;
  font-family: "Supreme", sans-serif;
  font-size: 16px;
	margin-bottom: 10px;
}
.yaydp-sale-tag.yaydp-custom-sale-tag {
  font-family: "Supreme", Sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  color: #FFFFFF !important;
  border-radius: 0;
  text-transform: uppercase;
}
.discount-label-wrapper {
  position: absolute !important;
  z-index: 9999 !important;
  top: 16px !important;
  right: 16px !important;
}
.discount-label-wrapper.bottom {
  position: absolute !important;
  z-index: 9999 !important;
  top: unset !important;
  right: unset !important;
  bottom: 6px !important;
  left: 16px !important;
}
@media (max-width:768px) {
  .discount-label-wrapper {
  position: absolute !important;
  z-index: 9999;
  top: unset;
  right: unset;
  bottom: 6px;
  left: 16px;
}
.badge {
  position: absolute !important;
  z-index: 9999;
  right: unset;
  bottom: 6px;
  left: 0;
}
}

#go-back [role="button"] :hover {
    cursor: pointer !important;
}

/*Glavni meni - Specijalne cene*/
.sale-menu-item a {
  color: red !important;
}

.e-search {
  background-color: rgb(247, 247, 247);
  padding: 10px 15px;
}

.variations tr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.variations th.label {
  width: auto;
  margin-bottom: 5px;
	font-size: 12px;
	font-family: Supreme, sans-serif;	
}
.variations td.value {
  width: 100%;
}
.variable-items-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1px;
  margin-top: -1px;
	padding-left: 0px;
}
.variable-item {
	min-height: 4rem;
	min-width: 4rem;
  width: 4vw;
  height: 4vw;
  box-sizing: border-box;
  border: 1px solid #000;
  margin-left: -1px;
  margin-top: -1px; 
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
	font-family: Supreme, sans-serif;
	background-color: #f7f7f7;
	font-weight: 400;
	line-height: 16px;
}
.variable-item:hover {
  background-color: #fff;
}
.variable-item[aria-checked="true"] {
  background-color: #353433;
  border-color: #333;
	color: #fff;
}
button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed {
	width: 100%;
}
button.single_add_to_cart_button.button.alt {
	width: 100%;
}

.plp-featured-image img {
  aspect-ratio: 1/1.7
}
.single-product .gallery-item img {
  aspect-ratio: 1/1.7;
  object-fit: cover
}

/**/

@media screen and (min-width:1024px){
	.elementor-loop-container {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
}

/****
.custom-product-swatches .swatch-link {
    display: inline-block;
    vertical-align: middle;
    aspect-ratio: 1;
    border: 1px solid #000;
    text-overflow: ellipsis;
    width: 70px;
    text-align: center;
    line-height: 70px;
	color:#000;
}
*/
.yith-wcwl-add-to-wishlist-button {
  flex-direction: column !important;
  gap: 0 !important;
}
.yith-wcwl-add-to-wishlist-button img{
  width: 16px !important;
  height: 16px !important;
}
.product-color-swatches {
    display: flex;
		flex-wrap: wrap;
}
.product-color-swatches .swatch-link:hover {
	cursor: pointer !important;
	background-color: #fff;
}
.product-color-swatches .swatch-link {
    border: 1px solid #000;
    margin-left: -1px;
  	margin-top: -1px;
    text-align: center;	
	  padding: 26px;
}
.product-color-swatches .swatch-link svg{
	vertical-align: middle;
  width: 24px;
  height: 24px;
}
.product-color-swatches .swatch-link:hover svg {
	filter: brightness(0.97);
}
.product-color-swatches .swatch-link:last-child {
    border-right: 1px solid #000;
}
.product-card-buttons-wrapper > div{
	width: 100%;
}
.product-card button{
	border: 0;
	background-color: transparent;
	position: relative;
	aspect-ratio: 1;
	width: 100%;
	padding: 0;
	margin: 0;
}
.product-card button img{
	display: block;
  height: 16px;
	border: 0;
	background-color: transparent;
	position: relative;
	margin: 0 auto;
}
.product-card .product-color-swatches {
	visibility: hidden;
}
.product-card .product-color-swatches-wrapper.active .product-color-swatches {
	visibility: visible;
}
.product-card button:hover {
	background-color: #fff;
	cursor: pointer;
}
.product-card .active .product-color-swatches .swatch-link {
	background-color: #fff;
	cursor: pointer;
}
.product-card button:after {
	content: "+"; 
	position: absolute !important;
	bottom: 5%;
	right: 5%;
}
.product-card .product-color-swatches {
	flex-direction: column;
}
.product-card .product-color-swatches .swatch-link {
    border: unset;
    text-align: center;	
	  padding: 11px;
	  align-content: center;
		aspect-ratio: 1;
}
.product-card .product-color-swatches .swatch-link svg{
  width: 16px;
  height: 16px;
	filter: brightness(0.97);
}



.product-color-swatches-wrapper {
  position: absolute !important;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
}
/* User registration */
.register-form {
  width: 100%;
  margin: 50px auto;
  padding: 20px 0;
}

.register-form .form-group {
  margin-bottom: 20px;
  position: relative;
}

.register-form input[type="email"],
.register-form input[type="password"] {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #333;
  background: transparent;
  font-size: 14px;
  color: #333;
}

.register-form input::placeholder {
  color: #aaa;
  font-weight: 300;
}

.register-form .register-btn {
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 12px;
  border: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
	margin-top: 20px;
}

.register-form .register-btn:hover {
  background-color: #000;
}
.elementor-element.elementor-element-d9f2f4b.elementor-widget.elementor-widget-text-editor {
	width: 100%;
}
/*My Account*/
 .woocommerce-MyAccount-content-wrapper-no-data .woocommerce-info {
	border-top-color: #9E9E9E;
	font-family: Supreme;
 } 
 .woocommerce-MyAccount-content-wrapper-no-data .woocommerce-info::before {
	color: #9E9E9E;
 }
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce a:link {
	text-decoration: underline !important;
}

.link {
	text-decoration: underline !important;
	color: #111;
}

/* Footer */
.elementor-location-footer nav .sub-menu {
  background-color: #FFFFFF;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: var( --e-global-color-primary );
}
/*Mini-cart*/
.elementor-menu-cart__main {
	width: 440px;
	
}
.elementor-menu-cart__product-name a {
	color: #000;
}
.elementor-menu-cart__product-name a:hover {
	color: #353433;
}
.elementor-menu-cart__product-price.product-price {
	color: #8C8B8B;
}
.elementor-menu-cart__subtotal {
	font-family: 'Roboto';
}
.elementor-menu-cart__footer-buttons .elementor-button--view-cart {
	background-color: #353433;
}
.elementor-menu-cart__footer-buttons .elementor-button.elementor-button--checkout {
	background-color: #353433;
}
a.elementor-button.elementor-button--view-cart {
	font-family: Supreme !important;
	text-transform: uppercase;
  font-size: 14px;
}
a.elementor-button.elementor-button--checkout {
	font-family: Supreme !important;
	text-transform: uppercase;
  font-size: 14px;
}
.elementor-button.elementor-button--view-cart:hover {
	background-color: #4d4a49 !important;
}
.elementor-button.elementor-button--checkout:hover {
	background-color: #4d4a49 !important;
}
/*Catalog borders*/
.elementor-widget-container .e-loop-item a:-webkit-any-link {
    color: black !important;    
}
.e-con-inner .e-con-full,
.e-con-inner .e-con-full:focus,
.e-con-inner .e-con-full:focus-visible,
.e-con-inner .e-con-full:focus-within,
.e-con-inner .e-con-full:hover,
.e-con-inner .e-con-full:active,
.e-con-inner .e-con-full:visited,
.e-con-inner .e-con-full:target {
  color: black !important;
  border-color: black !important;
  outline: none !important;
  box-shadow: none !important;
}
/*END*/
/*Očisti veličinu dugme na proizvodu*/
.reset_variations {
  display: none !important;
}
/*Dodaj u korpu*/

.woocommerce-notices-wrapper {
	border-radius: 0px !important;
	border: none !important;
}

.woocommerce-notices-wrapper .woocommerce-message {
  border-top-color: !important #000;
	border-top: 1px solid;
  box-shadow: none !important;
  outline: none !important;
	padding: 1em 2em 1em 3.5em !important;
  margin: 0em 0 0em !important;
	font-family: 'Supreme';
  font-size: 14px;
}

.woocommerce-message::before {
	color: #0B6827;
	
}

a.button.wc-forward:hover {
	background: #363433;
  color: #fff;
}
a.button.wc-forward {
    border-radius: unset;    
    background: #4D4B4A;
    font-family: Supreme, sans-serif;
    color: #fff;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 14px;
    padding: 10px;
    line-height: 16px;
}
@media (max-width: 559px) {
a.button.wc-forward {
    float: none !important;
    display: block;
    margin: 10px auto 0;
    text-align: center;
    width: fit-content;
   }
}

/*FILTERI*/
.filter-group {
  margin-bottom: 25px;
}
.filter-label {
  font-weight: 600;
  margin-bottom: 10px;
}
.filter-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  gap: 10px;
}
.filter-btn {
  border: 1px solid #ccc;
  padding: 8px;
  cursor: pointer;
  text-align: center;
  transition: 0.2s ease;
  background-color: #f5f5f5;
}
.filter-btn input:checked + span,
.filter-btn.active {
  border: 2px solid #000;
  background-color: #000;
  color: #fff;
}
.filter-btn span {
  display: block;
}
.color-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid #aaa;
}
.color-circle.bez   { background: #f5f0da; }
.color-circle.bela  { background: #fff; }
.color-circle.siva  { background: #bbb; }
.color-circle.braon { background: #5a3b2e; }

#active-filters {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.active-filter-tag {
  background: #f0f0f0;
  border: 1px solid #aaa;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.active-filter-tag:hover {
  background: #e0e0e0;
}
.active-filter-tag .remove {
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
}

.filter-velicina .jet-checkboxes-list__row label .jet-checkboxes-list__button{
  width: 80px;
  aspect-ratio: 1/1;
  justify-content: center;
  margin-top: -1px;
  margin-right: -1px;
}

.filter-boja .jet-color-image-list__color {
  mask-image: url(https://www.danjohn.rs/wp-content/uploads/2025/07/tear.svg);
  mask-repeat: no-repeat;
}
.filter-boja .jet-color-image-list__button {
  width: 80px;
  aspect-ratio: 1/1;
  justify-content: center;
	align-items: center;
}
.filter-boja .jet-color-image-list__decorator {
  margin-right: 0px !important;
}
.woocommerce-message {
    display: flex;
    align-items: center; /* Vertikalno poravnava tekst i dugme */
    justify-content: space-between; /* Razdvaja tekst i dugme, gurajući dugme skroz desno */
}
.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
    top: unset !important;
}
.woocommerce-message:after {
    content: unset;
}

.offer-container:hover {
    background-color: #353433;
}
.offer-title,
.offer-container .offer-title,
.offer-container .offer-more svg#SVG\ 41 {
    color: #353433;
    fill: #353433;
}
.offer-title,
.offer-container:hover .offer-title,
.offer-container:hover .offer-more svg#SVG\ 41 {
    color: #fff;
    fill: #fff;
}
.offer-container {
    transition: background-color 0.3s ease-in-out;
}
.offer-title,
.offer-more {
    transition: color 0.3s ease-in-out;
}

/*Cart*/
a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
	background: #363433;
	text-transform: uppercase;
  font-size: 14px;
}

a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover {
	background: #4D4B4A;
}

/*Checkout title*/
div#billing_title_field {
	padding-top: 15px;
}
/*Info*/
.woocommerce-info {
    border-top-color: #4D4B4A;
}

.woocommerce-info::before
 {
    color: #4D4B4A;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 30px !important;
}

.elementor-widget-woocommerce-checkout-page {
	max-width: 1400px !important;
	padding-left: 20px;
	padding-right: 20px;
}


/*Order received page*/
/*Glavni kontejner*/
.elementor-widget-container .woocommerce-order {
  max-width: 880px;
  margin: 40px auto;
  padding: 40px;
  background-color: #f7f7f7;
  border: 1px solid #d9d7d5;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  font-family: 'Supreme', sans-serif;
  color: #353433;
}

/*Hvala poruka*/
.woocommerce-notice--success {
  background-color: #f7f7f7;
  border-left: 5px solid #b69f6f;
  color: #353433;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 6px;
  margin-bottom: 30px;
  text-align: center;
}

/*Order overview*/
.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.woocommerce-order-overview li {
  background-color: #ffffff;
  border: 1px solid #dedede;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 15px;
  color: #4D4B4A;
}

/*Poruka o plaćanju*/
.woocommerce-order > p {
  background-color: #e1e1e1;
  color: #000000;
  padding: 12px 20px;
  border-left: 4px solid #353433;
  margin-bottom: 30px;
  border-radius: 6px;
  font-style: italic;
}

/*Tabela*/
.woocommerce-order-details table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.woocommerce-order-details thead {
  background-color: #353433;
  color: #000000;
}
.woocommerce-order-details th,
.woocommerce-order-details td {
  padding: 14px 20px;
  border: 1px solid #dadada;
  font-size: 15px;
}
.woocommerce-order-details tbody tr:hover {
  background-color: #f1f1f1;
}
.woocommerce-order-details tfoot {
  background-color: #f5f5f5;
  font-weight: 600;
}

/*Naslovi sekcija*/
.woocommerce-order-details__title,
.woocommerce-column__title {
  font-size: 20px;
  margin: 36px 0 18px;
  font-weight: bold;
  color: #353433;
  position: relative;
}

/*Adrese*/
.woocommerce-columns--addresses address {
  background-color: #ffffff;
  padding: 18px 24px;
  border: 1px solid #e1dfdd;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #4D4B4A;
  min-height: 188px;
}

/*Responsive*/
@media (max-width: 768px) {
  .woocommerce-order-overview {
    grid-template-columns: 1fr;
  }
  .elementor-widget-container .woocommerce-order {
    padding: 24px;
  }
}

.woocommerce-order-details__title, 
.woocommerce-column__title {
	font-size: 22px !important;
}

.woocommerce ul.order_details li {
	padding-left: 2em
}
/*-->END Checkout*/

/*Header icons color*/
/*Bijele ikonice samo na homepage*/
body.home .elementor-21 
.elementor-element.elementor-element-287616b.elementor-view-default .elementor-icon svg,
body.home .elementor-21 
.elementor-element.elementor-element-8fb22a8.elementor-view-default .elementor-icon svg,
body.home .elementor-21 
.elementor-element.elementor-element-5bd86fb.elementor-view-default .elementor-icon svg,
body.home .elementor-21 
.elementor-element.elementor-element-6bb6b70.elementor-view-default .elementor-icon svg,
body.home .elementor-21 
.elementor-element.elementor-element-17b6c6d.elementor-view-default .elementor-icon svg,
body.home .elementor-element-8fb22a8 > svg,
body.home .elementor-menu-cart__toggle .elementor-button svg {
    fill: #ffffff !important;
}

/*Crne ikonice na svim ostalim stranicama*/
body:not(.home) .elementor-21 
.elementor-element.elementor-element-287616b.elementor-view-default .elementor-icon svg,
body:not(.home) .elementor-21 
.elementor-element.elementor-element-8fb22a8.elementor-view-default .elementor-icon svg,
body:not(.home) .elementor-21 
.elementor-element.elementor-element-5bd86fb.elementor-view-default .elementor-icon svg,
body:not(.home) .elementor-21 
.elementor-element.elementor-element-6bb6b70.elementor-view-default .elementor-icon svg,
body:not(.home) .elementor-21 
.elementor-element.elementor-element-17b6c6d.elementor-view-default .elementor-icon svg,
body:not(.home) .elementor-element-8fb22a8 > svg,
body:not(.home) .elementor-menu-cart__toggle .elementor-button svg {
    fill: #000000 !important;
}

/*Meni tekst*/
body.home .elementor-element-0e74b08 .elementor-heading-title {
    color: #ffffff !important;
}
body:not(.home) .elementor-element-0e74b08 .elementor-heading-title {
    color: #000000 !important;
}
/*END ikonice*/

@media (min-width:768px){
  .e-checkout__container .e-checkout__column:first-of-type {
    background-color: #fff;;
    border-right-style: solid;
    border-right-width: 1px !important;
    border-right-color: #ccc !important;
		padding: 40px;
  }
	  .e-checkout__container .e-checkout__column:last-of-type {
    background-color: #f5f5f5;
  }
  .e-checkout__container .e-checkout__column:first-of-type > * {
    width: 80%;
    margin: auto 0 auto auto !important;
    border: unset !important;
  }
}

.product-card h3 {
	text-overflow: ellipsis;
	overflow: hidden;
	width: 100%;
	text-wrap: nowrap;
}

@media (max-width: 768px){
    .woocommerce-variation-add-to-cart {
      position: fixed !important;
      bottom: 10px !important;
      left: 10px !important;
      right: 10px !important;
    }
        .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.disabled {
      opacity: 1 !important;
      background-color: #4d4c4b !important;
    }
	.product-card h3 {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 40vw;
    text-wrap: nowrap;
	}
}

.pdp-gallery-mobile .swiper-slide figure {
    max-height: 66vh;
}
.pdp-gallery-mobile .swiper-slide figure img {
    object-fit: cover;
}

.wc_payment_method {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px !important;
}
.wc_payment_method .payment_box {
  margin: 0 !important;
}
#payment {
  padding: unset !important;
}
.e-checkout__order_review {
  padding: 40px !important;
}
.woocommerce-checkout h3 {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 400 !important;
}
.woocommerce-checkout * :not(button) {
  font-family: 'Supreme', sans-serif;
  font-weight: 400 !important;
  color: #353535 !important;
}
.woocommerce-checkout th {
  font-weight: 500 !important;
}
#yith-wcwl-form * {
    font-family: "Helvetica neue", sans-serif;
    font-weight: 400;
}

.elementor-widget-loop-grid > .elementor-widget-container .e-load-more-spinner svg {
  fill: var(--load-more-spinner-color);
  height: 2em;
  width: 2em;
}
.elementor-widget-loop-grid > .elementor-widget-container .e-load-more-spinner {
	margin: 40px auto;
}

.woocommerce ul.order_details::before {
  display: none;
}
.woocommerce ul.order_details li {border: 1px dashed #ddd !important;}
.nestpay_resp .np-transaction-info {
  max-width: unset;
  padding: 0;
  background-color: unset;
  width: 100%;
}
.nestpay_resp .np-transaction-info h2{
  font-size: 22px !important;
}
.nestpay_resp .np-transaction-info h4{
  font-size: 16px !important;
}
.nestpay_resp .np-transaction-info p{
  padding: 0;
  font-size: 14px !important;
}

/*Header - icons*/
.homepage .elementor-icon {
    color: white !important;
}

span.elementor-button-icon-qty {
    font-size: 0.4375rem !important;
    border: 0.031rem solid white !important;
    top: 0.8rem !important;
}
.elementor-button-icon svg {
    height: 20px !important;
    width: 20px !important;
    margin-top: -1px !important;
}
.elementor-menu-cart__main {
    max-width: 90%;
}

/*Footer - submenu*/
.footer-menu .sub-arrow {
    color: var(--footer-plus-color);
    font-size:  var(--footer-plus-size);
}
