/* Base Styles */
.link-icon {
    height: 74.1px;
    width: 185px;
    position: relative;
    object-fit: cover;
    max-width: 100%;
}

.input-search {
    width: calc(100% - 53px);
    border: 0;
    outline: 0;
    background-color: var(--color-white);
    flex: 1;
    border-radius: var(--br-10xs) 0 0 var(--br-10xs);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 12.8px var(--padding-3xs) 13.2px;
    box-sizing: border-box;
    font-family: var(--font-inter);
    font-size: 16.1px;
    color: #4d4d4d;
    min-width: 150px;
}

.button-search {
    padding: 10px;
    position: relative;
    border-radius: 0 var(--br-10xs) var(--br-10xs) 0;
    cursor: pointer;
}

.search-product,
.search-product-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    max-width: 100%;
}

.search-product {
    width: 100%;
    max-width: 641px;
    box-shadow: 0 2px 3px rgba(127, 127, 127, 0.11);
    border-radius: 4px;
    background-color: transparent;
    border: 1px solid rgba(127, 127, 127, 0.2);
    flex-direction: row;
    row-gap: var(--gap-xl);
    position: relative;
}

.search-product-wrapper {
    position: relative;
    flex: 1;
    flex-direction: column;
    padding: var(--padding-smi) 0 0;
    min-width: 0;
}

.view {
    margin: 0 !important;
    position: absolute;

}

.cart-icon {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    overflow: hidden;
    max-height: 100%;
    margin: 0 !important;
}

.view {
    right: -36px;
    bottom: -18.5px;
    text-decoration: underline;
    line-height: 19.6px;
    display: inline-block;
    min-width: 37px;
    z-index: 2;
}

.container,
.view-more {
    flex-direction: row;
    position: relative;
}

.container {
    height: 1px;
    width: 1px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 1;
}

.view-more {
    align-self: stretch;
    padding: 35px 9px var(--padding-3xs);
}

.content-wrapper,
.navigation,
.view-more {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.navigation {
    width: 48px;
    flex-direction: column;
    padding: var(--padding-sm) 0 0;
    box-sizing: border-box;
}

.content-wrapper {
    align-self: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 24px;
    max-width: 100%;
}

.home {
    font-size: 15.8px;
}

.blog,
.home,
.shop {
    position: relative;
    line-height: 19px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bolder;
    color: white;
}

.blog {
    display: inline-block;
    min-width: 46.4px;
}

.footer-links,
.home-parent {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.home-parent {
    align-self: stretch;
    flex-direction: row;
    gap: 34.2px;
}

.footer-links {
    width: 725px;
    flex-direction: column;
    padding: 11.5px 0 0;
    box-sizing: border-box;
    max-width: 100%;
}

.login {
    flex: 1;
    position: relative;
    line-height: 19px;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
}

.item-link {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: var(--padding-xs) var(--padding-2xs) 12.5px var(--padding-xs);
    opacity: 0.8;
    flex-shrink: 0;
}

.usd {
    margin-top: -1px;
    position: relative;
    line-height: 17.2px;
    text-transform: uppercase;
    display: inline-block;
}

.options-change-your-currency {
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 0 0.2px;
}

.dropdown-icon {
    width: 8px;
    height: 6px;
    position: relative;
}

.currency-dropdown {
    flex-direction: column;
    justify-content: flex-start;
    padding: 5.5px 0 0;
}

.currency-dropdown,
.currency-options,
.item {
    display: flex;
    align-items: flex-start;
}

.item {
    flex-direction: row;
    justify-content: flex-start;
    padding: var(--padding-5xs) 7px var(--padding-5xs) var(--padding-3xs);
    gap: 5px;
    opacity: 0.8;
    flex-shrink: 0;
}

.currency-options {
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 0 4.8px;
    text-align: left;
}

.user-actions {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 4.2px;
    text-align: right;
    font-size: var(--font-size-mini-9);
}

.background,
.banner,
.footer {
    max-width: 100%;
    display: flex;
    align-items: flex-start;
}

.footer {
    align-self: stretch;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 4px 0 0;
    box-sizing: border-box;
    gap: var(--gap-xl);
    font-size: var(--font-size-base);
}

.background,
.banner {
    justify-content: flex-start;
}

.background {
    flex: 1;
    background-color: var(--color-teal);
    flex-direction: column;
    padding: 20px var(--padding-mini) var(--padding-5xs) var(--padding-6xl);
    box-sizing: border-box;
    gap: 18px;
    text-align: left;
    font-size: 15.9px;
    color: var(--color-white);
    font-family: var(--font-inter);
}

.banner {
    width: 100%;
    flex-direction: row;
    line-height: normal;
    letter-spacing: normal;
}

/* Mobile Menu Toggle (Hidden by default) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .content-wrapper {
        gap: 15px;
    }

    .search-product-wrapper {
        order: 1;
        width: 100%;
        padding-top: 15px;
    }

    .link-icon {
        width: 150px;
        height: auto;
    }

    .home-parent {
        gap: 20px;
    }
}

@media screen and (max-width: 1000px) {
    .navigation {
        position: absolute;
        top: 75px;
        right: 10px;
    }

}

@media screen and (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .navigation {
        position: absolute;
        top: 20px;
        right: 0px;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-links,
    .user-actions {
        width: 100%;
        justify-content: center;
    }

    .home-parent {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .background {
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .mobile-menu-toggle {
        display: block;
    }

    .home-parent {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 10px;
        padding: 10px 0;
    }

    .home-parent.active {
        display: flex;
    }

    .footer {
        flex-direction: column;
    }

    .footer-links {
        width: 100%;
        padding: 0;
    }

    .user-actions {
        width: 100%;
        justify-content: space-around;
    }

    .input-search {
        min-width: 100px;
    }

    .link-icon {
        width: 120px;
    }

    .view {
        display: none;
    }
}



/* Search */

/* Search Results Styles */
.search-results-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: calc(100% - 53px);
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 500px;
    overflow-y: auto;
    display: none;
    padding: 12.8px var(--padding-3xs) 13.2px 1px;
}

/* .search-results-list {
    padding: 10px;
} */

.search-result-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f9f9f9;
}

.search-result-item a {
    display: flex;
    text-decoration: none;
    color: #333;
}

.search-result-image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.search-result-content {
    flex: 1;
}

.search-result-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.search-result-content p {
    margin: 0 0 5px 0;
    font-size: 12px;
    color: #666;
}

.search-result-content .excerpt {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-results {
    padding: 15px;
    text-align: center;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-result-item a {
        flex-direction: column;
    }

    .search-result-image {
        width: 100%;
        height: 120px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .search-results-container {
        width: calc(100% - 53px);
        left: 1px;
    }
}


/* Menue  */
.menu-icon {
    width: 36px;
    height: 36px;
    cursor: pointer;
    margin-right: 10px;
    display: none;
}

/* Mobile Sidebar Styles */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background-color: white;
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.mobile-nav-item {
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}


/* Ensure menu icon is visible on mobile */
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        max-width: 100%;
        overflow: hidden;
        max-height: 100%;
    }

    /* Hide the desktop navigation in footer on mobile */
    .footer-links,
    .user-actions {
        display: none;
    }

    .menu-navigation {
        position: absolute;
        left: 20px;
        top: 20px;

    }

    .menu-navigation {
        width: 48px;
        flex-direction: column;
        padding: var(--padding-sm) 0 0;
        box-sizing: border-box;
    }

    .view-more-menu {
        align-self: stretch;
        /* padding: 35px 9px var(--padding-3xs); */
    }

    .mobile-header {
        position: absolute;
        top: 20px;
    }
}





/* Cart */

/* Cart Styles with Unique Variables */
.ol-cart-icon-container {
    --ol-cart-bg: #fff;
    --ol-cart-border: #ddd;
    --ol-cart-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --ol-cart-primary: var(--color-teal);
    --ol-cart-text: #333;
    --ol-cart-text-light: #666;
    --ol-cart-radius: 4px;
    --ol-cart-count-bg: #b02626e5;
    /* Vibrant coral (AAA contrast on white) */
    --ol-cart-count-color: #ffffff;
    /* Pure white */

    position: relative;
    cursor: pointer;
}

.ol-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: max-content;
    max-width: 40vw;
    background: var(--ol-cart-bg);
    border: 1px solid var(--ol-cart-border);
    border-radius: var(--ol-cart-radius);
    box-shadow: var(--ol-cart-shadow);
    z-index: 1000;
    display: none;
    padding: 15px;
    max-height: 70vh;
    overflow-y: auto;
}

.ol-cart-dropdown.active {
    display: block;
}

.ol-cart-icon {
    position: relative;
}

.ol-cart-count {
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: var(--ol-cart-count-bg);
    color: var(--ol-cart-count-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transform: scale(1);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.ol-cart-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid var(--ol-cart-border);
    align-items: center;
}

.ol-cart-item:last-child {
    border-bottom: none;
}

.ol-cart-item-image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.ol-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.ol-cart-item-details {
    flex: 1;
}

.ol-cart-item-title {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--ol-cart-text);
}

.ol-cart-item-price {
    margin: 0;
    font-size: 14px;
    color: var(--ol-cart-text-light);
}

.ol-cart-item-quantity {
    display: inline-flex;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    /* gap: 10px; */
    font-size: 13px;
    color: var(--ol-cart-text-light);
}

.ol-cart-item-quantity > * {
  background: #f8f8f8; /* optional */
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  aspect-ratio: 1 / 1; /* This forces a square shape */
  box-sizing: border-box;
}



.ol-cart-item-attributes {
    margin: 0;
    font-size: 13px;
    color: var(--ol-cart-text-light);
}

.ol-cart-subtotal {
    padding: 15px 0;
    border-top: 1px solid var(--ol-cart-border);
    margin-top: 10px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    color: var(--ol-cart-text);
}

.ol-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.ol-view-cart-btn,
.ol-checkout-btn {
    padding: 10px;
    text-align: center;
    border-radius: var(--ol-cart-radius);
    text-decoration: none;
    font-weight: 600;
}

.ol-view-cart-btn {
    background-color: #f5f5f5;
    color: var(--ol-cart-text);
    border: 1px solid var(--ol-cart-border);
}

.ol-checkout-btn {
    background-color: var(--ol-cart-primary);
    color: white;
    border: 1px solid var(--ol-cart-primary);
}

.ol-empty-cart {
    padding: 15px;
    text-align: center;
    color: var(--ol-cart-text-light);
}

/* Loading Animation */
.ol-cart-loading {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.ol-cart-loading:after {
    content: " ";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--ol-cart-primary);
    border-color: var(--ol-cart-primary) transparent var(--ol-cart-primary) transparent;
    animation: ol-cart-spin 1.2s linear infinite;
}

@keyframes ol-cart-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.ol-cart-close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    font-size: 25x;
    cursor: pointer;
    padding: 5px;
    color: #333;
    z-index: 1;
}

.ol-cart-close-btn:hover {
    color: #000;
    cursor: pointer;
}

/* Ensure menu icon is visible on mobile */
@media screen and (max-width: 768px) {
    .ol-cart-dropdown {
    max-width: 70vw;
    }
}




/* modal */

/* Quick Shop Modal Styles */
.quick-shop-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-shop-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.quick-shop-modal-content {
    position: relative;
    background-color: #fff;
    width: 40vw;
    max-width: 40vw;
    max-height: 75vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 5px;
    z-index: 10000;
    font-family: var(--font-inter);
}

.quick-shop-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
}

/* Responsive adjustments */

@media (max-width: 1000px) {
    .quick-shop-modal-content {
        width: 60vw;
        max-width: 60vw;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .quick-shop-modal-content {
        width: 80vw;
        max-width: 80vw;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .quick-shop-modal-content {
        width: 90vw;
        max-width: 90vw;
    }
}

.modal-frame-form {
    flex: 1 !important;
}

.quick-modal-section {
    flex-wrap: wrap !important;
}




.ol-remove-item {
    background: none;
    border: none;
    color: #d9534f;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
    margin-top: 5px;
    margin: 5px 0px 0px 30px ;
    text-decoration: none;
}

.ol-remove-item:hover {
    color: #c9302c;
}

.ol-cart-item {
    position: relative;
    transition: all 0.3s ease;
}


.ol-cart-item-quantity {
    /* display: flex;
    align-items: center; */
    margin: 10px 0;
}

.ol-cart-item-quantity button {
    width: 25px;
    height: 25px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ol-cart-item-quantity button:hover {
    background: #e0e0e0;
}

.ol-cart-item-quantity input {
    /* width: 40px; */
    height: 25px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 0;
    -moz-appearance: textfield;
}

/* Remove number input spinner arrows in Chrome, Safari, Edge */
.ol-cart-item-quantity input::-webkit-outer-spin-button,
.ol-cart-item-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Optional: Ensure full width centering */
.ol-cart-item-quantity input[type="number"] {
    text-align: center;
    min-width: 40px;
    inline-size: 40px;
}


.ol-cart-item-quantity input:focus {
    outline: none;
    border-color: #aaa;
}

.decrease-quantity {
    margin-left: 10px;
}
