/*
Theme Name:   Os Gear
Theme URI:    https://osgearss.com/
Description:  Official Os Gear Child Theme — 1:1 replication of osgearss.com header, 2-column homepage, product cards, and exact color palette (#012326, #038c5a, #c7d9c1, #012623).
Author:       osgearss.com
Author URI:   https://osgearss.com/
Template:     storefront
Version:      4.3.1
Text Domain:  os-gear
*/

:root {
    --og-dark-teal: #012326;
    --og-emerald: #038c5a;
    --og-sage: #c7d9c1;
    --og-forest-text: #012623;
    --og-light-text: #F3F3F3;
    --og-border: #e7e7e7;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Strict viewport lock so no child element or Elementor script ever pushes content off the right edge on mobile */
html,
body {
    max-width: 100vw !important;
    width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

/* Reset Storefront parent wrappers so OSGear Bootstrap/Porto container rules take full control */
body > .page-wrapper {
    visibility: visible !important;
    opacity: 1 !important;
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

body:not(.mmenu-active) .mobile-menu-overlay {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    display: none !important;
}

/* Prevent 300px cart dropdown menu from extending to the right off-screen */
.cart-dropdown .dropdown-menu {
    left: auto !important;
    right: 0 !important;
}

/* Explicit Header-Right icon order: [Header Contact] -> [Cart Icon] -> [Hamburger Menu Icon] */
.header-right {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
}

.header-right .header-contact {
    order: 0 !important;
}

.header-right .cart-dropdown {
    order: 1 !important;
    margin-left: 0 !important;
    margin-right: 10px !important;
}

.header-right .mobile-menu-toggler {
    order: 2 !important;
    margin-left: 4px !important;
    margin-right: 0 !important;
}

.cart-dropdown .dropdown-toggle .cart-count,
.cart-dropdown .dropdown-toggle .og-cart-badge {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    height: 1.6rem;
    position: absolute;
    right: 1.9rem;
    line-height: 1;
    top: -0.2rem;
    border-radius: 50%;
    padding-bottom: 1px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff !important;
    background-color: #ff5b5b !important;
    box-shadow: 0 7px 8px rgba(0, 0, 0, 0.05);
}

body {
    background-color: #ffffff !important;
    color: #333333;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden !important;
}

p,
.entry-content p,
.og-content p,
.og-content li,
.og-contact-card p,
.og-contact-card li,
.og-home-seo-text,
.og-home-seo-text p,
.product-desc-content,
.product-desc-content p,
.product-single-details .product-desc,
.product-single-details .product-desc p,
.woocommerce-Tabs-panel p,
.woocommerce-products-header .term-description,
.woocommerce-products-header .term-description p {
    font-size: 16px !important;
    line-height: 1.75 !important;
}

#page.page-wrapper,
#content.site-content,
#content > .col-full,
.site-main,
.content-area,
.entry-content,
.elementor,
.elementor-section,
.elementor-section.elementor-section-stretched,
.elementor-container,
.elementor-row,
.elementor-column,
.elementor-widget-wrap,
.elementor-widget-container,
.og-home-exact {
    max-width: 100% !important;
    width: 100% !important;
    left: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.storefront-breadcrumb,
.entry-header,
.page-header {
    display: none !important;
}

.hentry {
    margin: 0 !important;
}

/* Ensure header middle uses header.jpg and aligns identically to osgear.to */
.header-middle {
    background-image: url("assets/images/header.jpg") !important;
    background-size: cover;
    background-position: center;
}

.header-top {
    background-color: #012326 !important;
    color: #F3F3F3 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-bottom {
    background-color: #038c5a !important;
}

.header-bottom.fixed {
    background-color: rgba(3, 140, 90, 0.95) !important;
}

.menu > li:hover > a,
.menu > li.show > a,
.menu > li.active > a {
    background-color: #c7d9c1 !important;
    color: #012623 !important;
}

/* Header Search Bar — Desktop (min-width: 992px) vs Mobile (max-width: 991px) */
.header-search .header-search-wrapper {
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    align-items: center;
    border: 1px solid #d4d4d4;
}

@media (min-width: 992px) {
    .header-search .header-search-wrapper {
        display: flex !important;
    }
    .header-search .search-toggle {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .header-search .header-search-wrapper:not(.show) {
        display: none !important;
    }
    .header-search .header-search-wrapper.show {
        display: flex !important;
        position: fixed !important;
        top: 112px !important;
        left: 12px !important;
        right: 12px !important;
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        min-width: 0 !important;
        margin: 0 !important;
        border: 2px solid #038c5a !important;
        box-shadow: 0 8px 24px rgba(1, 35, 38, 0.28) !important;
        z-index: 9999 !important;
    }
    .header-search .header-search-wrapper::before {
        display: none !important;
    }
}

.header-search .form-control {
    border: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    height: 40px;
    font-size: 13px;
    padding: 0 16px;
}

.header-search .select-custom {
    border-left: 1px solid #e7e7e7;
    border-right: 1px solid #e7e7e7;
    background: #ffffff;
}

.header-search .select-custom select {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent;
    height: 40px;
    padding: 0 26px 0 12px;
    font-size: 13px;
    color: #444;
}

.header-search .btn {
    background: #ffffff !important;
    color: #012326 !important;
    border: 0 !important;
    height: 40px;
    padding: 0 16px;
}

.header-search .btn:hover {
    color: #038c5a !important;
}

/* Sidebar Styling (#012326 headers, #038c5a accents, #c7d9c1 tips) */
.side-menu-container h2 {
    background-color: #012326 !important;
    color: #F3F3F3 !important;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 1.2rem 1.8rem;
    margin: 0;
    letter-spacing: 0.03em;
}

.side-nav .catAccordion {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-nav .catAccordion > li {
    position: relative;
    border-bottom: 1px solid #efefef;
}

.side-nav .catAccordion > li > a {
    display: block;
    padding: 9px 15px;
    color: #333333;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.side-nav .catAccordion > li > a:hover {
    background-color: #f4f8f3;
    color: #038c5a;
}

.side-nav .catAccordion ul.collapse,
.side-nav .catAccordion ul.warehouse-nav {
    list-style: none;
    padding: 4px 0 6px 24px;
    margin: 0;
    background: #fafafa;
}

.side-nav .catAccordion ul.collapse:not(.show) {
    display: none;
}

.side-nav .catAccordion ul.collapse.show {
    display: block;
}

.side-nav .catAccordion ul.warehouse-nav {
    display: none;
}

.side-nav .catAccordion ul li a {
    display: block;
    padding: 5px 10px;
    font-size: 12.5px;
    color: #555;
    text-decoration: none;
}

.side-nav .catAccordion ul li a:hover {
    color: #038c5a;
}

/* Promo Tips (3 BUY GET 1, BOGO, Ultima Pharmaceuticals - US) */
.tip {
    display: inline-block;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 5px;
    color: #ffffff;
}

.tip-buyget {
    background-color: #038c5a !important;
    color: #ffffff !important;
}

.tip-hot {
    background-color: #eb2771 !important;
    color: #ffffff !important;
}

.tip-trend {
    background-color: #012326 !important;
    color: #c7d9c1 !important;
    font-size: 11px;
    padding: 4px 8px;
}

/* Homepage Product Cards (.product-default) */
.product-default {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 4px;
    padding: 12px 10px 14px;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

.product-default:hover {
    box-shadow: 0 5px 20px rgba(1, 35, 38, 0.12);
}

.product-default figure {
    margin: 0 0 10px;
    text-align: center;
    background: #ffffff;
}

.product-default figure img {
    max-height: 165px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

/* Green Flask Lab Test Badge on Product Cards */
.label-group-lab {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
}

.label-group-lab .label-sale {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #038c5a !important;
    color: #ffffff !important;
    border-radius: 4px;
    padding: 5px 7px;
    font-size: 10px;
    box-shadow: 0 2px 5px rgba(3, 140, 90, 0.3);
}

.label-group-lab .label-sale i {
    font-size: 14px !important;
    color: #ffffff !important;
}

.product-default .product-details {
    text-align: center;
    padding: 0 4px;
    width: 100%;
}

.product-default .product-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 0 4px !important;
    min-height: 36px;
    word-break: break-word;
}

.product-default .product-title a {
    color: #012326 !important;
    text-decoration: none;
}

.product-default .product-title a:hover {
    color: #038c5a !important;
}

.product-default h6 {
    font-size: 11.5px;
    color: #777777;
    font-weight: 600;
    margin: 0 0 6px;
}

.product-default .price-box {
    margin-bottom: 6px;
}

.product-default .product-price,
.product-default .price-box .woocommerce-Price-amount {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #012326 !important;
}

.product-default .ratings-container {
    margin-bottom: 10px;
    font-size: 11.5px;
    white-space: normal !important;
    line-height: 1.3;
}

.product-default .ratings-container a {
    color: #666666 !important;
    text-decoration: none;
}

.product-default .ratings-container a:hover {
    color: #038c5a !important;
}

.product-default .product-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
}

.product-default .btn-add-cart {
    background-color: #ffffff !important;
    color: #012326 !important;
    border: 1px solid #d4d4d4 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 6px 10px !important;
    height: 32px;
    line-height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none !important;
    transition: all 0.2s;
}

.product-default:hover .btn-add-cart,
.product-default .btn-add-cart:hover {
    background-color: #038c5a !important;
    border-color: #038c5a !important;
    color: #ffffff !important;
}

.product-default .btn-icon-wish,
.product-default .btn-quickview {
    width: 32px;
    height: 32px;
    border: 1px solid #d4d4d4;
    background: #ffffff;
    color: #012326;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.product-default .btn-icon-wish:hover,
.product-default .btn-quickview:hover {
    background: #012326;
    border-color: #012326;
    color: #ffffff;
}

/* Horizontal Mini Product Widgets (New / Best / Sale) */
.product-default.left-details.product-widget {
    flex-direction: row !important;
    align-items: center;
    padding: 8px;
    height: auto;
}

.product-default.left-details.product-widget figure {
    width: 74px;
    min-width: 74px;
    margin: 0 10px 0 0;
}

.product-default.left-details.product-widget figure img {
    max-height: 68px;
}

.product-default.left-details.product-widget .product-details {
    text-align: left;
    flex: 1;
    min-width: 0;
}

.product-default.left-details.product-widget .product-title {
    min-height: 0;
    font-size: 12.5px !important;
    margin-bottom: 2px !important;
}

/* 5-Column Touchdowns Row on Desktop */
@media (min-width: 768px) {
    .col-md-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Section Titles */
.carousel-title,
.product-column .title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #012326 !important;
    text-transform: uppercase;
    border-bottom: 2px solid #038c5a;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

/* Sidebar Forum Badges */
.og-forum-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
}

.og-forum-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #012326;
    color: #ffffff !important;
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 4px solid #038c5a;
    font-size: 11px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.og-forum-badge:hover {
    background: #038c5a;
}

.og-forum-badge span {
    background: #c7d9c1;
    color: #012623;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 9.5px;
}

/* Homepage Bottom SEO Text */
.og-home-seo-text {
    background: #f9fbf9;
    border: 1px solid #e2ebe0;
    border-radius: 5px;
    padding: 20px 24px;
    color: #444;
    line-height: 1.7;
}

.og-home-seo-text h1,
.og-home-seo-text h3 {
    color: #012326;
    font-weight: 700;
    margin-top: 14px;
    margin-bottom: 8px;
    font-size: 15px !important;
}

/* Footer (#012326 matching osgear.to custom.css) */
.footer {
    background-color: #012326 !important;
    color: #F3F3F3 !important;
    padding: 22px 0;
    margin-top: 30px;
    border-top: 4px solid #038c5a;
}

.footer .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 0;
    padding: 8px 0;
}

.footer .footer-bottom p {
    margin: 0;
    font-size: 12.5px;
    color: #F3F3F3;
}

.footer .footer-bottom ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.footer .footer-bottom ul li a {
    color: #c7d9c1;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
}

.footer .footer-bottom ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* WooCommerce Shop / Category Archive Grid Overrides */
.woocommerce-products-header__title.page-title {
    display: none !important;
}

h1.list-page {
    color: #012326 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid #038c5a !important;
    padding-bottom: 10px !important;
    margin: 0 0 14px !important;
    text-align: left !important;
}

.woocommerce-products-header .term-description {
    background: #f7faf7;
    border-left: 4px solid #038c5a;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 18px;
    color: #333333;
    font-size: 13.5px;
    line-height: 1.6;
}

.woocommerce-products-header .term-description p {
    margin: 0;
}

/* Catalog Sorting, Result Count & Horizontal Pagination Toolbar */
.storefront-sorting {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    background: #f7faf7 !important;
    border: 1px solid #dce6da !important;
    border-radius: 6px !important;
    padding: 10px 16px !important;
    margin: 0 0 20px !important;
}

.storefront-sorting .woocommerce-notices-wrapper {
    flex: 0 0 100%;
    margin: 0;
}

.storefront-sorting .woocommerce-notices-wrapper:empty {
    display: none !important;
}

.storefront-sorting form.woocommerce-ordering {
    margin: 0 !important;
}

.storefront-sorting form.woocommerce-ordering select.orderby {
    height: 38px !important;
    padding: 0 30px 0 12px !important;
    border: 1px solid #c5d4c3 !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    color: #012326 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer;
}

.storefront-sorting p.woocommerce-result-count {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #444444 !important;
}

nav.woocommerce-pagination {
    margin: 0 !important;
}

nav.woocommerce-pagination ul.page-numbers {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

nav.woocommerce-pagination ul.page-numbers li {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
}

nav.woocommerce-pagination ul.page-numbers li a.page-numbers,
nav.woocommerce-pagination ul.page-numbers li span.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 34px !important;
    height: 34px !important;
    padding: 0 10px !important;
    border: 1px solid #c5d4c3 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #012326 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

nav.woocommerce-pagination ul.page-numbers li span.page-numbers.current,
nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
    background: #038c5a !important;
    border-color: #038c5a !important;
    color: #ffffff !important;
}

/* Single Product Gallery Thumbnails Row */
#carousel-custom-dots {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    width: 100% !important;
    opacity: 1 !important;
    margin: 10px -6px 0 !important;
    padding: 0 !important;
}

#carousel-custom-dots .owl-dot {
    padding: 0 6px !important;
}

#carousel-custom-dots .owl-dot img {
    border: 2px solid #dce6da !important;
    border-radius: 5px !important;
    padding: 3px !important;
    background: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#carousel-custom-dots .owl-dot.active img,
#carousel-custom-dots .owl-dot:hover img {
    border-color: #038c5a !important;
    box-shadow: 0 2px 8px rgba(3, 140, 90, 0.2) !important;
}

ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    list-style: none !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    width: 100% !important;
}

ul.products::before,
ul.products::after {
    display: none !important;
}

ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

@media (max-width: 991px) {
    ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 575px) {
    ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* Policy & Informational Pages Styling (matching #012326 & #038c5a palette) */
.og-policy-hero {
    background: linear-gradient(135deg, #012326 0%, #023b40 65%, #038c5a 100%);
    color: #ffffff;
    padding: 42px 20px;
    border-bottom: 4px solid #038c5a;
}

.og-policy-hero > div {
    max-width: 1140px;
    margin: 0 auto;
}

.og-policy-hero .og-eyebrow {
    display: inline-block;
    background: #c7d9c1;
    color: #012623;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.og-policy-hero h1 {
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 0 10px !important;
}

.og-policy-hero p {
    color: #e4efe2;
    font-size: 16.5px !important;
    line-height: 1.7 !important;
    max-width: 820px;
    margin: 0;
}

.og-content {
    max-width: 1140px;
    margin: 28px auto 40px;
    padding: 28px 32px;
    background: #ffffff;
    border: 1px solid #e2ebe0;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(1, 35, 38, 0.05);
    color: #2b2b2b;
    font-size: 16px !important;
    line-height: 1.75 !important;
}

.og-content h2 {
    color: #012326;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid #038c5a;
    padding-bottom: 7px;
    margin: 26px 0 12px;
}

.og-content h2:first-child {
    margin-top: 0;
}

.og-content h3 {
    color: #038c5a;
    font-size: 16.5px;
    font-weight: 700;
    margin: 20px 0 8px;
}

.og-policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 24px;
}

.og-policy-table th {
    background: #012326;
    color: #ffffff;
    padding: 12px 15px;
    font-size: 14.5px;
    text-align: left;
}

.og-policy-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e2ebe0;
    font-size: 15.5px;
}

.og-policy-table tr:nth-child(even) td {
    background: #f7faf6;
}

/* Brands Directory Showcase */
.og-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.og-warehouse-block {
    margin-bottom: 32px;
}

/* Contact Page 2-Column Layout */
.og-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 28px auto;
}

.og-contact-card {
    background: #ffffff;
    border: 1px solid #dce6da;
    border-radius: 6px;
    padding: 24px;
    font-size: 16px;
    line-height: 1.75;
}

.og-contact-card h2,
.og-contact-card h3 {
    color: #012326;
    font-weight: 700;
    border-bottom: 2px solid #038c5a;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS (ZERO RIGHT-EDGE OVERFLOW)
   ========================================================================== */
[class*="col-"] {
    min-width: 0;
}

.product-default {
    overflow: hidden !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

@media (max-width: 991px) {
    .header,
    .header-top,
    .header-middle,
    .main,
    .footer {
        max-width: 100vw !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .header-top .container,
    .header-middle .container,
    .main > .container,
    .footer > .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 24px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Hide closed dropdown menus on mobile so their 300px width never expands layout viewport */
    .cart-dropdown:not(:hover):not(.show) .dropdown-menu:not(.show),
    .compare-dropdown:not(:hover):not(.show) .dropdown-menu:not(.show),
    .header-dropdown:not(:hover):not(.show) .header-menu:not(.show) {
        display: none !important;
    }

    /* Header Middle layout on mobile: [Logo] on left, [Search Q] [Cart Bag] [Hamburger ≡] on right */
    .header-middle .container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    .header-middle .header-left {
        flex: 0 1 auto !important;
        min-width: 0 !important;
    }

    .header-middle .header-center {
        flex: 0 0 auto !important;
        margin-left: auto !important;
        margin-right: 6px !important;
        padding: 0 !important;
    }

    .header-middle .header-right {
        flex: 0 0 auto !important;
        margin-left: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .header-right .cart-dropdown {
        order: 1 !important;
        margin-left: 4px !important;
        margin-right: 8px !important;
    }

    .header-right .mobile-menu-toggler {
        order: 2 !important;
        margin-left: 6px !important;
        margin-right: 0 !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: #038c5a !important;
        color: #ffffff !important;
        border: 2px solid #ffffff !important;
        border-radius: 6px !important;
        box-shadow: 0 3px 12px rgba(1, 35, 38, 0.65) !important;
        font-size: 2.0rem !important;
        line-height: 1 !important;
        transition: all 0.2s ease !important;
    }

    .header-right .mobile-menu-toggler:hover,
    .header-right .mobile-menu-toggler:focus,
    .header-right .mobile-menu-toggler:active {
        background-color: #012326 !important;
        border-color: #038c5a !important;
        color: #ffffff !important;
        transform: translateY(-1px);
    }

    .header-right .mobile-menu-toggler i {
        color: #ffffff !important;
        font-size: 2.0rem !important;
        line-height: 1 !important;
        margin: 0 !important;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
    }

    .header-search .search-toggle i,
    .cart-dropdown .dropdown-toggle::before,
    .cart-dropdown .dropdown-toggle::after {
        filter: drop-shadow(0 2px 4px rgba(1, 35, 38, 0.55));
    }

    .cart-dropdown .dropdown-toggle {
        padding-right: 2.2rem !important;
    }

    .cart-dropdown .dropdown-toggle::before {
        font-size: 2.8rem !important;
    }

    .cart-dropdown .dropdown-toggle::after {
        top: 0.8rem !important;
        right: 0.2rem !important;
    }

    .cart-dropdown .dropdown-toggle .cart-count,
    .cart-dropdown .dropdown-toggle .og-cart-badge {
        right: 1.3rem !important;
        top: -0.3rem !important;
    }

    .main > .container > .row {
        margin-left: -8px !important;
        margin-right: -8px !important;
    }

    .main > .container > .row > [class*="col-"] {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .row.row-sm {
        margin-left: -6px !important;
        margin-right: -6px !important;
    }

    .row.row-sm > [class*="col-"] {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .banner.banner-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }
}

@media (max-width: 767px) {
    .og-story {
        grid-template-columns: 1fr;
    }
    .og-content {
        padding: 18px 14px;
        margin: 16px 10px 28px;
    }
    .og-policy-table {
        display: block;
        overflow-x: auto;
    }
    .grouped_form table tbody tr td.grouped-product-list.quantity,
    .grouped_form table tbody tr td.grouped-product-list.label,
    .grouped_form table tbody tr td.grouped-product-list.price {
        min-width: 0 !important;
        font-size: 12.5px;
        padding: 8px 6px;
    }
    .product-class strong {
        width: 135px;
    }
}

@media (max-width: 575px) {
    .header-top .container,
    .header-middle .container,
    .main > .container,
    .footer > .container {
        padding-left: 12px !important;
        padding-right: 24px !important;
    }

    .header-top {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .header-top .welcome-msg {
        display: none !important;
    }

    .header-middle {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    .header-middle .logo img {
        max-width: 125px !important;
        width: 125px !important;
        height: auto !important;
    }

    .header-search .search-toggle {
        padding: 6px 6px !important;
    }

    .header-right .cart-dropdown {
        margin-left: 2px !important;
        margin-right: 6px !important;
    }

    .header-right .mobile-menu-toggler {
        margin-left: 4px !important;
        margin-right: 0 !important;
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
    }

    .header-search .header-search-wrapper .select-custom {
        flex: 0 0 105px !important;
    }

    .header-search .header-search-wrapper .select-custom select {
        padding: 0 18px 0 8px !important;
        font-size: 12px !important;
    }

    .product-default {
        padding: 10px 6px 12px !important;
    }

    .product-default figure img {
        max-height: 135px !important;
    }

    .product-default .product-title {
        font-size: 12.5px !important;
        min-height: 34px;
    }

    .product-default h6 {
        font-size: 11px !important;
    }

    .product-default .product-price {
        font-size: 14.5px !important;
    }

    .product-default .ratings-container {
        font-size: 10.5px !important;
        margin-bottom: 8px !important;
    }

    .product-default .btn-icon-wish,
    .product-default .btn-quickview {
        display: none !important;
    }

    .product-default .btn-add-cart {
        padding: 5px 10px !important;
        font-size: 10.5px !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .carousel-title,
    .product-column .title {
        font-size: 14.5px !important;
    }

    .tip-trend {
        display: inline-block;
        margin-top: 4px;
        font-size: 10px;
    }

    .og-home-seo-text {
        padding: 14px 12px !important;
    }
}

/* ==========================================================================
   WOOCOMMERCE CART, CHECKOUT & MY ACCOUNT PAGES (OSGEAR EXACT THEME STYLING)
   ========================================================================== */
.entry-footer,
.edit-link,
.post-edit-link {
    display: none !important;
}

.og-section {
    padding: 28px 0 56px !important;
    background-color: #f7faf7;
}

.og-wc-page-header {
    background-color: #f7faf7;
    padding: 28px 0 0 !important;
}

.og-wc-page-title {
    color: #012326 !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border-bottom: 3px solid #038c5a !important;
    padding-bottom: 12px !important;
    margin: 0 !important;
    letter-spacing: 0.02em;
}

.og-container {
    max-width: 1140px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

/* Prevent Bootstrap 4 .col-1 (8.33%) and .col-2 (16.67%) from squishing WooCommerce Checkout & Address columns */
.woocommerce .col2-set,
.woocommerce-page .col2-set,
#customer_details {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-1,
.woocommerce-page .col2-set .col-2,
#customer_details > .col-1,
#customer_details > .col-2 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 26px 28px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #dce6da !important;
    border-top: 4px solid #012326 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 16px rgba(1, 35, 38, 0.05) !important;
}

/* WooCommerce Notices & Banners */
.woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 14px 20px !important;
    margin: 0 0 22px !important;
    background-color: #ffffff !important;
    border: 1px solid #dce6da !important;
    border-left: 5px solid #038c5a !important;
    border-radius: 5px !important;
    color: #012326 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    box-shadow: 0 3px 10px rgba(1, 35, 38, 0.04) !important;
    list-style: none !important;
}

.woocommerce-error {
    border-left-color: #d9534f !important;
    display: block !important;
}

.woocommerce-error li {
    margin-bottom: 4px;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    border-left-color: #012326 !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
    color: #038c5a !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
}

form.checkout_coupon.woocommerce-form-coupon {
    background: #ffffff !important;
    border: 1px solid #dce6da !important;
    border-radius: 6px !important;
    padding: 20px 24px !important;
    margin-bottom: 24px !important;
}

/* Cart Page Layout: 2-Column on Desktop (Cart Table Left, Cart Totals Right) */
@media (min-width: 992px) {
    .woocommerce-cart .woocommerce {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 28px;
    }

    .woocommerce-cart .woocommerce > .woocommerce-notices-wrapper {
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 0;
    }

    .woocommerce-cart .woocommerce-cart-form {
        flex: 1 1 62%;
        max-width: 64%;
    }

    .woocommerce-cart .cart-collaterals {
        flex: 0 0 33%;
        max-width: 33%;
        width: 33%;
    }
}

/* Cart Table Styling */
.woocommerce-cart-form {
    background: #ffffff;
    border: 1px solid #dce6da;
    border-top: 4px solid #012326;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(1, 35, 38, 0.05);
    overflow: hidden;
    margin-bottom: 24px;
}

table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    background: #ffffff;
}

table.shop_table thead th {
    background-color: #012326 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 14px 16px !important;
    border: 0 !important;
    text-align: left;
}

table.shop_table tbody td,
table.shop_table tfoot th,
table.shop_table tfoot td {
    padding: 16px !important;
    border-bottom: 1px solid #ebf0ea !important;
    vertical-align: middle !important;
    font-size: 14px !important;
    color: #222222 !important;
}

table.shop_table.cart td.product-remove {
    width: 44px;
    text-align: center;
}

table.shop_table.cart a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #fdf2f2 !important;
    color: #d9534f !important;
    border: 1px solid #f3c6c6 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

table.shop_table.cart a.remove:hover {
    background: #d9534f !important;
    color: #ffffff !important;
    border-color: #d9534f !important;
}

table.shop_table.cart td.product-thumbnail {
    width: 82px;
}

table.shop_table.cart td.product-thumbnail img {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain !important;
    border: 1px solid #e2ebe0 !important;
    border-radius: 4px !important;
    padding: 3px !important;
    background: #ffffff !important;
}

table.shop_table.cart td.product-name a {
    color: #012326 !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    text-decoration: none !important;
}

table.shop_table.cart td.product-name a:hover {
    color: #038c5a !important;
}

table.shop_table.cart td.product-price,
table.shop_table.cart td.product-subtotal {
    font-weight: 700 !important;
    color: #012326 !important;
    font-size: 15px !important;
    white-space: nowrap;
}

table.shop_table.cart td.product-quantity .quantity input.qty {
    width: 72px !important;
    height: 40px !important;
    padding: 4px 8px !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #012326 !important;
    border: 1px solid #ccd8ca !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    margin: 0 !important;
}

table.shop_table.cart td.actions {
    background: #f9fbf9 !important;
    padding: 18px 20px !important;
    border-bottom: 0 !important;
}

table.shop_table.cart td.actions .coupon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    float: left;
    flex-wrap: wrap;
}

table.shop_table.cart td.actions .coupon label {
    display: none !important;
}

table.shop_table.cart td.actions .coupon input#coupon_code {
    width: 200px !important;
    height: 42px !important;
    padding: 8px 14px !important;
    border: 1px solid #ccd8ca !important;
    border-radius: 4px !important;
    font-size: 13.5px !important;
    background: #ffffff !important;
    margin: 0 !important;
}

table.shop_table.cart td.actions > button.button {
    float: right;
}

/* Cart Totals Summary Box */
.cart-collaterals .cart_totals {
    background: #ffffff !important;
    border: 1px solid #dce6da !important;
    border-top: 4px solid #038c5a !important;
    border-radius: 6px !important;
    padding: 24px 26px !important;
    box-shadow: 0 4px 18px rgba(1, 35, 38, 0.06) !important;
    width: 100% !important;
}

.cart-collaterals .cart_totals h2 {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #012326 !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid #038c5a !important;
    padding-bottom: 10px !important;
    margin: 0 0 16px !important;
}

.cart-collaterals .cart_totals table.shop_table th {
    width: 42% !important;
    font-weight: 700 !important;
    color: #012326 !important;
    background: transparent !important;
    padding: 12px 8px !important;
    border-bottom: 1px solid #ebf0ea !important;
}

.cart-collaterals .cart_totals table.shop_table td {
    text-align: right !important;
    font-weight: 700 !important;
    color: #012326 !important;
    padding: 12px 8px !important;
}

.cart-collaterals .cart_totals tr.order-total th,
.cart-collaterals .cart_totals tr.order-total td {
    font-size: 18px !important;
    color: #038c5a !important;
    border-bottom: 0 !important;
    padding-top: 16px !important;
}

.wc-proceed-to-checkout {
    margin-top: 18px !important;
}

/* Universal WooCommerce Buttons (.button, .checkout-button, #place_order) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-proceed-to-checkout a.checkout-button,
#place_order {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 44px !important;
    padding: 0 22px !important;
    background-color: #012326 !important;
    color: #ffffff !important;
    border: 1px solid #012326 !important;
    border-radius: 5px !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(1, 35, 38, 0.15) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: #038c5a !important;
    border-color: #038c5a !important;
    color: #ffffff !important;
}

.woocommerce button.button:disabled,
.woocommerce button.button[disabled] {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
}

.wc-proceed-to-checkout a.checkout-button,
#place_order {
    width: 100% !important;
    height: 50px !important;
    background-color: #038c5a !important;
    border-color: #038c5a !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(3, 140, 90, 0.3) !important;
}

.wc-proceed-to-checkout a.checkout-button:hover,
#place_order:hover {
    background-color: #012326 !important;
    border-color: #012326 !important;
    color: #ffffff !important;
}

/* Checkout Page Layout: 2-Column on Desktop (Customer Details Left, Order Review Right) */
form.checkout.woocommerce-checkout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
}

@media (min-width: 992px) {
    form.checkout.woocommerce-checkout #customer_details {
        flex: 0 0 56% !important;
        max-width: 56% !important;
        width: 56% !important;
    }

    form.checkout.woocommerce-checkout #order_review_heading {
        display: none !important;
    }

    form.checkout.woocommerce-checkout #order_review {
        flex: 0 0 41% !important;
        max-width: 41% !important;
        width: 41% !important;
    }
}

#customer_details h3,
#order_review_heading {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #012326 !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid #038c5a !important;
    padding-bottom: 10px !important;
    margin: 0 0 20px !important;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 14px 16px !important;
    width: 100% !important;
}

.woocommerce form .form-row {
    display: block !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
}

@media (min-width: 576px) {
    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        display: block !important;
        width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
    }
}

.woocommerce form .form-row label:not(.woocommerce-form__label-for-checkbox) {
    display: block !important;
    width: 100% !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #012326 !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
}

.woocommerce form .form-row span.woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce form .form-row .required {
    color: #d9534f !important;
    text-decoration: none !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    padding: 9px 14px !important;
    background-color: #ffffff !important;
    border: 1px solid #c5d4c3 !important;
    border-radius: 5px !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 14px !important;
    color: #222222 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce form .form-row textarea,
textarea#order_comments {
    height: 110px !important;
    min-height: 110px !important;
    padding: 12px 14px !important;
    line-height: 1.5 !important;
    resize: vertical !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
    border-color: #038c5a !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(3, 140, 90, 0.14) !important;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 24px !important;
    padding-left: 0 !important;
    color: #222222 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
    right: 8px !important;
}

/* Checkout Right Column: Order Review & Payment Methods Card */
#order_review {
    background: #ffffff !important;
    border: 1px solid #dce6da !important;
    border-top: 4px solid #038c5a !important;
    border-radius: 6px !important;
    padding: 26px 28px !important;
    box-shadow: 0 4px 18px rgba(1, 35, 38, 0.06) !important;
    width: 100%;
}

#order_review table.woocommerce-checkout-review-order-table {
    border: 1px solid #e4ede2 !important;
    border-radius: 5px !important;
    overflow: hidden !important;
    margin-bottom: 22px !important;
}

#order_review table.woocommerce-checkout-review-order-table th:last-child,
#order_review table.woocommerce-checkout-review-order-table td:last-child {
    text-align: right !important;
}

#order_review table.woocommerce-checkout-review-order-table tfoot th {
    background: #f7faf7 !important;
    font-weight: 700 !important;
    color: #012326 !important;
}

#order_review table.woocommerce-checkout-review-order-table tr.order-total th,
#order_review table.woocommerce-checkout-review-order-table tr.order-total td {
    background: #eef6ed !important;
    color: #038c5a !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

/* Checkout Payment Methods List */
#payment ul.wc_payment_methods {
    list-style: none !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
}

#payment ul.wc_payment_methods li.wc_payment_method {
    border: 1px solid #dce6da !important;
    border-radius: 6px !important;
    padding: 14px 16px !important;
    margin-bottom: 12px !important;
    background: #f9fbf9 !important;
    transition: border-color 0.2s, background-color 0.2s;
}

#payment ul.wc_payment_methods li.wc_payment_method:hover {
    border-color: #038c5a !important;
    background: #ffffff !important;
}

#payment ul.wc_payment_methods li.wc_payment_method > input.input-radio {
    margin-right: 8px !important;
    accent-color: #038c5a;
    transform: scale(1.15);
    vertical-align: middle;
}

#payment ul.wc_payment_methods li.wc_payment_method > label {
    display: inline !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #012326 !important;
    cursor: pointer !important;
    vertical-align: middle;
}

#payment div.payment_box {
    background-color: #eef5ed !important;
    border-left: 3px solid #038c5a !important;
    border-radius: 4px !important;
    padding: 12px 14px !important;
    margin-top: 10px !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: #012623 !important;
}

#payment div.payment_box p {
    margin: 0 !important;
}

.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 18px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #444444 !important;
}

.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions {
    display: none !important;
}

.woocommerce-privacy-policy-text a,
.woocommerce-terms-and-conditions-link,
.og-terms-external-link {
    color: #038c5a !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}

.woocommerce-form__label-for-checkbox input.woocommerce-form__input-checkbox {
    width: 17px !important;
    height: 17px !important;
    margin-top: 2px !important;
    accent-color: #038c5a;
    flex-shrink: 0;
}

/* My Account Navigation & Content */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-start;
}

.woocommerce-MyAccount-navigation {
    flex: 0 0 260px;
    background: #ffffff;
    border: 1px solid #dce6da;
    border-top: 4px solid #012326;
    border-radius: 6px;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #eef2ed;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 13px 18px;
    color: #012326;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background: #038c5a;
    color: #ffffff;
}

.woocommerce-MyAccount-content {
    flex: 1 1 65%;
    background: #ffffff;
    border: 1px solid #dce6da;
    border-top: 4px solid #038c5a;
    border-radius: 6px;
    padding: 26px 28px;
}

/* Responsive Mobile Cart & Checkout Adjustments */
@media (max-width: 767px) {
    .og-section {
        padding: 20px 0 36px !important;
    }

    .og-container {
        padding-left: 12px !important;
        padding-right: 24px !important;
    }

    #customer_details > .col-1,
    #customer_details > .col-2,
    #order_review,
    .cart-collaterals .cart_totals,
    .woocommerce-MyAccount-content {
        padding: 18px 16px !important;
    }

    table.shop_table.cart thead th.product-thumbnail,
    table.shop_table.cart tbody td.product-thumbnail {
        display: none !important;
    }

    table.shop_table thead th,
    table.shop_table tbody td {
        padding: 10px 8px !important;
        font-size: 12.5px !important;
    }

    table.shop_table.cart td.actions .coupon {
        width: 100% !important;
        float: none !important;
        margin-bottom: 10px !important;
    }

    table.shop_table.cart td.actions .coupon input#coupon_code {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
    }

    table.shop_table.cart td.actions > button.button {
        width: 100% !important;
        float: none !important;
    }

    .woocommerce-MyAccount-navigation {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* ==========================================================================
   WPFORMS CONTACT & SUPPORT FORMS — OSGEAR THEME COLOR STYLING
   ========================================================================== */
div.wpforms-container,
div.wpforms-container-full {
    --wpforms-button-background-color: #038c5a !important;
    --wpforms-button-background-color-alt: #012326 !important;
    --wpforms-button-text-color: #ffffff !important;
    --wpforms-field-border-color: #c5d4c3 !important;
    --wpforms-field-border-color-focus: #038c5a !important;
    --wpforms-label-color: #012326 !important;
}

div.wpforms-container .wpforms-form .wpforms-field-label,
div.wpforms-container-full .wpforms-form .wpforms-field-label {
    color: #012326 !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    margin-bottom: 6px !important;
}

div.wpforms-container .wpforms-form input[type="text"],
div.wpforms-container .wpforms-form input[type="email"],
div.wpforms-container .wpforms-form input[type="tel"],
div.wpforms-container .wpforms-form input[type="url"],
div.wpforms-container .wpforms-form input[type="number"],
div.wpforms-container .wpforms-form select,
div.wpforms-container .wpforms-form textarea,
div.wpforms-container-full .wpforms-form input[type="text"],
div.wpforms-container-full .wpforms-form input[type="email"],
div.wpforms-container-full .wpforms-form input[type="tel"],
div.wpforms-container-full .wpforms-form input[type="url"],
div.wpforms-container-full .wpforms-form input[type="number"],
div.wpforms-container-full .wpforms-form select,
div.wpforms-container-full .wpforms-form textarea {
    border: 1px solid #c5d4c3 !important;
    border-radius: 5px !important;
    background-color: #ffffff !important;
    color: #012326 !important;
    font-size: 14px !important;
    padding: 10px 14px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

div.wpforms-container .wpforms-form input:focus,
div.wpforms-container .wpforms-form select:focus,
div.wpforms-container .wpforms-form textarea:focus,
div.wpforms-container-full .wpforms-form input:focus,
div.wpforms-container-full .wpforms-form select:focus,
div.wpforms-container-full .wpforms-form textarea:focus {
    border-color: #038c5a !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(3, 140, 90, 0.15) !important;
}

div.wpforms-container .wpforms-form button[type="submit"],
div.wpforms-container .wpforms-form input[type="submit"],
div.wpforms-container .wpforms-form .wpforms-submit,
div.wpforms-container-full .wpforms-form button[type="submit"],
div.wpforms-container-full .wpforms-form input[type="submit"],
div.wpforms-container-full .wpforms-form .wpforms-submit,
.wpforms-submit-container button.wpforms-submit,
button.wpforms-submit,
input.wpforms-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #038c5a !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 2px solid #038c5a !important;
    border-radius: 5px !important;
    padding: 12px 28px !important;
    height: auto !important;
    min-height: 46px !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    line-height: 1.3 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(3, 140, 90, 0.28) !important;
    transition: all 0.2s ease !important;
}

div.wpforms-container .wpforms-form button[type="submit"]:hover,
div.wpforms-container .wpforms-form button[type="submit"]:focus,
div.wpforms-container .wpforms-form button[type="submit"]:active,
div.wpforms-container .wpforms-form .wpforms-submit:hover,
div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
div.wpforms-container-full .wpforms-form button[type="submit"]:focus,
div.wpforms-container-full .wpforms-form button[type="submit"]:active,
div.wpforms-container-full .wpforms-form .wpforms-submit:hover,
.wpforms-submit-container button.wpforms-submit:hover,
button.wpforms-submit:hover,
input.wpforms-submit:hover {
    background-color: #012326 !important;
    background-image: none !important;
    border-color: #012326 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(1, 35, 38, 0.35) !important;
    transform: translateY(-1px);
}
