/*
Theme Name: Hightech Theme
Description: Hightech Theme
Author: Starkup
Template: flatsome
Version: 1.2.0
*/

:root {
    --primary-color: #00564F;
    --primary-color-50: #3C736C;
    --black: #111;
    --gray-1: #E9EFEE;
    --gray-2: #C9D3D1;
    --white: #fff;
    --gray-1-lighter: #f2f8f7;
}

a.button.primary {
    border-radius: 8px;
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600 !important;
}

h1 {
    font-size: 32px;
    text-transform: none !important;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

@media (max-width: 850px) {
    h1 {
        font-size: 24px !important; /* within 22–28px */
    }
    h2, h3 {
        font-size: 20px !important; /* within 18–22px */
    }
    body, .product-short-description, .woocommerce-Tabs-panel, .category-description-long--bottom, .woocommerce-product-details__short-description {
        font-size: 16px !important; /* within 15–17px */
    }
    ul, ol, .product-specs-table, .woocommerce-Tabs-panel--tehnilised_andmed ul, .woocommerce-Tabs-panel--tehnilised_andmed ol {
        font-size: 15px !important; /* within 14–16px for bullet/specs */
    }
    p {
        font-size: 15px;
    }
}

li {
    margin-bottom: 0px !important;
}

button, .button, .wp-element-button, input[type="button"], input[type="email"] {
    border-radius: 12px;
}

input[type="submit"] {
    border-radius: 50px;
}

.page-checkout input[type="email"] {
    border-radius: 0px !important;
}

.simple-page {
    max-width: 1400px;
    margin: 0 auto;
}
.simple-page > .row {
    padding: 40px 15px 100px 15px;
}

.entry-content ul li {
    margin-left: 0;
}

.max-w-1600 {
    max-width: 1600px;
    margin: 0 auto;
}

.max-w-1500 {
    max-width: 1500px;
    margin: 0 auto;
}

.max-w-1400 {
    max-width: 1400px;
    margin: 0 auto;
}

.max-w-1370 {
    max-width: 1370px;
    margin: 0 auto;
}

.max-w-1340 {
    max-width: 1340px;
    margin: 0 auto;
}

.max-w-1300 {
    max-width: 1300px;
    margin: 0 auto;
}

.max-w-1200 {
    max-width: 1200px;
    margin: 0 auto;
}

.max-w-1100 {
    max-width: 1100px;
    margin: 0 auto;
}

.max-w-1000 {
    max-width: 1000px;
    margin: 0 auto;
}


/*
  Desktop
*/

.product-brand-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    width: calc(10 * 110px + 9 * 1rem);
    margin: 0 auto;
}

.product-brand-logos .product-brand-logo {
    width: 170px;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .product-brand-logos {
        width: 100%;
    }

    .product-brand-logos .product-brand-logo {
        width: 190px;
    }
}

@media (max-width: 768px) {
    .product-brand-logos {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .product-brand-logos .product-brand-logo {
        width: 100%;
    }
}

/**
* =======
* Product page
* =======
*/
.product-page-price {
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    gap: 10px !important;
}

.price-without-tax bdi {
    font-weight: 400;
    color: #666;
}

.single .product-brand-link > img {
    min-width: 160px;

}

.wpcf7-form-control-wrap {
    margin-top: 10px !important;
}
.wpcf7-email {
    margin-bottom: 6px !important;
    font-weight: 300;
}
.wpcf7-submit {
    border-radius: 12px !important;
    width: 100% !important;
} 

.product-brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-1);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s;
}

.product-brand-logo:hover {
    transform: translateY(-5px);
}

.product-brand-logo img {
    max-width: 100%;
    height: auto;
}
.product-brand-logo-name {
    font-size: 14px;
}
.product-brand-logo-name.small-text {
    font-size: 10px;
}
@media (max-width: 850px) {
    .product-brand-logo-name {
        font-size: 18px !important;
    }

    .product-brand-logo-name.small-text {
        font-size: 12px !important;
        font-weight: 400 !important;
    }
}

.wpcf7-disclaimer--wrapper {
    margin-bottom: 40px;
}

.wpcf7-disclaimer--wrapper p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    line-height: 1.3;
}

.wpcf7-disclaimer--wrapper a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.wpcf7-spinner {
    display: none !important;
}


/**
* =======
* Header
* =======
*/

#wide-nav > .flex-row > .flex-col {
    width: 100%;
}

#wide-nav > .flex-row > .flex-col > ul {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-left: 10px !important;
}

.logo-left .logo {
    margin-right: 90px;
}
@media (max-width: 850px) {
    #logo {
        margin: auto;
    }
}

#header .header-nav a {
    font-weight: 500 !important;
    text-transform: none !important;
}

.header-nav .custom {
    width: 100%;
}

/* language dropdown flag size */
.header-language-dropdown #ux-language-dropdown .icon-image img {
    width: 18px;
    height: auto;
}
.header-language-dropdown .image-icon img {
    max-width: 20px;
}

.icl_als_iclflag {
    max-width: 18px !important;
    height: auto;
}

/**
* =======
* Sidebar menu
* =======
*/

.mobile-menu__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mobile-menu__content .lang-switcher ul {
    display:flex;
    flex-direction: row;
    gap: 10px;
    width: fit-content;
    margin-bottom: 24px;
}

.mobile-menu__content .wpml-ls-current-language {
    border: 1px solid var(--gray-2);
}
.mobile-menu__content .wpml-ls-menu-item a {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* language option flag size */
.mobile-menu__content .wpml-ls-flag {
    max-width: 20px;
    height: auto;
    margin-right: 1px;
}

.header-menu-product-categories {
    margin-left: -10px !important;
}

.header-menu-categories-list {
    list-style: none;
    display: flex;
    gap: 40px;
    justify-content: flex-start;
}
.header-menu-categories-list > li > a {
    display: block;
    padding: 10px 0px;
    text-decoration: none;
}

.header-menu-categories-list > li > a.has-dropdown:after {
    content: "▼";
    font-size: 0.7em;
    margin-left: 6px;
    vertical-align: middle;
}

.header-menu-categories-list .dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 1000;
    min-width: 180px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.header-menu-categories-list > li.category-with-dropdown:hover > .dropdown-menu,
.header-menu-categories-list > li.category-with-dropdown:focus-within > .dropdown-menu {
    display: block;
}
.header-menu-categories-list .dropdown-menu li {
    width: 100%;
}
.header-menu-categories-list .dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--black);
    text-decoration: none;
    border-radius: 0;
    transition: background 0.2s, color 0.2s;
}
.header-menu-categories-list .dropdown-menu a:hover,
.header-menu-categories-list .dropdown-menu a:focus {
    color: #00564F;
}

@media (max-width: 1200px) {
    .header-menu-product-categories {
        gap: 10px;
        flex-wrap: wrap;
    }
    .header-menu-categories-list {
        flex-wrap: wrap;
        gap: 12px;
    }
}

#header .header-main,
#header .header-bottom {
    border-bottom: 1px solid var(--gray-1);
}

.header-menu-product-categories .category-with-dropdown {
    position: relative;
    display: flex;
}
.header-menu-product-categories .dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    z-index: 1000;
    min-width: 180px;
    border: 1px solid var(--gray-2);
    border-top: none;
}
.header-menu-product-categories .category-with-dropdown:hover .dropdown-menu {
    display: block;
}
.header-menu-product-categories .dropdown-menu a {
    display: block;
    padding: 10px 15px;
    white-space: nowrap;
    background: #e9efee;
}
.header-menu-product-categories .has-dropdown:hover,
.header-menu-product-categories .has-dropdown:focus {
    opacity: 0.6;
}

.header-menu-product-categories .dropdown-menu a:hover,
.header-menu-product-categories .dropdown-menu a:focus {
    opacity: 0.6;
}

/* Mobile: Always show dropdown menu, no hover behavior */
@media (max-width: 850px) {
    .header-menu-product-categories .category-with-dropdown .dropdown-menu,
    .header-menu-categories-list > li.category-with-dropdown > .dropdown-menu {
        display: block !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        min-width: 100% !important;
        border: none !important;
        /* border-top: 1px solid var(--gray-2) !important; */
        margin-top: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .header-menu-product-categories .category-with-dropdown:hover .dropdown-menu,
    .header-menu-categories-list > li.category-with-dropdown:hover > .dropdown-menu {
        display: block !important;
    }
    
    .header-menu-product-categories .category-with-dropdown {
        flex-direction: column !important;
        padding-left: 0 !important;
    }

    .header-menu-categories-list > li > a.has-dropdown:after {
        display: none !important;
    }
}

.searchform-wrapper {
    width: 170%;
    margin-left: 10px;
}
@media (max-width: 850px) {
    .searchform-wrapper {
        margin-left: 0px;
    }
}

form.searchform .ux-search-submit {     
    background-color: var(--gray-1);
    color: var(--black);
}

form.searchform input[type="search"] {
    border-radius: 12px 0 0 12px;
    background-color: var(--gray-1);
    border: none;
    padding: 10px;
    box-shadow: none;
    height: 3em;
    padding: 0 15px;
}

form.searchform button[type="submit"] {
    border-radius: 0 12px 12px 0;
    border: none;
    height: 3em;
    padding: 0 16px;
}
@media (max-width: 850px) {
    .mobile-nav>.search-form {
        padding: 8px 0;
    }
    form.searchform input[type="search"],
    form.searchform button[type="submit"] {
        height: 2.5em;
    }
}

form.searchform button[type="submit"]:hover {
    box-shadow: none;
}

i.icon-search {
    font-size: 1em;
}

.header-search-form-wrapper,
.searchform-wrapper,
.searchform  {
  width: 100% !important;
}
.header-search-form {
  width: calc(100% - 120px) !important;
}
@media (max-width: 849px) {
  .header-search-form {
    width: 100% !important;
  }
}

.header-language-dropdown a {
    /* color: var(--black) !important; */
    color: white !important;
}

.image-icon, .icon-image {
    padding: 0px 5px !important;
}

.header-language-dropdown .icon-angle-down {
    color: var(--black) !important;
}

.header-language-dropdown > a {
    font-size: 0px !important;
}

#header .account-item > a,
#header .cart-item > a {
    color: var(--black) !important;
}

ul.nav-dropdown {
    border: 1px solid var(--gray-1);
}

ul.nav-dropdown > li > a{
    color: var(--black) !important;
    font-weight: 400 !important;
}

/*
* =======
* Footer
* =======
*/

#footer ul {
    display: flex;
    flex-direction: column;
    gap: 4px !important;
    list-style: none;
}
@media (max-width: 850px) {
    #footer ul {
        gap: 10px !important;
    }
}

#footer ul li {
    margin-left: 0 !important;
}

#footer input[type="email"] {
    background-color: var(--gray-1);
    border: none;
    padding: 10px;
    box-shadow: none;
    height: 2.6em;
    padding: 0 15px;
}

#footer .footer-logos .col-inner > .row > .col > .col-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

#footer .footer-logos .ux-logo {
    padding: 0px;
    border-radius: 8px;
}

#footer .footer-logos .ux-logo-link {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px !important;
    border: 1px solid var(--gray-1);
    border-radius: 12px;
}

#footer .footer-logos .ux-logo-link img {
    max-height: 100%;
    max-width: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: brightness(0) invert(0);
}

#footer .footer-logos .no-filter .ux-logo-link img {
    filter: none !important;
}

#footer .kiire-tarne {
    width: max-content;
    border-radius: 8px;
    padding: 10px;
    color: var(--black) !important;
}

.transport-logo {
    position: relative;
}
.fast-delivery-badge {
    position: absolute;
    bottom: -12px;
    background: #fff;
    color: var(--primary-color);
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.dpd-logo img {
    padding-bottom: 7px;
    padding-top: 7px;
}

@media (min-width: 1200px) {
    #footer .form-wrapper {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-top: 15px;
    }

    #footer .wpcf7-form-control-wrap {
        margin: 0 !important;
    }
}

#footer .col-2 a {
    color: var(--black) !important;
    font-weight: 500 !important;
}

#footer .newsletter-form {
    color: var(--black) !important;
}

#footer .newsletter-form h2 {
    color: var(--black) !important;
}

#footer .newsletter-form label {
    color: var(--black) !important;
}

#footer .newsletter-form input {
    border-radius: 8px;
}


/**
* =======
* FAQ
* =======
*/

@media (max-width: 850px) {
    .s--faq .col-1  {
       padding-bottom: 0 !important;
    }
}


/**
* =======
* Home
* =======
*/

.home h1 {
    font-size: 28px !important;
    margin-bottom: 0px !important;
}
.home .s--h1 {
    padding-bottom: 0px !important;
}
.home .s--h1 .section-content > .row > .col {
    padding-bottom: 0px !important;
}
@media (max-width: 768px) {
    .home h1 {
        font-size: 22px !important;
        padding: 20px 20px 0px 20px;
    }
}

.h-s2 .box .box-image {
    border-radius: 8px 8px 0 0;
}

.h-s2 .box .box-text {
    border-left: 1px solid var(--gray-1);
    border-right: 1px solid var(--gray-1);
    border-bottom: 1px solid var(--gray-1);
    border-radius: 0 0 8px 8px;
}

.h-s2 .box .box-text .box-text-inner {
    text-align: left;
    padding: 0 4px;
}

.banner-s .row > .col {
    padding: 0 !important;
}

.banner-s.desktop .banner-col .img-inner {
    border-radius: 8px;
}

@media (max-width: 1200px) {
    .banner-s.desktop .banner {
        padding-top: 450px !important;
    }
}

@media (max-width: 1100px) {
    .banner-s.desktop .banner  {
        padding-top: 400px !important;
    }
}

@media (max-width: 950px) {
    .banner-s.desktop .banner  {
        padding-top: 350px !important;
    }
}

@media (max-width: 849px) {
    .banner-s.desktop .banner  {
        padding-top: 270px !important;
    }
    .banner  {
        padding-top: 50% !important;
    }
}

.s--lifestyle {
    padding-bottom: 0px !important;
}
.s--lifestyle h2 {
    font-size: 20px;
    margin-bottom: 5px;
}
  
/* Responsive: 2 per row on tablet */
@media (max-width: 900px) {

    .s--lifestyle .stack-row {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
      }
      
      .s--lifestyle .stack-row > * {
        flex: 1 1 30%;   /* 3 per row on desktop, adjust as needed */
        min-width: 250px; /* Prevents boxes from getting too small */
        max-width: 100%;
        --stack-gap: 0rem !important;
      }

      .s--lifestyle h2 {
        font-size: 18px !important;
    }
}
  
/* Responsive: 1 per row on mobile */
@media (max-width: 600px) {
    .s--lifestyle .stack-row > * {
      flex: 1 1 30%;
      min-width: 150px; /* Prevents boxes from getting too small */
    }
}


/**
* =======
* Product Single
* =======
*/

@media (max-width: 850px) {
    .product .product-title {
        font-size: 24px;
    }

    .product .product-title {
        font-size: 24px;
    }

} 

@media (max-width: 768px) {
    .product-thumbnails {
        display: none !important;
    }
}

.product-info form button[type="submit"] {
    font-size: 24px;
    border-radius: 8px !important;
}
@media (max-width: 850px) {
    .product-info form button[type="submit"] {
        flex: 1 auto;
    }
}

.product-info form input[type="number"] {
    font-size: 24px;
}

/* hide flatsome layoutbreadcrumb */
.product-info .woocommerce-breadcrumb {
    display: none;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    border: 1px solid var(--gray-1);
    border-radius: 8px;
    padding: 10px;
    min-height: 422px;

    display: flex;
    align-content: center;
    /* flex-wrap: wrap; */
}

.breadcrumbs-wrapper {
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    font-size: 14px;
    flex-wrap: wrap;
}
.single-product .breadcrumbs-wrapper {
    margin-top: 20px;
    /* margin-bottom: -20px; */
}

.breadcrumbs-wrapper a {
    color: hsla(0, 0%, 40%, .7);
}
.breadcrumbs-wrapper .breadcrumb-sep {
    margin: auto;
    margin-left: 5px;
    margin-right: 5px;
    opacity: .35;
}
.breadcrumbs-wrapper a:hover {
    color: var(--black);
}

.breadcrumbs-wrapper .woocommerce-breadcrumb {
    font-weight: 400;

    display: flex;
    align-content: center;
    flex-wrap: wrap;
    text-transform: none;
}

.row-small>.flickity-viewport>.flickity-slider>.col {
    padding: 0;
}
.row>div:not(.col):not([class^=col-]):not([class*=" col-"]) {
    width: 80% !important;
}
.single-product .product-thumbnails .flickity-viewport > .flickity-slider {
    left: 10px !important;
    gap: 5px;
    display: flex;
    flex-direction: column;
}
.single-product .product-thumbnails .flickity-viewport > .flickity-slider img {
    border-radius: 8px;
    margin-bottom: 0px;
    transform: none !important;
}
.product-thumbnails a {
    border: 0;
}
@media (max-width: 850px) {
    .product-thumbnails > .flickity-viewport {
        margin-top: 5px !important;
    }
    .row>div:not(.col):not([class^=col-]):not([class*=" col-"]) {
        width: 100% !important;
    }
    .single-product .product-thumbnails .flickity-viewport > .flickity-slider {
        left: 0px !important;
    }
    .product .row .row-small:not(.row-collapse) {
        margin-right: -5px !important;
    }
    .product .row .row-small:not(.row-collapse) {
        margin-left: -0px !important;
    }
    .product-thumbnails > .flickity-viewport > .flickity-slider > .col {
        padding-right: 5px !important;
    }
}

@media (max-width: 850px) {
    .wc-tabs {
        gap: 5px;
    }
    .small-nav-collapse>li {
        width: fit-content !important;
    }
}

.tabs.product-tabs {
    background: var(--gray-1-lighter);
}

.tabs.product-tabs a {
    padding: 10px 15px 8px 10px;
}

.product-footer .woocommerce-tabs {
    /* border-top: 1px solid var(--gray-1); */
    border-top: 0px;
}

/* Technical specifications tables styling */
.woocommerce-Tabs-panel--tehnilised_andmed table,
.woocommerce-Tabs-panel--tehnilised_andmed .product-specs-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-Tabs-panel--tehnilised_andmed table td,
.woocommerce-Tabs-panel--tehnilised_andmed table th,
.woocommerce-Tabs-panel--tehnilised_andmed .product-specs-table td,
.woocommerce-Tabs-panel--tehnilised_andmed .product-specs-table th {
    padding: 8px 0px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

/* Set consistent column widths - first column 30%, second column 70% */
.woocommerce-Tabs-panel--tehnilised_andmed table td:first-child,
.woocommerce-Tabs-panel--tehnilised_andmed table th:first-child,
.woocommerce-Tabs-panel--tehnilised_andmed .product-specs-table td:first-child,
.woocommerce-Tabs-panel--tehnilised_andmed .product-specs-table th:first-child {
    width: 30%;
    font-weight: 600;
}

.woocommerce-Tabs-panel--tehnilised_andmed table td:last-child,
.woocommerce-Tabs-panel--tehnilised_andmed table th:last-child,
.woocommerce-Tabs-panel--tehnilised_andmed .product-specs-table td:last-child,
.woocommerce-Tabs-panel--tehnilised_andmed .product-specs-table th:last-child {
    width: 70%;
}

/* Remove any existing strong tags styling to avoid conflicts */
.woocommerce-Tabs-panel--tehnilised_andmed table td strong,
.woocommerce-Tabs-panel--tehnilised_andmed .product-specs-table td strong {
    font-weight: inherit;
}

.product-main {
    padding-top: 15px !important;
}
.product-main .ux-product-brands > a {
    display: flex;
}
.product-main .ux-product-brands > a > img {
    margin: auto;
}

.product-main .product-gallery > .row > .col {
    padding: 0px !important;
}
@media (max-width: 850px) {
    .product-main {
        padding-bottom: 0px !important;
    }
}

.product-stock-status {
    color: #3C736C;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    /* border: 1px solid #3C736C; */
    background-color: var(--gray-1);
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.product-short-description p {
    margin-bottom: 0px;
}

.product_meta .product-ean {
    display: block;
    /* margin-top: 5px; */
    font-size: 1em;
    border-top: 0px !important;

    width: fit-content;
    /* display: block; */
    float: left;
    margin-right: 20px;
}
.product_meta .sku_wrapper {

    width: fit-content;
    /* display: block; */
    float: left;
}
.product_meta>span {
    border: 0;
}

.parcel-not-available {
    color: #3C736C;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    background-color: var(--gray-1);
    padding: 5px 15px;
    border-radius: 50px;
}

.product-gallery > .row {
    /* padding-left: 10px !important; */
    margin-left: -2px !important;
    padding-bottom: 20px;
}

.product-thumbnails .flickity-slider > .col {
    padding: 0px !important;
}

.cross-sells .products .box-text .price-wrapper .price {
    font-size: 14px !important;
    display: flex !important;
    flex-direction: column-reverse !important;
}

.tootja-url {
    margin: 40px 0 40px 0 !important;
}


/**
* =======
* Product list/listing/archive
* =======
*/

.category-header-inner {
    max-width: 1370px;
    margin: 0 auto;
}

.category-header-outer {
    background-color: var(--gray-1);
    width:100%;
}

.category-header-row {
    padding: 20px 0 0 0;
    max-width: 100% !important;
    align-items:center;
}

.category-header-row > .col:first-child {
    padding: 0 15px;
}

.category-header-row > .col:last-child {
    padding: 0 15px 20px 15px;
}

.product-section {
    border-top: 0px;
}

.products .box,
.product-section .box {
    border: 1px solid var(--gray-1);
    border-radius: 8px;
}

.products .box .box-text,
.product-section .box .box-text {
    padding: 15px;
}
@media (max-width: 850px) {
    .products .box .box-text,
    .product-section .box .box-text {
        padding: 8px;
    }
}

.products .box-image img,
.product-section .box-image img {
    padding: 4px;
}

.products .box .product-title > a {
    font-size: 14px;
    font-weight: 400 !important;
    margin-bottom: 3px;
}

.products .price-wrapper > .price {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
}
@media (max-width: 900px) {
    .category-page-row .shop-container .products {
        margin-left: -10px;
        margin-right: -10px !important;
    }
}

#shop-sidebar .widget-title {
    color: var(--black);
}

#shop-sidebar .is-divider {
    visibility: hidden;
    margin-top: 0;
}

.shop-page-after-pagination {
    margin-top: 20px;
}

.price_slider_amount {
    display: flex;
    flex-direction: column-reverse;
}

.price_slider_amount button {
    margin-right: 0;
    margin-top: 10px;
}

.price_slider .price_label {
    color: var(--black);
}

.widget_price_filter .ui-slider-horizontal {
    margin-right: 5px;
}

.product-categories {
    border: 1px solid var(--gray-1);
    border-radius: 8px;
    padding: 8px;
}
.product-categories .cat-item {
    margin-left: 20px;
}
.product-categories .cat-item > a {
    font-weight: 400 !important;
}

.widget>ul>li+li {
    border-top: none;
}
.category-description-long--bottom {
    margin-top: 20px;
}

  .product form.cart .ux-product-brands-inline {
    flex: 1 1 20%;
  }

  .product .ux-product-brands-inline { 
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--black);
    padding: 10px;
    border-radius: 8px;
  }

  .product .ux-product-brands-inline > a {
    align-content: center;
    flex-wrap: wrap;
  }

  .product .ux-product-brands-inline img {
    object-fit: contain !important;
    display: block;
    background: transparent;
  }

.woocommerce-result-count {
    margin-right: 0px;
}

.woocommerce-checkout .wc-block-components-button:hover {
    color: var(--gray-1) !important;
}

.woocommerce-checkout .scroll-to-bullets {
    display: none;
}

/* Top level category page styling */

.top-cat-archive .shop-sidebar-toggle {
    visibility: hidden !important;
    padding: 0px !important;
    font-size: 0px !important;
}
@media (min-width: 1200px) {    
    .top-cat-archive .products .product-category {
        flex-basis: 20%;
        max-width: 20%;
    } 
}
.top-cat-archive .products img {
    padding: 0px !important;
    border-radius: 8px 8px 0 0 !important;
}
/* .top-cat-archive .products .product-category .box-image {
    aspect-ratio: 3 / 4;
} */
.top-cat-archive .products .box .box-text .box-text-inner {
    text-align: left;
    padding: 0 10px;
}
.top-cat-archive .products .box .header-title {
    font-size: 20px !important;
    line-height: 26px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    /* font-weight: 600 !important; */
}
@media (max-width: 850px) {
    .top-cat-archive .products .box .box-text {
        padding: 10px 0px;
    }
    .top-cat-archive .products .box .header-title {
        padding: 0;
        word-break: break-word;
    }
}



/**
* =======
* Cross sells, Upsells and related products 
* =======
*/
.cross-sells,
.cart-cross-sells {
    margin-top: 50px;
  }

.cross-sells > .products > .row,
.cart-cross-sells .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -9.8px !important;
}

.cross-sells h2,
.cart-cross-sells h2 {
    font-size: 24px !important;
}

.cross-sells h3,
.cart-cross-sells h3 {
    font-size: 14px !important;
    font-weight: 400 !important;
}

.cross-sells .product-small.col,
.cart-cross-sells .product-small.col {
  width: 33.3333% !important;
  max-width: 33.3333% !important;
  flex: 0 0 33.3333%;
  padding: 0 9.8px 19.6px !important;
  box-sizing: border-box;
}

.archive .category-page-row .hide-for-medium {
    display: block !important;
}

@media (max-width: 1000px) {
  .cross-sells .product-small.col,
  .cart-cross-sells .product-small.col {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50%;
  }
}



.box-image .second-image {
    object-fit: contain !important;
    background: white;
    transition: opacity 0.2s ease-in-out !important;
    margin: 4px;
}
.box-image .second-image:hover {
    opacity: 1 !important;
}


@media (max-width: 850px) {
    .shop-sidebar-toggle {
        display: block;
        width: 100%;
        padding: 6px;
        border-radius: 8px;
        border: 1px solid var(--gray-1);
        font-size: 16px;
        text-align: left;
        margin-bottom: 10px;
        cursor: pointer;
    }

    .category-page-row {
        padding-top: 0px !important;
    }

    button.shop-sidebar-toggle {
        display: flex;
        gap: 10px;
    }
    .shop-sidebar-toggle-icon {
        align-items: center !important;
        display: flex !important;
        align-content: center !important;
        flex-wrap: wrap !important;
        height: 30px;
    }
    .shop-sidebar-toggle-text {
        height: 30px;
        line-height: 30px;
    }
    .shop-sidebar-toggle-icon .shop-sidebar-toggle-icon-inner {
        justify-content: center !important;
        height: 100% !important;
        padding-top: 5px !important;
    }

    .sidebar-inner {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 80vw;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 2000;
        box-shadow: 2px 0 12px rgba(0,0,0,0.15);
        overflow-y: auto;
        padding: 24px 16px;
        transition: transform 0.3s;
    }
    .sidebar-inner.open {
        display: block;
    }
    /* Optional: overlay for closing - blocks all click-through when active */
    .shop-sidebar-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.3);
        z-index: 1999;
        pointer-events: none;
        cursor: pointer;
    }
    .shop-sidebar-overlay.active {
        display: block;
        pointer-events: auto;
    }
    /* Hide sidebar in column by default on mobile */
    .category-page-row .col.large-3 {
        display: none;
    }
    .category-page-row .col.large-3.sidebar-open {
        display: block;
        position: static;
        width: 100vw;
        max-width: 100vw;
        z-index: 2000;
    }

}
@media (min-width: 850px) {
    .shop-sidebar-toggle,
    .shop-sidebar-overlay {
        display: none !important;
    }
    .sidebar-inner {
        display: block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
}


/**
* =======
* Cart
* =======
*/

.woocommerce-cart .wc-block-components-button:hover {
    color: var(--gray-1) !important;
}


/**
* =======
* Checkout
* =======
*/

/* .woocommerce-form-coupon-toggle a {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
} */

.wc-block-components-order-summary-item {
    font-size: 14px;
}

.wc-block-components-order-summary-item .wc-block-components-product-name {
    font-size: 14px;
}

.wc-block-components-product-metadata__description {
    display: none;
}

.wc-block-components-order-summary-item__total-price {
    display: none;
}

.wc-block-components-order-summary-item__individual-prices {
    font-size: 16px;
}

  .woocommerce-terms-and-conditions-checkbox-text,
  .woocommerce-privacy-policy-text {
    font-weight: 400;
  }
  .woocommerce-terms-and-conditions-checkbox-text a,
  .woocommerce-privacy-policy-text a {
    font-weight: 600;
    text-decoration: underline;
    color: var(--primary-color);
  }

.woocommerce-checkout nav.breadcrumbs.checkout-breadcrumbs > a.hide-for-small,
.woocommerce-checkout nav.breadcrumbs.checkout-breadcrumbs > span.hide-for-small{
    display: block !important;
}
@media (max-width: 768px) {
    .checkout-breadcrumbs {
        padding: 0px !important;
    }
    .page-checkout {
        padding-top: 5px !important;
    }
}

/* Alternative approach using flexbox for better alignment */
.social-links-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-link-item {
    display: flex;
    align-items: baseline;
}

.social-link-item .icon-svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    line-height: 1;
    background: none !important;
    border-radius: 0 !important;
    top: -16px;
    position: relative;
    margin-right: 10px;
    margin-left: -2px;
}

.social-link-item .icon-svg svg {
    width: 100%;
    height: 100%;
}

.social-link-item .social-text {
    flex: 1;
    line-height: 1.4;
}

/* Ensure consistent spacing and alignment */
.social-links-container a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: baseline;
}

.social-links-container a:hover {
    text-decoration: underline;
}

/* Remove any existing background from social media icons */
.social-links-container .icon-svg,
.social-links-with-icon .icon-svg {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Override any existing styles that might add background */
.social-links-container *,
.social-links-with-icon * {
    background: transparent !important;
}

/*
* =======
* Custom form pages
* =======
*/

.circle-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    border: 2px solid #00564f;
    margin: 0 auto;
margin-bottom: 16px;
}
    
.circle-container img {
width: 100%;
height: 100%;
object-fit: cover;
}

.social-icons > a.icon {
    margin-bottom: 0 !important;
}