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;
    padding-top: 80px; /* equal to navbar height */
}

@media (max-width: 992px) { /* For mobile/tablet screens */
    body {
        padding-top: 50px; /* Navbar may be taller when expanded on mobile */
    }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/*Custome*/

/* Google button styling */
.btn-google {
    background-color: #fff;
    color: #444;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* space between logo and text */
}

    .btn-google img {
        width: 20px; /* Google logo size */
        height: 20px;
    }

    .btn-google:hover {
        background-color: #f7f7f7;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        color: #000;
    }

    /*Details Page*/
.main-hero-image {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
    border-radius: 24px;
    cursor: pointer;
}

.thumbnail-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
}

.thumb-wrapper {
    flex: 0 0 auto;
}

.thumb-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 14px;
    transition: 0.2s ease;
}

    .thumb-image:hover {
        transform: scale(1.03);
    }

.description-box {
    line-height: 1.9;
    font-size: 1.05rem;
    color: #444;
    word-break: break-word;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

    .contact-item i {
        width: 20px;
        text-align: center;
    }

.contact-card {
    position: sticky;
    top: 20px;
}

@@media (max-width: 991px) {

    .main-hero-image {
        border-radius: 18px;
        max-height: 50vh;
    }

    .thumb-image {
        width: 80px;
        height: 80px;
    }

    .contact-card {
        position: relative;
        top: auto;
    }

    .card-body {
        padding: 1.2rem !important;
    }

    .btn-lg {
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }

    .product-title {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    .description-box {
        font-size: 1rem;
        line-height: 1.8;
    }
}