html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

/*body {
    margin-bottom: 60px;
}*/


.nav-item a:hover {
    background-color: forestgreen;
    color: white;
}

/* font-family: Arial, Verdana, sans-serif; */

/*.discount .discount-text {
    color: #fff;
    background: #09629C;
    font-size: 13px;
    padding: 8px;
    font-weight: bold;
}

.buttonPay {
    background-color: #0047AB;
    color: white;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    line-height: 1.5;
    border: 1px solid transparent;
    width: 100%;
    margin-bottom: -30px;
}*/


/*Discount Tag Design*/

/*.discount .discount-text {
    color: #fff;
    background: #09629C;
    font-size: 13px;
    padding: 8px;
    font-weight: bold;
}


.product-card {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #ffffff;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}*/




/* ============================================
   COMMON STYLES - Shared across all pages
   Index.cshtml, Product.cshtml, Watches.cshtml, Sales.cshtml
   ============================================ */

* {
    box-sizing: border-box;
}

/* ---------- PRODUCT LAYOUT ---------- */
.product-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem 1.2rem;
    padding: 1rem 0.5rem;
}

.product-grid-center {
    flex: 1 1 100%;
    padding: 0 0.25rem;
}

.container {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

/* ---------- PRODUCT CARD ---------- */
/*.product-card {
    border-radius: 28px;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    height: 100%;
    overflow: hidden;
}*/

/*.product-card {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #ffffff;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}*/

.product-card {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #ffffff;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}


    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.08);
    }

    .product-card .card-img-top {
        object-fit: contain;
        background: #fafbfc;
        padding: 0.5rem 0.5rem 0 0.5rem;
        height: 190px;
        width: 100%;
        transition: transform 0.25s;
    }

    .product-card:hover .card-img-top {
        transform: scale(1.02);
    }

    .product-card .card-body {
        padding: 0.75rem 0.5rem 0.25rem;
    }

    .product-card .card-footer {
        background: transparent;
        border: none;
        padding: 0.25rem 0 0.75rem;
    }

    .product-card .btn-primary {
        border-radius: 40px;
        padding: 0.35rem 1.2rem;
        font-weight: 500;
        border: none;
        color: white;
        transition: 0.15s;
    }

        .product-card .btn-primary:hover {
            background: #2b3145;
            transform: scale(0.97);
        }

/* ---------- PRODUCT TEXT ---------- */
.product-title {
    font-size: 1rem;
    font-weight: 600;
}

.text-warning .bi-star-fill {
    font-size: 0.8rem;
    margin-right: 1px;
}

.price-old {
    font-size: 0.8rem;
    opacity: 0.6;
}

.price-current {
    font-weight: 600;
}

/* ---------- DISCOUNT TAG ---------- */
.discount {
    position: absolute;
    z-index: 1000;
    margin-top: -10px;
    margin-left: -20px;
}



    .discount .discount-text:before {
        content: " ";
        position: absolute;
        bottom: -7px;
        left: 0;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 0 solid transparent;
        border-top: 7px solid #420909;
    }

    .discount .discount-text {
        color: #fff;
        background: #09629C;
        font-size: 13px;
        padding: 8px;
        font-weight: bold;
    }

        .discount .discount-text span {
            display: block;
            font-size: 16px;
        }

/* ---------- GALLERY COLUMN (Vertical Scroll) ---------- */
.gallery-column {
    flex: 0 0 150px;
    max-width: 180px;
    min-width: 110px;
    height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .gallery-column .scroller-wrapper {
        flex: 1 1 auto;
        height: 100%;
        overflow: hidden;
        mask-image: linear-gradient(0deg, transparent, white 15%, white 85%, transparent);
        -webkit-mask-image: linear-gradient(0deg, transparent, white 15%, white 85%, transparent);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
        padding: 0.25rem 0;
    }

.scroller {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.scroller__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-block: 0.5rem;
    animation: scrollVertical var(--duration, 30s) var(--direction, normal) linear infinite;
    width: 100%;
}

    .scroller__inner.reverse {
        --direction: reverse;
    }

    .scroller__inner img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 18px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
        transition: transform 0.2s ease;
        display: block;
        background: #f0f2f5;
        min-height: 120px;
    }

        .scroller__inner img:hover {
            transform: scale(1.02);
        }

/* ---------- SCROLL ANIMATIONS (Vertical) ---------- */
@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(calc(-50% - 0.5rem));
    }
}

.scroller__inner.reverse {
    animation-name: scrollVerticalReverse;
}

@keyframes scrollVerticalReverse {
    0% {
        transform: translateY(calc(-50% - 0.5rem));
    }

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

/* ---------- HIDE SCROLLBAR ---------- */
.scroller-wrapper::-webkit-scrollbar {
    display: none;
}

.scroller-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ---------- TITLE ---------- */
.title-wrap {
    text-align: center;
    margin: 0.5rem 0 0.25rem;
}

/* ---------- AUTO SLIDER ---------- */
.auto_slider_container {
    max-width: 100%;
    width: 100%;
    display: flex;
    margin: auto;
    overflow: hidden;
}

.auto_slider {
    padding: 0px;
    margin: 0px;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: rotation 30s linear infinite;
}

    .auto_slider li {
        font: 16px/1.2 "Roboto";
        padding: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 150px;
        width: 100%;
        margin: 0px 15px;
        box-sizing: border-box;
        border-radius: 25px;
    }

@keyframes rotation {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ---------- BADGE SALE ---------- */
.badge-sale {
    top: 0.7rem;
    right: 0.7rem;
    border-radius: 30px;
    padding: 0.35rem 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    background: #212529;
}

/* ---------- RESPONSIVE: Tablet (max-width: 768px) ---------- */
@media (max-width: 768px) {
    .gallery-column {
        flex: 0 0 100%;
        max-width: 100%;
        height: 140px;
        flex-direction: row;
        justify-content: center;
        padding: 0 0.5rem;
        margin-bottom: 0.25rem;
    }

        .gallery-column .scroller-wrapper {
            height: 130px;
            width: 100%;
            mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
            -webkit-mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
            border-radius: 30px;
        }

    .scroller__inner {
        flex-direction: row;
        animation: scrollHorizontal var(--duration, 24s) var(--direction, normal) linear infinite;
        padding-block: 0.2rem;
        gap: 0.8rem;
    }

        .scroller__inner img {
            min-width: 120px;
            width: auto;
            height: 100%;
            aspect-ratio: 1/1;
            border-radius: 20px;
        }

        .scroller__inner.reverse {
            animation-name: scrollHorizontalReverse;
        }

    .product-grid-center {
        flex: 1 1 100%;
        padding: 0 0.25rem;
    }

    .product-layout {
        gap: 0.6rem;
    }

    .container {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .product-card .card-img-top {
        height: 140px;
    }
}

/* ---------- HORIZONTAL SCROLL ANIMATIONS (Mobile) ---------- */
@keyframes scrollHorizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 0.5rem));
    }
}

@keyframes scrollHorizontalReverse {
    0% {
        transform: translateX(calc(-50% - 0.5rem));
    }

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

.boc-site-header,
.boc-site-footer {
    background-color: #101213 !important;
    background-image:
        radial-gradient(ellipse at 50% -70%, rgba(255, 255, 255, 0.18), transparent 70%),
        repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.012) 0, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 4px),
        linear-gradient(115deg, #080909 0%, #1b1e20 48%, #090a0b 100%) !important;
}

.boc-site-header {
    border-bottom: 1px solid rgba(211, 177, 102, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 5px 18px rgba(0, 0, 0, 0.28);
}

.boc-site-footer {
    border-top: 1px solid rgba(211, 177, 102, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 -5px 18px rgba(0, 0, 0, 0.28);
}

.watch-product-card {
    position: relative;
    height: 100%;
    min-height: 380px;
    padding: 16px 24px 22px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    text-align: center;
}

.watch-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(10, 35, 66, 0.08);
}

.watch-product-card .discount {
    top: 10px;
    left: 10px;
    margin: 0;
}

.watch-product-card .discount .discount-text {
    padding: 6px 9px;
    border-radius: 3px;
    background: #D4AF37;
    color: #0A2342;
    font-size: 0.75rem;
}

.watch-product-card .discount .discount-text:before {
    display: none;
}

.watch-product-image-link {
    display: flex;
    height: 230px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.watch-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.watch-product-details {
    flex: 1;
}

.watch-product-brand {
    margin-bottom: 8px;
    color: #697586;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.watch-product-name {
    margin-bottom: 12px;
    color: #0A2342;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.watch-product-price {
    margin-bottom: 18px;
    color: #c59b18;
    font-size: 1.1rem;
    font-weight: 700;
}

.watch-product-actions {
    margin-top: auto;
}

.watch-product-button {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 4px;
    background: #0A2342;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.watch-product-button:hover {
    background: #D4AF37;
    color: #0A2342;
}

.watch-product-modal .modal-body {
    padding: 1.25rem;
}

.watch-product-modal-image {
    display: block;
    width: 100%;
    height: min(42vh, 280px);
    margin-bottom: 1rem;
    object-fit: contain;
}

.watch-product-modal-brand {
    color: #697586;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.watch-product-modal-name {
    margin: 0.35rem 0;
    color: #0A2342;
    font-size: 1.25rem;
    overflow-wrap: anywhere;
}

.watch-product-modal-price {
    color: #c59b18;
    font-size: 1.2rem;
    font-weight: 700;
}

.watch-product-modal-info {
    margin: 1rem 0 0;
}

.watch-product-modal-info > div {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-top: 1px solid #e8e8e8;
}

.watch-product-modal-info dt,
.watch-product-modal-info dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.watch-product-modal-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

.watch-quantity-control {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d8dee6;
    border-radius: 6px;
}

.watch-quantity-control button {
    width: 44px;
    height: 44px;
    border: 0;
    background: #f4f6f8;
    color: #0A2342;
    font-size: 1.4rem;
    cursor: pointer;
}

.watch-quantity-control button:hover {
    background: #e8edf2;
}

.watch-quantity-control input {
    width: 48px;
    height: 44px;
    padding: 0;
    border: 0;
    text-align: center;
    font-weight: 700;
    appearance: textfield;
}

.watch-quantity-control input::-webkit-inner-spin-button,
.watch-quantity-control input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.watch-product-modal .modal-footer .watch-product-button {
    width: auto;
    min-width: 140px;
    min-height: 44px;
}

/* ---------- RESPONSIVE: Mobile (max-width: 576px) ---------- */
@media (max-width: 576px) {
    .watch-product-modal .modal-footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .watch-product-modal .modal-footer > button {
        width: 100%;
    }

    .watch-product-modal .modal-footer .watch-product-button {
        width: 100%;
    }

    .gallery-column .scroller-wrapper {
        height: 100px;
    }

    .scroller__inner img {
        min-width: 90px;
    }

    .product-card .card-img-top {
        height: 120px;
    }

    .watch-product-card {
        min-height: 300px;
        padding: 10px;
    }

    .watch-product-image-link {
        height: clamp(110px, 34vw, 150px);
        margin-bottom: 10px;
        min-width: 0;
    }

    .watch-product-brand {
        margin-bottom: 5px;
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .watch-product-name {
        margin-bottom: 8px;
        font-size: clamp(0.85rem, 3.8vw, 1rem);
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .watch-product-price {
        margin-bottom: 10px;
        font-size: 1rem;
    }

    .watch-product-button {
        min-height: 44px;
        padding: 10px 6px;
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .gallery-column {
        height: 110px;
    }
}
