*, ::after, ::before {
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #212529;
}

.main-navigation .search button {
    position: relative;
    right: 55px;
    border: 0;
    background: no-repeat;
}

.category-link {
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
}

 .swiper {
      width: 100%;
      height: 100%;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #444;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 300px;
      object-fit: cover;
    }

    .prod-item {
        border: 1px solid #ddd;
        padding: 15px;
        background-color: #fff;
        border-radius: 5px;
        transition: box-shadow 0.3s ease;
    }

    .prod-item:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .prod-desc {
        margin-top: 10px;
        text-align: left;
        color: #072242;
        font-size: 14px;
        text-transform: uppercase;
    }

    .added_to_cart.wc-forward {
      display: none;
    }

    .card-equal {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}

.card-equal img {
    max-height: 150px; 
    object-fit: contain;
}

.podrska p {
    font-size: 14px;
    line-height: 1.5;
}

footer {
    background: #f3f3f3;
    padding: 40px;
}

footer .info, footer .contact, footer .time {
    padding-left: 25px;
}

footer .info::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    content: "\f54e";
    position: absolute;
    left: 0px;
    font-size: 18px;
    color: #153963
}

footer .contact::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    content: "\f0e0";
    position: absolute;
    left: 0px;
    font-size: 18px;
    color: #153963
}

footer .address::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    content: "\f3c5";
    position: absolute;
    left: 0px;
    font-size: 18px;
    color: #153963
}
footer .phone::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    content: "\f095";
    position: absolute;
    left: 0px;
    font-size: 18px;
    color: #153963
}

footer .time::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    content: "\f017";
    position: absolute;
    left: 0px;
    font-size: 18px;
    color: #153963
}

footer p {
    margin: 0;
    color: #153963;
}

footer h4 {
    margin-bottom: 20px;
    font-weight: bold;
    color: #153963;
}

input[type="search"] {
   border: 1px solid #ccc;
   outline-offset: 0;
}

.quantity-addcart-wrapper {
    display: flex;
    align-items: center;
}

.quantity-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 30px;
    overflow: hidden;
    height: 40px;
}

.quantity-box input {
    max-width: 50px;
    border: none;
    text-align: center;
}

.quantity-box .btn-qty {
    border: none;
    background: transparent;
    width: 40px;
}

.quantity-box .btn-qty:hover {
    color: #000;
    cursor: pointer;
}

.add-to-cart {
    border-radius: 30px;
    height: 40px;
    padding: 0 20px;
    font-weight: 600;
    text-transform: uppercase;
    background: #072242;
    width: 15rem;
    height: 3rem;
}

.add-to-cart:hover {
    background: transparent;
    color: #072242;
    border: 2px solid #072242;
    cursor: pointer;
}

.prod-price a {
    background-color: #072242;
}

.prod-price a:hover {
    background-color: transparent;
    color: #072242;
}

.product-gallery .gallery-thumb img:hover {
    border-color: #007bff;
    cursor: pointer;
}

.product-gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}
.product-gallery-thumbs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.main-product-image ol  {
    display: flex;
    list-style: none;
    gap: 10px;
    padding: 0;
    margin-top: 10px;
}

/* Center the tabs */
.product-tabs .nav-tabs {
    justify-content: center;
    border-bottom: none !important;
    gap: 12px; /* gap between tabs */
}

/* Remove default borders + make rounded */
.product-tabs .nav-tabs .nav-link {
    border-radius: 20px !important;
    padding: 8px 20px;
    background: #f0f0f0; /* light background */
    color: #333;
    transition: 0.2s ease;
}

/* Active tab styling */
.product-tabs .nav-tabs .nav-link.active {
    background-color: #fff;
    border: 1px solid #072242;
}

/* Remove border around tab content box */
.product-tabs .tab-content {
    border: none !important;
    padding-top: 20px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.woocommerce-Price-amount.amount {
    font-size: 28px;
    color: #072242;
    font-weight: 700;
}

.woocommerce-ordering select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    border-radius: 50px;
    padding: 0.6rem 1.5rem 0.6rem 1rem;
    border: 1px solid #ddd;
    background-color: #fff;

    background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="10" viewBox="0 0 10 6" xmlns="http://www.w3.org/2000/svg"><path d="M0 0l5 6 5-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: calc(100% - 0.75rem) center; 
    background-size: 10px 6px;

    cursor: pointer;
}

.header-cart {
    position: relative;
}

.header-cart .cart-icon {
    font-size: 1.5rem;
    display: inline-block;
    position: relative;
}

.header-cart .cart-count {
    font-size: 0.75rem;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 5px;
}

.dropdown-menu.woocommerce-mini-cart {
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.woocommerce-mini-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.woocommerce a.added_to_cart {
    display: none;
}

.woocommerce-cart-form .card {
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.woocommerce-cart-form input[type="number"] {
    text-align: center;
}

.btn-outline-danger {
    padding: 0.2rem 0.5rem;
}


.quantity-box {
    display: inline-flex;
    align-items: center;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    overflow: hidden;
}

.quantity-box .btn {
    border: none;
    background-color: #f8f9fa;
    line-height: 1;
}

/* .quantity-box .btn:hover:not(.disabled) {
    background-color: #e2e6ea;
} */

.quantity-box input {
    border: none;
    text-align: center;
    width: 50px;
    padding: 0.25rem 0;
    background-color: transparent;
    pointer-events: none;
}

.quantity-box .disabled {
    opacity: 0.5;
    pointer-events: none;
}

.woocommerce-page .widget-area,
.woocommerce-page .entry-header {
    display: none;
}

.quantity-box .btn-danger {
    padding: 0 0.5rem;
    font-weight: bold;
    line-height: 1;
    background: #ccc;
}

.quantity-box .btn-danger:hover {
    background-color: #dc3545;
    color: #fff;
}

.cart {
    position: relative;
}

.cart-icon {
    display: inline-block;
    position: relative;
}

/* Force absolute position even after fragment refresh */
.cart-count {
    position: absolute !important;
    top: -8px;
    right: -10px;
    z-index: 10;
}

.cart-count {
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 12px;
    border-radius: 50%;
}

.del-item {
    color: red;
    margin-left: 10px;
    background: none !important;
}

.del-item:hover {
    color: darkred;
    text-decoration: none;
    cursor: pointer;
}

/* Remove WooCommerce default strike-through */
.prod-price del  {
    text-decoration: none !important;
}

.prod-price del span {
    text-decoration: none !important;
    position: relative;
    color: red !important;
    font-size: 22px !important;
    font-weight: normal !important;
    font-style: italic !important;
}

/* Add your own custom strike-through */
.prod-price del span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;        /* thickness of your line */
    background: red;    /* color of your line */
    transform: translateY(-50%);
}

/* New price (sale price) */
.prod-price ins {
    color: #00264d !important;
    text-decoration: none !important;
}

.price.prod-page {
    display: flex;
    flex-direction: column;
}

.price.prod-page del,
.price.prod-page ins {
    text-decoration: none;
}

.price.prod-page del span {
    color: red;
    text-decoration: line-through;
    font-size: 22px;
    font-weight: normal;
    font-style: italic;
}

.wc-empty-cart-message,
.return-to-shop {
    display: none;
}

.swiper {
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
}

.swiper.swiper-initialized {
    opacity: 1;
    visibility: visible;
}

.woocommerce-privacy-policy-text {
    display: none;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    background-color: #072242;
    color: #fff;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    float: none;
}

.shipped_via {
    display: none;
}

.posted_in a {
    text-decoration: none;
    color: #072242;
    font-weight: bold;
}

.mobile-menu {
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

#mobileMenuToggle svg {
    cursor: pointer;
}
#mobileMenuToggle svg:hover {
    fill: #072242;
}

@media (max-width: 600px) {
  .swiper-slide img {
      height: 150px;
  }
}