﻿
/* Mobile-specific styles */
@media (max-width: 767px) {

    .soldRibbonDetail {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        border: 25px solid transparent;
        border-top: 25px solid #231f20;
        position: absolute;
        bottom: 18px;
        right: -41px;
        padding: 0 10px;
        width: 166px;
        color: white;
        font-family: sans-serif;
        size: 11px;
        font-weight: bold;
    }

    .soldRibbonDetail .txt {
            position: absolute;
            top: -25px;
            left: 40px;
        }

    .comingSoonRibbonDetail {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        border: 25px solid transparent;
        border-top: 25px solid #231f20;
        position: absolute;
        bottom: 18px;
        right: -42px;
        padding: 0 10px;
        width: 170px;
        color: white;
        font-family: sans-serif;
        size: 11px;
        font-weight: bold;
    }

     .comingSoonRibbonDetail .txt {
            position: absolute;
            top: -25px;
            left: 9px;
        }

    .reservedRibbonDetail {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        border: 25px solid transparent;
        border-top: 25px solid #231f20;
        position: absolute;
        bottom: 18px;
        right: -42px;
        padding: 0 10px;
        width: 170px;
        color: white;
        font-family: sans-serif;
        size: 11px;
        font-weight: bold;
    }

    .reservedRibbonDetail .txt {
            position: absolute;
            top: -25px;
            left: 25px;
        }

    .breadcrumbs {
        display: none !important;
    }

    .product-horizontal-thumb {
        display: none !important;
    }

    .mobile-image-counter {
        position: absolute;
        bottom: 9px;
        right: 9px;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        padding: 1px 8px;
        border-radius: 8px;
        font-size: 14px;
        font-family: "Barlow", serif;
        z-index: 10;
    }

    .mobile-price-sku-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2px 0 5px 0;
        margin-top: -2px;
    }

    .mobile-price {
        font-size: 18px;
        font-weight: 500;
        color: #000;
    }

    .mobile-sku {
        font-size: 18px;
        font-weight: 400;
        color: #000;
    }

    .desktop-price-section {
        display: none !important;
    }
    /* Affirm section - visible on both mobile and desktop */
    .desktop-affirm-section {
        display: block !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
        font-size: 14px !important;
        letter-spacing: normal !important;
    }

        .desktop-affirm-section .affirm-as-low-as {
            font-size: 12px !important;
            white-space: nowrap;
        }
    /* Mobile Product Title & Description - Reduced by 20% */
    .product-single__title {
        font-size: 20px !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
    }

        .product-single__title h1.barlow-medium {
            font-size: 20px !important;
        }

    .product-single__meta h2.barlow-regular {
        font-size: 16px !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }

    .product-single__meta .fs-28 {
        font-size: 22px !important;
    }

    .product-single__meta .fs-20 {
        font-size: 16px !important;
    }
    /* Reduce top padding on product section */
    .product-single.pt-3 {
        padding-top: 12px !important;
    }

    .p-detail-watch {
        padding-top: 5px !important;
    }
    /* Hide Slider Navigation Buttons on Mobile - users can swipe */
    .flickity-main .flickity-prev-next-button {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .mobile-image-counter {
        display: none !important;
    }

    .mobile-price-sku-row {
        display: none !important;
    }
}

.link-button {
    background: none;
    color: blue;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

    .link-button:hover {
        color: darkblue;
    }

.btn-add-cart.bg-black {
    background-color: black;
    color: white;
}

.product-form__item--buyit {
    margin-bottom: 10px; /* Add space between buttons */
}


.columnsbasicinfo {
    position: relative;
    margin-right: 20px;
}

/* width */
#MoreInfoArea::-webkit-scrollbar {
    width: 5px;
}

/* Track */
#MoreInfoArea::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px grey;
    border-radius: 10px;
}

/* Handle */
#MoreInfoArea::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 10px;
}

    /* Handle on hover */
    #MoreInfoArea::-webkit-scrollbar-thumb:hover {
        background: black;
    }

.btn-trade-in {
    background-color: grey;
    color: white; /* Change this to whatever text color you prefer */
    cursor: pointer;
    /* Add any other styling you want */
}

/* Platform ratings bar on watch detail page */
.wd-ratings-bar-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.wd-rating-platform {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 20px;
    flex: 1 1 180px;
    min-width: 160px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.wd-rating-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
}

.wd-rating-logo-ebay {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.wd-rating-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wd-rating-name {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #111;
}

.wd-rating-score {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-left: 4px;
}

.wd-rating-count {
    font-size: 12px;
    color: #777;
}

/* Watch detail reviews section — full content, no truncation */
#watch-detail-reviews-section .review-card {
    height: auto;
    overflow: visible;
}

#watch-detail-reviews-section .review-text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

#watch-detail-reviews-section .read-more-btn {
    display: none !important;
}

@media (max-width: 767px) {
    .wd-ratings-bar-container {
        gap: 10px;
    }

    .wd-rating-platform {
        padding: 10px 14px;
    }
}
