/* Prevent horizontal overflow on small screens */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* =============================================
   ACCESSIBILITY TOOLBAR — Mobile Safe
============================================= */
@media (max-width: 767px) {
    /* Smaller toggle button on mobile */
    .acc-toggle-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* Panel opens above/below and is scrollable */
    .acc-panel {
        position: fixed;
        right: 36px;
        top: auto;
        bottom: 80px;
        max-height: 70vh;
        overflow-y: auto;
        min-width: 180px;
        border-radius: 12px;
        border: 1px solid #eee;
    }

    /* Toolbar sits lower on mobile so it doesn't block nav */
    .acc-toolbar {
        top: auto;
        bottom: 30%;
        transform: none;
    }
}

/* Responsive */

@media (max-width: 991px) {
  .testing-content {
    padding: 40px 25px;
  }

  .testing-content h2 {
    font-size: 32px;
  }

  .testing-image img {
    min-height: auto;
  }
  .rw-products-title {
    font-size: 42px;
  }
  .categories-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .testing-content {
    padding: 35px 20px;
  }

  .testing-content h2 {
    font-size: 26px;
  }

  .testing-content p {
    font-size: 15px;
    line-height: 1.8;
  }

  .testing-icon {
    width: 50px;
    height: 50px;

    font-size: 20px;
  }

  .peptide-hero {
    padding: 30px 0 70px;
  }
  .brand-logo {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
  .brand-name {
    font-size: 24px;
    letter-spacing: 3px;
  }
  .hero-content h1 {
    font-size: 38px;
  }
  .hero-content p {
    font-size: 15px;
  }

  .rw-products-title {
    font-size: 34px;
  }

  .rw-product-tabs {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .rw-product-tabs::-webkit-scrollbar {
    height: 4px;
  }

  .rw-product-tabs::-webkit-scrollbar-thumb {
    background: #ffb800;
    border-radius: 20px;
  }

  .rw-product-content {
    padding: 22px;
  }

  .rw-product-content h4 {
    font-size: 20px;
    line-height: 30px;
  }
  .categories_product {
    padding: 60px 0;
  }

  .categories-title {
    font-size: 30px;
  }

  .categories-subtitle {
    font-size: 15px;
    line-height: 1.7;
  }

  .bpc-item img {
    height: 250px;
  }

  .product-title {
    font-size: 19px;
  }

  .bpc-price {
    font-size: 24px;
  }

  .slick-prev,
  .slick-next {
    display: none !important;
  }
  .desktop-banner {
    display: none;
  }

  .mobile-banner {
    display: block;
  }

  .footer {
    text-align: center;
  }

  .footer-title {
    margin-top: 10px;
    text-align: left;
  }
  
  .footer-links li {
     text-align: left;
  }

  .footer-links li a:hover {
    padding-left: 0;
  }
  .footer-contact p{
    text-align: left;

  }

  .quality-card {
    padding: 18px;
  }

  .quality-icon {
    width: 50px;
    height: 50px;

    min-width: 50px;

    font-size: 18px;
  }

  .quality-card h4 {
    font-size: 18px;
  }

  .quality-card p {
    font-size: 14px;
  }
  .vt-tab-btn {
    padding: 12px 11px;
  }
    .vt-title{
    font-size: 32px;
  }

  .vt-commitment-card{
    padding: 28px 22px;
  }
}

@media (max-width: 575px) {
  section {
    padding: 30px 0;
  }
  .hero-slider{
    padding:0px !important;
  }
  .vt-left-icons {
    display: none;
  }
  .vt-marquee-wrap {
    position: absolute;
    left: 0;
    right: 0px;
    overflow: hidden;
    white-space: nowrap;
  }
  .vt-right-actions {
    display: none;
  }

  .vt-logo-img {
    height: 100px !important;
  }

  .hero-content h1 {
    font-size: 26px;
  }
  .hero-card {
    padding: 7px 10px;
  }
  .card-icon {
    width: 36px;
    height: 36px;
    font-size: 12px;
    margin: auto auto 10px;
  }
  .hero-card span {
    line-height: 0.5;
    font-size: 12px;
    font-weight: 600;
  }
  .rw-product-tabs .nav-link {
    padding: 5px 3px;

    margin: 8px;
  }
  .mission-bar h2 {
    font-size: 21px !important;
  }

  

  .testing-content {
        padding: 10px 5px;
    }

  .vt-card img {
    min-height: auto;
  }

  .vt-card-body {
    padding: 14px;
  }

  .vt-card-body h4 {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .vt-price {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .vt-btns {
    gap: 8px;
    flex-direction: column;
  }

  .vt-btns a {
    font-size: 13px;
    padding: 10px 14px;
  }

  .our-product-heading h2,
  .sbcategory-heading h2 {
    font-size: 28px;
  }

  .our-product-heading p,
  .sbcategory-heading p {
    font-size: 15px;
  }

  .vt-tab-btn {
    font-size: 14px;
    padding: 10px 12px;
  }

  .vt-load-btn {
    font-size: 14px;
    padding: 10px 18px;
  }
  .vt-btn-cart{
    font-size: 10px;
  }
}

/* Product detail page styling */
.product-detail-page {
  background: #f9fbff;
}

.product-detail-page .container {
  max-width: 1200px;
}

.product-detail-page .bg-white.rounded-4.p-4 {
  box-shadow: 0 18px 45px rgba(15, 38, 76, 0.08);
}

.product-detail-page .bg-white.rounded-4.p-4 img {
  width: 100%;
  max-height: auto;
  object-fit: cover;
  border-radius: 1.2rem;
}

.product-detail-page .product-qty-group {
  width: 100%;
  max-width: 180px;
}

.product-detail-page .product-qty-group .btn {
  min-width: 42px;
  padding: 0.65rem 0.8rem;
}
.quantity-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.qty-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background:#f12678;
    color: #fff;
    font-size: 14px;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #0d6efd;
    color: #fff;
    transform: scale(1.08);
}

.qty-number {
    min-width: 35px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.add-cart-btn {
    border: none;
    background:#f12678;
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: .3s;
    box-shadow: 0 10px 25px rgba(13,110,253,.25);
}

.add-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(13,110,253,.35);
}

.product-detail-page .form-control.text-center {
  min-height: 48px;
}

.product-detail-page h1.display-5 {
  font-size: clamp(2.5rem, 4vw, 3rem);
  line-height: 1.05;
}

.product-detail-page h4 {
  font-size: 1.85rem;
}

.product-detail-page h5 {
  font-size: 1.5rem;
}

.product-detail-page .text-muted,
.product-detail-page p,
.product-detail-page .small {
  font-size: 0.95rem;
}

.product-detail-page .btn-primary,
.product-detail-page .btn-dark {
  border-radius: 50px;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.product-detail-page .btn-primary {
  background: #f12678;
  border-color: #f12678;
  color: #fff;
  box-shadow: 0 16px 35px rgba(255, 184, 0, 0.16);
}

.product-detail-page .btn-primary:hover,
.product-detail-page .btn-primary:focus {
  background: #f12678;
  border-color: #f12678;
  color: #fff;
  transform: translateY(-1px);
}

.product-detail-page .btn-dark {
  background: #111;
  border-color: #111;
  color: #fff;
}

.product-detail-page .btn-dark:hover,
.product-detail-page .btn-dark:focus {
  background: #222;
  border-color: #222;
  transform: translateY(-1px);
}

.product-detail-page .form-select,
.product-detail-page .input-group .form-control {
  min-height: 56px;
}

.product-detail-page .table {
  font-size: 0.92rem;
}

.product-detail-page .card-img-top {
  padding: 1rem;
  background: #f8f9ff;
}

.product-detail-page .card-body {
  padding: 1.25rem;
}

@media (max-width: 991px) {
  .product-detail-page .row.g-5 {
    row-gap: 1.8rem;
  }

  .product-detail-page .d-flex.align-items-center.gap-3.mb-4 {
    flex-direction: column;
    align-items: stretch;
  }

  .product-detail-page .product-qty-group {
    max-width: 100%;
  }

  .product-detail-page .btn-lg {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .product-detail-page .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .product-detail-page .row.g-5 {
    gap: 1.5rem;
  }

  .product-detail-page h1.display-5 {
    font-size: 2.2rem;
  }

  .product-detail-page h4 {
    font-size: 1.5rem;
  }

  .product-detail-page h5 {
    font-size: 1.3rem;
  }

  .product-detail-page .btn-primary,
  .product-detail-page .btn-dark {
    width: 100%;
    padding: 0.9rem 1.1rem;
  }

  .product-detail-page .product-qty-group {
    max-width: 100%;
  }

  .product-detail-page .form-select,
  .product-detail-page .product-qty-group {
    width: 100%;
  }

  .product-detail-page .table {
    font-size: 0.88rem;
  }
}

@media (max-width: 575px) {
  .product-detail-page {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .product-detail-page .row.g-5 {
    gap: 1rem;
  }

  .product-detail-page h1.display-5 {
    font-size: 1.9rem;
  }

  .product-detail-page h4 {
    font-size: 1.3rem;
  }

  .product-detail-page h5 {
    font-size: 1.1rem;
  }

  .product-detail-page .btn-primary,
  .product-detail-page .btn-dark {
    padding: 0.85rem 1rem;
    font-size: 12px;
  }

  

  .product-detail-page .d-flex.align-items-center.gap-3.mb-4 {
    gap: 1rem;
  }

  .product-detail-page .card-img-top {
    padding: 0.8rem;
  }
}
