.top_logo {
    width: 200px;
}

img {
    touch-action: manipulation;
}

.top_logo img {
    max-height: 80px;
    height: auto;
    object-fit: contain;
}

.account-dropdown-toggle:hover .account-dropdown-menu {
    display: block;
}

.account-dropdown-menu {
    display: none;
    z-index: 1000;
    min-width: 160px;
}

.cart-count {
    font-size: 0.75rem;
}

.default-btn {
    padding: 10px 15px;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    outline: none;
    color: #fff;
    width: 100%;
    background-color: #3dcdff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 6px #00000017;
}

.default-btn:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 550px;
    height: 550px;
    margin: auto;
    background: var(--lightblueColor);
    border-radius: 8px;
    z-index: -1;
    transform-origin: top center;
    transform: translateX(-50%) translateY(-5%) scale(0.4);
    transition: transform 0.9s;
}

.default-btn:hover {
    color: var(--greenColor) !important;
}

.default-btn:hover:before {
    transition: transform 1s;
    transform: translateX(-45%) translateY(0) scale(1);
    transform-origin: bottom center;
}

.header_area {
    position: fixed;
    /* left: 0%; */
    z-index: 2;
    width: 100%;
    background: white;
    /* border-bottom: 1px solid #e5e5e5; */
}

.search-bar-wrapper {
    max-width: 500px;
    margin: 0 auto;
    /* border: 1px solid #ddd; */
    border-radius: 50px;
    overflow: hidden;
    background-color: #fff;
    padding: 5px 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.search-input {
    border: none;
    outline: none;
    box-shadow: none;
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 50px;
}

.search-btn {
    border: none;
    background-color: #3dcdff;
    color: #fff;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #3dcdff;
}

.account-button {
    text-decoration: none;
    color: #000;
    padding: 8px 12px;
    border-radius: 10px;
    transition: background 0.3s;
}

.account-button:hover {
    background-color: #f6f6f6;
}

.user-icon {
    font-size: 22px;
    margin-right: 17px;
    color: #3dcdff;
}

.text-start strong {
    color: #3dcdff;
}

.main_header_area {
    /* padding: 10px 0px; */
}

.banner-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.banner {
    width: 26.3%;
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}

.banner-content {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    color: #333;
    text-align: left;
}

.banner h2 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    margin: 0 0 10px;
}

.banner p {
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.banner .btn {
    display: inline-block;
    background-color: #e0b143;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    font-size: 14px;
}

.overlay-text {
    color: white;
    font-size: 24px;
    font-family: "Playfair Display", serif;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: pre-line;
}

.header_area {
    position: fixed;
    z-index: 2;
    width: 100%;
    background: white;
    /* border-bottom: 1px solid #e5e5e5; */
}

.account-button img {
    object-fit: cover;
}

.product-img .is_offer {
    position: absolute;
    top: 0;
    padding: 8px 15px;
    background: #3dcdff;
    color: white;
}

.mt-25 {
    margin-top: 25px;
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown > .dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.search-toggle-btn {
    border: none;

    color: #3dcdff;
    height: 40px;
    width: 40px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    background-color: none !important;
}

.search-container {
    position: absolute;
    top: 50px;
    left: -61px;
    padding: 10px;
    border-radius: 5px;
    display: none;
    animation: slideIn 0.3s forwards;
    z-index: 1000;
}

.search-bar-wrapper input.search-txt {
    width: 200px;
    padding: 6px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    margin-right: 8px;
}

.search-btn {
    background: #3dcdff;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 50%;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.view-as {
    gap: 10px;
}

.product-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.single_gallery_item {
    box-sizing: border-box;
    /* padding: 5px; */
    border: 2px solid #f1f1f1;
    background: #fff;
    border-radius: 10px;
}

/* Default Desktop Layout */
.view-grid-4 .single_gallery_item {
    width: 23%;
}

.view-grid-3 .single_gallery_item {
    width: 31.5%;
}

.view-grid-2 .single_gallery_item {
    width: 48%;
}

.view-list .single_gallery_item {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.view-list .product-img {
    width: 150px;
    flex-shrink: 0;
}

.view-list .product-description {
    flex: 1;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 9999;
    padding: 20px;
}

.cart-sidebar.active {
    right: 0;
}

.d-none {
    display: none;
}

.filter-bar {
    margin: 10px 0;
    gap: 15px;
    display: flex;
    flex-wrap: wrap;
}

.d-none {
    display: none;
}

.footer-logo {
    width: 100px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-select {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 120px;
    font-size: 14px;
    background-color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 0L5 4L9 0' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 6px;
}

#close-sidebar {
    border: none !important;
    background: none !important;
}

.account-dropdown {
    position: relative;
    display: inline-block;
}

.account-dropdown-toggle {
    cursor: pointer;
}

.account-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    min-width: 180px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 999;
}

/* Show dropdown when parent is hovered */
.account-dropdown:hover .account-dropdown-menu {
    display: block;
}

.account-dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
}

.account-dropdown-menu a:hover {
    background-color: #f8f9fa;
}

.cart-item img {
    border-radius: 4px;
    object-fit: cover;
}

.search-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 10000;
    padding: 20px;
}

.search-sidebar.active {
    right: 0;
}

.search-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-form input {
    width: 100%;
}

/* ✅ For 320px – show 1 product */
@media (max-width: 350px) {
    .view-grid-3 .single_gallery_item,
    .view-grid-list .single_gallery_item {
        display: none !important;
    }

    .view-grid-4 .single_gallery_item {
        width: 100% !important;
    }

    .view-grid-2 .single_gallery_item {
        width: 46%;
    }
}

@media (max-width: 576px) {
    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ✅ For 351px to 767px – show 2 products */
@media (min-width: 351px) and (max-width: 767px) {
    .view-grid-4 .single_gallery_item,
    .view-grid-3 .single_gallery_item {
        width: 47%;
    }

    .view-grid-2 .single_gallery_item {
        width: 100%;
    }
}

/* ✅ For 768px to 991px – show 3 products */
@media (min-width: 768px) and (max-width: 991px) {
    .view-grid-4 .single_gallery_item {
        width: 22%;
    }
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-toggle .box {
    width: 32px;
    height: 32px;
    border: 2px solid #999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.view-toggle .box.active {
    border-color: #000;
}

.horizontal-bars,
.vertical-bars {
    display: flex;
    gap: 2px;
}

.horizontal-bars {
    flex-direction: column;
}

.horizontal-bars div,
.vertical-bars div {
    background: gray;
}

.horizontal-bars div {
    width: 16px;
    height: 3px;
}

.vertical-bars div {
    width: 3px;
    height: 16px;
}

.box.active .vertical-bars div {
    background: black;
}

.navbar {
    margin-bottom: 0px !important;
}

.add-to-cart-btn {
    background-color: transparent;
    color: #333;
    /* dark gray text */
    border: 1px solid #000;
    /* thin black border */
    height: 24px;
    width: 48px;
    text-align: center;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #f0f0f0;
}

.cod-btn {
    margin-top: 10px;
    background-color: #111;
    color: white;
    border: 2px solid orange;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cod-btn:hover {
    background-color: #1a1a1a;
    border-color: #ffa65c;
}

@keyframes vibrate {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.cod-btn.vibrating {
    animation: vibrate 0.3s ease;
}

.cod-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cod-form label {
    width: 100%;
    font-weight: bold;
    margin-top: 10px;
}

.cod-form .form-group {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

.cod-form input,
.cod-form button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.cod-form button {
    width: 100%;
    margin-top: 20px;
    background-color: #28a745;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.main-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 4rem;
}

@media (max-width: 768px) {
    .cod-form .form-group {
        flex: 1 1 100%;
    }
}

.qty-box,
.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    padding: 6px 12px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
}

.qty-input {
    width: 60px;
    text-align: center;
    padding: 5px 0px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.qty-display {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-width: 40px;
    text-align: center;
}

/* Modal Overlay */
.cod-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    /* Dim background */

}

.cod-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    position: relative;
}

.cod-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.cod-close:hover {
    color: red;
}

.cod-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cod-product-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.cod-qty {
    text-align: center;
    margin-bottom: 20px;
}

.qty-box {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.qty-box button {
    padding: 0px 8px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
}

.qty-box input {
    width: 50px;
    text-align: center;
}

.cod-summary {
    background: #f1f1f1;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.cod-summary div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cod-summary .total {
    font-weight: bold;
}

.cod-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cod-form input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.cod-form label {
    font-weight: 500;
    font-size: 14px;
}

.submit-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
}
.social-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
   
}
