/*----------------------------*\
    Profile , Order and Wishlist Styling
\*----------------------------*/
/* General Styling */
input[type="date"] {
    width: 20% !important;
}

.profile-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 40px auto;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar-01 {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    margin: 20px;
    border-right: 1px solid #ddd;
    background-color: #f6f6f6;
}

.sidebar-01 p {
    padding: 10px;
    font-size: 18px;
    margin: 10px 0;
}

.sidebar-01 strong {
    display: flex;
    font-size: 18px;
    margin: 10px 0;
}

.sidebar-01 ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 20px;
}

.sidebar-01 ul li {
    padding: 0 10px;
    margin: 15px 0;
    cursor: pointer;
    color: #333;
}

.sidebar-01 ul li a {
    text-decoration: none;
    color: #777;
}

.sidebar-01 ul li.active {
    font-weight: bold;
    font-size: 17px;
    color: #000;
    /* transform: scale(1.2) translateX(15px); */
    text-decoration: underline #b23437 3px;
}

.logout {
    margin-top: 20px;
    color: #b23437;
    cursor: pointer;
}

/* Account Settings Styling */
.account-settings {
    flex: 3;
    padding: 30px;
}

.account-settings h2 {
    margin-bottom: 30px;
    font-size: 24px;
}

.roww {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.roww>div {
    flex: 1;
    min-width: 250px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}
.account-settings
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    box-sizing: border-box;
}

.geneder-head {
    display: flex;
    gap: 50px;
}

.gender-options {
    display: flex;
    gap: 20px;
}

.gender-options label {
    margin-right: 15px;
}

.account-settings button {
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 10%;
}

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

/* Main Content Styling */
.order-content {
    flex: 3;
    padding: 20px;
}

/* Product Card */
.product-card {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.product-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 1px;
}

.product-info {
    margin-left: 20px;
}

.product-info h3,
h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
    color: #444;
}

.product-info .price {
    font-size: 16px;
    font-weight: bold;
    color: #444;
    margin-bottom: 5px;
}

.product-info .quantity {
    font-size: 14px;
    color: #444;
}

/* Order Navigation Container */
.order-nav01 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 1rem;
    flex-wrap: wrap;
    /* Adjust layout for smaller screens */
    background-color: #fff;
}

.order-nav01 h2 {
    margin: 1px;
    font-weight: 500;
}

/* Searchbar Wrapper */
.searchbar001 {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 100%;
}

/* Input Field */
.searchbar001 input {
    flex: 1;
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focused Input */
.searchbar001 input:focus {
    border-color: #b23437;
    box-shadow: 0 0 5px #b23437;
}

/* Search Button */
.searchbar001 button {
    padding: 10px;
    font-size: 15px;
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
    border-top-right-radius: 4px;
    /* Keep top-right radius */
    border-bottom-right-radius: 4px;
    /* Keep bottom-right radius */
    cursor: pointer;
    position: relative;
    right: 5px;
    width: 40px;
}


/* wishlist Styling */
.wlist-cntnr-123 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
    flex: 3;
}

.wlist-cntnr-124 {
    position: relative;
    width: 100%;
    max-width: 250px;
}

.wlist-item-456 {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    padding: 0px;
    background: #fff;
    text-align: center;
    max-width: 250px;
    margin: 30px 0;
}

.wlist-img-789 {
    width: 100%;
    max-width: 250px;
    display: block;
}

.rmv-btn-101112 {
    position: absolute;
    top: 0px;
    left: 0px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 5px 5px 2px;
    border-radius: 5px;
    z-index: 1;
}

.disc-bdg-131415 {
    position: absolute;
    top: 5px;
    left: 10px;
    background: #b23437;
    color: white;
    padding: 2px 5px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
}

.prd-info-161718 {
    margin-top: 10px;
    padding: 0 10px;
}

.prd-name-192021 {
    font-weight: bold;
    margin-bottom: 5px;
}

.prd-price-222324 {
    color: #555;
}

.old-price-252627 {
    text-decoration: line-through;
    color: #888;
    margin-left: 10px;
}
.container::before {
    content: none;
}



/*=========================================================
    Cart
===========================================================*/
.cart-container-1{
	max-width: 100%;
	height: 446.5px;
	border: 1px solid #ccc;
	overflow: auto;
}

.cart-container-02 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 1px;
    background-color: #f9f9f9;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.cart-item-details {
	display: flex;
	flex-direction: column;
	align-items: center;
    flex: 1;
    padding: 0 10px;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
}

.product-price {
    font-size: 14px;
    color: #555;
}

.sale-price {
	font-size: 18px;
    color: green;
    font-weight: bold;
    margin-right: 0px;
}

.mrp {
	font-size: 12px;
    text-decoration: line-through;
    color: #999;
}

.quantity {
    margin-top: 10px;
}

.quantity input {
    width: 40px;
    padding: 5px;
    margin-left: 0px;
}

.remove-btn {
    background-color: #b23437;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
	width: 20%;
}

.remove-btn:hover {
    background-color: darkred;
}

/* Style for the scrollbar */
.cart-container-1::-webkit-scrollbar {
    width: 10px; /* Set the scrollbar width */
}

/* Style for the scrollbar thumb */
.cart-container-1::-webkit-scrollbar-thumb {
    background-color: #b23437; /* Set the thumb color */
    border-radius: 1px; /* Optional: Add rounded corners to the thumb */
}

/* Optional: Style for the scrollbar track */
.cart-container-1::-webkit-scrollbar-track {
    background-color: #f0f0f0; /* Set the track background color */
}






/*=========================================================
    Sidebar/ Navbar
===========================================================*/
/* Sidebar Styles */
.sidebar {
    height: 100%;
    padding: 0;
    margin: 0;
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    background-color: #FFF;
    transition: 0.3s;
    z-index: 1000;
    overflow-y: auto;
}
.sidebar-logo img {
    max-width: 130px;
    margin: 20px 60px 0px 60px;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.sidebar a,
.sidebar .section-label {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: #000;
    display: block;
    cursor: pointer;
    border-bottom: .5px solid #999;
}

.sidebar a:hover {
    background-color: #939698;
}

.sidebar button.active, .sidebar a.active {
    color: #b23437;
}

.section-label {
    font-weight: bold;
    text-transform: uppercase;
    background-color: #f9f9f9;
    border-bottom: 1px solid #ccc;
}

.dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.dropdown a {
    padding-left: 30px;
    font-size: 16px;
    color: #555;
}

.dropdown.active {
    max-height: 300px;
    opacity: 1;
}

/* Arrow styling */
.arrow {
    float: right;
    transition: transform 0.3s ease;
    color: #000;
    transform: translateX(0);
    position: relative;
}

/* Rotate arrow when active */
.dropdown-btn.active .arrow,
.sub-dropdown-btn.active .arrow {
    transform: rotate(180deg);
}


/* Sidebar toggle styles */
.open-sidebar {
    left: 0;
}

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.show-overlay {
    display: block;
}


/* Dropdown container */
.dropdown-container, .sub-dropdown-container {
    display: none;
    background-color: #f9f9f9;
    padding-left: 20px;
    transition: max-height 0.3s ease;
}

/* Buttons for dropdown */
.dropdown-btn, .sub-dropdown-btn {
    cursor: pointer;
    padding: 10px 15px;
    text-align: left;
    border: none;
    background: none;
    font-size: 18px;
    color: #000;
    width: 100%;
    outline: none;
    transition: 0.3s;
}

/*.dropdown-btn, .sub-dropdown-btn span {*/
/*    font-size: 10px;*/
/*    color: #b23437;*/
/*    padding-left: 5px;*/
/*}*/

/* Highlight buttons on hover */
.dropdown-btn:hover, .sub-dropdown-btn:hover {
    background-color: #939698;
}

/* Nested links inside sub-dropdown */
.sub-dropdown-container a {
    padding: 8px 15px;
    text-decoration: none;
    color: #000;
    display: block;
    transition: 0.3s;
}

.sub-dropdown-container a:hover {
    background-color: #c5c6c7;
}
/* Sidebar Icons Section */
.sidebar-icons {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    margin-bottom: 0px;
}

/* Icon styling */
.icon-link {
    color: #333;
    font-size: 24px;
    text-decoration: none;
}

.icon-link:hover {
    color: #b23437; /* Change color on hover */
    background-color: transparent !important;
}

/* Optional: Add some space between the icons */
.sidebar-icons a {
    margin: 0 10px;
}






/*=========================================================
    13 -> RESPONSIVE
===========================================================*/
@media only screen and (min-width: 992px){
    .sidebar , .overlay {
        display: none;
    }
}
@media only screen and (max-width: 991px) {
    /* profile responsiveness */
    .profile-container {
        flex-direction: column;
    }

    .sidebar-01 {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .order-container {
        flex-direction: column;
    }

    .account-settings {
        padding: 20px;
    }
}

@media only screen and (max-width: 768px) {
    /* profile responsiveness */
    .row>div {
        flex: 1 1 100%;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    button {
        font-size: 14px;
    }

    .account-settings button {
        padding: 10px 15px;
        width: 20%;
    }

    input[type="date"] {
        width: 35% !important;
    }
    .wlist-cntnr-123 {
        grid-template-columns: repeat(3, 1fr);
        padding: 10px;
    }
}

@media (max-width: 600px) {
    .order-nav01 {
        flex-direction: column;
        align-items: stretch;
    }

    .searchbar001 {
        width: 100%;
        /* Take full width in mobile view */
    }

    .searchbar001 input {
        flex-grow: 1;
    }

    .searchbar001 button {
        flex-shrink: 0;
        /* Prevent the button from shrinking */
    }

    .product-info h3 {
        font-size: 15px;
    }

    .product-info .price {
        font-size: 15px;
    }

    .product-info .quantity {
        font-size: 13px;
    }

    .product-info h4 {
        font-size: 15px;
        margin: 13px;
    }
}

@media (max-width: 576px) {
    .sidebar-01 ul li {
        font-size: 14px;
    }

    .sidebar-01 p {
        font-size: 16px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .account-settings h2 {
        font-size: 20px;
    }
    .wlist-cntnr-123 {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
    }
}