/*
Theme Name: Shop Theme
Theme URI: 
Author: Pyro
Author URI: 
Description: A sleek and stylish WordPress theme designed for modern websites.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: capone
*/

.container {
  margin: 0 auto;
  max-width: 1140px;
  width: 100%;
  overflow: hidden
}

@media(max-width: 1140px) {
  .container {
    padding: 0 16px;
  }
}

.column-1,
.column-2,
.column-3,
.column-4,
.column-5,
.column-6,
.column-7,
.column-8,
.column-9,
.column-10,
.column-11,
.column-12 {
  float: left
}

.column-1 {
  width: 8.3%
}

.column-2 {
  width: 16.6%
}

.column-3 {
  width: 25%
}

.column-4 {
  width: 33.3%
}

.column-5 {
  width: 41.6%
}

.column-6 {
  width: 50%
}

.column-7 {
  width: 58.3%
}

.column-8 {
  width: 66.6%
}

.column-9 {
  width: 75%
}

.column-10 {
  width: 83.3%
}

.column-11 {
  width: 91.6%
}

.column-12 {
  width: 100%
}

@media(max-width: 1023px) {

  .column-1,
  .column-2,
  .column-3,
  .column-4,
  .column-5,
  .column-6,
  .column-7,
  .column-8,
  .column-9,
  .column-10,
  .column-11,
  .column-12 {
    margin: 0 !important;
    padding: 0 !important;
    float: none;
    width: 100% !important
  }

  .container {
    padding: 0 16px !important;
  }
}

section {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%
}

footer,
header,
nav,
section {
  display: block;
  overflow: hidden
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth
}

body {
    font-family: "Outfit", sans-serif;
  background-color: #fff;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  color: var(--text-color);
  line-height: 1
}

:focus {
  outline: none;
}
a:focus {
  outline: none!important; 
}
:root {
  --text-color: #242424;
  --title-color: #242424;
  --main-color: #ff5943;
  --button-color: #018849;
}

a {
  text-decoration: none
}

a:hover,
a:active {
  outline: 0
}

p {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 16px;
  color: var(--text-color);
  font-weight: 400;
}

h1 {
  font-weight: 600;
  font-size: 30px;
  line-height: 36px;
}

h2,
h2 a {
  font-weight: 600;
  font-size: 26px;
  line-height: 30px;
  margin-bottom: 24px
}

h3,
h3 a {
  font-weight: 600;
  font-size: 24px;
  line-height: 26px;
}

h4,
h4 a {
  font-size: 22px;
  line-height: 29px
}

h5,
h5 a {
  font-size: 19px;
  line-height: 26px
}

h6,
h6 a {
  font-size: 16px;
  line-height: 21px
}

h1,
h2,
h2 a,
h3,
h3 a,
h4,
h4 a,
h5,
h5 a,
h6,
h6 a {
  color: var(--title-color);
  font-family: "Outfit", sans-serif;
}

ul {
  list-style: disc inside
}

ol {
  list-style: decimal inside
}

li {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 15px;
  color: var(--text-color);
  list-style: none;
  font-family: "Outfit", sans-serif;
}

li ul,
li ol {
  margin-left: 15px;
  margin-bottom: 0
}

iframe,
img {
  max-width: 100%
}

.custom-top-bar {
  position: sticky;
  top: 0;
  background-color: #000;
  color: white;
  text-align: center;
  padding: 16px 0;
  font-size: 15px;
  font-weight: bold;
  z-index: 999;
  width: 100%;
  height: 45px;
}

.custom-top-bar .text-container {
  font-size: 18px;
  opacity: 1; /* Ensure text is visible initially */
  transition: opacity 1s ease; /* Smooth fade transition */
}

.custom-top-bar .fade-out {
  opacity: 0; /* Fade out effect */
}

.custom-top-bar .content {
  padding: 20px;
  height: 2000px; /* For demonstration purposes, to enable scrolling */
}
header {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
  position: sticky;
    top: 45px;
    Z-INDEX: 999;
    background-color: #FFF;
}

header .container {
    display: flex;
    align-items: center;
    gap: 4px;

}
header .logo img{
    max-width: 120px;
}
header .flex {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-left: auto;
    align-items: center;
}
header .flex img {
    width: 22px;
}
header .flex .cart img {
    width: 28px;
}
.cart-wrap {
  position: relative;
  overflow: visible;
  width: 35px;
  cursor: pointer;
}
.cart-wrap.fav {
  display: flex;
  height: 32px;
  align-items: center;
}
.cart-wrap .qty {
  position: absolute;
  top: -2px;
  right: 0px;
  background-color: #000;
  border-radius: 100%;
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
}

.cart-popup-container {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background-color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  flex-direction: column;
  min-height: 100%;
}

@keyframes slideIn {
  from {
      transform: translateX(100%);
  }
  to {
      transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
      transform: translateX(0);
  }
  to {
      transform: translateX(100%);
  }
}

.slide-in {
  animation: slideIn 0.3s ease-out forwards;
}

.slide-out {
  animation: slideOut 0.3s ease-out forwards;
}


    /* Header */
    .cart-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #eee;
        margin-bottom: 16px;
    }

    .cart-title {
        font-size: 24px;
        font-weight: 500;
        margin: 0;
    }

    .close-btn {
        border: none;
        background: none;
        font-size: 24px!important;
        cursor: pointer;
        color: #666;
        padding: 5px;
    }

    .close-btn:hover {
        color: #000;
    }

    /* Empty cart message */
    .empty-cart {
        text-align: center;
        padding: 20px 20px 40px 20px;
        font-size: 24px;
    }

    /* Footer */
    .cart-footer {
        padding: 20px;
        background: white;
        border-top: 1px solid #eee;
    }

    .subtotal {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        font-size: 20px;
    }
    .product-container {
      display: flex;
      flex-direction: column;
      gap: 16px;
      overflow-y: auto;
    }
    .product-box {
      display: flex;
      max-width: 100%;
      padding: 0 16px 16px 16px;
    }
    .product-box:not(:last-child) {
      border-bottom: 1px solid #e8e6e6;
    
    }
    .product-container .product-img {
      width: 70px;
      height: 70px;
      margin-right: 12px;
    }
  
    .product-container .product-details {
      flex-grow: 1;
    }
  
    .product-container .product-title a {
      font-size: 17px;
      margin: 0 0 8px 0;
      font-weight: 500;
    }
  
    .product-container .variant-details {
      color: #666;
    }
  
  .product-container .flex {
    display: flex;
    align-items: center;
    margin: 8px 0 12px;
  }
  .product-container .quantity-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;

  }
  
    .product-container .quantity-input {
      width: 55px;
      text-align: center;
      padding: 4px;
      font-size: 14px;
      border: 1px solid #e0e0e0;
    }
  
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button 
  {
    opacity: 1;
  }
  .product-container .flex a {
    margin-left: auto;
  }
    .product-container .flex img {
      width: 18px;
      height: 18px;
      opacity: 0.5;
 
    }
   
    .product-container .flex img:hover {
      opacity: 1;
    }
    .product-container .price {
      font-size: 16px;
      font-weight: bold;
      color: var(--main-color);
    }



    /* Overlay */
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    .overlays {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 9999;
  }
    /* Cart trigger button */
    .cart-trigger {
        padding: 10px 20px;
        background-color: #000;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

  .cart-popup-container .button {
  margin: 8px 0;
}
.continue-shopping {
  color: #404040;
  text-decoration: underline;
  text-align: center;
  display: block;
  cursor: pointer;
}

.continue-shopping:hover {
  text-decoration: none;
}





.breadcrumbs {
    padding: 8px 16px;
    background-color: #e8e8e8;
    display: flex;
    align-items: center;
    gap: 4px;
}
.breadcrumbs a {
    color: #333;
    text-decoration: none;
    margin-right: 4px;
    font-size: 15px;
}
.breadcrumbs a:hover {
    color: #666;
}
.breadcrumbs a::after {
    content: '>';
    margin-left: 8px;
    color: #999;
}
.breadcrumbs a:last-child::after {
    content: none;
}
.breadcrumbs span {
  color: var(--main-color);
}
.product-block {
    padding: 32px 0;
}
.product-block .container {
    display: flex;
    gap: 56px;
}
.gallery {
  width: 100%;
  max-width: 620px;
  margin: 0px auto;
 overflow: hidden;
 position: relative;
}
.gallery-slider {
  width: 100%;
  height: auto;
  margin: 0 0 10px 0;
}
.gallery-slider .swiper-slide {
  width: auto;
  height: 500px;
}
.gallery-slider .swiper-slide img {
  display: block;
  width: auto;
  height: 100%;
  margin: 0 auto;
  user-select: none; /* Prevents image selection */
    -webkit-user-drag: none; /* Prevents dragging the image on WebKit browsers (Chrome, Safari) */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}
.gallery-thumbs {
  width: 100%;
  padding: 0;
  overflow: hidden;
  display: flex;
  gap: 8px;
}
.gallery-thumbs img{
  width: 80px;
  height: 80px;
  text-align: center;
  overflow: hidden;
  transition: all.2s;
  border-radius: 4px;
  border: 1px solid transparent;
  user-select: none; /* Prevents image selection */
    -webkit-user-drag: none; /* Prevents dragging the image on WebKit browsers (Chrome, Safari) */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    cursor: pointer;
    opacity: 0.9;
}
.gallery-thumbs img:hover {
  opacity: 1;
}
.gallery-thumbs img.active-swipe-nav {
  border: 1px solid var(--main-color);
  opacity: 1;
}

.gallery .swiper-button-next, .gallery .swiper-button-prev {
  top: 40%!important;
}
.gallery .swiper-button-next, .gallery .swiper-button-prev {
  color: var(--main-color) !important;
  background: transparent!important;
  padding: 18px;
}
.gallery .swiper-button-next:after,  .gallery .swiper-button-prev:after {
  font-size: 32px;
}

.tags {
    position: absolute;
top: 0;
right: 0;
display: flex;
flex-direction: column;
gap: 4px;
align-items: flex-end;
z-index: 9;
}
 .free-delivery-tag {
background-color: var(--button-color);
color: #fff;
padding: 4px 8px;
text-transform: uppercase;
font-size: 13px;
line-height: 14px;
height: 24px;
display: flex;
align-items: center;
width: max-content;
font-weight: 500;
}
.discount-tag {
    background-color: var(--main-color);
    color: #fff;
    padding: 4px 8px;
    text-transform: uppercase;
    font-size: 14px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    font-weight: 500;
    }


/* Mobile Styles */
@media (max-width: 768px) {

  .gallery .swiper-button-next, .gallery .swiper-button-prev {
    top: 45%!important;
  }
  .gallery .swiper-button-prev {
    left: -10px!important;
  }
  .gallery .swiper-button-next {
    right: -10px!important;
  }
  .gallery .swiper-button-next:after,  .gallery .swiper-button-prev:after {
    font-size: 32px;
}
.gallery-thumbs {
  justify-content: center;
}
  .gallery-thumbs img {
        width: 58px;
        height: 58px;
        flex-shrink: 0;
        opacity: 1;
    }
    .breadcrumbs a {
      margin-right: 2px;
      font-size: 14px;
      line-height: 20px;
  }
  .breadcrumbs span {
    font-size: 14px;
    line-height: 20px;
  }
  .breadcrumbs a::after {
      content: '>';
      margin-left: 4px;
  }
  .gallery-slider .swiper-slide {
    height: 360px;
}
}
@media (max-width: 350px) {
  .gallery-thumbs img {
        width: 45px!important;
        height: 45px!important;
        flex-shrink: 0;
    }
}
@media (max-width:410px) {
  .gallery-thumbs img {
      width: 50px;
      height: 50px;
      flex-shrink: 0;
  }
}
@media (min-width:1024px) and (max-width: 1230px) {
  .gallery-thumbs img {
      width: 70px;
      height: 70px;
      flex-shrink: 0;
  }
}
/* Lightbox Styles */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    padding: 10px;
}
.lightbox-prev {
    left: 20%;
}
.lightbox-next {
    right: 20%;
}
.lightbox-prev img, .lightbox-next img {
width: 32px;
height: 32px;
}
.product-main-info {
    flex: 1;
}
.product-main-info h1 {
    max-width: 90%;
}
.product-main-info .price {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 24px 0;
}
.product-main-info .price .amount {
    font-size: 24px !important;
    line-height: 26px;
    font-weight: 700;
    color: var(--main-color);
}
.product-main-info .price .old-price {
    font-weight: 400;
    font-size: 17px;
    line-height: 19px;
    text-decoration: line-through;
    color: #898989;
}
.product-main-info .price .discount {
    margin-left: auto;
    background: var(--main-color);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 8px 12px;
}
.product-main-info .info-block {
  border: 2px dashed red;
  background-color: #fff5f5;
  padding: 12px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.product-main-info .info-block img {
  width: 32px;
  height: 32px;
}
.product-main-info .info-block > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-main-info .info-block span {
  font-size: 14px;
}
.product-main-info .info-block > span {
display: block;

}
.product-main-info .info-block span.count  {
    display: flex;
    align-items: center;
    gap: 4px;
  }
.product-main-info .info-block span.count span {
  font-weight: 600;
}
.product-main-info .delivery-info {
  border: 2px dashed #ccc;
  background-color: #f9f9f9;
  padding: 12px;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-main-info .delivery-info span {
  font-size: 14px;
  display: block;
}
.product-main-info .size-title {
    font-size: 16px;
    font-weight: 400;
    display: block;
    margin-bottom: 12px;

}
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    order: 3;
  }
  
  .size-option {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
  }
  .size-option:hover {
    border: 1px solid #333;
  }
  .size-option.active {
    background-color: #333;
    border: 1px solid #333;
    color: #fff;
  }
  
  .size-option input[type="radio"] {
    display: none;
  }
  .product-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

  }
  
  .product-image {
    width: 100px;
    min-width: 100px;
    height: 70px;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 0.3s;
    border: 1px solid #ccc;
  }
  .product-image:hover {
    border: 1px solid #333;
  }
  .product-image.active {
    border: 1px solid #333;
  }
  .button {
    width: 100%;
    padding: 16px 24px;
    text-align: center;
    background-color: var(--button-color);
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 700;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 0;
    cursor: pointer;
    transition: all .2s;
  }
  .button:hover {
    background-color: #016738;
  }
  .button.inverted {
    background-color:transparent;
    color: var(--button-color);
    border: 1px solid var(--button-color);
  }
  .button img {
    width: 26px;
    height: 26px;
    object-fit: contain;
  }
  .product-main-info .button {
    max-width: 90%;
  }
  .popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup {
    background-color: white;
    padding: 24px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 480px;
    width: 90%;
    position: relative;
}
.popup-size p {
    font-size: 15px;
    line-height: 17px;
    text-align: center;
    padding-top: 8px;
}
.popup span {
    text-align: center;
    font-size: 18px;
    display: block;
    margin: 12px 0 16px 0;
}

.close-btn {
    position: absolute;
    top: 0;
    right: 12px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-btn:hover {
    color: #000;
}
.popup .button {
    margin-top: 16px;
    max-width: 100%;
    font-size: 16px;
}
.popup .size-options {
    justify-content: center;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.popup table {
    border-collapse: collapse;
    width: 100%;
  }
  
  .popup table td, .popup table th {
    border: 1px solid #ddd;
    padding: 12px 8px;
    text-align: center;
  }

  
  .popup table th {
    padding-top: 12px;
    padding-bottom: 12px;
font-weight: 400;
    background-color:#f4f4f4;
    color: #000;
    text-align: center;
    text-transform: uppercase;
  }
  #custom-modal {
    font-size: 15px;
    color: #ff5943;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 14px;
    margin-bottom: 8px;
    order: 2;

}
#custom-modal:hover {
  text-decoration: none;
}
#custom-modal span {
    color: #444;
    background: #eaeaea;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 100%;
    margin-left: 5px;
    font-size: 13px;
}
#variation-container-span {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.product-main-info .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;

}
.qty-container {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;

  }
  
  .qty-btn {
    width: 30px;
    height: 50px;
    background-color: #f7f6f6;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;

  }
  
  .qty-input {
    width: 20px;
    height: 50px;
    text-align: center;
    font-size: 16px;
    margin: 0 10px;
    border: none;
  }
  .flex-box {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    align-items: center;
  }

  .swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px;
    margin: 4px 0;
    height: 100%;
  }


.product-img {
    width: 100%;
    position: relative;

}
.product-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.product-img .tags {
    left: 0;
    right: auto;
    align-items: flex-start;
}
.product-info {
padding: 12px 8px 8px 8px;
}

.product-title {
font-size: 14px;
line-height: 17px;
font-weight: 400;
margin-bottom: 8px;
}

.product-description {
    margin: 32px 0;
}

.product-description h2 {
    display: block;
    border-bottom: 1px solid #ddd;
    padding-bottom: 16px;
}
.product-description ul {
    padding: 16px 0 16px 16px;

}
.product-description ul li {
    list-style: disc inside;
}

.more-products {
    padding: 32px 0;
    background-color: #f9f9f9;
}
.more-products:not(:last-child) {
    border-bottom: 1px solid #ddd;

}



.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: 0!important;
}

.swiper-button-next, .swiper-button-prev {
    color: #fff!important;
    background: rgba(0,0,0,0.5);
    padding: 30px 16px;

}
.product-info .price {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.product-info .price .amount {
    font-size: 18px !important;
    line-height: 20px;
    font-weight: 700;
    color: var(--main-color);
}
.product-info .price .old-price {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    text-decoration: line-through;
    color: #898989;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 24px;
}
.swiper-block {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}
footer {
    background-color: #000;
    padding: 24px 0;
}
footer .icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #565656;
}
footer .icons img {
  width: 68px;
  height: 68px;
}
footer p {
    color: #fff;
    font-size: 16px;
    text-align: center;
}
footer p a {
    color: #fff;
}
footer p a:hover {
    text-decoration: underline;
}
footer .links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
footer .links a {
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
}
footer .links a:hover {
    text-decoration: none;
}







@media (max-width: 1023px) {
    h1 {
        font-weight: 600;
        font-size: 27px;
        line-height: 30px;
      }
      
      h2,
      h2 a {
        font-weight: 600;
        font-size: 25px;
        line-height: 27px;
        margin-bottom: 24px;
      }
      
      h3,
      h3 a {
        font-weight: 600;
        font-size: 23px;
        line-height: 25px;
      }
    .product-block .container {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .product-main-info h1 {
        max-width: 100%;
        font-size: 24px;
        line-height: 26px;
    }
    .product-main-info .price {
        margin: 16px 0;
    }
    .product-main-info .price .amount {
        font-size: 21px !important;
    }
    .product-main-info .price .old-price {
        font-size: 16px;
    }
    
.custom-top-bar {
  padding: 12px 0;
}
.lightbox-prev {
  left: 15px;
}
.lightbox-next {
  right: 15px;
}
footer .icons img {
  width: 62px;
  height: 62px;
}
footer .links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
}
@media (max-width: 470px) {
  .page-template-lista-zelja .free-delivery-tag {
    font-size: 10px;
    padding: 4px;
    height: 32px;
    width: min-content;
  }
  }
@media (max-width: 359px) {
    .flex-box {
        display: flex;
        gap: 8px;
        margin-top: 32px;
    }
    .qty-container {
        justify-content: space-between;
    }
    .page-template-lista-zelja .free-delivery-tag {
      width: min-content;
      max-width: 100%;

  }
.free-delivery-tag {
    font-size: 10px;
    line-height: 12px;
    height: 32px;
    max-width: 70%;

}

}
@media (max-width: 368px) {
  .page-template-lista-zelja .free-delivery-tag {
    width: min-content;
    max-width: 1005;

}
.free-delivery-tag {
  font-size: 9px;
  padding: 4px;
  height: 32px;
max-width: 70%;
}
}

/*cart*/
.cart-page {
  padding: 40px 0;
  min-height: 70vh;
}
.cart-page h1 {
  margin-bottom: 16px;
}
.cart-container {
display: flex;
margin: 0 auto;
align-items: flex-start;
flex: 1;
}
.cart-container .wrap {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-table {
border-collapse: collapse;
width: 100%;
border: 1px solid #ddd;


}

.cart-table td.name {
  width: 40%;
  text-align: left;
}
.cart-table td {
  width: 15%;
padding: 10px;
text-align: center;
border-bottom: 1px solid #ddd;
word-wrap: break-word;
text-align: center;
}
.cart-table td h2 {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 18px;
  text-align: left;
}
.cart-table td h2 a{
  font-size: 16px;
  line-height: 18px;
  color: #000;
  margin-bottom: 8px;
  display: block;
  text-align: left;
}
.cart-table td.name span {
color: #666;
text-align: left;
display: block;
}
.cart-table td span {
text-align: center;
}
.cart-table img {
width: 65px;
height: 65px;
object-fit: contain;

}

.cart-table .remove img {
width: 20px;
height: 20px;
cursor: pointer;
opacity: 0.5;
}
.cart-table .remove img:hover {
  opacity: 1;
}
.cart-table .price  span{
font-size: 16px;
font-weight: bold;
color: var(--main-color);
}
.cart-summary {
flex: 1;
padding-left: 20px;
}

.cart-summary h2 {
margin-top: 0;
}


.cart-summary .delivery-price {
  background-color: #00b0d5;
color: #fff;
padding: 8px;
font-size: 16px;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
font-weight: 500;
margin-bottom: 8px;
}

.cart-summary .delivery-time {
  background-color: #ddd;
color: #000;
padding: 8px;
font-size: 16px;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
font-weight: 500;
margin-bottom: 16px;
}
.cart-summary .delivery-price strong,  .cart-summary .delivery-time strong {
margin-left: 4px;
}
.cart-summary .total {
font-size: 18px;
font-weight: bold;
}
.cart-summary .button {
  margin-top: 16px;
  border: none;
}

/* Quantity Box Styling */
.quantity-box {
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #ddd;
overflow: hidden;
width: 85px;
padding: 4px;
}

.quantity-btn {
color: #000;
border: none;
background-color: transparent;
width: 20px;
height: 30px;
font-size: 16px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
opacity: 0.8;
}

.quantity-btn:hover {
opacity: 1;
}



.quantity-input {
width: 40px;
height: 30px;
text-align: center;
font-size: 15px;
border: none;
outline: none;
}
.quantity-input {
-moz-appearance: textfield; /* For Firefox */
-webkit-appearance: none; /* For Chrome, Safari, Edge, and others */
appearance: none; /* Standard property */
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.total-box {
margin-top: 16px;
}
.total-box div {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 8px;
}
.total-box div p {
margin-bottom: 0;
font-size: 16px;
}
.total-box div span {
font-size: 16px;
}
.total-box div.total span {
font-size: 20px;
color: var(--main-color);
}
.total-box div.total p {
font-weight: 600;
}
.coupon-container {
display: flex;
align-items: center;
margin: 24px 0;
}
.coupon-input {
flex-grow: 1;
padding: 4px 8px;
border: 1px solid #ccc;
font-size: 16px;
height: 35px;
border-radius: 0;
}
.coupon-container p {
  flex-grow: 1;
  padding: 4px 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  height: 35px;
  font-weight: 600;
  }
.coupon-container button {
background-color: #404040;
color: white;
border: none;
padding: 4px 8px;
cursor: pointer;
font-size: 13px;
margin-left: 0.5rem;
height: 35px;
text-transform: uppercase;
min-width: 100px;
}
.coupon-container button:hover {
background-color: #000;
}
.back-to-shop {
color: #000;
font-size: 16px;
line-height: 18px;
display: inline-block;
}
.back-to-shop:hover {
text-decoration: underline;
}

@media (max-width: 1023px) {
.cart-container {
flex-direction: column;
gap: 16px;
width: 100%;
}
.cart-container .wrap {
flex: 1;
width: 100%;
}
.cart-summary {
flex: 1;
padding-left: 0;
width: 100%;
display: flex;
flex-direction: column-reverse;
gap: 16px;
}
.coupon-container button {
  min-width: 70px;
  }
}

@media (max-width: 768px) {
.cart-page {
padding: 32px 0;
}
.cart-table tbody tr {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: 
      "img name delete"
      "img size delete"
      "qty price delete";
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-bottom: 1px solid #ddd;
  position: relative;
}
.cart-table td {
  width: 100%;
  border-bottom: none;
  padding: 0;
}
.cart-table td.name {
  width: 95%;
  border-bottom: none;
  padding: 0;
}
.cart-table td.price {
  text-align: right;
}
.quantity-btn, .quantity-input {
  height: 25px;
}
.quantity-box {
  width: 70px;
}
.cart-table .img {
  border: 1px solid #ddd;
}
.cart-table img {
  width: 45px;
  height: 45px;
  
}
.cart-table .img { grid-area: img; }
.cart-table .name { grid-area: name; }
.cart-table .remove { width: 16px;  position: absolute; top: 8px; right:8px; }
.cart-table .qty { grid-area: qty; }
.cart-table .price { grid-area: price; justify-self: end; }
}


/* Progress Steps Container */
.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto 32px;
  position: relative;
}

/* Individual Step */
.step {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the text and number */
  text-align: center;  /* Ensures the text aligns properly */
  position: relative;
  width: 100%;
}

/* Step Number Circle */
.step-number {
  width: 35px;
  height: 35px;
  line-height: 35px;
  border-radius: 50%;
  background-color: #ddd;
  color: #fff;
  font-weight: bold;
  text-align: center;
  z-index: 2;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Step Label Text */
.step-label {
  margin-top: 8px; /* Space between the circle and the label */
  font-size: 14px;
  color: #333;
  text-align: center; /* Ensures the text remains centered under the number */

}
.step.active .step-label {
  font-weight: 600;
}
/* Thin Line Between Steps */
.step-line {
  flex: 1;
  height: 2px;
  background-color: #ddd;
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 1;
  width: 100%;
}

/* Active Step */
.step.active .step-number {
  background-color: #666;
  color: #fff;
}

.step.active ~ .step .step-number {
  background-color: #ddd;
}

.step.active ~ .step .step-line {
  background-color: #ddd;
}

/* Active Line Between Steps */
.step.active .step-line {
  background-color: #ddd;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .progress-steps {
    margin: 0 auto 24px;
  }
  .step-number {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
}
}

/* dostava i placanje */
.delivery-container {
  display: flex;
  margin: 0 auto;
  align-items: flex-start;
  }
.checkout-page {
  padding: 40px 0;
  min-height: 70vh;
}
.delivery-and-payment {
flex:2;
}
.select-option {
width: 100%;
background-color: #f6f2f2;
padding: 8px;
margin: 0 0 16px 0;
}
.select-option h2 {
margin-bottom: 8px;
font-size: 18px;
text-transform: uppercase;
}
.option {
margin-bottom: 15px;
width:100%;
}

.option label {
display: flex;
align-items: center;
cursor: pointer;
border: 1px solid #666;
background-color: #fff;
padding: 12px;
transition: all 0.3s ease;
width: 100%;
}

.option label:hover {
border-color: #000;
}

.option input[type="radio"] {
margin-right: 15px;
accent-color: #007bff; /* Adjust color for modern browsers */
}

.option-content {
display: flex;
justify-content: space-between;
align-items: center;
gap: 4px;
width: 100%;
}

.option-content .title {
font-size: 18px;
font-weight: 600;
color: #000;
display: flex;
align-items: center;
gap: 16px;
}
.option-content .title img {
width: 24px;
height: 24px;
object-fit: contain;
}
.option-content .title img.logo-img {
  width: 70px;
  height: auto;
  object-fit: contain;
  }
.option-content .price {
font-size: 16px;
color: #666;
}
@media (max-width: 768px) {
  .checkout-page {
    padding: 32px 0;
  }
}

@media (max-width: 1023px) {
  .delivery-container {
    flex-direction: column;
    gap: 24px;
    }
  .delivery-and-payment {
    flex: 1;
    width: 100%;
}
  }
  


  
/* adresa */
.address-container {
  display: flex;
  margin: 0 auto;

  }
.address-page {
  padding: 40px 0;
}
.address-wrap {
flex:2;
}
.info {
width: 100%;
background-color: #f6f2f2;
padding: 12px;
margin-bottom: 16px;
}
.info h2 {
margin-bottom: 12px;
font-size: 17px;
text-transform: uppercase;
}
.info-box {
margin-bottom: 15px;
width:100%;
}
.info-box input {
  width: 100%;
  height: 50px;
  padding: 8px 16px;
  margin-bottom: 12px;
  border-radius: 0;
  border: 1px solid #939393;
  font-size: 16px;
}
.info-box textarea {
  width: 100%;
  min-height: 80px;
  padding: 8px 16px;
  margin-bottom: 12px;
  border: 1px solid #939393;
  font-size: 16px;
}
.info-box label {
  font-size: 12px;
  text-transform: uppercase;
  color: #787878;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .address-page {
    padding: 32px 0;
  }
}

@media (max-width: 1023px) {
  .address-page {
    position: relative;
    height: 100%;
    overflow: visible;
}
.address-page .container {
  overflow: visible;
}
  .address-container {
    flex-direction: column;
    gap: 24px;
    }
  .address-wrap {
    flex: 1;
    width: 100%;
}



  }
  
.ty-page { 
  min-height: 70vh;
padding: 64px 0;
text-align: center;
display: flex;
align-items: flex-start;
}
.ty-page .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.ty-page img {
  width: 70px;
  height: 70px;
}
.ty-page .orderlink {
  color: #3070ff;
  font-weight: bold;
  text-decoration: underline;

}
.ty-page .orderlink:hover {
  text-decoration: none;
}
header, header .container {
  overflow: visible;
}
@media (max-width: 560px) {
  .ty-page { 
  padding: 32px 0;
  text-align: center;
  display: flex;
  align-items: center;
  }
}


.menu-inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-inner > ul {
  display: block;

}

.menu-inner > ul > li {
  float: left;
  padding: 0 10px;
  margin-bottom: 0;
}

.menu-inner > ul li a {
  display: block;
  color: #000;
  padding: 10px;
  text-decoration: none;
  transition: all .2s;

} 
.menu-inner > ul li a:hover {
  color: var(--main-color);
}

@media (min-width: 992px) {
  .menu-inner ul ul {
      position: absolute;
      top: 100%;
      left: 0;
      background: #fff;
      -webkit-box-shadow: -2px 2px 81px -27px rgba(0, 0, 0, 0.35);
      box-shadow: -2px 2px 81px -27px rgba(0, 0, 0, 0.35);
      min-width: 220px;
      opacity: 0;
      visibility: hidden;
      transition: all 300ms linear;
  }
  .menu-inner ul li.has-child {
    position: relative;
    margin: 0;
    padding: 0;
}
.menu-inner ul li.has-child a {
  display: flex;
  align-items: center;
}
.menu-inner ul li.has-child a img {
  width: 8px;
  height: 8px;
  margin-left: 8px;
}
  .menu-inner ul li.has-child ul li {
      position: relative;
      margin: 0;
      padding: 4px 0;
  }
  .menu-inner ul li.has-child ul li a {
    font-size: 15px;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .menu-inner ul li.has-child ul li a img {
    transform: rotate(-90deg);
  }
  .menu-inner ul li.has-child:hover > ul {
      opacity: 1;
      visibility: visible;
  }

  .menu-inner ul ul ul {
      left: 100%;
      top: 0;
  }

  .menu-inner {
      display: flex;
      justify-content: center;
  }

  .menu-btn, .child-menu-btn {
      display: none;
  }
}

@media (max-width: 991px) {
  .custom-top-bar {
    height: 35px;
  }
  
  .custom-top-bar .text-container {
    font-size: 14px;
  }
  header {
    top: 35px;
    height: 68px;
  }
  header .header-wrap {
    order: 1;
  }
  header .logo {
    order: 2;
  }
  header .flex {
    order: 3;
  }
  .menu-inner > ul {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .menu-inner {
      position: fixed;
      background-color: #fff;
      border-top: 1px solid #ddd;
      border-bottom: 1px solid #ddd;
      width: 100%;
      left: 0;
      top: 102px;
      bottom: 0;
      display: none;
      overflow-y: auto;
  }
  .menu-inner ul ul {
    display: none;
}
  .menu-inner > ul > li {
      float: none;
      padding: 0;

  }
.menu-inner li {
  margin: 0;
}
  .menu-inner ul li > a {
      border-bottom: 1px solid #ddd;
  }

  .menu-inner ul ul > li > a {
      padding-left: 25px;
  }

  .menu-inner ul ul ul > li > a {
      padding-left: 35px;
  }

  .menu-btn {
      font-size: 53px;
      color: #000;
      margin-top: -11px;
      margin-right: 6px;
      cursor: pointer;
  }

  .menu-btn::before {
      content: '≡'; /* Hamburger menu symbol */
  }

  li.has-child {
      position: relative;
  }

  .child-menu-btn {
      color: #000;
      position: absolute;
      right: 0;
      line-height: 40px;
      border-left: 1px solid #ddd;
      width: 40px;
      text-align: center;
      cursor: pointer;
      top: 0;
      height: 100%;
      line-height: 52px;
      font-size: 24px;
  }

  .menu-inner ul ul {
      display: none;
  }
  .menu-inner > ul li a {
    color: #000;
    font-size: 18px;
    padding: 14px;
  }
  .menu-inner ul li.has-child a img {
    display: none;
  }
}



/* Responsive Styles */
@media (max-width: 768px) {
  header {
    padding: 2px 0;
    height: 50px;
  }
  header .logo img {
    max-width: 105px;
}
.menu-inner {
  top: 84px;
}
}


#loader-checkout {
	width: 30px;
	height: 30px;
	border: 3px solid var(--main-color);
	border-radius: 50%;
	border-top-color: #fff;
	animation: spin 1s ease-in-out infinite;
	-webkit-animation: spin 1s ease-in-out infinite;
  margin: 8px auto;


}

@keyframes spin {
	to {
		-webkit-transform: rotate(360deg);
	}
}

@-webkit-keyframes spin {
	to {
		-webkit-transform: rotate(360deg);
	}
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}


.atf-banners {
  padding: 24px 0;
}
.atf-banners .swiper-slide {
  aspect-ratio: 21/9;
}
.swiper-slide picture {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: flex-start;
  height: 100%;
  width: 100%;
  position: absolute;
    z-index: 1;

}
.atf-banners .swiper-slide img {
  aspect-ratio: none;
}

.swiper-slide .text {
  width: 50%;
  margin: 0 auto;
  z-index: 99;
}
.swiper-slide .text.left {
  width: 100%;
  margin: 0;
  padding: 24px 24px 24px 48px;
  text-align: left;
}
.swiper-slide .text.left h2,
.swiper-slide .text.left p,
.swiper-slide .text.left .button 
{
width: 50%;
}
.swiper-slide .text h2 {
  color: #fff;
  font-size: 38px;
  line-height: 43px;
  margin-bottom: 24px;
}
.swiper-slide .text p {
  color: #fff;
  font-size: 19px;
  margin-bottom: 24px;
}
.swiper-slide .text .button {
  background-color: #fff;
  color: #000;
  width: max-content;
  margin: 0 auto;
  transition: all .2s;
}
.swiper-slide .text .button:hover, .swiper-slide .text.left .button:hover {
  background-color: #000;
  color: #fff;
}
.swiper-slide .text.left .button {
  background-color: #fff;
  color: #000;
  width: max-content;
  margin: 0;
}
.swiper-pagination-bullet-active {
  background: #fff!important;
}
.swiper-pagination-bullet {
  width: 35px!important;
  height: 3px!important;
  display: inline-block!important;
  border-radius: 0!important;
  background: #fff!important;

}
.deals {
  margin-bottom: 32px;
}
.deals .flex {
  display: flex;
  gap: 16px;

}
.deals .flex a {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
}

.deals .flex img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section.listing {
  margin: 56px 0;
}
section.listing h2 {
  font-size: 29px;
}
.info {
  padding: 32px;

}.info .container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 24px;
}
.info .box {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.info .box img {
  width: 40px;
  height: 40px;
}
.info .box p {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 0;
}
section.categories {
  padding: 40px 0 56px 0;
}
.categories .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.categories .item {
  width: 200px;
  text-align: center;
}

.categories .item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background-color: #f1f1f1;
  border-radius: 100%;
  padding: 16px;
}

.categories .item h3 {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
  transition: all .2s;
}
.categories .item:hover h3 {
  color: var(--main-color);
}
.category-page {
  padding: 48px 0;
  background-color: #f9f9f9;
}
.category-page h1 {
  font-size: 40px;
  line-height: 42px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
flex-direction: column;


}
.category-page h1 span {
  font-size: 17px;
  font-weight: 300;
  color: #404040;
}
.category-page .wrap,
.listing-section .wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 4px;
  width: 100%;
}
.category-page .wrap .looped-container, .listing-section .wrap a{
  text-align: center;
  font-size: 18px;
  background: #fff;
  -webkit-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .15);
  -moz-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .15);
  box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  margin: 4px;
  height: auto;
  width: calc(25% - 20px);
  transition: all .2s;
  position: relative;
}
.category-page .wrap .looped-container .wishlist-container {
  position: absolute;
  right: 8px;
  top: 0;
  width: 28px;
  height: 28px;
  opacity: 0.7;
  transition: all .2s;
  z-index: 99;
}
.category-page .wrap .looped-container .wishlist-container:hover {
  z-index: 1;
}
section.listing a,
.more-products .swiper-slide a  {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
section.listing .swiper-slide,
.more-products .swiper-slide {
  height: auto;
  -webkit-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .15);
  -moz-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .15);
  box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .15);
  transition: all .2s;
  justify-content: space-between;
}
section.listing .swiper-slide .wishlist-container, .more-products .swiper-slide .wishlist-container  {
  position: absolute;
  top: 0;
  right: 8px;
  width: 28px;
  height: 28px;
  opacity: 0.7;
  transition: all .2s;
  z-index: 999;
}
section.listing .swiper-slide .wishlist-container:hover, .more-products .swiper-slide .wishlist-container:hover {
  opacity: 1;
}
section.listing .swiper-slide:hover,
.more-products .swiper-slide:hover {
  -webkit-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .35);
  -moz-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .35);
  box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .35);
}
.listing-section .wrap .wishlistContainer {
  background: #fff;
  -webkit-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .15);
  -moz-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .15);
  box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .15);
  margin: 4px;
  height: auto;
  width: calc(25% - 20px);
  transition: all .2s;
  position: relative;
}

.listing-section .wrap .wishlistContainer a{
  text-align: center;
  font-size: 18px;
  background: transparent!important;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  margin: 0;
  height: auto;
  width: 100%;
  transition: all .2s;
  height: 100%;
}
.listing-section .wrap .wishlistContainer:hover {
  -webkit-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .35);
  -moz-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .35);
  box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .35);
}

.listing-section .wrap .wishlistContainer a:hover {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.listing-section .wrap .wishlistContainer button {
position: absolute;
top: 8px;
right: 8px;
color: #fff;
background-color: transparent;
border: none;
font-size: 12px;
text-transform: uppercase;
font-weight: 600;
z-index: 99;
cursor: pointer;
background: #0072ff;
padding: 6px 12px;
border-radius: 32px;
opacity: 0.9;
}
.listing-section .wrap .wishlistContainer button:hover {
  opacity: 1;
}
@media (max-width:560px) {
  .swiper-slide.bg-image {
    aspect-ratio: 1/1;
  
  }
}
@media (max-width:767px) {
  .atf-banners .swiper-slide {
    aspect-ratio: 1/1;
    position: relative;
  }
  .atf-banners  h2,
  .swiper-slide .text p{
    display: none;
  }
  .swiper-slide .text h2 {
    color: #fff;
    font-size: 24px;
    line-height: 27px;
    margin-bottom: 16px;
}
.swiper-slide .text p {
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 16px;
}
.atf-banners .button {
  padding: 10px 16px;
  font-size: 13px;
  margin: 0 auto;
  position: absolute;
  bottom:32px;
  width: max-content!important;
  left: 50%;
  transform: translate(-50%);

}

.swiper-slide .text.left h2, .swiper-slide .text.left p, .swiper-slide .text.left .button {
  width: 100%;
  text-align: center;
}
.deals .flex {
  flex-direction: column;
}
.info {
  padding: 16px;
}
.info .container {
  flex-direction: column;
  gap: 16px;
}
.info .box {
  gap: 8px;
  width: 100%;
}
.info .box img {
  width: 32px;
  height: 32px;
}
.info .box p {
  font-size: 14px;
  line-height: 19px;
}
.categories .container {
  justify-content: center;
}
.categories .item {
  width: 40%;
}
section.categories {
  padding: 32px 0 16px 0;
}
section.listing {
  margin: 40px 0;
}
section.listing h2 {
  font-size: 23px;
}

.product-image {
  min-width: 55px;
  width: 55px;
  height: 55px;
}
.free-delivery-tag {
  font-size: 10px;
}
}




.category-page .wrap .looped-container:hover,
.listing-section .wrap a:hover {
  -webkit-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .35);
  -moz-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .35);
  box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .35);
}

.category-page .wrap a img,
.listing-section .wrap a img {
width: 100%;
height: 100%;
aspect-ratio: 1/1;
object-fit: contain;
}
.category-page .wrap .product-img,
.listing-section .wrap .product-img {
  width: 100%;
  position: relative;

}
.category-page .wrap .product-img .tags,
.listing-section .wrap .product-img .tags {
  left: 0;
  right: auto;
  align-items: flex-start;
}
.category-page .wrap .product-info,
.listing-section .wrap .product-info {
padding: 12px 8px 8px 8px;
}

.category-page .wrap .product-title,
.listing-section .wrap .product-title,
section.listing .product-title,
.more-products .product-title {
font-size: 14px;
line-height: 17px;
font-weight: 400;
margin-bottom: 8px;
}
.category-page .product-info .price,
.listing-section .product-info .price,
.more-products .product-info .price {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.category-page .product-info .price .amount,
.listing-section .product-info .price .amount,
.more-products .product-info .price .amount {
  font-size: 18px !important;
  line-height: 20px;
  font-weight: 700;
  color: var(--main-color);
}
.category-page .product-info .price .old-price,
.listing-section .product-info .price .old-price,
.more-products .product-info .price .old-price {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  text-decoration: line-through;
  color: #898989;
}
#current-cat-selected > a {
  color: var(--main-color);
}

.filters-container {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.filters-btn {
  background-color: #fff;
  color: #000;
  padding: 8px 16px;
  font-size: 16px;
  cursor: pointer;
  border: 1px solid #ccc;
  transition: background-color 0.3s;
  width: 100%;
  max-width: 24%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.filters-btn img {
  width: 16px;
  height: 16px;
}
.filters-btn:hover {
border-color: #000;
}

.filters-popup {
  position: fixed;
  top: 0;
  left: -350px;
  width: 350px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  transition: left 0.3s ease-in-out;
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
}

.filters-popup.open {
  left: 0;
}

.close-btn {
  position: absolute;
  top: 0px;
  right: 4px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  width: 24px;
}

.filter-section {
  margin-bottom: 20px;
}

.filter-section h3 {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
  margin-bottom: 16px;
  color: #000;
  font-size: 24px;
  text-align: center;
}
.filter-section .size-options {
  flex-direction: column;
  gap: 0;
}
.filter-section label {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}
.filter-section label span {
  font-weight: 400;
  font-size: 13px;
}

.filter-section input[type="radio"], .filter-section label input[type="checkbox"] {
  appearance: none; 
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #767676;
  border-radius: 4px; 
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  margin-right: 4px;
}


.filter-section input[type="radio"]::after, .filter-section label input[type="checkbox"]::after {
  content: ''; 
  background-image: url('res/images/check.svg');
  width: 10px;
  height: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  display: none;
}
   
    .filter-section input[type="radio"]:checked, .filter-section label input[type="checkbox"]:checked {
      background-color: var(--main-color); 
      border-color: var(--main-color);
    }

    .filter-section input[type="radio"]:checked::after, .filter-section label input[type="checkbox"]:checked::after {
      display: block; 
    }

.filter-option {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}



.apply-btn {
  width: 100%;
  padding: 10px;
  background-color: var(--button-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 16px;
}
.button-wrap {
  position: sticky;
    bottom: -20px;
    max-width: 100%;
    right: 0;
    left: 0;
    background-color: #fff;
    padding: 12px 8px;
}
.logged-in.admin-bar #wpadminbar {
  z-index: 0;
}

.category-menu {
  width: 100%;
}

.category-item {
  position: relative;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.category-item:last-child {
  border-bottom: none;
}

.category-item > a {
  text-decoration: none;
  color: #000;
  display: flex;
  gap: 4px;
  align-items: center;
  width: 100%;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}
.category-item > a .cat-count {
  font-weight: 400;
  color: #404040;
  font-size: 12px;
}
.sub-menu {
  display: none;
  /* Remove padding and add margin for spacing */
  margin: 12px 0 12px 12px;
  position: static;  /* Change from absolute to static */
}
.sub-menu  a {
  text-transform: none;
  font-weight: 500;
  font-size: 15px;
}

.sub-menu.active {
  display: block;
}

.dropdown-arrow {
  cursor: pointer;
  user-select: none;
  margin-left: 10px;
  width: 70px;
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}
.dropdown-arrow img {
  width: auto;
  height: 14px;
  padding-left: 16px;
}

.dropdown-arrow.rotated {
  transform: rotate(-90deg);
  width: auto;
}
.dropdown-arrow.rotated img {
  padding-left: 0;
}


/* Add more specific styles to prevent overlapping */
.category-menu .category-item {
  display: block;
  width: 100%;
}

.category-menu .category-item .submenu {
  width: 100%;
  box-sizing: border-box;
}
.selected-filters {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.applied-filters {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 80%;
  position: relative;
  overflow: hidden;
  overflow-x: auto;
  flex-grow: 1;
  padding-bottom: 10px; /* Add scrollbar space */
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #888 #f1f1f1; /* For Firefox */
  flex: 1;
}

.applied-filters span.filter-tag {
  background-color: #eceff1;
  font-size: 14px;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  user-select: none;
  cursor: default;
}
.applied-filters span.filter-tag:has(button) {
  cursor: pointer;
}
.applied-filters span.filter-tag button {
  color: red;
  font-size: 13px;
  margin-left: 4px;
  width: 21px;
  padding: 2px;
  background-color: #ffe3df;
  border: 1px solid transparent;
  cursor: pointer;

}
.applied-filters span.filter-tag:hover {
  border-color: var(--main-color);
}
.selected-filters a.reset {
  color: #000;
  text-decoration: underline;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  flex: 1;
  max-width: 20%;
  padding-bottom: 12px;
}

.selected-filters a.reset span {
  background-color: #000;
  padding: 2px;
  border-radius: 100%;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
}
.selected-filters a.reset:hover {
  text-decoration: none;
}
span.no-more-listing {
  width: 100%;
text-align: center;
margin-top: 32px;
font-weight: 600;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.applied-filters > span::-webkit-scrollbar {
  display: none;
}


/* Responsive adjustments */
@media (max-width: 600px) {
  .category-page .wrap .looped-container,
  .listing-section .wrap .wishlistContainer,
  .listing-section .wrap a {
    width: calc(50% - 8px);
    margin: 0;
}
.selected-filters {
  flex-direction: column;
  gap: 4px;

}
.applied-filters, .selected-filters a.reset  {
  max-width: 100%;
}
.applied-filters {
  padding-top: 8px;
}
.filters-btn {
  max-width: 47%;
}
.category-page .product-info .price,
.listing-section .product-info .price,
section.listing .product-info .price,
.more-products .product-info .price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  justify-content: center;
}
.category-page .wrap .product-title,
.listing-section .wrap .product-title,
section.listing .product-title,
.product-title  {
  font-size: 13px;
  line-height: 16px;
  margin-bottom: 8px;
}

.filters-popup {
  left: -270px;
  width: 270px;
  z-index: 9999;
  padding: 16px;

}
}
@media (min-width: 601px) and (max-width: 1023px) {

  .category-page .wrap .looped-container,
  .listing-section .wrap .wishlistContainer,
  .listing-section .wrap a{
    width: calc(33% - 9px);
    margin: 0;
}
.filters-btn {
  max-width: 32%;
}
}


/*404*/
.error-404 {
  text-align: center;
  padding: 48px 0;
}
.error-404 h1 {
  font-size: 120px;
  line-height: 130px;
  font-weight: bold;
  color: #000;
}
.error-404 p {
  font-size: 19px;
  font-weight: 500;
}
.error-404 .button {
  width: max-content;
  margin: 32px auto 0;
}


.error404 .listing-section .wrap .looped-container {
    text-align: center;
    font-size: 18px;
    background: #fff;
    -webkit-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .15);
    box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    margin: 4px;
    height: auto;
    width: calc(25% - 20px);
    transition: all .2s;
    position: relative;
}
.error404 .listing-section .wrap .looped-container:hover {
    -webkit-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .35);
    -moz-box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .35);
    box-shadow: 0 1px 15px -5px rgba(0, 0, 0, .35);
}
.error404 .listing-section .wrap a {
    text-align: inherit;
    font-size: 18px;
    background: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow:none;
    box-shadow: none;
    display: block;
    padding: 0;
    margin: 0;
    height: auto;
    width: 100%;
    transition:0;
    position: relative;
}

.error404 .listing-section .wishlist-container {
    position: absolute;
    right: 8px;
    top: 0;
    width: 28px;
    height: 28px;
    opacity: 0.7;
    transition: all .2s;
    z-index: 99;
}



.listing-section {
  padding: 40px 0;
  background-color: #f9f9f9;
}
@media (max-width: 600px) {
  .error-404 {
    padding: 40px 0;
}
  .error-404 h1 {
    font-size: 80px;
    line-height: 90px;
    font-weight: bold;
    color: #000;
  }
  .error-404 p {
    font-size: 16px;
}
  .error-404 .button {
    margin: 24px auto 0;
  }
    .error404 .listing-section .wrap .looped-container {
        width: calc(50% - 8px);
        margin: 0;
    }
    .error404 .listing-section .wrap a {
        width: 100%;
        margin: 0;
    }
}
@media (min-width: 601px) and (max-width: 1023px) {
    .error404 .listing-section .wrap .looped-container {
        width: calc(33% - 9px);
        margin: 0;
    }
}

#primary {
  padding: 48px 0;
}
#primary h1 {
  font-size: 46px;
  line-height: 50px;
  margin-bottom: 32px;
}
#primary p a {
  font-weight: 600;
  color: var(--main-color);
}
#primary p a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  #primary {
    padding: 40px 0;
  }
  #primary h1 {
    font-size: 40px;
    line-height: 46px;
    margin-bottom: 24px;
  }
}

/*povrat*/
#primary .container.center p {
  max-width: 70%;
  margin: 12px auto;
  font-size: 16px;
}
#primary .container h1.center {
  text-align: center;
}
#primary .container p.center {
  text-align: center;
}
.custom-form {
  width: 60%;
  margin: 24px auto;
}
.custom-form span.title {
  font-size: 20px;
  color: #000;
  margin-top: 30px;
  margin-bottom: 24px;
  display: block;
  text-transform: uppercase;
  font-weight: 600;
}
.custom-form label {
  text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
}
.custom-form input[type="email"], .custom-form input[type="text"], .custom-form input[type="number"], .custom-form input[type="date"], .custom-form textarea {
  border: 1px solid #ccc;
  min-height: 46px;
  width: 100%;
  display: block;
  margin-top: 4px;
  padding: 8px 16px;
  font-size: 16px;
  font-family: "Outfit", sans-serif;
  background-color: #fff;
  border-radius: 0;
}
.custom-form label {
  display: block;
  margin-bottom: 12px;
}
.custom-form input[type=radio] {
  width: 17px;
  height: 17px;
}

.custom-form .buttons label {
  display: flex;
 gap: 8px;
 align-items: center;
}
.custom-form input[type=submit] {
  width: 100%;
  max-width: max-content;
  padding: 16px 24px;
  text-align: center;
  background-color: var(--main-color);
  border: none;
  color: #fff;
  border-radius: 0;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 24px 0 0 0;
  cursor: pointer;
  transition: all .2s;
}
.custom-form input[type=submit]:hover {
background-color: #e8432d;
}
@media (max-width: 600px) {
  #primary .container.center p {
    max-width: 100%;
  }
  #primary .container h1.center {
    text-align: left;
  }
  #primary .container p.center {
    text-align: left;
  }
  .custom-form {
    width: 100%;

  }
}
div.add-to-favorite {
  border-radius: 100%;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.7;
}
div.add-to-favorite img {
  width: 30px;
  height: 30px;
}
div.add-to-favorite:hover {
  opacity: 1;
}
div.favorite {
  border-radius: 100%;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
div.favorite img {
  width: 30px;
  height: 30px;
}

/*detalji-narudzbe*/
.order-details {
  padding: 48px 0;
}
.order-details h1 {
  margin-bottom: 48px;
}
.order-details .order-status {
  margin-bottom: 32px;
  padding: 16px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
}
.order-details .wrap {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;

}
.order-details .wrap > div {
  width: calc(50% - 16px);
}
.order-details ul {
  padding: 16px;
  background-color: #f9f9f9;
}
.order-details ul li {
  padding: 12px 0;
  font-size: 16px;
  margin: 0;
  border-bottom: 1px solid #efefef
}
.order-details ul li:last-child {
  border-bottom: none;
}
.order-details h2 {
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 20px;
  font-weight: 500;
}

.order-details .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.order-details table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin-bottom: 20px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  min-width: 300px; /* Minimum width before scrolling */
}
/* Table Headers */
.order-details thead {
  background-color: #f4f4f4;
}

.order-details thead tr {
  background-color: #e9e9e9;
}

.order-details thead th {
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #ddd;
  white-space: nowrap; /* Prevent text wrapping */
}

/* Table Rows */
.order-details tbody tr {
  transition: background-color 0.3s ease;
}

.order-details tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}


/* Table Cells */
.order-details tbody td {
  padding: 10px 15px;
  border-bottom: 1px solid #e0e0e0;
  color: #666;
  white-space: nowrap; 
  text-align: right;
}
.order-details tbody td:first-child {
  text-align: left;
}
.order-details thead th {
  text-align: right;
}
.order-details thead th:first-child {
  text-align: left;
}
/* Links in Table */
.order-details tbody td a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.order-details tbody td a:hover {
 color: var(--main-color);
}

/* Mobile Responsive Design */
@media screen and (max-width: 600px) {
  .order-details .table-responsive {
      overflow-x: auto;
  }
  
  .order-details table {
      font-size: 14px; /* Smaller font for mobile */
  }
  
  .order-details thead th, .order-details tbody td {
      padding: 8px 10px; /* Reduced padding */
  }
  .order-details {
    padding: 40px 0;
  }
  .order-details h1 {
    margin-bottom: 32px;
  }
  .order-details .wrap {
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
  
  }
  .order-details .wrap > div {
    width: 100%;
  }
  .order-details ul li {
    font-size: 15px;
    padding: 8px 0;
  }
  .order-details h2 {
    margin-bottom: 8px;
  }
}

/* Responsive Table Layout for Extreme Small Screens */
@media screen and (max-width: 400px) {
  .order-details table {
      font-size: 12px; /* Even smaller font */
  }
  
  .order-details thead th, .order-details tbody td {
      padding: 6px 8px; /* Further reduced padding */
  }
}

.notyf {
  top: 102px!important;
}
@media (max-width: 767px) {
  .notyf {
    top: 84px!important;
  }
}
@media (min-width:768px) and (max-width: 911px) {
  .notyf {
    top: 94px!important;
  }
}
.notyf a {
  color: #fff!important;
}
#preloader-content {
  width: 100%;
}
.sl-wrapper {
  z-index: 9999!important;
}
.sl-overlay {
  background: #000000a6!important;
}
.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button {
  color: #fff!important;
}
