/*
Theme Name: Unipart Store
Theme URI: TBD
Author: Enterprise Applications
Description: E-Commerce template designed for use with WooCommerce 
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


.card-img-top {
    height: 200px;
    border-radius: 0px;
    object-fit: cover;
}

.card {
    border-radius: 0px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-outline-primary {
    border-color: rgba(0, 0, 0, 0.229);
    border-radius: 50px;
    height: 56px;
    font-size: 14px;
    color: #002169;
    padding-left: 30px;
    padding-right: 30px;
}

.btn-outline-primary i {
    font-size: 26px;
}

.btn-outline-primary:hover {
    background-color: #002169;
   
    color: white
}

h1 {
   font-size: 48px;
}

h2 {
    color: #002169;
    font-size: 20px;
}

h3,h4, h5, h6 {
    color: #002169 !important;
    font-size: 16px !important;
}

a {
    color: #002169;
}


body {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    overflow-x: hidden !important;
}

body {
  padding-right: 0 !important;
}

.header-logo {
    width: 160px;
    max-width: 100%;
}

@media (max-width: 992px) {
   .header-logo {
    margin-top: 10px;
    margin-left: 10px;
    width: 100px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .header-logo {
        margin-left: 10px;
        margin-top: 10px;
    }
}

.mobile-nav-icons {
    display: none;
    color: #002169;
}

@media (hover: none) and (pointer: coarse) {
    .mobile-nav-icons {
        display: block;
    }
}

.mobile-nav-icons a {
    color: #002169;
}
.mobile-account-icon {
    font-size: 35px;
}

.mobile-burger-menu-icon {
    font-size: 40px;
}

.mobile-nav-menu {
    padding-left: 0px;
}

.mobile-nav-menu-header {
    font-size: 14px;
    margin: 0;
    color: #002169;
    font-style: italic;
}

.mobile-nav-menu li{
    list-style-type: none;
    padding: 10px;
    padding-top: 20px;
    padding-left: 0px;
    width: 100%;
}

.mobile-nav-menu a {
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-weight: 300;
}

.mobile-nav-menu .has-children {
    position: relative; /* Needed for positioning the toggle button */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.mobile-nav-menu .has-children > a {
    flex-grow: 1; /* Allow the link to take up available space */
}

.mobile-nav-menu .submenu-toggle {
    background: none;
    border: none;
    color: #002169;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

/* Hide sub-menus by default */
.mobile-nav-menu .mobile-child-menu,
.mobile-nav-menu .mobile-grandchild-menu {
    display: none;
    width: 100%; /* Ensure sub-menus take full width */
}

.top-nav {
    background-color: #F1F1F1 !important;
    height: 40px;
}

.top-nav ul li {
    list-style-type: none;
    height: auto;
}

.top-nav ul li a {
    text-decoration: none;
    color: #002169;
    font-weight: 300;
    font-size: 12px
}

.top-nav ul li + li::before {
  content: "|";
  margin: 0 8px;
  color: '002169'; 
}

.search-bannner-container{
    padding-top: 20px;
    padding-bottom: 20px;
}

.search-box {
    position: relative;
    display: inline-block;
}

.search-bannner-container input {
    border-radius: 48px;
    border: 1px solid #002169;
    height: 58px;
    padding-left: 20px;
}


.search-box .search-icon {
  position: absolute;
  font-size: 30px;
  color: #002169;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.mobile-search-icon, .mobile-cart-icon {
    font-size: 30px;
}

.nav-container {
    background-color: #002169 !important;
    height: 80px;
    position: relative;
    display: none;
}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
    .nav-container {
        display: block;
    }
}

.menu-items {
    margin-top: 5px;
    position: relative;
    padding-left: 0px;
}



.nav-container .menu-items li {
    list-style-type: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
}

.nav-container .menu-items li:hover {
    background-color: white;
    color: #002169;
}

.nav-container .menu-items li:hover a{
    background-color: white;
    color: #002169;
}



.nav-container .menu-items > li a {
    color: white;
    font-weight: 300;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 5px solid transparent;
    transition: border-color 0.5s ease-in-out, padding-bottom 0.5s ease-in-out, padding-top 0.5s ease-in-out;
}

.nav-container .menu-items > li > a:hover {
    font-weight: 300;
    font-size: 16px;
    list-style-type: none;
    cursor: pointer;
    border-bottom: 5px solid red;
    padding-bottom: 10px;
    padding-top: 10px;
}

.nav-container .menu-items > li:hover > a i::before {
    transform: rotate(180deg);
    color: #002169;
}

.nav-container .menu-items > i::before {
    color: white;
    margin-left: 15px;
    margin-top: 5px;
    padding-top: 5px;
    transition: transform 0.2s ease-in-out;
}

.dropdown-container {
  width: 100%;    
  background-color: white;
  position: absolute;
  left: 0%;
  top: 100%;
  z-index: 100;
  border-bottom: 5px solid red;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease-in-out;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.dropdown-container.visible {
  opacity: 1;
  pointer-events: auto;
}

.single_add_to_cart_button {
    width: 100%;
    border-radius: 25px !important;
}


.dropdown-container .child-menu {
width: 100%;
}

.dropdown-container .child-menu li {
    list-style-type: none;
    padding-left: 0px;
}

.dropdown-container .child-menu li a {
    color: #002169;
    font-weight: 400;
} 

.nav-featured-image { 
    width: 100% !important;
    height: 200px !important;
}

.bi-chevron-right {
    color: #002169;
}

.benefit-bar {
    height: 106px;
    background-color: #F1F1F1;
}

.benefit-bar .col-3 {
    color: #000000; 
    font-weight: 600; 
    font-size: 13px; 
}

.benefit-bar .col-3 span {
    font-weight: 300;
}

.benefit-item {
    border-right: 1px solid #002169;
}

.hero-container {
  position: relative;
  height: 550px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 576px) {
    .hero-container {
    height: 400px;
    }
}

.hero-heading-container {
  height: 312px;
  width: 100%;
  opacity: 0.95;
  border-top-right-radius: 156px;
  border-bottom-right-radius: 156px;
  display: flex;
  align-items: center;
}
.hero-heading-container h1, .hero-heading-container h2 {
    color: white;
    font-weight: 300;
    font-size: 48px;
}

@media (max-width: 576px) {
    .hero-heading-container h1, .hero-heading-container h2 {
        width: 90%;
        font-size: 36px;
    }
}

@media (min-width: 577px) and (max-width: 991.98px) {
    .hero-heading-container h1, .hero-heading-container h2 {
        width: 50%;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px){
    .hero-heading-container h1, .hero-heading-container h2 {
        width: 40%;
    }
}

@media (min-width: 1200px) {
    .hero-heading-container h1, .hero-heading-container h2 {
        width: 30%;
    }
}



.hero-heading-container::before {
  content: "";
  position: absolute;
  top: 50;
  left: calc(-50vw + 50%);
  width: 40vw;            
  height: 312px;
  background-color: #002169;
  opacity: 0.95;
  border-top-right-radius: 156px;
  border-bottom-right-radius: 156px;
  z-index: -1;
}

@media (max-width: 576px) {
    .hero-heading-container::before {
        width: 99vw;
        height: 250px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-heading-container::before {
    width: 70vw;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-heading-container::before {
    width: 70vw;
  }
}

@media (min-width: 1200px) {
  .hero-heading-container::before {
    width: 50vw;
  }
}

.hero-heading-container h1 {
    color: white
    ;
    font-weight: 300;
}

.hero-heading-container a {
    font-size: 20px;
    color: white;
    font-weight: 300;
}

.popular-products h2 {
    font-size: 32px;
    font-weight: 300;
    color: #002169;
}

@media (max-width: 576px) {
    .popular-products h2 {
        font-size: 24px;
    }
}

.popular-products img {
    border-radius: 100%;
    width: 150px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

@media (max-width: 576px) {
    .popular-products img {
        width: 170px;
    }
}

.popular-products img:hover {
    transform: scale(1.05);
}

.popular-products p {
    font-size: 20px;
    color: #002169;
    font-weight: 400;
    border-bottom: 5px solid transparent;
    transition: border-bottom 0.5s ease-in-out;
}

/* Smaller, consistent height on mobile */
@media (max-width: 767.98px) {
    .popular-products p {
        font-size: 14px !important;
    }
}

.popular-products img:hover + p {
    border-bottom: 5px solid red;
}


.scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  height: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

@media (min-width: 1024px) {
  .scroll-container {
    overflow-x: visible;
    white-space: normal;
    scroll-snap-type: none;
  }

  .scroll-container::-webkit-scrollbar {
    display: none;
  }
}

.highlight-product-content {
    background-color: #F1F1F1;
    padding: 150px;
}

@media (max-width: 576px) {
    .highlight-product-content {
        padding: 30px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .highlight-product-content {
        padding: 60px;
    }
}



.highlight-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlighted-product p {
    color: #000000;
    font-size: 24px;
}

.highlighted-product h3 {
    font-size: 40px;
    color: #000000;
    font-weight: 400
}

.highlighted-product span {
    font-size: 20px;
    color: #000000;
    font-weight: 300;
}

.highlighted-product .button {
    width: 100%;
    height: 50px;
    border-radius: 30px;
    background-color: #012169;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
}

.register .button {
    width: 100%;
    height: 50px;
    border-radius: 30px;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    background-color: #002169;
}


.recent-orders h2 {
    font-size: 32px;
    font-weight: 300;
    color: #002169;
}

.recent-orders h5 {
    font-size: 20px;
    font-weight: 400;
    color: #002169;
}

.recent-orders .card p {
    color: #002169;
    font-weight: 300;
    font-size: 16px;
}

.recent-orders a {
    text-decoration: none;
    color: #002169;
    font-weight: 500;
    font-size: 16px;
}

.filter-headline p {
    color: #002169;
    font-size: 24px;
    font-weight: 300;
}


.card.product-card {
    border: 0px;
}

.card.product-card .card-img-top{
    height: 303px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    object-fit: cover;
    padding: 0px;
    object-fit: contain;
}

.card.product-card .card-title{
    font-size: 16px;   
    color: #002169; 
    display: block;
}


.category-headline {
    color: #002169;
    font-size: 40px;
    font-weight: 400;
}

.footer-container {
    background-color: #F1F1F1;
}

.footer-container h3 {
    color: #002169;
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 15px;
}


.footer-container ul li {
    list-style-type: none;
    padding-bottom: 15px;
    color: #002169;
    font-size: 14px;
}

.child-item {
    padding: 4px;
    display: flex !important;
    align-items: start !important;
    justify-content: start !important;
}

.child-item > a {
    border-bottom: 3px solid transparent !important;
}
.child-item > a:hover {
    border-bottom: 3px solid red !important;
}
    
.child-item a {
    margin: 0px;
    padding-top: 3px;
    padding-left: 3px;
    margin-left: -3px;
}


.grandchild-menu {
width: 100%;
}

.grandchild-menu li {
    list-style-type: none !important;
    padding-left: 0px !important;
    padding-top: 10px;
}

.grandchild-menu li a {
    border-bottom: 3px solid transparent !important;
    color: #002169 !important;
    font-weight: 400 !important;
} 

.grandchild-menu li a:hover {
      border-bottom: 3px solid red !important;
} 


.flex-control-nav.flex-control-thumbs {
    display: flex !important;     
    flex-direction: row !important;
    flex-wrap: wrap;              
    justify-content: start;      
    gap: 10px;                     
    padding-left: 0;               
    list-style: none;             
}


.flex-control-nav.flex-control-thumbs li {
    float: none !important;        
    margin: 0;                      
}

.flex-control-nav.flex-control-thumbs li img {
    width: 120px;                   
    margin: 8px 0 0;                      
    height: auto;
    border-radius: 0px;
    cursor: pointer;
}

.flex-control-nav.flex-control-thumbs li img.flex-active {
    border: 2px solid #002169;    
}

.woocommerce-product-gallery__trigger {
    text-decoration: none;
    display: none;
}

.product-title {
    color: #002169;
    font-size: 30px;
}

.woocommerce-message, .woocommerce-info {
    border-top-color: red;
    background-color: #002169;
    color: white;
}


.btn .badge {
    font-size: 0.7rem;
    width: 1.2rem;
    height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: red !important;
}

.woocommerce-cart-form table thead tr th{
background-color:#002169 !important;
color: white;
}

.woocommerce-cart-form table a, .woocommerce-table__product-name .product-name {
color: #002169;
font-size: 14px;
font-family: inherit;
text-decoration: none;
}

.checkout-button {
    background-color: #002169 !important;
}

.product-price {
    color: #002169;
}

.woocommerce-Price-amount {
    color: #002169;
}

.woocommerce .quantity .qty {
    color: #002169;
}

.woocommerce .cart .button, .woocommerce .cart input.button, .wc-backward{
    background-color: #002169 !important;
    color: white !important;
}

@media (min-width: 772px) {
    .unipart-add-to-cart-form {
        width: 75% !important;
    }

    td.actions .coupon {
        display: flex;
    }
    td.actions input#coupon_code {
        width: unset;
    }
}
@media (max-width: 772px) {
    form.cart {
        display: grid !important;
        margin-bottom: 20px !important;
        gap: 1rem;
        width: 100%;
        justify-content: unset !important;
    }
    .woocommerce .cart .button, .woocommerce .cart input.button, .wc-backward {
        background-color: #002169 !important;
        color: white !important;
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 15px;
        margin-bottom: 1em;
    }
    
    td.actions .coupon {
        display: flex;
    }
    td.actions .coupon button.button {
        margin: 0px !important;
    }
}

.woocommerce .cart .button:disabled,
.woocommerce .cart input.button:disabled,
.woocommerce .cart .button.disabled,
.woocommerce .cart input.button.disabled {
    color: rgba(255, 255, 255, 0.559) !important;
}

.restore-item {
    color: red;
}

form.cart {
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 20px;
}

.product-info p {
    font-size: 16px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    color: white !important;
    background-color: #002169 !important;
}
.nav-link {
    color: #002169;
}

.nav-link:focus, .nav-link:hover {
    color: #002169;
}

.woocommerce-billing-fields {
    background-color: #EEF0F6;
    padding: 30px;
    border-radius: 5px;
}

.woocommerce-billing-fields h3 {
    color: #002169;
}

#order_review_heading {
    color: #002169;
}

th.product-name, th.product-total {
    background-color: #002169;
    color: white;
}

th.product-name {
    border-top-left-radius: 5px;
}

th.product-total {
    border-top-right-radius: 5px;
}

#payment {
    background-color: #EEF0F6 !important;
}

.woocommerce table.shop_table td {
    font-size: 14px;
}

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
    color: #002169;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    background-color: #002169;
    color: white;
}

/* Make recent orders horizontally scrollable on mobile */
.recent-orders .row {
scrollbar-width: none;
}

.cart-count-badge {
  color: #fff;
  font-size: 0.65rem;
  min-width: 18px;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  padding: 0 4px;
  border-radius: 50%;
  transform: translate(-50%, -30%);
  top: 6px;
}

.rs-request-form {
    background-color: #EEF0F6;
    padding: 30px !important;
}

.rs-request-form h4{
    color: #002169;
}

.rs-request-form input {
    border-radius: 5px;
    height: auto;
    padding: .5em;
    border: 1px solid black;
    width: 100% !important;
}

.rs-request-form input[type="checkbox"] {
    width: auto !important;
}

.rs-request-form label {
    width: 100%;
}

.rs-request-form select {
    padding: .5em;
    width: 100%;
}

.rs-request-form textarea {
    width: 100%;
}

.register-heading, .register-desc {
    color: #002169;
}

.rs-request-form button {
    background-color: #002169;
    color: white;
    width: 100%;
    padding: 1em;
}

.accordion-button:not(.collapsed) {
    background-color: #002169 !important;
    color: white;
}
.accordion-button:focus {
    box-shadow: none !important;
}
.accordion-button:not(.collapsed)::after {
    color: red;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
    background-color: #002169;
    color: white;
}

.card-img-top.popular-products {
    height: 300px !important;
    object-fit: contain !important;
}

.woocommerce-form-login {
    border: 0px !important;
    padding-left: 0px !important;
}

.login-form-container {
    position: relative;
    padding-right: 50px;
}

.login-form-container::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%; 
  height: 60%; 
  border-right: 1px solid black; 
}

header {
  position: sticky;
  top: 0;
  z-index: 1; /* Keeps header above all other content */
  background: #fff; /* Ensure background covers content behind */
}

header .container-fluid,
header .container-xl {
  background: inherit;
  z-index: 2;
}

header.is-sticky {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce-404 {
  text-align: center;
  padding: 4rem 1rem;
}

.page-title,
.page-title h1{
    color: #002169 !important;
    font-size: 32px !important;
}

.woocommerce-404 .page-title h1{
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.woocommerce-404 .page-content {
  max-width: 900px;
  margin: 0 auto;
}

.woocommerce-404 .woocommerce-404-suggested-products {
  margin-top: 3rem;
}

.woocommerce-404 .woocommerce-404-suggested-products h2 {
  margin-bottom: 1.5rem;
}

.woocommerce-404 .back-to-shop .button {
  margin-top: 2rem;
}

/* Highlighted product section */
.highlighted-product .row {
  align-items: stretch;
}

.highlight-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.highlight-product-content {
  padding: 3rem;
}

.highlight-product-content h3 a {
  text-decoration: none;
}

.popular-products ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.popular-products ul.products li.product {
  flex: 1 1 calc(25% - 2rem);
  max-width: calc(25% - 2rem);
}

.popular-products ul.products li.product .price {
  display: none;
}

.popular-products ul.products li.product .button {
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .popular-products ul.products li.product {
    flex: 1 1 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
}

@media (max-width: 575.98px) {
  .popular-products ul.products {
    flex-direction: column;
  }

  .popular-products ul.products li.product {
    max-width: 100%;
  }
}

.recent-orders .card-img-top {
  width: 100%;
  height: 220px;           /* adjust height to what looks best in your design */
  object-fit: cover;
  object-position: center;
  display: block;
}

.highlight-product-image img {
  width: 100%;
  height: 100%;
  max-height: 400px;       /* optional: control max height */
  object-fit: cover;
  object-position: center;
  display: block;
}

.report-issue-tab {
  position: fixed;
  top: 50%;
  right: -3.5rem; /* pull it partly off-screen so the edge sits on the side */
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  z-index: 9999;

  background: #dc2626 !important; /* red */
  color: #f9fafb;
  padding: 1rem 1.8rem;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  border-radius: 20px 20px 0px 0px; /* pill shape */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.report-issue-tab:hover,
.report-issue-tab:focus {
  background: #b91c1c !important; /* darker red on hover */
  color: #ffffff;
}

.issue-report-form .card {
  border-top: 4px solid #E21B24 !important; /* Unipart red */
}

.issue-report-form .text-primary {
  color: #E21B24 !important;
}

.issue-report-form .form-label {
  font-weight: 600;
}

.issue-report-form .btn-primary {
  background-color: #E21B24 !important;
  border-color: #E21B24 !important;
}

.issue-report-form .btn-primary:hover,
.issue-report-form .btn-primary:focus {
  background-color: #b8151c !important;
  border-color: #b8151c !important;
}

.issue-report-form .form-control:focus,
.issue-report-form .form-select:focus {
  border-color: #E21B24 !important;
  box-shadow: 0 0 0 0.2rem rgba(226, 27, 36, 0.15);
}

.issue-report-form .card,
.unipart-contact-form .card {
  border-top: 4px solid #E21B24 !important; /* Unipart red */
}

.unipart-contact-form .text-primary {
  color: #E21B24 !important;
}

.unipart-contact-form .form-label {
  font-weight: 600;
}

.unipart-contact-form .btn-primary {
  background-color: #E21B24 !important;
  border-color: #E21B24 !important;
}

.unipart-contact-form .btn-primary:hover,
.unipart-contact-form .btn-primary:focus {
  background-color: #b8151c !important;
  border-color: #b8151c !important;
}

.unipart-contact-form .form-control:focus,
.unipart-contact-form .form-select:focus {
  border-color: #E21B24 !important;
  box-shadow: 0 0 0 0.2rem rgba(226, 27, 36, 0.15);
}

.my-account-link-container {
    background-color: #002169;
    height: 100px;
    border-radius: 10px;
    cursor: pointer;
}

.my-account-link-container a {
    text-decoration: none;
    color: #FFFFFF;
}

.my-account-link-container i {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 20px;
}

.my-account-link-container p {
    text-decoration: none;
    color: #FFFFFF;
}

.scroll-row {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.5rem; 
    flex-wrap: nowrap;
    scrollbar-width: none; 
}

.scroll-row::-webkit-scrollbar {
    display: none;
}

.single_add_to_cart_button,
.single_add_to_cart_button.button,
.single_add_to_cart_button.btn {
    font-weight: 400; /* normal */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.woocommerce div.product div.woocommerce-product-gallery__image {
    margin-bottom: 1rem;
}

.woocommerce div.product .woocommerce-product-gallery__image.product-qr-thumb {
    max-width: 80px;
    cursor: pointer;
}

.qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 20px !important;
}

.qty-wrapper .qty-btn {
    border: none;
    background: #f5f5f5;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.qty-wrapper .qty-btn:hover {
    background: #e5e5e5;
}

.qty-wrapper input.qty {
    width: 3rem;
    text-align: center;
    border: none;
    box-shadow: none;
}

.product-tabs .nav-tabs .nav-link {
    font-weight: 500;
}

.product-tabs .nav-tabs .nav-link.active {
    background-color: #ffffff;
    border-color: #dee2e6 #dee2e6 #ffffff;
}

.product-tabs .tab-content {
    background-color: #ffffff;
}

/* Hide any collapse toggles inside the product tabs */
.product-tabs [data-bs-toggle="collapse"],
.product-tabs .accordion-button {
    display: none !important;
}

/* Force the collapsed content to show as open */
.product-tabs .collapse,
.product-tabs .accordion-collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
}

.flex-control-thumbs .product-qr-thumb {
    cursor: pointer;
}
.flex-control-thumbs .product-qr-thumb img {
    max-width: 100%;
    height: auto;
}

/* Thumbnails under the main product image */
.woocommerce div.product .flex-control-thumbs {
    list-style: none;       /* no numbers/bullets */
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    clear: both;            /* forces them below any floated main image */
}

/* Each thumbnail item */
.woocommerce div.product .flex-control-thumbs li {
    flex: 0 0 auto;
    width: 64px;            /* tweak size as you like */
    cursor: pointer;
}

/* Thumbnail images */
.woocommerce div.product .flex-control-thumbs img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* QR "thumb" can be a bit special if needed */
.woocommerce div.product .flex-control-thumbs .product-qr-thumb img,
.woocommerce div.product .flex-control-thumbs .product-qr-thumb canvas,
.woocommerce div.product .flex-control-thumbs .product-qr-thumb svg {
    width: 100%;
    height: auto;
}

/* Make the gallery stack: main image on top, thumbs below */
.single-product div.product .woocommerce-product-gallery {
    display: flex;
    flex-direction: column;
}

/* Main image (figure) first */
.single-product div.product .woocommerce-product-gallery > figure {
    order: 1;
}

/* Thumbnails under the main image */
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    order: 2;
    list-style: none;      /* no numbers/bullets */
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

/* Each thumbnail item */
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 auto;
    width: 70px;           /* tweak to taste */
    margin: 0;
}

/* Thumbnail images */
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Wrapper styling */
.qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

/* - / + buttons */
.qty-wrapper .qty-btn {
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
}

.qty-wrapper .qty-btn:hover {
    background: #e5e5e5;
}

/* Number input */
.qty-wrapper input.qty {
    width: 2.5rem;             /* narrower */
    text-align: center;
    border: none;
    padding: 0.2rem 0.3rem;    /* less vertical padding */
    box-shadow: none;
    font-size: 0.9rem;
}

/* Hide browser spin buttons */
.qty-wrapper input.qty[type=number]::-webkit-inner-spin-button,
.qty-wrapper input.qty[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-wrapper input.qty[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

/* ==== SINGLE PRODUCT GALLERY & QTY – CLEAN, CONSISTENT ==== */

/* Make the gallery behave like a normal block */
.single-product div.product .woocommerce-product-gallery.images {
    display: block;
}

/* Stack main image then thumbs */
.single-product div.product .woocommerce-product-gallery {
    display: flex;
    flex-direction: column;
}

/* Main image wrapper – same height for all products */
.single-product div.product .woocommerce-product-gallery__image {
    position: relative;
    width: 100%;
    height: 500px;           /* desktop height – tweak to taste */
    margin: 0 0 1rem;
    border: 1px solid lightgrey;
    overflow: hidden;        /* hide overflow when zoomed */
}

/* Smaller, but still consistent, on mobile */
@media (max-width: 767.98px) {
    .single-product div.product .woocommerce-product-gallery__image {
        height: 320px;       /* mobile height */
    }
}

/* Make the <a> fill the wrapper and center its contents */
.single-product div.product .woocommerce-product-gallery__image > a {
    position: absolute;
    inset: 0;               /* top/right/bottom/left: 0 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Visible product image (first img in the link – NOT the zoomImg) */
.single-product div.product .woocommerce-product-gallery__image > a > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* crop to fill the box */
    object-position: center;
    display: block;
    transition: transform 0.25s ease;
}

/* Hover zoom effect */
.single-product div.product .woocommerce-product-gallery__image:hover > a > img:first-child {
    transform: scale(1.05);
}

/* Make sure Woo's zoom image isn't mangled */
.single-product div.product .woocommerce-product-gallery__image img.zoomImg {
    width: auto !important;
    height: auto !important;
}

/* === THUMBNAILS UNDER MAIN IMAGE === */

.single-product div.product .flex-control-thumbs {
    order: 2;
    list-style: none;
    margin: 0;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 1px solid lightgrey;
}

.single-product div.product .flex-control-thumbs li {
    flex: 0 0 auto;
    width: 70px;          /* thumbnail width */
    margin: 0;
    cursor: pointer;
}

.single-product div.product .flex-control-thumbs img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* QR thumb (if you re-enable it later) */
.single-product div.product .flex-control-thumbs .product-qr-thumb img,
.single-product div.product .flex-control-thumbs .product-qr-thumb canvas,
.single-product div.product .flex-control-thumbs .product-qr-thumb svg {
    width: 100%;
    height: auto;
}

/* === QTY BOX TIGHTEN + HIDE ARROWS === */

.single-product .qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}

.single-product .qty-wrapper .qty-btn {
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
}

.single-product .qty-wrapper .qty-btn:hover {
    background: #e5e5e5;
}

.single-product .qty-wrapper input.qty {
    width: 2.5rem;
    text-align: center;
    border: none;
    box-shadow: none;
    font-size: 0.9rem;
}

/* Hide native number spinners */
.single-product .qty-wrapper input.qty[type=number]::-webkit-inner-spin-button,
.single-product .qty-wrapper input.qty[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.single-product .qty-wrapper input.qty[type=number] {
    -moz-appearance: textfield;
}

/* === SINGLE PRODUCT MAIN IMAGE – CONSISTENT HEIGHT + ZOOM === */

/* Main image wrapper: same height for all products */
.single-product .woocommerce-product-gallery__image {
    position: relative;
    width: 100%;
    height: 500px !important;      /* desktop height – forced so Woo can't override */
    margin: 0 0 1rem;
    border: 1px solid lightgrey;
    overflow: hidden;              /* hide overflow when zoomed */
}

/* Smaller, consistent height on mobile */
@media (max-width: 767.98px) {
    .single-product .woocommerce-product-gallery__image {
        height: 320px !important;
    }
}

/* Make the <a> fill the wrapper and center its contents */
.single-product .woocommerce-product-gallery__image > a {
    position: absolute;
    inset: 0;                       /* top/right/bottom/left: 0 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Target the visible product image only (not the zoomImg overlay) */
.single-product .woocommerce-product-gallery__image > a > img:not(.zoomImg) {
    width: 100%;
    height: 100%;
    object-fit: cover;              /* crop to fill: square feel */
    object-position: center center; /* centre-centre */
    display: block;
    transition: transform 0.25s ease;
}

/* Zoom on hover */
.single-product .woocommerce-product-gallery__image:hover > a > img:not(.zoomImg) {
    transform: scale(1.05);
}

/* Make sure Woo's zoom image still behaves correctly */
.single-product .woocommerce-product-gallery__image img.zoomImg {
    width: auto !important;
    height: auto !important;
}

/* Popular Products icons – fixed circular size */
.popular-product-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;      /* fill the circle */
    object-position: center;
    display: block;
}

/* Optional: slightly larger on small screens */
@media (max-width: 576px) {
    .popular-product-icon {
        width: 170px;
        height: 170px;
    }
}

/* Popular products: make circles sit left-to-right without big gaps */
.scroll-container > .col {
    flex: 0 0 auto;      /* size to content, don’t stretch */
    max-width: none;     /* remove Bootstrap's max-width constraint */
}

/* Hide specific TrustArc warnings by class */
#truste-consent-track .warning_icon,
#truste-consent-track .truste_message.warning_icon {
    display: none !important;
}

/* Hide the SAP error alert only on Diagram product pages */
.is-diagram-product .alert.alert-danger {
    display: none !important;
}

/* Remove the pointer and hover effects from the shipping header */
#ship-to-different-address {
    cursor: default;
    pointer-events: none;
}
/* Ensure the shipping form container is always visible */
.shipping_address {
    display: block !important;
}

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn:hover, .xoo-wsc-container .xoo-wsc-btn, .xoo-wsc-btn:hover {border-radius: 50px !important;}

.woocommerce-form-login__submit{border-radius: 50px !important; padding: 12px 26px !important; font-size: 24p;}

.address-list{
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.footer-subscribe-wrap{
    width:100%;
    min-height:70px;
    padding:12px 14px;
    margin-top:8px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.06);
    display:flex;
    align-items:center;
}

.scroll-row{
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding-bottom: .5rem;
}
.scroll-row > [class*="col-"]{
  flex: 0 0 auto;
  width: 280px; /* tweak */
  max-width: 280px;
}

.unipart-excerpt{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    line-height:1.35;
    min-height:calc(1.35em * 2);
}

.scroll-row{
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
}
.scroll-row > [class*="col-"]{
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.scroll-row::-webkit-scrollbar{ height: 10px; }
.scroll-row::-webkit-scrollbar-thumb{ border-radius: 999px; background: rgba(0,0,0,.15); }

/* --- Dots pagination --- */
.unipart-carousel__dots{
    display:flex;
    justify-content:center;
    gap:.45rem;
    margin-top:.75rem;
}
.unipart-carousel__dot{
    width:9px;height:9px;
    border-radius:999px;
    border:1px solid #cfcfcf;
    background:#fff;
    cursor:pointer;
    padding:0;
}
.unipart-carousel__dot.is-active{
    background:#012169;
    border-color:#012169;
}

/* HubSpot CTA sizing (it's an image, so resize the container) */
.footer-newsletter__cta{
  width: 180px;             /* desktop size */
  max-width: 100%;
}

/* give it the “10px horizontal padding on desktop” feel */
@media (min-width: 992px){
  .footer-newsletter__cta{
    box-sizing: border-box;
  }
}

/* make it smaller on mobile */
@media (max-width: 767.98px){
  .footer-newsletter__cta{
    width: 170px;            /* adjust to taste */
    padding: 0;              /* no extra padding on mobile */
  }
}

/* make sure hubspot inline styles don’t win */
.footer-newsletter__cta .hs-cta-embed{
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
}

.footer-newsletter__cta a{
  display: block;
}

.footer-newsletter__cta img{
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
