:root {
    --primary-blue: #007bff;
    --light-blue: #e8f3fe;
    /* For active/hover states or backgrounds */
    /* --border-light-gray: #dee2e6; */
    --border-light-gray: #e0e0e0;
    --bg-light-gray: #f7f7f7;
    --text-dark: #343a40;
    --text-muted: #6c757d;
    --text-price: #000;
    --text-old-price: #888;
    --stars-gold: #FF9017;
    --shipping-green: #28a745;
}

/* body {
    margin: 0;
    background-color: #F7FAFC;
    min-width: 1440px;
    margin: 20px auto;
    font-size: 14px;
    color: var(--text-dark);
    } */

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

.mobile-view-only {
    display: none;
}

.container {
    font-family: 'Inter' !important;
    max-width: 90%;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

.breadcrumbs {
    width: fit-content;
    cursor: pointer;
    /* padding: 0 190px; */
    margin: 15px 20px 15px 190px;
    font-size: 16px;
    line-height: 24px;
    background: rgba(247, 250, 252, 1);
    color: rgba(139, 150, 165, 1);
    /* margin-bottom: 15px; */
}

.breadcrumbs span {
    margin-right: 5px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
}

.breadcrumbs span:not(:last-child)::after {
    content: ' > ';
    margin-left: 5px;
}

.product-header-controls {
    display: flex;
    justify-content: start;
    align-items: center;
    /* margin-left: 10.5%; */
}

.product-count {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.product-count .highlight {
    color: var(--primary-blue);
}

.filter-options {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.filter-options input[type="checkbox"] {
    margin-right: 5px;
    accent-color: var(--primary-blue);
}

.filter-options label {
    color: var(--text-muted);
    cursor: pointer;
}

.filter-options .dropdown select {
    border: 1px solid var(--border-light-gray);
    padding: 7px 10px;
    border-radius: 4px;
    background-color: #fff;
    appearance: none;
    /* Remove default arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2C197.4L159.9%2C69.8c-3.1-3.1-8.2-3.1-11.3,0l-127.8,127.6c-3.1,3.1-3.1,8.2,0,11.3c3.1,3.1,8.2,3.1,11.3,0L149.2,91.8l127.8,127.6c3.1,3.1,8.2,3.1,11.3,0C290.1,205.6,290.1,200.5,287,197.4z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px;
    cursor: pointer;
    color: var(--text-muted);
}

.view-icons {
    display: flex;
    gap: 5px;
    border: 1px solid var(--border-light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.view-icons i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    background-color: #fff;
    font-style: normal;
    /* Override default italic for <i> */
}

.view-icons i:first-child {
    border-right: 1px solid var(--border-light-gray);
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

/* SVG icons for grid/list for better visual match */
.icon-grid::before {
    content: url('data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10 3H3V10H10V3Z" stroke="%23007bff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M21 3H14V10H21V3Z" stroke="%23007bff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M21 14H14V21H21V14Z" stroke="%23007bff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10 14H3V21H10V14Z" stroke="%23007bff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.icon-list::before {
    content: url('data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 6H21" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 12H21" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 18H21" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 6H3.01" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 12H3.01" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 18H3.01" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}


/* Main Content Area */
.main-content {
    display: flex;
    flex-wrap: wrap;
    /* Allows items to wrap on smaller screens */
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* Sidebar */
.sidebar {
    min-width: 250px;
    flex: 0.5;
    /* Takes available space */
    padding: 20px;
}


.filter-section {
    margin-bottom: 25px;
    padding-right: 20px;
    border-bottom: 1px solid var(--border-light-gray);
    padding-bottom: 20px;
}

.filter-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-section h3 {
    font-size: 16px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.arrow {
    color: rgba(139, 150, 165, 1);
    ;
}

.filter-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-section li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.filter-section li:last-child {
    margin-bottom: 0;
}

.filter-section li label {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.filter-section input[type="checkbox"],
.filter-section input[type="radio"] {
    margin-right: 8px;
    accent-color: var(--primary-blue);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-section .see-all {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

/* Price Range Specific Styling */
.price-range .range-slider {
    height: 5px;
    background-color: var(--border-light-gray);
    border-radius: 2.5px;
    margin-bottom: 15px;
}

.price-range .range-slider::after {
    content: '';
    display: block;
    height: 100%;
    width: 60%;
    background-color: var(--primary-blue);
    border-radius: 2.5px;
}


.price-range .price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-range input[type="number"] {
    width: 80px;
    padding: 8px 10px;
    border: 1px solid var(--border-light-gray);
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    color: var(--text-dark);
}

.price-range input[type="number"]::-webkit-outer-spin-button,
.price-range input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-range input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.price-range .apply-btn {
    background-color: var(--primary-blue);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.price-range .apply-btn:hover {
    background-color: #0056b3;
}

/* Ratings Specific Styling */
.ratings .stars {
    color: var(--stars-gold);
    font-size: 16px;
    letter-spacing: 1px;
}

.right-side {
    flex: 2;
    max-width: 75%;
    padding: 20px;
}

/* Product List */
.product-list {
    flex-grow: 1;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border: 1px solid var(--border-light-gray);
    border-radius: 6px;
    background-color: #fff;
    position: relative;
}

.product-image {
    width: 184.8000030517578;
    height: 184.8000030517578;
    margin-right: 15px;

    padding: 5px;
}

.product-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 30px;
}

.product-title {
    font-family: Inter;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.2px;
    color: rgba(28, 28, 28, 1);
}

.product-price-info {
    margin-bottom: 5px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-price);
    margin-right: 8px;
}

.old-price {
    font-size: 14px;
    color: var(--text-old-price);
    text-decoration: line-through;
}

.product-rating {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-value {
    font-weight: 500;
    color: var(--stars-gold);
}

.stars-filled {
    color: var(--stars-gold);
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 1;
}

.orders,
.shipping-info {
    color: var(--text-muted);
}

.shipping-info {
    color: var(--shipping-green);
    font-weight: 500;
}

.product-description {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    max-height: 2.8em;
}

.view-details {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.2s ease;
}

.view-details:hover {
    color: #0056b3;
}

.wishlist-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(222, 226, 231, 1);
    background-color: transparent;
    color: rgba(13, 110, 253, 1);
    cursor: pointer;
    transition: color 0.2s ease;
    box-shadow: 0px 1px 2px 0px rgba(56, 56, 56, 0.08);
}

.wishlist-icon:hover {
    color: var(--primary-blue);
}

.wishlist-icon i {
    transform: scale(1.5);
    display: flex;
    justify-content: center;
    padding: 13px 0;
}

/* Pagination */
.pagination {
    display: flex;
    max-width: 1100px;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid var(--border-light-gray);
    gap: 20px;
}

.show-per-page {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

.show-per-page select {
    border: 1px solid var(--border-light-gray);
    padding: 7px 10px;
    border-radius: 4px;
    background-color: #fff;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2C197.4L159.9%2C69.8c-3.1-3.1-8.2-3.1-11.3,0l-127.8,127.6c-3.1,3.1-3.1,8.2,0,11.3c3.1,3.1,8.2,3.1,11.3,0L149.2,91.8l127.8,127.6c3.1,3.1,8.2,3.1,11.3,0C290.1,205.6,290.1,200.5,287,197.4z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px;
    cursor: pointer;
    margin-left: 8px;
    color: var(--text-dark);
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-link,
.page-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    border: 1px solid var(--border-light-gray);
    border-radius: 4px;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-link.active,
.page-link:hover,
.page-arrow:hover {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

.page-link.active {
    pointer-events: none;
}

/* Pagination Area */
.pagination-area {
    width: fit-content;
    display: flex;
    margin-top: 10px;
    margin-left: 60%;
    align-items: start;
    justify-content: end;
    gap: 16px;
}


.custom-select-wrapper {
    position: relative;
    display: inline-block;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0.05rem 0.2rem rgba(0, 0, 0, .05);
}


.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: transparent;
    border: none;
    padding: 8px 30px 8px 12px;
    font-size: 14px;
    color: #343a40;
    outline: none;
    cursor: pointer;
    width: 120px;
    line-height: 1.5;
}

/* Style for the custom arrow */
.custom-select-wrapper .select-arrow {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #343a40;
    font-size: 10px;
    content: '\2304';
    display: block;
}

/* Pagination Navigation Group */
.pagination-nav {
    display: flex;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0.05rem 0.2rem rgba(0, 0, 0, .05);
}

/* Individual Pagination Buttons */
.pagination-button {
    background-color: #fff;
    color: #343a40;
    font-size: 14px;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    outline: none;
    flex-shrink: 0;
    line-height: 1.5;
    border-right: 1px solid #dee2e6;
}

/* Remove border-right from the last button in the group */
.pagination-button:last-child {
    border-right: none;
}

/* Style for the active (current page) button */
.pagination-button.active {
    background-color: #e9ecef;
    color: #343a40;
    font-weight: normal;
}

/* Style for disabled buttons (e.g., the 'previous' arrow on page 1) */
.pagination-button.disabled {
    color: #6c757d;
    cursor: not-allowed;
    background-color: #fff;
    opacity: 0.7;
}

/* Hover effect for interactive buttons */
.pagination-button:not(.disabled):hover {
    background-color: #f8f9fa;
}

.pagination-button.active:hover {
    background-color: #e9ecef;
}


/* Main container for the filter component */
.filter-component-container {
    width: fit-content;
    max-width: 845px;
    /* max-width: 100%; */
    display: flex;
    align-items: center;
    padding: 10px 8px 13px;
    /* margin-left: 31%; */
    border-radius: 6px;
    overflow: scroll;
    gap: 8px;
}

/* Style for an individual filter tag */
.filter-tag {
    display: flex;
    align-items: center;
    padding: 6px 6px 6px 10px;
    height: 32px;
    box-sizing: border-box;
    border: 1px solid rgb(26, 115, 232);
    border-radius: 5px;
    background-color: #FFFFFF;
    font-size: 14px;
    color: #5F6368;
    white-space: nowrap;
    gap: 9px;
}

/* Style for the close icon button */
.filter-close-icon {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #9AA0A6;
    transform: translateY(-0.5px);
    transition: color 0.2s ease;
}

.filter-close-icon:hover {
    color: #5F6368;
}

/* Style for the "Clear all filter" link */
.clear-all-filter {
    color: rgb(26, 115, 232);
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
    white-space: nowrap;
}

.clear-all-filter:hover {
    text-decoration: underline;
}

.product-filter-container {
    display: flex;
    flex-direction: column;
}

/* List View  */
.product-container.list-view {
    max-width: 100%;
    margin-bottom: 5%;
}

.product-container.list-view>.product-card {
    margin-bottom: 2%;
}

/* --- GRID VIEW Specific Styles --- */
.product-container.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.product-container.grid-view .product-card {
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.product-container.grid-view .product-image {
    mix-blend-mode: multiply;
    margin-bottom: 12px;
}

.product-container.grid-view .wishlist-icon {
    position: absolute;
    top: 265px;
    right: 16px;
    border: 1px solid #E0E0E0;
    background-color: #FFF
}

/* Hide these elements in grid view */
.product-container.grid-view .orders,
.product-container.grid-view .shipping-info,
.product-container.grid-view .product-description,
.product-container.grid-view .view-details {
    display: none;
}

/* Adjust title padding/margins specific to grid if needed */
.product-container.grid-view .product-details .product-title {
    margin-top: 5px;
}

.product-page-wrapper {
    max-width: 1180px;
    height: 580px;
    margin: 20px auto;
    padding: 0 20px 0 20px;
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.main-content {
    display: flex;
    justify-content: center;
    max-width: 80%;
}

.left-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 10px 65px 15px;
    align-items: center;
    box-sizing: border-box;
}

.main-image {
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(222, 226, 231, 1);
    border-radius: 6px;
    box-sizing: border-box;
}

.main-image img {
    width: 345px;
    height: 345px;
    object-fit: contain;
}

.thumbnails {
    display: flex;
    gap: 10px;
    padding-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 10px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thumbnail.selected {
    border-color: #f1b305;
    box-shadow: 0 0 0 2px #f1b305;
}

.thumbnail img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.middle-panel {
    flex: 0 0 40%;
    padding: 20px;
    Width: 430px;
    Height: 514px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Product Details */
.product-details {
    margin-bottom: 10px;
}

.stock-status {
    color: rgba(0, 181, 23, 1);
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    margin-bottom: -10px;
}

.product-titles {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.rating-info {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.stars {
    color: #f1b305;
    /* Gold/yellow for stars */
    font-size: 18px;
    margin-right: 5px;
    letter-spacing: 2px;
    /* Space between stars */
}

.rating-score {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0px;
    color: rgba(255, 144, 23, 1);
}

.reviews-count,
.sold-count {
    margin-left: 10px;
    color: #999;
    display: flex;
}

/* .reviews-count::before {
    content: url('./assets/detail-page-images/Icon/Vector-1 2.png');
    font-size: 14px;
    margin-right: 4px;
} */

/* Chat bubble icon */
/* .sold-count::before {
    content: url('./assets/detail-page-images/Icon/Vector\ 2.png');
    font-size: 14px;
    margin-right: 4px;
} */


/* Shopping bag icon */


.price-tiers {
    /* width: 430px; */
    height: 72px;
    display: flex;
    overflow: hidden;
    margin-bottom: 5px;
    background-color: rgba(255, 240, 223, 1);
    /* border: 1px solid rgba(189, 193, 200, 1); */
}

.price-tier {
    flex: 1;
    padding: 10px;
    text-align: start;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    position: relative;
}

.price-tier:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: #BDC1C8;
}

.price-tier:last-child {
    border-right: none;
}

.price-tier-value {
    font-family: Inter;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0px;
    color: rgba(250, 52, 52, 1);
    /* Red color for initial price */
    margin-bottom: 5px;
}

.price-tier:nth-child(2) .price-tier-value,
.price-tier:nth-child(3) .price-tier-value {
    color: #333;
    /* Darker for the other prices */
}

.price-tier-range {
    font-family: Inter;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0px;
    color: rgba(96, 96, 96, 1);
}

.specifications-container {
    max-width: 385px;
    max-height: 296px;
    padding: 0;
    box-sizing: border-box;
    order: 5;
    /* Add these new properties for collapsing */
    max-height: 150px;
    /* Adjust this value to your desired collapsed height */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.specifications-container.expanded {
    max-height: 1000px;
    /* A large value to ensure all content is visible when expanded */
    transition: max-height 0.5s ease-in;
}

.spec-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px 10px;
    justify-items: start;
    padding: 6px 0;
    border-bottom: 1px solid #E0E0E0;
    gap: 0;
    border-bottom: none;
}

.spec-value {
    display: flex;
    justify-content: flex-end;
}

/* Add a margin to create the gap between the two sections */
.spec-row:nth-child(4) {
    margin-bottom: 15px;
}

/* Remove the border from the last row of each section */
.spec-row:nth-child(2),
.spec-row:nth-child(3),
.spec-row:nth-child(5),
.spec-row:nth-child(6) {
    border-bottom: none;
}


.spec-label {
    margin: 0;
    color: rgba(139, 150, 165, 1);
    font-size: 16px;
    font-weight: 400;
}

.spec-value {
    margin: 0px;
    color: rgba(80, 80, 80, 1);
    font-size: 16px;
    font-weight: 400;
}

/* Supplier Info */
.right-panel {
    display: flex;
    flex-direction: column;
    margin-left: -55px;
}

.supplier-info {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    width: 280px;
    height: 300px;
    margin: 20px;
    margin-bottom: 20px;
}

.supplier-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.separater {
    border-top: 1px solid rgba(224, 224, 224, 1);
    margin-top: -7px;
}

/* Style for the Read More button */
.read-more-btn {
    display: none;
    /* Hidden by default for desktop */
    margin-top: 10px;
    background: none;
    border: none;
    color: var(--primary-blue);
    /* Assuming you have this CSS variable */
    font-weight: 500;
    cursor: pointer;
    padding: 5px 0;
    text-align: left;
    width: fit-content;
}

.supplier-initials {
    width: 60px;
    height: 50px;
    background-color: rgba(198, 243, 241, 1);
    color: rgba(76, 167, 167, 0.6);
    border-radius: 14%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* font-weight: bold; */
    font-size: 30px;
    margin-right: 10px;
}

.supplier-name-block {
    display: flex;
    flex-direction: column;
    /* padding: 0 10px; */
}

.supplier-text {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}

.text {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    color: rgba(139, 150, 165, 1);
}

.supplier-company {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    color: rgba(28, 28, 28, 1);
}

.supplier-location,
.supplier-badge-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.supplier-location {
    border-top: 1px solid rgba(224, 224, 224, 1);
    margin-top: 2px;
}

/* Icons for supplier badges using Unicode characters */
.supplier-badge-item .icon {
    font-size: 16px;
    margin-right: 10px;
    color: #888;
}

.icon.globe {
    color: #7681d4;
    /* Specific globe color if different */
}


.supplier-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
    text-decoration: none;
    /* For link-styled buttons */
    display: block;
    /* Make buttons fill available width */
}

.send-inquiry-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
}

.send-inquiry-btn:hover {
    background-color: #0060d0;
}

.seller-profile-btn {
    background-color: #fff;
    color: #007bff;
    border: 1px solid #007bff;
}

.seller-profile-btn:hover {
    background-color: #f0f8ff;
}

.save-for-later {
    text-align: center;
    margin-top: 15px;
    font-size: 15px;
}

.save-for-later a {
    color: #0D6EFD;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.save-for-later a .heart-icon {
    color: #0D6EFD;
    font-size: 18px;
    margin-right: 5px;
}

.detail-container-wrapper {
    max-width: 1180px;
    display: flex;
    margin: 20px auto;
    flex-direction: row;
    border-radius: 6px;
}

.detail-right-sidebox {
    margin: 20px;
    width: 280px;
}

.product-description-container {
    width: 880px;
    height: auto;
    margin: 20px auto;
    background-color: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.image-nav-arrows {
    display: none;
}

/* Tab Navigation */
.tabs {
    border-bottom: 1px solid #E5E7EB;
}

.tabs ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0 32px;
}

.tabs li a {
    display: block;
    padding: 16px 0;
    margin-right: 24px;
    font-size: 16px;
    color: #6B7280;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.tabs li.active a {
    color: #3B82F6;
    border-bottom-color: #3B82F6;
    font-weight: 500;
}

/* Content Area */
.content-section {
    padding: 24px 32px 32px;
}

.content-section p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

/* Specifications Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #E5E7EB;
    margin-bottom: 32px;
    font-size: 15px;
}

.spec-table td {
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
}

.spec-table tr td:first-child {
    background-color: #F9FAFB;
    width: 30%;
    font-weight: 500;
    color: #374151;
}

/* Features List */
.features-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.features-list li:last-child {
    margin-bottom: 0;
}

.features-list svg {
    color: #9CA3AF;
    margin-right: 12px;
    flex-shrink: 0;
    /* Prevents icon from shrinking */
}

.you-may-like-container {
    /* Dimensions from the prompt info */
    width: 280px;
    /* height: 553px; */

    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.title {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 20px 0;
}

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

.product-item {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.product-item:last-child {
    margin-bottom: 0;
}

.product-image-container {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #fff;
}

.product-image-container img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-name {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
}

.product-price {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    color: #8B96A5;
}

.related-products-container {
    width: 1180px;
    height: 350px;
    margin: 20px auto;

    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 20px 0;
}

.products-grids {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    width: 172px;
    height: 254px;
}

.detail-product-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 172px;
    height: 254px;
}

.product-image-wrapper {
    background-color: #f1f3f5;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 155px;
    width: 155px;
}

/* Style for the active/selected card's border */
.product-card.is-active .product-image-wrapper {
    border: 1px solid #ced4da;
    padding: 14px;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    mix-blend-mode: multiply;
}

.product-info {
    padding: 0 4px;
}

.product-name {
    font-size: 15px;
    color: #495057;
    line-height: 1.4;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.product-price {
    font-size: 14px;
    color: #868e96;
    margin: 0;
}

.discount-banner-container {
    width: 73%;
    height: 120px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    padding: 20px;
    color: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #eee;
    background: linear-gradient(55deg, #2563eb 60%, #1d4ed8 40%);
    margin-bottom: 60px;
}


.banner-title {
    font-family: Inter;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.2px;
    margin: 0 0 8px 0;
}

.banner-subtitle {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0px;
    opacity: 0.85;
    margin: 0;
}

.shop-now-button {
    background-color: #f97316;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background-color 0.2s ease-in-out;
}

.shop-now-button:hover {
    background-color: #ea580c;
}

.page-wrapper {
    width: 73%;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cart-heading {
    display: flex;
    width: 72%;
    margin: auto;
}

/* --- Left Side: Main Cart --- */

.cart-container {
    width: 880px;
    height: fit-content;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.cart-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #E2E8F0;
}

.item-image-container {
    width: 80px;
    height: 80px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e04d;
}

.item-image-container img {
    mix-blend-mode: multiply;
}

.item-details {
    flex-grow: 1;
}

.item-name {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 6px 0;
}

.item-specs,
.item-seller {
    font-size: 14px;
    color: #718096;
    margin: 4px 0;
}

.item-actions {
    margin-top: 12px;
}

.action-btn {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 0;

}

.action-btn.remove {
    color: #E53E3E;
    margin-right: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 6px 12px;
    font-weight: 500;
}

.action-btn.save {
    color: #3182CE;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 6px 12px;
}

.item-pricing {
    text-align: right;
}

.item-price {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 16px 0;
}

.quantity-selector {
    position: relative;
    display: flex;
    width: 90px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 8px 12px;
}

.quantity-selector label {
    font-size: 14px;
    color: #4A5568;
}

.quantity-selector select {
    border: none;
}

.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 24px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2563EB;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.remove-all {
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 10px 16px;
    background-color: transparent;
    font-size: 15px;
    color: #4a5568;
    cursor: pointer;
}


/* --- Right Side: Coupon & Summary --- */

.right-container-aside {
    align-items: center;
}

.coupon-container,
.summary-container {
    /* position: absolute; */
    width: 280px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 20px;
    box-sizing: border-box;
}

.coupon-container {
    height: 110px;
    /* top: 168px;
    left: 1030px; */
}

.coupon-container p {
    font-size: 16px;
    margin: 0 0 10px 0;
}

.coupon-input-group {
    display: flex;
}

.coupon-input-group input {
    flex-grow: 1;
    border: 1px solid #E2E8F0;
    padding: 10px;
    border-radius: 6px 0 0 6px;
    outline: none;
}

.coupon-input-group button {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-left: none;
    padding: 0 16px;
    border-radius: 0 6px 6px 0;
    color: #3182CE;
    font-weight: 500;
    cursor: pointer;
}

.summary-container {
    height: 302px;
    top: 290px;
    left: 1030px;
    font-size: 16px;
}

.summary-item,
.summary-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.summary-item span:first-child,
.summary-total span:first-child {
    color: #718096;
}

.summary-item .discount-price {
    color: #E53E3E;
    /* font-weight: 500; */
}

.summary-item .tax-price {
    color: #22C55E;
}

.summary-divider {
    border: none;
    border-top: 1px solid #E2E8F0;
    margin: 16px 0;
}

.summary-total {
    font-weight: 600;
    font-size: 18px;
}

.summary-total span:first-child {
    color: #2D3748;
}

.checkout-btn {
    width: 100%;
    background: #00B517;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 12px;
}

.payment-methods {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 16px;
}

.payment-methods img {
    height: 20px;
}

.documentation-help {
    display: flex;
    width: 73%;
    margin: auto;
}

.documentation-help>.items {
    margin-left: 15px;
}

.documentation-help .img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background-color: #DEE2E7;

}

.items {
    display: flex;
    align-items: center;
}

.txt p {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 7px;
    letter-spacing: -0.2px;
    margin-left: 10px;

}

.txt p:last-child {
    color: #A9ACB0;
}


/* saved for later - Main Container */
.saved-items-container {
    margin: 20px auto;
    max-width: 73%;
    padding: 20px;
    /* height: 475px; */
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-sizing: border-box;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 24px 0;
}

/* Product Grid */
.saved-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    /* gap: 10px; */
}

/* Individual Product Card */
.saved-product-card {
    display: flex;
    flex-direction: column;
    align-items: normal;
    max-width: 270px;
    max-height: 382px;
    padding: 15px;
}

.product-image-wrappers {
    background-color: #EEEEEE;
    border-radius: 6px;
    margin-bottom: 16px;
    max-width: 230px;
    height: 240px;
    display: flex;

    align-items: center;
    justify-content: center;
}

.product-image-wrappers img {
    /* object-fit: contain; */
    transform: scale(0.8);
    mix-blend-mode: multiply;
    background-image: var(--text-muted);

}

.product-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Allows the button to be pushed to the bottom */
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 8px 0;
}

.product-description {
    font-size: 14px;
    line-height: 1.5;
    color: #6c757d;
    margin: 0 0 16px 0;
}

.move-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #0d6efd;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    margin-top: auto;
}

.move-to-cart-btn:hover {
    background-color: #f1f3f5;
}

.move-to-cart-btn img {
    width: 16px;
    height: 16px;
}

@media (max-width: 800px) {
    /* result.html */

    .pagination-area,
    .clear-all-filter,
    .wishlist-icon,
    .product-description,
    .view-details,
    .old-price,
    .product-description {
        display: none;
    }

    .main-content {
        max-width: 100%;
        padding: 0px;
    }

    .main-content .right-side {
        max-width: 100%;
        padding: 0px;
    }

    .product-image {
        transform: scale(0.7);
        padding: 0%;
        margin-right: 0;
    }

    .product-details {
        padding: 10px 0 0 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .product-details * {
        font-size: 1em;
    }

    .product-title {
        order: 1;
    }

    .product-price-info {
        order: 2;
    }

    .product-rating {
        order: 3;
    }

    .product-rating {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        color: #8B96A5;
    }

    /* .product-rating>*:last-child {
        flex-basis: 100%;
        margin-top: 4px;
    } */

    .product-title {
        /* font-size: 24px; */
        font-weight: 400;
        color: #505050;
    }

    .product-price,
    .rating-value,
    .orders,
    .shipping-info {
        font-size: 1rem;
    }

    .product-container.list-view {
        padding: 0 10px;
    }

    .product-container.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        padding: 0 20px;
    }

    /* Product List */
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }


    /* Product Page */
    .product-page-wrapper {
        flex-direction: column;
    }

    .left-panel,
    .middle-panel,
    .right-panel {
        width: 100%;
        margin: 0;
    }

    /* Cart */
    .cart-container {
        width: 100%;
        border-radius: 0%;

    }

    /* Product List */
    .product-list {
        grid-template-columns: 1fr;
    }

    /* Product Page */
    .main-image {
        width: 100%;
        height: auto;
    }

    .thumbnails {
        justify-content: flex-start;
    }

    /* Cart */
    .cart-item {
        flex-direction: column;
        align-items: center;
    }

    .item-details {
        text-align: center;
    }

    .item-pricing {
        text-align: center;
    }
}