body {
    /* font-family: Arial, sans-serif; */
    margin: 0;
    background: #f2f2f2;
    color: #333;
}

.show-on-mobile {
    display: none;
}

header.site-header {
    background: #edf1f1;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    height: 50px;
    vertical-align: middle;
    /* margin-right: 20px; */
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid #a0a0a0;
    border-radius: 0px;
    overflow: visible;
    width: 100%;
    max-width: 750px;
    background-color: #fff;
    z-index: 1;
}

.search-container select,
.search-container input[type="text"] {
    padding: 10px;
    border: none;
    outline: none;
    height: 40px;
    box-sizing: border-box;
}

.search-container select {
    border-right: 2px solid #a0a0a0;
    cursor: pointer;
    background-color: #f0f0f0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 30px;
    color: black;
}

.search-container input[type="text"] {
    flex-grow: 1;
    padding-left: 15px;
}

.search-button {
    padding: 10px 15px;
    background-color: #fff;
    border: none;
    color: #333;
    cursor: pointer;
    height: 40px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button i {
    font-size: 20px;
    color: #333;
}

.icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 20px;
}

.icons i {
    font-size: 28px;
}

.icons .fa-heart {
    color: red;
}

.icons .fa-shopping-cart,
.icons .fa-solid.fa-sync,
.icons .fa-solid.fa-user {
    color: black;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar i {
    font-size: 28px;
    margin-right: 10px;
}

.user-info .fa-solid.fa-user {
    color: black;
    font-size: 28px;
}

.user-details p {
    margin: 0;
    font-size: 14px;
}

.user-name {
    font-weight: bold;
    color: black;
}

.delivery-code {
    font-size: 12px;
    color: black;
}

.category-bar {
    background: linear-gradient(to right, #e2d2f0, #f0e0d2);
    padding: 10px 0;
    font-size: 19px;
    text-align: center;
    color: #333;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin: 0;
}

.promo-images {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 0px;
    background-color: #fff;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 100px;
}

.promo-images::-webkit-scrollbar {
    display: none;
}

.promo-images img {
    height: 70px;
    margin: 0 12px;
    object-fit: contain;
}

.deliver-to {
    font-size: 14px;
    margin-top: 10px;
}

.product-layout {
    background: #fff;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
}

.product-main {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.product-img {
    width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 300px;
}

.product-thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

.more-thumbnails {
    width: 60px;
    height: 60px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.product-info {
    flex-grow: 1;
    max-height: 500px;
    overflow-y: auto;
    padding-left: 20px;
    padding-right: 0;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-info::-webkit-scrollbar {
    display: none;
}

.price {
    color: green;
    font-size: 20px;
}

.price del {
    color: gray;
}

.price span {
    color: red;
    font-weight: bold;
}

.offers ul {
    padding-left: 20px;
}

.actions button {
    margin-right: 10px;
    padding: 10px 15px;
    background: #4a00e0;
    color: white;
    border: none;
    border-radius: 5px;
}

.setup-service,
.product-specs {
    margin-top: 20px;
}

footer {
    margin-top: 30px;
    background-color: #eee;
    text-align: left;
    font-size: 14px;
    color: #555;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links a {
    color: #4a00e0;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.variants {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.variant-colors,
.variant-sizes {
    margin-bottom: 15px;
}

.color-options,
.coupon-options {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0
}

.color-options img,
.coupon-options img {
    width: 50px;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

.size-options {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.size-option {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    background-color: #f0f0f0;
}

.size-option:hover {
    background-color: #ddd;
}

.offers {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.offer-blocks {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.offer-block {
    flex: 1;
    border: 1px solid #ffcc00;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff8e1;
}

.offer-block h5 {
    margin-top: 0;
    color: #e65100;
}

.coupon {
    margin-top: 15px;
}

.setup-service {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

main.product-layout>section.setup-service {
    display: inline-block;
    width: 48%;
    margin-right: 2%;
    box-sizing: border-box;
    vertical-align: top;
}

main.product-layout>section.setup-service:last-child {
    margin-right: 0;
}

.setup-service p {
    margin: 5px 0;
}

.setup-service a {
    color: #4a00e0;
    text-decoration: none;
}

.product-specs {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-specs ul {
    padding-left: 20px;
}

.product-specs li {
    margin-bottom: 5px;
}

.product-specs i {
    margin-right: 5px;
}

@media (max-width: 768px) {

    .seller-page .header {
        display: none !important;
    }

    header.site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo,
    .search-container,
    .icons,
    .user-info {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    .search-container {
        max-width: 100%;
    }

    .product-main {
        flex-direction: column;
    }

    .product-img {
        width: 100% !important;
        height: 320px !important;
        object-fit: contain !important;
        background-color: #ffffff !important;
        margin-bottom: 20px;
    }

    .product-info {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    main.product-layout>section.setup-service {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .search-bar {
        display: none;
    }

    .mobile-search-bar {
        display: block;
    }

    .mobile-search-bar input[type="search"] {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
    }

    .mobile-search-bar button[type="submit"] {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        background-color: #4a00e0;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    .mobile-search-bar button[type="submit"]:hover {
        background-color: #3a0095;
    }
}

.buy-ads-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding: 0 20px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.buy-it-with {
    flex: 2;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.buy-it-with h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.buy-it-items {
    display: flex;
    align-items: center;
    gap: 15px;
}

.buy-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 120px;
    box-sizing: border-box;
    flex-shrink: 0;
    flex-basis: 100px;
}

.buy-item input[type="checkbox"] {
    margin-bottom: 10px;
}

.buy-item img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
    object-fit: contain;
}

.item-description {
    font-size: 12px;
    margin-bottom: 5px;
    height: 3em;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.item-price {
    font-weight: bold;
    font-size: 14px;
}

.item-price sup {
    font-size: 0.7em;
    vertical-align: super;
}

.original-price {
    font-size: 0.9em;
    color: #777;
    text-decoration: line-through;
}

.plus-sign {
    font-size: 24px;
    font-weight: bold;
    color: #555;
    margin: 0 10px;
}

.total-and-button {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    margin-top: 0;
}

.total-price {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.add-all-button {
    padding: 10px 20px;
    background-color: #ffcc00;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 10px;
}

.dispatch-info {
    font-size: 12px;
    color: #555;
}

.dispatch-info i {
    margin-right: 5px;
    color: #4a00e0;
}

.dispatch-info a {
    color: #4a00e0;
    text-decoration: none;
}

.ad-block {
    flex: 1;
    text-align: center;
    padding: 20px;
    background-color: #ffcccc;
    border-radius: 8px;
    box-sizing: border-box;
}

.ad-block h2 {
    margin-top: 0;
    color: #c0392b;
}

.ad-block img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .buy-ads-container {
        flex-direction: column;
        padding: 0 10px;
    }

    .buy-it-with,
    .ad-block {
        flex: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .buy-it-items {
        flex-direction: column;
        align-items: center;
    }

    .buy-item {
        max-width: 100%;
    }

    .total-and-button {
        margin-left: 0;
        align-items: center;
    }
}

.details-ads-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    background-color: #e0e0e0;
    box-sizing: border-box;
}

.details-sidebar {
    flex-basis: 200px;
    flex-shrink: 0;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    height: fit-content;
}

.details-sidebar h3 {
    margin-top: 0;
}

.details-nav ul {
    list-style: none;
    padding: 0;
}

.details-nav li {
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.details-nav a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

.details-nav a:hover {
    background-color: #f0f0f0;
}

.ad-block-sidebar {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(to right, #a8c0ff, #3f2b96);
    color: white;
    text-align: center;
    border-radius: 8px;
}

.ad-block-sidebar h2 {
    margin-top: 0;
    color: white;
    height: 340px;
}

.details-content {
    flex-grow: 1;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-sizing: border-box;
    min-width: 0;
}

.ad-block-content-top,
.ad-block-content-bottom {
    text-align: center;
    padding: 15px;
    background: linear-gradient(to right, #a8c0ff, #3f2b96);
    color: white;
    margin-bottom: 20px;
    border-radius: 8px;
}

.ad-block-content-top h2,
.ad-block-content-bottom h2 {
    margin-top: 0;
    color: white;
}

.details-content section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.details-content section:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .details-ads-container {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .details-sidebar {
        flex-basis: auto;
        width: 91%;
        margin-bottom: 0;
        margin-top: 0;
    }

    .details-content {
        width: 100%;
        margin-bottom: 0;
    }
}

.bought-together {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-sizing: border-box;
}

.bought-together h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.bought-together-tabs {
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.bought-together-tabs .tab {
    display: inline-block;
    padding: 5px 15px;
    margin-right: 10px;
    cursor: pointer;
    color: #555;
    font-size: 14px;
    font-weight: bold;
}

.bought-together-tabs .tab.active {
    color: #4a00e0;
    border-bottom: 2px solid #4a00e0;
    margin-bottom: -2px;
}

.bought-items {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.bought-items::-webkit-scrollbar {
    display: none;
}

.bought-item {
    flex: 0 0 225px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    position: relative;
    box-sizing: border-box;
    min-height: 300px;
}

.bought-item-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.bought-item-image-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
    max-height: 180px;
}

.bought-item-favorite {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #fff;
    font-size: 18px;
    text-shadow: 0 0 3px #000;
}

.bought-item-description {
    font-size: 12px;
    margin-bottom: 5px;
    height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bought-item-rating {
    font-size: 11px;
    color: #555;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.bought-item-rating i {
    color: #ffc107;
    margin-right: 3px;
}

.assured-badge {
    display: inline-block;
    background-color: #e0f7fa;
    color: #0077b6;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 5px;
}

.assured-badge i {
    color: #0077b6;
    margin-right: 3px;
}

.bought-item-price {
    font-size: 14px;
    font-weight: bold;
    color: #28a745;
}

.bought-item-price del {
    color: #777;
    font-weight: normal;
    margin-left: 5px;
}

.bought-item-price span {
    color: #dc3545;
    font-weight: bold;
    margin-left: 5px;
}

.sponsored-label {
    font-size: 11px;
    color: #777;
    margin-top: 5px;
}

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

@media (max-width: 768px) {
    .bought-items {
        padding-bottom: 10px;
    }

    .bought-item {
        flex: 0 0 120px;
    }

    .bought-item-price br {
        display: block;
    }
}

.recently-viewed {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-sizing: border-box;
}

.recently-viewed>div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.recently-viewed h3 {
    margin: 0;
    font-size: 20px;
}

.recently-viewed button {
    padding: 5px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: auto;
}

.recently-viewed-items {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.recently-viewed-items::-webkit-scrollbar {
    display: none;
}

.rv-item {
    flex: 0 0 225px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 10px;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 8px;
    position: relative;
    box-sizing: border-box;
    min-height: 300px;
}

.rv-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
    margin-bottom: 10px;
    max-height: 180px;
}

.rv-item-description {
    font-size: 12px;
    margin-bottom: 5px;
    height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rv-item-rating {
    font-size: 11px;
    color: #555;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.rv-item-rating i {
    color: #ffc107;
    margin-right: 3px;
}

.rv-item-rating span {
    color: #28a745;
}

.rv-item-price {
    font-size: 14px;
    font-weight: bold;
    color: #28a745;
}

.rv-item-price del {
    color: #777;
    font-weight: normal;
    margin-left: 5px;
}

.rv-item-discount {
    font-size: 11px;
    color: #dc3545;
    font-weight: bold;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .recently-viewed-items {
        padding: 0 10px 10px;
    }

    .recently-viewed-item {
        flex: 0 0 120px;
    }
}

.recently-viewed-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.recently-viewed-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #4a00e0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: background 0.2s, color 0.2s;
}

.recently-viewed-arrow.left {
    left: 0;
}

.recently-viewed-arrow.right {
    right: 0;
}

.recently-viewed-arrow:hover {
    background: #4a00e0;
    color: #fff;
}

.recently-viewed-items {
    margin: 0 44px;
    width: 100%;
}

.might-be-interested {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-sizing: border-box;
}

.might-be-interested h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

.might-be-interested-items {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.might-be-interested-items::-webkit-scrollbar {
    display: none;
}

.mbi-item {
    flex: 0 0 280px;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fff;
    box-sizing: border-box;
}

.mbi-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    margin-right: 15px;
    flex-shrink: 0;
}

.mbi-text-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mbi-item-description {
    font-size: 14px;
    color: #333;
    margin: 0 0 2px 0;
    height: auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mbi-item-discount {
    font-size: 11px;
    color: #28a745;
    margin-bottom: 8px;
}

.mbi-shop-button {
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

@media (max-width: 768px) {
    .might-be-interested-items {
        padding-bottom: 10px;
    }

    .mbi-item {
        flex: 0 0 200px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mbi-item img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .mbi-text-content {
        align-items: center;
    }
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 250px;
    overflow: hidden;
    padding: 10px;
    display: none;
    flex-direction: row;
    gap: 5px;
    align-items: flex-start;
    white-space: normal;
}

.search-suggestions::-webkit-scrollbar {
    display: none;
}

.search-suggestions {
    -ms-overflow-style: none;
    scrollbar-width: none;
    white-space: normal;
    display: none;
}

.search-suggestion-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 5px;
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    flex: 1 1 auto;
    min-width: 80px;
    max-width: 120px;
    text-align: left;
    background-color: white;
    white-space: normal;
    overflow: hidden;
}

.search-suggestion-item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 5px;
    margin-right: 0;
}

.suggestion-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.suggestion-description {
    font-size: 11px;
    color: #333;
    margin: 0 0 2px 0;
    height: 2.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.suggestion-rating {
    font-size: 9px;
    color: #555;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
}

.suggestion-rating i {
    color: #ffc107;
    margin-right: 2px;
    font-size: 8px;
}

.suggestion-rating span {
    color: #28a745;
    font-size: 8px;
}

.suggestion-price {
    font-size: 11px;
    font-weight: bold;
    color: #28a745;
    margin-top: auto;
}

.suggestion-price del {
    color: #777;
    font-weight: normal;
    margin-left: 3px;
    font-size: 9px;
}

.suggestion-price span {
    color: #dc3545;
    font-weight: bold;
    margin-left: 3px;
    font-size: 9px;
}

.icons,
.user-info {
    display: flex;
    align-items: center;
}

.icons i,
.user-info i {
    cursor: pointer;
}

.user-details {
    margin-left: 10px;
}

.user-details p {
    margin: 0;
    font-size: 14px;
}

.site-header .logo {
    height: 40px;
    margin-right: 20px;
}

@media (max-width: 600px) {
    body {
        padding: 0;
        font-size: 14px;
    }

    header.site-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .logo {
        height: 40px;
        margin-bottom: 10px;
    }

    .search-container {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .search-container input,
    .search-container select,
    .search-button {
        width: 100%;
    }

    .icons,
    .user-info {
        display: none;
    }

    .icons .fa-shopping-cart,
    .fa-solid.fa-user,
    .icons .fa-solid.fa-sync,
    .icons .fa-solid.fa-user,
    .icons .fa-heart {
        display: none;
    }

    .product-layout {
        padding: 10px;
        margin: 10px 0;
    }

    .product-main {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .product-img {
        width: 120px !important;
        height: 160px !important;
        object-fit: contain !important;
        background-color: #ffffff !important;
        flex-shrink: 0;
    }

    .product-info {
        padding: 0;
        flex-grow: 1;
        width: auto;
    }

    .actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .actions button {
        width: 100%;
        font-size: 16px;
    }

    .buy-it-items,
    .bought-items,
    .recently-viewed-items,
    .might-be-interested-items {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .buy-item,
    .bought-item,
    .rv-item,
    .mbi-item {
        scroll-snap-align: start;
        flex: 0 0 auto;
    }

    .footer-content {
        font-size: 12px;
    }
}

.product-layout .product-img {
    height: 400px !important;
    width: 100% !important;
    object-fit: contain !important;
    background-color: #ffffff !important;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
        padding: 0;
        overflow-x: hidden;
    }

    header.site-header {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    .logo {
        height: 40px;
        margin-bottom: 0px;
        align-self: center;
        display: none;
    }

    @media (max-width: 768px) {
        .search-container {
            flex-direction: row;
        }

        .search-container .category-dropdown {
            width: 25%;
        }

        .search-container input[type="text"] {
            width: 50%;
        }

        .search-button {
            width: 25%;
        }
    }

    .icons,
    .user-info {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        margin-bottom: 10px;
    }

    .promo-images {
        overflow-x: auto;
        white-space: nowrap;
        padding: 0px 0;
        scrollbar-width: none;
        gap: 15px;
    }

    .promo-images::-webkit-scrollbar {
        display: none;
    }

    .promo-images img {
        height: 50px;
        width: auto;
        margin: 0;
    }

    .category-bar {
        overflow-x: hidden;
        white-space: nowrap;
        padding: 10px 5px;
        font-size: 7px;
    }

    .product-main {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 15px;
    }

    .row {
        flex-direction: column;
        margin: 0;
    }

    .col-lg-4,
    .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }

    .product-img {
        width: 40%;
        flex-shrink: 0;
        max-width: none;
    }

    .product-info {
        flex-grow: 1;
        width: auto;
        padding: 0;
    }

    .variants {
        margin: 15px 0;
    }

    .color-options,
    .size-options {
        overflow-x: auto;
        padding-bottom: 5px;
        display: flex;
        gap: 8px;
    }

    .actions {
        flex-direction: column;
        gap: 10px;
    }

    .actions button {
        width: 100%;
        padding: 12px;
    }

    .buy-it-items,
    .bought-items,
    .recently-viewed-items,
    .might-be-interested-items {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0;
    }

    .buy-item,
    .bought-item,
    .rv-item,
    .mbi-item {
        flex: 0 0 70%;
        scroll-snap-align: start;
        margin-right: 15px;
    }

    .total-and-button {
        min-width: 70%;
    }

    .details-ads-container,
    .buy-ads-container {
        flex-direction: column;
    }

    .details-nav ul {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }

    .details-nav li {
        white-space: nowrap;
    }

    .recently-viewed-arrow {
        display: none;
    }

    .mbi-item {
        flex: 0 0 150px;
    }

    .footer-content {
        padding: 15px 10px;
        font-size: 12px;
    }
}

.mobile-back-arrow,
.mobile-cart-icon {
    display: none;
    color: #333;
    font-size: 22px;
    text-decoration: none;
    padding: 0 10px;
}

.search-bar-wrapper {
    display: flex;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }

    .show-on-mobile {
        display: block !important;
    }

    .mobile-page-title {
        color: #333;
        font-weight: 700;
        font-size: 18px;
        margin-left: 10px;
        flex: 1;
    }

    header.site-header {
        padding: 10px;
        flex-wrap: nowrap;
    }

    header.site-header .logo,
    header.site-header .icons,
    header.site-header .user-info {
        display: none;
    }

    .search-container {
        width: 100%;
        max-width: none;
        border: none;
        background-color: transparent;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-back-arrow,
    .mobile-cart-icon {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .search-bar-wrapper {
        display: flex;
        flex-grow: 1;
        margin: 0 5px;
        border: 1px solid #ccc;
        border-radius: 20px;
        overflow: hidden;
        background-color: #fff;
        height: 38px;
    }

    .search-container .search-bar-wrapper .category-dropdown {
        display: none;
    }

    .search-container .search-bar-wrapper input[type="text"] {
        flex-grow: 1;
        border: none;
        padding-left: 10px;
        height: 100%;
        box-sizing: border-box;
        font-size: 14px;
    }

    .search-container .search-bar-wrapper .search-button {
        border: none;
        background-color: transparent;
        padding: 0 10px;
        height: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-container .search-bar-wrapper .search-button i {
        font-size: 18px;
        color: #333;
    }

    .search-suggestions {
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-top: 1px solid #eee;
        z-index: 1000;
    }
}

@media (max-width: 768px) {
    .actions {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 15px;
    }

    .actions button {
        width: 100%;
        padding: 10px 15px;
        font-size: 14px;
        margin: 0;
    }

    .trust-badges {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin: 10px 0;
        padding: 8px;
        background: #f8f9fa;
        border-radius: 4px;
        width: 100%;
    }

    .trust-badge {
        flex: 1 1 45%;
        min-width: 120px;
        margin: 4px;
    }

    .trust-badge img {
        width: 20px;
        height: 20px;
    }

    .trust-badge span {
        font-size: 13px;
    }

    .trust-badge {
        gap: 4px;
    }
}

@media (max-width: 768px) {

    .offers {
        margin-bottom: 20px;
        padding: 10px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .offers h4 {
        margin: 0 0 15px 0;
        font-size: 18px;
        color: #333;
    }

    .offer-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .offer-container::-webkit-scrollbar {
        display: none;
    }

    .offer-blocks {
        display: flex;
        gap: 10px;
        padding: 0 10px;
        min-width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0
    }

    .offer-block {
        flex: 0 0 150px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff8e1;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        min-height: 100px;
    }

    .offer-block h5 {
        margin: 0 0 8px 0;
        color: #333;
        font-size: 14px;
        font-weight: 600;
    }

    .offer-block p {
        margin: 0;
        font-size: 12px;
        color: #555;
        line-height: 1.4;
        height: 2.4em;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Coupon Section */
    .coupon {
        margin-bottom: 20px;
        background: #fff;
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .coupon p {
        margin: 0 0 12px 0;
        font-size: 14px;
        color: #2e7d32;
        font-weight: 600;
    }

    .coupon-container {
        display: flex;
        gap: 10px;
        align-items: center;
        background: #f1f8e9;
        padding: 12px;
        border-radius: 6px;
    }

    .coupon-input {
        flex: 1;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
    }

    .coupon-button {
        padding: 10px 15px;
        background-color: #4caf50;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .coupon-button:hover {
        background-color: #45a049;
    }

}

/* Adjustments for smaller screens */
@media (max-width: 600px) {
    .offer-block {
        width: 120px;
        min-height: 80px;
        padding: 10px;
    }

    .offer-block h5 {
        font-size: 13px;
    }

    .offer-block p {
        font-size: 11px;
        line-height: 1.3;
    }

    .coupon {
        padding: 12px;
    }

    .coupon p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .coupon-container {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
    }

    .coupon-input {
        font-size: 12px;
        padding: 8px;
    }

    .coupon-button {
        font-size: 12px;
        padding: 8px 12px;
    }
}
