/*!
Theme Name: SmartPrice
Theme URI: https://smartprice.lv/
Author: SmartPrice
Author URI: https://smartprice.lv/
Description: SmartPrice parent theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: smartprice
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
    outline-color: none;
}

a, a:visited { outline: none; }
a:hover,
a:active,
a:focus {
  outline: none;
    outline-color: none;
}

.h1, h1 {
    font-size: 20px!important;
    font-weight: 600!important;
}

.nav-link:focus, .nav-link:hover {
    outline: none;
    }

.nav-link:hover {
        text-decoration: none;
        color: #f1b813;
    }

#menu-menu-1 .nav-link:hover {
    color: #fff;
}


/* Стиль бокового меню */
.navbar-vertycal {
    font-size: 1rem;
    margin-bottom: 0;
    width: 100%;
}
.navbar-vertycal ul {
    width: 100%;
}
.navbar-vertycal li{
    display: block;
    float: none;
    width: 100%;
}
.navbar-vertycal li a{
    display: block;
    float: none;
    width: 100%;
}
.navbar-vertycal .navbar-collapse {
    padding: 0px;
}
.navbar-vertycal a {
    padding: 0.5em 1rem !important;
}
.menu {
    position: relative;
    border-left: 2px solid #1ce2e2;
}
.navbar-vertycal .dropdown-menu {
    position: absolute;
    top:0;
    left: 100%;
}
.caret {
    position: absolute;
    right: 0;
    top: 0.125rem;
    display: block;
    transform: rotate(270deg);
    height: 0.5rem;
    padding: 0.75rem 0;
}



/* TOOLTIPS COLORS */


  .tooltip_icon-sun>.tooltip-inner {
    background-color: #42c9d7!important;
    border-radius: 0!important;
    padding: 10px 4px;
  }


  .tooltip_icon-damage>.tooltip-inner {
    background-color: #1E73BE!important;
    border-radius: 0!important;
    padding: 10px 4px;
  }

  .tooltip_icon-new-1>.tooltip-inner {
    background-color: #81D742!important;
    border-radius: 0!important;
    padding: 10px 4px;
  }

/* Icon stock or out of stock */
.tooltip_icon-no>.tooltip-inner {
    background-color: #bd1e51!important;
    border-radius: 0!important;
    padding: 6px 2px;
    font-weight: bold!important;
  }

  .tooltip_icon-yes>.tooltip-inner {
    background-color: #96cc2e!important;
    border-radius: 0!important;
    padding: 6px 2px;
    font-weight: bold!important;
  }
  





  /* Woocomerce product price style */


   ins .woocommerce-Price-amount.amount bdi {
    font-size: 20px;
    font-weight: 700;
    color: #f43a37
  }
  
    .archive ins .woocommerce-Price-amount.amount bdi {
    font-weight: 700;
    color: #f43a37
  }

  ins .woocommerce-Price-amount.amount bdi::before {
    font-family: "fontello";
    content: '\E890';
    font-weight: normal;
    display: inline-block;
    margin-right: .2em;
 
  }

  .video_tab_tab::before {
    font-family: fontello;
    content: '\F16A'!important;
    font-weight: 400;
    color: red;
    top: 0px;
    left: -6px!important;
    border: none!important;
    position: relative!important;
    display: inline-block;
    margin-right: .2em;
}

  ins .woocommerce-Price-amount.amount {
    display: inline-block;
    padding: 6px 10px;
    margin-right: 0;
    border-radius: 3px;
    background-color: rgb(255 122 26 / 5%);
    font-size: 17px;
    font-weight: 700;
}

del .woocommerce-Price-amount.amount bdi {
    font-size: 14px;
    font-weight: 600;
    color: #999;
}


.icon-shopping-cart:before {
    content: '\e891';
    position: relative;
    top: -1px;
    font-size: 16px;
}

/* ============================= */
/* WooCommerce PRODUCT PRICE UI  */
/* ============================= */

/* --- NEW PRICE TEXT --- */
ins .woocommerce-Price-amount.amount bdi {
    font-size: 20px;
    font-weight: 700;
    color: #f43a37;
}

/* archive pages */
.archive ins .woocommerce-Price-amount.amount bdi {
    font-weight: 700;
    color: #f43a37;
}

/* icon before price */
ins .woocommerce-Price-amount.amount bdi::before {
    font-family: "fontello";
    content: '\E890';
    font-weight: normal;
    display: inline-block;
    margin-right: .2em;
}

/* price badge background */
ins .woocommerce-Price-amount.amount {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    background-color: rgb(255 122 26 / 5%);
    font-size: 17px;
    font-weight: 700;
}

/* --- OLD PRICE ONLY --- */
del .woocommerce-Price-amount.amount bdi {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

/* shopping cart icon */
.icon-shopping-cart:before {
    content: '\e891';
    position: relative;
    top: -1px;
    font-size: 16px;
}

/* video tab icon (paliek kā bija) */
.video_tab_tab::before {
    font-family: fontello;
    content: '\F16A' !important;
    font-weight: 400;
    color: red;
    top: 0px;
    left: -6px !important;
    border: none !important;
    position: relative !important;
    display: inline-block;
    margin-right: .2em;
}

.price {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== MODERN PRICE BADGE ===== */

.products-row .price ins .woocommerce-Price-amount.amount {
    background: #fff3f3;
    border-radius: 8px;
    padding: 6px 10px;
    box-shadow: 0 2px 6px rgba(244,58,55,0.12);
    transition: all .2s ease;
}

/* hover effect */
/*.product_home:hover .price ins .woocommerce-Price-amount.amount {*/
/*    background: #ffeaea;*/
/*    transform: translateY(-1px);*/
/*}*/

/* old price softer */
.products-row .price del {
    opacity: .45;
}




/* ============================= */
/* ARCHIVE PRODUCT PRICE FIX     */
/* ============================= */

.woocommerce ul.products li.product .price ins .woocommerce-Price-amount.amount bdi {
    color: #f43a37 !important;
    font-weight: 700;
    font-size: 20px;
}

/* price badge archive */
.woocommerce ul.products li.product .price ins .woocommerce-Price-amount.amount {
    background: #fff3f3;
    padding: 4px 8px;
    border-radius: 6px;
}

/* old price archive */
.woocommerce ul.products li.product .price del .woocommerce-Price-amount.amount bdi {
    color: #666 !important;
    font-size: 14px;
    opacity: .6;
}










/* Homepage hover product */
.new-product-home:hover {
    position: relative;
    z-index: 2;
}


.new-product-home .product-type-simple:hover {
    min-height: 100%;
    width: 100%;
    padding: 17px 15px;
    position: absolute;
    top: -17px;
    margin: 0;
    right: 0px;
    background: #fff;
    box-shadow: 0 0 20px 1px rgb(0 0 0 / 10%);
    z-index: 1;
    transition: background .2s ease;
}

.new-product-home .product-type-variable:hover {
    min-height: 100%;
    padding: 17px 15px;
    position: absolute;
    top: -17px;
    margin: 0;
    right: 0px;
    background: #fff;
    box-shadow: 0 0 20px 1px rgb(0 0 0 / 10%);
    z-index: 1;
    transition: background .2s ease;
}


.new-product-home .add_to_cart_button,.new-product-home .button.product_type_simple,.new-product-home .button.product_type_variable {
    display: none;
}


.new-product-home .product-type-simple:hover .button.product_type_simple,
.new-product-home .product-type-simple:hover .add_to_cart_button,
.new-product-home .product-type-variable:hover .button.product_type_variable {
    display: block;
    background: #f1b813;
    color: white;
    text-align: center;
    width: 86%;
    border-radius: 2px;
    position: relative;
    margin: 11px auto;
    padding: 9px 10px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
}



.new-product-home .product-type-simple:hover .add_to_cart_button:hover,.new-product-home .product-type-simple:hover .button.product_type_simple:hover,.new-product-home .product_type_variable:hover .button.product_type_variable:hover {
    background: #f1b813;
}

.new-product-home .product-type-simple .icon-basket-alt:before,
.new-product-home .product-type-variable .icon-basket-alt:before {
    position: relative;
    font-size: 14px;
    left: -4px;
}

/* Homepage hover product end */

/* All hover product */
/*.woocommerce-page .type-product:hover {*/
/*    position: relative;*/
/*    z-index: 2;*/
/*}*/


/*.woocommerce.woocommerce-page .type-product .product-hover-style:hover {*/
/*    min-height: 100%;*/
/*    width: 100%;*/
/*    padding: 0;*/
/*    position: absolute;*/
/*    top: 0px;*/
/*    margin: 0;*/
/*    right: 0px;*/
/*    background: #fff;*/
/*    box-shadow: 0 0 20px 1px rgb(0 0 0 / 10%);*/
/*    z-index: 1;*/
/*    transition: background .2s ease;*/
/*}*/


/* .woocommerce.woocommerce-page .type-product .add_to_cart_button,*/
/*.woocommerce.woocommerce-page .type-product .button.product_type_simple,*/
/*.woocommerce.woocommerce-page .type-product .button.product_type_variable {*/
/*    display: none;*/
/*}*/

/*.woocommerce.woocommerce-page ul.products li.product .button {*/
/*     display: none;*/
/*}*/


/*.woocommerce.woocommerce-page .product-hover-style:hover .button.product_type_simple,*/
/*.woocommerce.woocommerce-page .product-hover-style:hover .add_to_cart_button,*/
/*.woocommerce.woocommerce-page .product-hover-style:hover .button.product_type_variable {*/
/*    display: block;*/
/*    background: #f1b813;*/
/*    color: white;*/
/*    text-align: center;*/
/*    width: 86%;*/
/*    position: relative;*/
/*    margin: 11px auto;*/
/*    padding: 9px 10px;*/
/*    font-size: 11px;*/
/*    text-transform: uppercase;*/
/*    font-weight: 700;*/
/*    border-radius: 8px;*/
/*}*/



/*.woocommerce-page .product-hover-style:hover .add_to_cart_button:hover,*/
/*.woocommerce-page .product-hover-style:hover .button.product_type_simple:hover,*/
/*.woocommerce-page .product-hover-style:hover .button.product_type_variable:hover {*/
/*    background: #e2ac10;*/
/*}*/



/*.woocommerce-page .product-hover-style .icon-basket-alt:before,*/
/*.woocommerce-page .product-hover-style .icon-basket-alt:before {*/
/*    position: relative;*/
/*    font-size: 14px;*/
/*    left: -4px;*/
/*}*/

/*.woocommerce-page .product-hover-style {*/
/*    border-radius: 10px;*/
/*    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);*/
/*}*/

/* All hover product end */


/* Shop page */

/* ============================= */
/* WOO PRODUCT TITLE LIMIT */
/* ============================= */

/* ============================= */
/* WOO PRODUCT TITLE — STRICT 2 LINES */
/* ============================= */

/* ============================= */
/* WOO PRODUCT TITLE — PERFECT 2 LINES */
/* ============================= */

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-weight: 600;
  line-height: 1.35;
  margin: 0;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  overflow: hidden;
  text-overflow: ellipsis;

  /* svarīgā atšķirība */
  max-height: calc(1.35em * 2);
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    padding: 0;
    margin: 0;
    font-size: 1em;
}






  /* Cart mobile fixed */


.fixed-cart-mobile {
    position: relative;
    z-index: 966;
    background: white;
    padding: 14px 14px;
    bottom: 10px;
  }

  .fixed-cart-mobile .icon-basket-alt:before {
    position: absolute;
    font-size: 26px;
    top: 20px;
    left: -5px;
    color: #000;
}

.fixed-cart-mobile #cart-count,.fixed-cart-mobile .cart-count {
    background: #81D742;
    color: #fff;
    border-radius: 50%;
    padding: 3px 5px;
    font-size: 9px;
}




/* Cart xcp */

.xcp-btn {
    background-color: #f1b813;
    color: #ffffff;
    font-size: 14px;
    border-radius: 0px;
    border: 1px solid #f1b813;
}

.xoo-cp-container {
    display: inline-block;
    max-width: 650px;
    border: none;
    background: #fff;
    position: relative;
    vertical-align: middle;
    width: 90%;
    text-align: left;
    box-shadow: 0 0 10px rgb(0 0 0 / 40%);
    border-radius: 0px;
    padding: 45px;
    border-radius: 16px;
}

td.xoo-cp-ptitle a {
    font-weight: 400;
    font-size: 16px;
    color: #000000;
    padding: 0 0px 0 11px;
    display: block;
}

.xoo-cp-atcn {
    overflow: auto;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 0;
    display: block;
    text-align: left;
    margin-bottom: 15px;
        border-radius: 6px;
}

a.xcp-btn {
width: 30%;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    padding: 10px 0;
    color: #fff !important;
    display: inline-block;
    border-radius: 8px;
    margin-right: 5px;
}

span.xoo-cp-close {
    font-size: 29px;
    position: absolute;
    right: -13px;
    top: -11px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
}

/* Cart xcp end */



/* Shipping style */
.woocommerce-shipping-methods input[type="radio"] {
  display: none;
}

.woocommerce-shipping-methods label {
  display: inline-block;
  /*background-color: #ddd;*/
  border: 2px solid #e8e8e8;
  padding: 4px 11px;
  font-family: Arial;
  font-size: 16px;
  cursor: pointer;
  padding: 8px 15px;
}

.woocommerce-shipping-methods input[type="radio"]:checked ~ label {
  /*background-color: #bbb;*/
  border: 2px solid #37CA6A;
    padding: 8px 15px;
}

img[src*="unisend_shipping_lpexpress_logo_45x25.png"] {
  display: none !important;
}

label[for="woo_lithuaniapost_lpexpress_terminal_id"] {
  display: none !important;
}


/*OWL STYLES*/

.carousel-wrap {
  width: 100%;
  position: relative;
}

/* fix blank or flashing items on carousel */
.owl-carousel .item {
  position: relative;
  z-index: 100; 
  -webkit-backface-visibility: hidden; 
}

/* end fix */
.owl-nav > div {
  margin-top: -26px;
  position: absolute;
  top: 50%;
  color: #cdcbcd;
}

.owl-nav i {
      font-size: 19px;
    border: 1px solid #cdcdcd;
    padding: 7px 11px;
    border-radius: 50%;
    color: #747474;
}

.owl-nav .owl-prev {
  left: -30px;
}

.owl-nav .owl-next {
  right: -30px;
}

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
    background: 0 0;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
    position: absolute;
    top: 100px;
}





.img-flip-animate {
  animation: rotation 3s infinite linear; 
}

@keyframes rotation {
  100%{ transform:rotatey(360deg); }
}





.stock-status {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-top: 6px;
}

.stock-status::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #F4B400; /* tavs dzeltenais */
    border-radius: 50%;
    margin-right: 6px;
}





/* ===== ROW ===== */
.products-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ===== PRODUCT CARD ===== */
.products-row .product-col {
    min-width: 0;          /* FIX overflow bug */
    margin-bottom: 16px;
}

/* ===== MOBILE (2 kolonnas) ===== */
.products-row .product-col {
    flex: 0 0 calc((100% - 16px) / 2);
}

/* ===== TABLET (3 kolonnas) ===== */
@media (min-width: 768px) {
    .products-row .product-col {
        flex: 0 0 calc((100% - 32px) / 3);
    }
}

/* ===== DESKTOP (5 kolonnas) ===== */
@media (min-width: 1200px) {
  .products-row .product-col {
    flex: 1 1 calc(20% - 16px);
    max-width: calc(20% - 16px);
  }
}


.products-row {
    row-gap: 26px;
}


.product_home {
    transition: transform .25s ease, box-shadow .25s ease;
}

.product_home:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}



.products-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;;
  align-items: stretch;
}




.product_home {
    transition: transform .2s ease, box-shadow .2s ease;
}

.product_home:hover {
    transform: translateY(-4px);
}



.product-home {
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}




/*button skatit visus*/
/* wrapper */
.view-all-products {
    text-align: center;
    margin: 35px 0 5px;
}

/* BUTTON */
.view-all-btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 28px; /* MAZĀKS */
    font-size: 15px;
    font-weight: 600;

    color: #222;
    text-decoration: none;

    background: linear-gradient(180deg,#ffe27a,#ffd24a);
    border-radius: 8px;

    box-shadow: 0 4px 10px rgba(0,0,0,0.08);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

/* arrow */
.view-all-btn-modern::after {
    content: "›";
    font-size: 20px;
    margin-left: 8px;
    transition: transform .18s ease;
}

/* hover */
.view-all-btn-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* arrow move */
.view-all-btn-modern:hover::after {
    transform: translateX(4px);
}

/* click */
.view-all-btn-modern:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.view-all-btn-modern:focus {
    outline: none;
}




/* =============================== */
/* SINGLE PRODUCT TABS MODERN UI  */
/* =============================== */

/* Tabs wrapper */
.woocommerce-tabs {
    margin-top: 40px;
}

/* Tab navigation */
.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 10px;
    border-bottom: none;
    margin-bottom: 25px;
}

.woocommerce-tabs ul.tabs li {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 8px 16px;
    transition: all .2s ease;
}

.woocommerce-tabs ul.tabs li a {
    font-weight: 600;
    font-size: 14px;
}

.woocommerce-tabs ul.tabs li.active {
    background: #ffcc00;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #000;
}

/* Tab content box */
.woocommerce-Tabs-panel {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    max-width: 900px;
}

/* Description text */
.woocommerce-Tabs-panel p {
    line-height: 1.7;
    color: #444;
    font-size: 15px;
}

/* Headings */
.woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 22px;
}

/* Feature list styling */
.woocommerce-Tabs-panel ul {
    padding-left: 0;
    list-style: none;
}

.woocommerce-Tabs-panel ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}

.woocommerce-Tabs-panel ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ffcc00;
    font-size: 14px;
}


/* TAB CONTENT SPACING */
.woocommerce-Tabs-panel {
    padding: 35px 40px !important;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,0.05);
}


/* REMOVE OLD BORDERS */
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}


/* ========================= */
/* MODERN PRODUCT TABS       */
/* ========================= */

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 12px;
    border: none;
    margin-bottom: 20px;
}

/* tab button */
.woocommerce-tabs ul.tabs li {
    border: none !important;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 10px 18px;
    transition: all .2s ease;
}

/* link */
.woocommerce-tabs ul.tabs li a {
    font-size: 15px;
    font-weight: 600;
    color: #555;
}

/* hover */
.woocommerce-tabs ul.tabs li:hover {
    background: #ececec;
}

/* active tab */
.woocommerce-tabs ul.tabs li.active {
    background: #ffd24a;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #000;
}

/* DESCRIPTION TEXT */
.woocommerce-Tabs-panel p {
    line-height: 1.75;
    font-size: 15.5px;
    color: #444;
    margin-bottom: 18px;
}

.woocommerce-Tabs-panel ul li {
    padding-left: 26px;
    margin-bottom: 10px;
}

.woocommerce-tabs {
    max-width: 900px;
}


/* MODERN PRODUCT TABS */
.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 12px;
    border: none;
    margin-bottom: 15px;
}

.woocommerce-tabs ul.tabs li {
    background: #f3f4f6;
    border-radius: 10px;
    padding: 10px 18px;
    border: none !important;
}

.woocommerce-tabs ul.tabs li.active {
    background: #ffd24a;
}

.woocommerce-tabs ul.tabs li a {
    font-weight: 600;
    color: #333;
}


/* DESCRIPTION CARD */
.woocommerce-Tabs-panel {
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    max-width: 850px;
}

.woocommerce-Tabs-panel p {
    line-height: 1.75;
    font-size: 15.5px;
    color: #444;
}

.woocommerce-product-gallery__image img {
    transition: transform .25s ease;
}

.woocommerce-product-gallery__image:hover img {
    transform: scale(1.03);
}


/* LEFT INFO BOX */
.sidebar .widget {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}



.single-product .woocommerce-product-gallery img {
    filter: contrast(1.02);
}


/* REMOVE DUPLICATE DESCRIPTION TITLE */
.woocommerce-Tabs-panel--description > h2 {
    display: none;
}


.woocommerce-Tabs-panel--description {
    padding-top: 0;
}

/* REMOVE TABS NAVIGATION */
.woocommerce-tabs ul.tabs {
    display: none !important;
}


.woocommerce .widget_shopping_cart .buttons a, .woocommerce.widget_shopping_cart .buttons a {
    border-radius: 8px;
}

.woocommerce .cart .button, .woocommerce .cart input.button {
    float: none;
    border-radius: 6px;
}


.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background-color: #f1b813;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    padding: 16px 30px;
    text-transform: uppercase;
    border-radius: 8px;
}



.product_home {
    transition: transform .25s ease, box-shadow .25s ease;
}

.product_home:hover {
    /*transform: translateY(-6px);*/
    transform: translateY(0px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}





/* ============================= */
/* CHECKOUT MODERN STYLE */
/* ============================= */

/* Checkout wrapper */
.woocommerce-checkout .woocommerce {
    background: #fff;
    border-radius: 14px;
}

/* Section titles */
.woocommerce-checkout h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Labels */
.woocommerce-checkout label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}

/* INPUT FIELDS */
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    height: 48px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    transition: all .25s ease;
    font-size: 15px;
}

/* textarea fix */
.woocommerce-checkout textarea {
    height: auto;
    padding: 12px 14px;
}

/* focus state */
.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    border-color: #f5b400;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245,180,0,0.15);
    outline: none;
}

/* spacing between fields */
.woocommerce form .form-row {
    margin-bottom: 18px;
}

/* Coupon box */
.woocommerce-form-coupon-toggle {
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
}

/* Order summary box */
.woocommerce-checkout-review-order {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

/* Checkout button */
#place_order {
    width: 100%;
    height: 54px;
    border-radius: 10px;
    background-color: ;: #f5b400;
    border: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .3px;
    color: #fff;
    cursor: pointer;
    box-shadow:0 6px 16px rgba(0,0,0,.12);
    transition: all .25s ease;
}

/* Hover */
#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.15);
    background: #e0a500;
}

/* Click effect */
#place_order:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.sp-checkout-trust{
margin-top:14px;
padding-top:12px;
border-top:1px solid #eee;

display:inline-flex;
justify-content:center;
gap:18px;
flex-wrap:wrap;

font-size:13px;
color:#777;
}

.sp-trust-item{
display:flex;
align-items:center;
gap:6px;
white-space:nowrap;
}

.sp-trust-item i{
font-size:14px;
width:16px;
text-align:center;
color:#f5b400;
}


/* required star nicer */
.woocommerce-checkout abbr.required {
    color: #ff4d4f;
    font-weight: 700;
    text-decoration: none;
}





/* ===============================
   TRIGGER
=============================== */

.sp-condition-trigger{
    margin-top:12px;
    font-size:14px;
    color:#666;
    cursor:pointer;
    transition:.2s;
}

.sp-condition-trigger:hover{
    color:#111;
}

/* ===============================
   MODAL FIX (PLUGIN SAFE)
=============================== */

.sp-condition-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    display:none;
    align-items:center;
    justify-content:center;

    z-index:2147483647; /* MAX iespējams */
}

/* ===============================
   BOX
=============================== */

.sp-condition-box{
    background:#fff;
    border-radius:14px;
    padding:28px;
    max-width:620px;
    width:90%;
    max-height:80vh;
    overflow:auto;
    box-shadow:0 25px 70px rgba(0,0,0,.2);
    position:relative;
    animation:spFade .25s ease;
}

@keyframes spFade{
    from{opacity:0;transform:translateY(15px);}
    to{opacity:1;transform:translateY(0);}
}

/* CLOSE */

.sp-condition-close{
    position:absolute;
    right:14px;
    top:10px;
    font-size:24px;
    cursor:pointer;
}

/* INFO STYLE */

.info_panel_sp h5{
    font-size:20px;
    margin-bottom:14px;
}

.info_panel_sp p{
    font-size:14px;
    line-height:1.6;
    margin-bottom:12px;
    color:#444;
}

.info_panel_sp span{
    font-weight:700;
    color:#2e7d32;
}

/* LOCK SCROLL */

body.sp-modal-open{
    overflow:hidden;
}




/* Wrapper lai shipping + info izskatās kopā */
.custom-shipping-info,
.sp-condition-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f8fafc;
    margin-top: 8px;
}

/* Shipping */
.custom-shipping-info {
    color: #444;
}

/* Info clickable */
.sp-condition-trigger {
    cursor: pointer;
    color: #555;
    transition: all .2s ease;
}

.sp-condition-trigger:hover {
    background: #eef2f7;
    color: #111;
}

/* Icon */
.sp-condition-trigger::before {
    content: "ℹ";
    font-size: 14px;
}

.sp-condition-trigger {
    font-weight: 500;
}

.custom-shipping-info {
    background: #eef7f2;
    border-left: 4px solid #28a745;
}

.sp-condition-trigger {
    background: #f5f7fa;
    opacity: .9;
}


.woocommerce div.product p.price {
    margin: 12px 0 6px;
}

.woocommerce div.product p.price ins {
    font-size: 22px;
}

.single_add_to_cart_button {
    transition: all .25s ease;
}

.single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
}







/* ===== PRODUCT CONDITION BADGE ===== */

.product-condition {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 6px 14px;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;

    background: #f3f8f4;
    color: #1f7a3e;

    border: 1px solid #dcefe2;

    line-height: 1;
}

/* Kreisais indikators */
.product-condition::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
}

/* Hover subtle */
.product-condition:hover {
    background: #edf6ef;
}





/* ========================= */


/* ===================================== */
/* CLEAN MODERN HAMBURGER MENU           */
/* ===================================== */

/* ===== BUTTON ===== */

#menu-button {
  width: 44px;
  height: 44px;
  background: #96cc2e;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

#menu-button span {
  position: absolute;
  width: 20px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}

#menu-button span:nth-child(1) { transform: translateY(-6px); }
#menu-button span:nth-child(2) { transform: translateY(0); }
#menu-button span:nth-child(3) { transform: translateY(6px); }

#menu-button.on span:nth-child(1) { transform: rotate(45deg); }
#menu-button.on span:nth-child(2) { opacity: 0; }
#menu-button.on span:nth-child(3) { transform: rotate(-45deg); }

/* ===== OVERLAY ===== */

#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

#overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ===== MENU PANEL ===== */

#hamburger-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: #fff;
  padding: 80px 25px 30px;
  overflow-y: auto;
  z-index: 10001;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.77,0,.18,1);
}

#hamburger-menu.open {
  transform: translateX(0);
}

/* ===== MENU LINKS ===== */

.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin-bottom: 18px;
}

.mobile-menu a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  color: #111;
  transition: color .2s ease;
}

.mobile-menu a:hover {
  color: #96cc2e;
}

/* ===== LOCK BODY SCROLL ===== */

body.menu-open {
  overflow: hidden;
}


body.menu-open {
  overflow: hidden;
  padding-right: 0 !important;
}

/*#menu-button {*/
/*  position: fixed;*/
/*  top: 18px;*/
/*  right: 18px;*/
/*}*/


#hamburger-menu {
  will-change: transform;
}

/* ===== HAMBURGER LAYER FIX ===== */

#overlay {
  z-index: 99998 !important;
}

#hamburger-menu {
  z-index: 99999 !important;
}

#menu-button {
  z-index: 100000 !important;
}



/* ========================= */
/* MODERN MOBILE HEADER */
/* ========================= */

.mobile-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
}

/* logo centrēšana */
.mobile-header .site-branding{
  flex:1;
  text-align:center;
}

.mobile-header .logo{
  max-height:38px;
}

/* right side */
.mobile-header-right{
  display:flex;
  align-items:center;
  gap:10px;
}

/* hamburger nav floating */
#menu-button{
  position:relative;
  margin-right:10px;
}

/* desktop hide */
@media(min-width:992px){
  #menu-button{
    display:none;
  }
}



@media (max-width: 768px) {

  .woocommerce .woocommerce-ordering {
    float: none !important;
    text-align: center;
    width: 100%;
    margin: 15px 0;
  }

  .woocommerce .woocommerce-ordering select {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: block;
  }

}


@media (max-width: 768px) {

  .woocommerce .woocommerce-ordering select {
    border-radius: 10px;
    padding: 12px;
    background: #f6f7f9;
    border: 1px solid #e5e5e5;
  }

}






/* ============================= */
/* DELIVERY TEMPLATE STYLE */
/* ============================= */

.delivery-wrapper{
  padding:40px 0;
}

/* HERO */

.delivery-hero{
  text-align:center;
  padding:60px 20px;
  background:linear-gradient(135deg,#f6f7f9,#ffffff);
  border-radius:14px;
  margin-bottom:50px;
}

.delivery-hero h1{
  font-size:36px;
  margin-bottom:10px;
}

.delivery-hero p{
  color:#666;
  font-size:18px;
}

/* INFO BLOCKS */

.delivery-info{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
  margin-bottom:60px;
}

.delivery-info-card{
  background:#fff;
  padding:25px;
  border-radius:12px;
  box-shadow:0 8px 25px rgba(0,0,0,.05);
  text-align:center;
}

/* DELIVERY CARDS */

.delivery-methods{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
  margin-bottom:60px;
}

.delivery-card{
  background:#fff;
  padding:35px;
  border-radius:14px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  transition:.3s ease;
}

.delivery-card:hover{
  transform:translateY(-6px);
}

.delivery-card img{
  max-width:180px;
  margin-bottom:15px;
}

.delivery-card h2{
  font-size:22px;
  margin-bottom:10px;
}

.delivery-price{
  font-size:30px;
  font-weight:700;
  color:#96cc2e;
}

/* RULES */

.delivery-rules{
  background:#fff;
  padding:35px;
  border-radius:14px;
  box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.delivery-rules ul{
  padding-left:18px;
}

.delivery-rules li{
  margin-bottom:10px;
}

/* MOBILE */

@media(max-width:768px){

.delivery-hero h1{
  font-size:26px;
}

.delivery-wrapper{
  padding:20px 10px;
}

}

/* ============================= */
/* DELIVERY CHECK FIX */
/* ============================= */

.delivery-rules ul {
  list-style: none;
  padding: 0;
}

.delivery-rules li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* apaļais zaļais aplis */
.delivery-rules li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  background: #96cc2e;
  color: #fff;
  font-size: 13px;
  font-weight: bold;

  border-radius: 50%;
  flex-shrink: 0;
}


/* ========================= */
/* DELIVERY PAGE POLISH */
/* ========================= */

/* HERO FIX */
.delivery-hero{
  padding:40px 20px;
  background:#ffffff;
  box-shadow:0 6px 20px rgba(0,0,0,.04);
}

/* INFO CARDS IMPROVE */

.delivery-info-card{
  background:#fff;
  border:1px solid #f1f1f1;
  transition:.25s ease;
}

.delivery-info-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(0,0,0,.08);
}

/* DELIVERY CARDS PREMIUM LOOK */

.delivery-card{
  border:1px solid #f2f2f2;
}

.delivery-card:hover{
  transform:translateY(-8px);
  box-shadow:0 16px 40px rgba(0,0,0,.10);
  border-color:#96cc2e33;
}

/* PRICE EMPHASIS */

.delivery-price{
  font-size:32px;
  letter-spacing:.5px;
}

/* RULES BLOCK LIGHTER */

.delivery-rules{
  background:#ffffff;
  border:1px solid #f2f2f2;
}

/* SMALL TYPO IMPROVEMENT */

.delivery-info-card p,
.delivery-card p{
  color:#666;
  font-size:15px;
}





/* ============================= */
/* MODERN CONTACT STYLE */
/* ============================= */

/* ============================= */
/* BALANCED MODERN CONTACT */
/* ============================= */

.contact-modern{
  padding:70px 0;
}

/* HERO */

.contact-modern-hero{
  text-align:center;
  margin-bottom:60px;
}

.contact-modern-hero h1{
  font-size:34px;
  font-weight:600;
  margin-bottom:10px;
}

.contact-modern-hero p{
  color:#777;
  font-size:17px;
}

/* GRID */

.contact-modern-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:40px;
}

/* CARD STYLE (soft container) */

.contact-modern-card{
  background:#ffffff;
  padding:35px 40px;
  border-radius:16px;
  border:1px solid #f0f0f0;
}

/* TITLE */

.contact-modern-card h3{
  font-size:20px;
  font-weight:600;
  margin-bottom:25px;
}

/* ROW */

.contact-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:12px 0;
}

.contact-row + .contact-row{
  border-top:1px solid #f5f5f5;
}

.contact-row .label{
  font-size:13px;
  color:#9a9a9a;
  text-transform:uppercase;
  letter-spacing:.8px;
}

.contact-row span,
.contact-row a{
  font-size:15px;
  color:#222;
  text-decoration:none;
  max-width:65%;
  text-align:right;
}

.contact-row a:hover{
  opacity:.6;
}

/* MOBILE */

@media(max-width:768px){

.contact-modern{
  padding:50px 20px;
}

.contact-modern-grid{
  gap:25px;
}

.contact-modern-card{
  padding:25px;
}

.contact-row{
  flex-direction:column;
  gap:4px;
}

.contact-row span,
.contact-row a{
  text-align:left;
  max-width:100%;
}

}

/* ============================= */
/* CONTACT HERO AVATAR */
/* ============================= */

.contact-avatar{
  width:110px;
  height:110px;
  margin:0 auto 25px auto;
  border-radius:50%;
  overflow:hidden;

  background:#96cc2e;
  display:flex;
  align-items:center;
  justify-content:center;
}

.contact-avatar img{
  width:75%;
  height:auto;
}

/* HERO IMPROVE */

.contact-modern-hero{
  text-align:center;
  margin-bottom:70px;
}

.contact-modern-hero h1{
  font-size:36px;
  font-weight:600;
  margin-bottom:10px;
}

.contact-modern-hero p{
  color:#777;
  font-size:18px;
}




/* ============================= */
/* CONTACT LIKE DELIVERY */
/* ============================= */

.contact-delivery-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:22px;
  font-weight:600;
  margin-bottom:15px;
}

.contact-delivery-icon{
  font-size:20px;
  line-height:1;
}


/* ============================= */
/* PAYMENT PAGE */
/* ============================= */

.custom-hero{
  background:#f5f6f8;
  padding:80px 0;
  text-align:center;
}

.custom-hero h1{
  font-size:36px;
  margin-bottom:15px;
}

.custom-hero p{
  color:#666;
  font-size:16px;
}

.custom-section{
  padding:70px 0;
}

.info-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
  margin-bottom:60px;
}

.info-card{
  background:#f7f7f7;
  padding:35px;
  border-radius:18px;
  transition:all .3s ease;
}

.info-card:hover{
  transform:translateY(-5px);
}

.info-card h3{
  font-size:22px;
  margin-bottom:15px;
}

.bank-logos,
.card-logos{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  margin-top:20px;
}

.bank-logos img,
.card-logos img{
  height:32px;
  object-fit:contain;
}

.info-highlight{
  background:#f1f3f5;
  padding:40px;
  border-radius:18px;
  text-align:center;
}

.info-highlight h3{
  margin-bottom:15px;
}


/* ===================================== */
/* PAYMENT PAGE — SMARTPRICE STYLE */
/* ===================================== */

/* HERO */

.custom-hero{
  background:#f6f7f9;
  padding:70px 20px 60px;
  text-align:center;
}

.custom-hero h1{
  font-size:34px;
  font-weight:600;
  margin-bottom:12px;
}

.custom-hero p{
  color:#6b7280;
  font-size:16px;
}


/* GRID */

.info-grid{
  max-width:1100px;
  margin:60px auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(420px,1fr));
  gap:35px;
}


/* CARDS */

.info-card{
  background:#ffffff;
  padding:40px;
  border-radius:20px;
  box-shadow:0 8px 25px rgba(0,0,0,0.05);
  transition:all .25s ease;
}

.info-card:hover{
  transform:translateY(-6px);
  box-shadow:0 14px 40px rgba(0,0,0,0.08);
}


/* TITLES (LIKE DELIVERY PAGE) */

.info-card h3{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:22px;
  font-weight:600;
  margin-bottom:14px;
}

.info-card p{
  color:#6b7280;
  font-size:15px;
  margin-bottom:20px;
}


/* LOGOS */

.bank-logos,
.card-logos{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px;
}

.bank-logos img,
.card-logos img{
  height:30px;
  width:auto;
  object-fit:contain;
  filter:grayscale(10%);
  opacity:.9;
  transition:.25s;
}

.bank-logos img {
    height: 100px;
}

.bank-logos img:hover,
.card-logos img:hover{
  opacity:1;
  transform:scale(1.05);
}


/* SECURITY BLOCK */

.info-highlight{
  margin:40px auto 80px;
  background:#ffffff;
  padding:45px;
  border-radius:20px;
  text-align:center;
  box-shadow:0 8px 25px rgba(0,0,0,0.05);
}

.info-highlight h3{
  font-size:24px;
  margin-bottom:12px;
}

.info-highlight p{
  color:#6b7280;
}


/* MOBILE */

@media(max-width:768px){

  .info-grid{
    grid-template-columns:1fr;
    margin:40px 15px;
  }

  .info-card{
    padding:28px;
  }

}


/* ===================================== */
/* FIX PAYMENT PAGE SPACING */
/* ===================================== */

/* mazāks hero kā kontaktu lapā */
.custom-hero{
  padding:50px 20px 35px;
}

/* noņem milzīgo tukšumu */
.custom-section{
  padding:20px 0 50px;
}

/* grid tuvāk virsrakstam */
.custom-section .info-grid{
  margin-top:25px;
}

/* drošības bloks tuvāk */
.info-highlight{
  margin:30px auto 60px;
}





/* vienots konteineris kā kontaktu lapā */
/*.custom-section .container{*/
/*  max-width:1100px;*/
/*}*/





/* ===================================== */
/* FORCE CENTER – SMARTPRICE FIX */
/* ===================================== */

/* Centrē visu custom lapu konteinerus */
.page-template-page-delivery .container,
.page-template-page-contacts .container,
.page-template-page-payments .container,
.page-id-2946 .container,
.page-id-728 .container {
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Centrē grid */
.contact-modern-grid,
.delivery-methods,
.info-grid {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 30px;
}


/* Kartēm max width */
.contact-modern-card,
.delivery-card,
.info-card {
 max-width: 393px;
    width: 100%;
}




/* ============================= */
/* RETURNS PAGE */
/* ============================= */

.returns-page{
  padding:40px 0 80px;
}

/* HERO */

.returns-hero{
  text-align:center;
  margin-bottom:40px;
}

.returns-hero h1{
  font-size:34px;
  font-weight:600;
  margin-bottom:10px;
}

.returns-hero p{
  color:#6b7280;
  font-size:16px;
}

/* CARD */

.returns-card{
  max-width:100%;
  margin:0 auto;
  background:#fff;
  padding:45px;
  border-radius:16px;
  border:1px solid #f0f0f0;
}

/* WARNING */

.returns-warning{
  background:#fde8e8;
  color:#b91c1c;
  padding:14px 18px;
  border-radius:8px;
  font-weight:600;
  margin-bottom:25px;
  text-align:center;
}

/* HEADINGS */

.returns-card h2{
  margin-top:28px;
  margin-bottom:10px;
  font-size:20px;
  font-weight:600;
}

/* TEXT */

.returns-card p{
  color:#444;
  line-height:1.7;
  margin-bottom:14px;
}



/* MOBILE */

@media(max-width:768px){

  .returns-card{
    padding:25px;
  }

  .returns-hero h1{
    font-size:26px;
  }

}



/* PRIVACY PAGE */

.privacy-wrapper{
  padding:60px 0;
}

.privacy-hero{
  text-align:center;
  margin-bottom:50px;
}

.privacy-hero h1{
  font-size:32px;
  margin-bottom:10px;
}

.privacy-hero p{
  color:#777;
}

.privacy-content{
  display:flex;
  justify-content:center;
}

.privacy-card{
  background:#fff;
  padding:45px;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  width:100%;
  line-height:1.7;
  font-size:15px;
}

.privacy-card h2{
  margin-top:35px;
  margin-bottom:15px;
  font-size:20px;
  font-weight:600;
}

.privacy-card a{
  color:#ff7a1a;
  text-decoration:none;
}

.privacy-card a:hover{
  text-decoration:underline;
}

.privacy-list{
  margin-left:20px;
  margin-bottom:20px;
}


.legal-section{
  margin-top:30px;
}

.legal-item{
  margin-bottom:28px;
}

.legal-item h3{
  font-size:17px;
  font-weight:600;
  margin-bottom:8px;
}

.returns-list,
.legal-list,
.privacy-list{
  list-style:none;
  padding:0;
  margin:15px 0;
}

.returns-list li,
.legal-list li,
.privacy-list li{
  position:relative;
  padding-left:32px;
  margin-bottom:12px;
}

.returns-list li::before,
.legal-list li::before,
.privacy-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:3px;
  width:20px;
  height:20px;
  background:#f4b400;
  color:#fff;
  font-size:13px;
  font-weight:700;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}


/* SHIPPING BOX */

.sp-shipping-box{
margin-top:12px;
display:flex;
flex-direction:column;
gap:10px;
}


/* SHIPPING ITEM */

.sp-shipping-item{
display:flex;
align-items:center;
justify-content:space-between;

background:#f8f9fa;
border:1px solid #e6e6e6;
border-radius:10px;

padding:10px 12px;

transition:all .2s ease;
}

/*.sp-shipping-item:hover{*/
/*background:#f1f3f5;*/
/*}*/


/* LEFT ICON */

.sp-left{
width:32px;
display:flex;
align-items:center;
justify-content:center;
margin-right:14px;
}

.sp-icon{
font-size:16px;
color:#6b7280;
transition:color .2s ease;
}

/*.sp-shipping-item:hover .sp-icon{*/
/*color:#f59e0b;*/
/*}*/


/* CENTER TEXT */

.sp-center{
flex:1;
display:flex;
flex-direction:column;
line-height:1.3;
}

.sp-title{
font-size:14px;
font-weight:500;
}

.sp-date{
font-size:13px;
color:#6b7280;
margin-top:2px;
}


/* RIGHT PRICE */

.sp-right{
font-weight:600;
font-size:14px;
min-width:60px;
text-align:right;
color:#16a34a;
}


/* FREE SHIPPING PROGRESS */

.sp-shipping-progress{
background:#fff8e1;
border:1px solid #fde047;
border-radius:10px;
padding:10px 12px;
margin-bottom:6px;
}

.sp-progress-text{
font-size:13px;
font-weight:600;
color:#a16207;
margin-bottom:6px;
}

.sp-progress-fill{
height:100%;
background:#eab308;
transition:width .4s ease;
}

.sp-progress-bar{
width:100%;
height:6px;
background:#dcfce7;
border-radius:20px;
overflow:hidden;
}
/**/




.sp-shipping-progress.free{
background:#ecfdf5;
border:1px solid #bbf7d0;
}

.sp-shipping-progress.free .sp-progress-text{
color:#15803d;
}

.sp-shipping-progress.free .sp-progress-fill{
background:#97cc2e;
}


.sp-progress-bar{
width:100%;
height:8px;
background:#f3f4f6;
border-radius:20px;
overflow:hidden;
}



/* PRODUCT GALLERY CARD */

.woocommerce-product-gallery{
background:#fff;
border-radius:14px;
padding:14px;
}


/* REMOVE DOUBLE CHECK ICONS */

.single_add_to_cart_button.added:after{
display:none !important;
}

.xoo-cp-icon-check{
display:none !important;
}


.sp-paid{
color:#111;
font-weight:600;
}

.sp-free{
color:#97cc2e;
font-weight:600;
}


/* FREE SHIPPING PROGRESS */

.sp-shipping-progress{

background:#f9fafb;
border:1px solid #e5e7eb;
border-radius:12px;

padding:10px 14px;
margin-top:12px;

display:flex;
flex-direction:column;
gap:6px;
}

/* TEXT */

.sp-progress-text{

font-size:13px;
font-weight:600;

display:flex;
align-items:center;
gap:6px;

color:#374151;
}

/* WHEN FREE SHIPPING */

.sp-shipping-progress.free{

background:#f3f9e6;
border-color:#d9efb3;
}

.sp-shipping-progress.free .sp-progress-text{
color:#6ca51a;
}

/* PROGRESS BAR */

.sp-progress-bar{

width:100%;
height:4px;

background:#e5e7eb;

border-radius:30px;
overflow:hidden;
}

.sp-progress-fill{

height:100%;

background:#97cc2e;

border-radius:30px;

transition:width .4s ease;
}

.sp-progress-text i{
color:#97cc2e;
}




.sp-related-title{

font-size:13px;
color:#374151;

line-height:1.35;

display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;

overflow:hidden;

min-height:36px;
}


.sp-related-grid {
    margin-bottom: 50px;
}


.sp-related-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

/* tablet */

@media (max-width:1024px){

.sp-related-grid{
grid-template-columns:repeat(3,1fr);
}

}

/* small tablet */

@media (max-width:768px){

.sp-related-grid{
grid-template-columns:repeat(2,1fr);
}

}

/* mobile */

@media (max-width:480px){

.sp-related-grid{
grid-template-columns:repeat(2,1fr);
gap:12px;
}

}



@media (max-width:600px){

.sp-related-grid{
display:flex;
overflow-x:auto;
gap:12px;
padding-bottom:10px;
}

.sp-related-item{
min-width:160px;
flex:0 0 auto;
}

}


.sp-related-item img{
width:100%;
height:180px;
object-fit:contain;
display:block;
margin-bottom:8px;
}


.sp-delivery-info{
background:#f6f7f8;
border:1px solid #e3e5e7;
border-radius:8px;
padding:8px 10px;
font-size:13px;
color:#444;
display:flex;
align-items:center;
gap:6px;
margin-bottom:12px;
}

.sp-delivery-info i{
color:#97cc2e;
}


/* Cart page css desktop */

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt{
background:#f1b813;
color:#fff;
padding:12px 22px;
font-size:14px;
border-radius:8px;
text-transform:uppercase;
width:60%;
}


/* mobile */

@media (max-width:768px){

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt{
width:100%;
padding:14px 20px;
font-size:15px;
}

}



.woocommerce-cart table.shop_table{
border:1px solid #e6e6e6;
border-radius:10px;
overflow:hidden;
background:#fff;
}

.woocommerce-cart table.shop_table th{
background:#f7f7f7;
font-weight:600;
font-size:14px;
}

.woocommerce-cart table.shop_table td{
padding:14px;
vertical-align:middle;
}


.woocommerce-cart table.shop_table{
border:1px solid #e6e6e6;
border-radius:10px;
overflow:hidden;
background:#fff;
}

.woocommerce-cart table.shop_table th{
background:#f7f7f7;
font-weight:600;
font-size:14px;
}

.woocommerce-cart table.shop_table td{
padding:14px;
vertical-align:middle;
}

.woocommerce-cart input.qty{
border:1px solid #ddd;
border-radius:6px;
height:36px;
width:60px;
text-align:center;
}


.woocommerce-cart .coupon{
display:flex;
gap:10px;
}

.woocommerce-cart .coupon input{
border:1px solid #ddd;
border-radius:6px;
padding:8px 10px;
}


.cart_totals{
background:#fff;
border:1px solid #e6e6e6;
border-radius:10px;
padding:16px;
}


.woocommerce a.checkout-button{
background:#f1b813;
border-radius:8px;
padding:14px 24px;
font-weight:600;
letter-spacing:.3px;
transition:all .2s ease;
}

.woocommerce a.checkout-button:hover{
background:#e5ad0e;
transform:translateY(-1px);
}

.sp-shipping-progress{
background:#fafafa;
border:1px solid #e6e6e6;
border-radius:8px;
padding:10px 12px;
margin-bottom:8px;
}

.sp-progress-bar{
height:6px;
background:#eee;
border-radius:20px;
overflow:hidden;
}

.sp-progress-fill{
background:#97cc2e;
height:100%;
}

.sp-delivery-info{
background:#f6f7f8;
border:1px solid #e3e5e7;
border-radius:8px;
padding:8px 10px;
font-size:13px;
color:#444;
display:flex;
align-items:center;
gap:6px;
margin-bottom:12px;
}

.sp-delivery-info i{
color:#97cc2e;
}

@media (max-width:768px){

.woocommerce a.checkout-button{
width:100%;
text-align:center;
}

.cart_totals{
margin-top:20px;
}

}


/*checkout css*/
.woocommerce a.checkout-button{
font-size:15px;
font-weight:700;
letter-spacing:.4px;
padding:16px 28px;
}

.omnivalt_terminal_container_map .tmjs-selected-terminal {
    display: none;
}

a.tmjs-open-modal-btn{
font-size:0 !important;
}

a.tmjs-open-modal-btn::after{
content:"Izvēlēties pakomātu";
font-size:16px;
font-weight:600;
display:inline-block;
}


.omnivalt_terminal_container_map a.tmjs-open-modal-btn{
    padding: 10px 10px !important;
    border-radius: 8px !important;
    background:#ff6a00 !important;
    color:#fff !important;
}

.omnivalt_terminal_container_map a.tmjs-open-modal-btn:hover{
background:#e65f00 !important;
}


dfffdf {
    background: red;
    display: block;
    pointer-events: solid;
}


