.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    color: #fff;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex: 1 1 auto;
    text-align: center;
}

.tab-button i {
    font-size: 1.2rem;
}

.tab-button.products {
    background-color: #ff9800; 
}
.tab-button.description {
    background-color: #8bc34a;
}
.tab-button.terms {
    background-color: #03a9f4; 
}

.tab-button:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.tab-button.active {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.tab-content {
    display: none;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.product-table th, .product-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 0.9rem;
}

.product-table th {
    background-color: #f1f1f1;
}

.product-name {
    font-weight: bold;
    color: #333;
}

.product-price {
    color: #4caf50;
    font-weight: bold;
}

.product-bonus {
    color: #e91e63;
    font-weight: bold;
}

.buy-button {
    background-color: #ffcc00;
    border: none;
    padding: 8px 15px;
    font-weight: bold;
    border-radius: 5px;
    color: #333;
    cursor: pointer;
    width: 100%;
}

.buy-button:hover {
    background-color: #ffa000;
    color: white;
}

.out-of-stock {
    color: #e53935;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .tab-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .tab-button {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .tab-content {
        padding: 15px;
    }

    .product-table th, .product-table td {
        padding: 10px;
        font-size: 0.85rem;
    }

    .buy-button {
        padding: 10px;
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .tab-button {
        font-size: 0.9rem;
    }
    .product-table th, .product-table td {
        font-size: 0.8rem;
    }
    .buy-button {
        font-size: 0.9rem;
    }
}
    .price-filter {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 20px;
        gap: 8px;
        font-size: 1rem;
        font-weight: bold;
        color: #333;
    }

    .price-filter label {
        font-weight: bold;
    }

    .price-filter select {
        padding: 8px 10px;
        font-size: 0.9rem;
        border: 2px solid #ddd;
        border-radius: 5px;
        outline: none;
        transition: border-color 0.3s;
        background-color: #f8f9fa;
    }

    .price-filter select:hover,
    .price-filter select:focus {
        border-color: #FC2203;
    }

    .product-list-item {
        background-color: #fff;
    }
    
    .product-image-container {
        width: 100px;
        height: 100px;
        overflow: hidden;
        border-radius: 8px;
    }

    .product-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-name {
        font-weight: bold;
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    .product-price {
        font-weight: bold;
        color: #28a745;
        font-size: 1.1rem;
    }

    .quantity-control .quantity-btn {
        width: 30px;
        height: 30px;
    }

    .quantity-control input {
        text-align: center;
        width: 50px;
    }
@media (max-width: 1024px) {
    .product-list-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        margin-bottom: 10px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .product-image-container {
        width: 100%;
        max-width: 120px; 
        height: 120px; 
        margin: 0 auto 8px;
        border-radius: 6px;
        overflow: hidden;
        transition: transform 0.2s ease;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .product-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-details {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-name {
        font-size: 1rem;
        color: #333;
        font-weight: bold;
        margin: 6px 0;
    }

    .product-description {
        font-size: 0.9rem;
        margin: 4px 0;
    }

    .product-price {
        font-size: 1.1rem;
        font-weight: bold;
        color: #28a745;
        margin: 8px 0;
    }

    .product-actions {
        display: flex;
        gap: 4px;
        justify-content: center;
        width: 100%;
        margin-top: 6px;
    }

    .product-actions .btn {
        flex: 1;
        padding: 6px 8px;
        border-radius: 12px;
        font-weight: bold;
        font-size: 0.8rem;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .product-actions .btn-primary:hover {
        background-color: #004080;
        color: #fff;
    }

    .product-actions .btn-success:hover {
        background-color: #1c7c37;
        color: #fff;
    }
}

 .filter-section {
        background-color: white !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    }
    @media (max-width: 767.98px) {
        .product-list-item {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
        }

        .product-image-container {
            margin-bottom: 15px !important;
            display: flex !important;
            justify-content: center !important;
            width: 100% !important;
        }

        .product-details {
            text-align: center !important;
            width: 100% !important;
        }

        .quantity-control {
            justify-content: center !important;
            margin-bottom: 10px !important;
            margin-right: 0 !important; 
            width: 100%; 
            display: flex !important; 
        }

        .quantity-control label {
            margin-right: 0 !important;
        }

        .product-actions {
            justify-content: center !important;
            width: 100% !important;
        }

        .product-details h5,
        .product-details p,
        .product-details .product-price {
            margin-left: auto !important;
            margin-right: auto !important;
        }
    }
        .is-invalid {
            border-color: #dc3545;
        }
    .swal2-popup {
        width: auto !important;
        padding: 20px;
        background-color: #fff !important;
        border-radius: 8px !important;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1) !important;
        font-size: 14px;
        position: fixed;
        top: 20px; 
        right: 20px; 
        z-index: 9999;
        max-width: 350px; 
        display: flex;
        align-items: center; 
        justify-content: center;
        text-align: center; 
        flex-direction: column; 
    }

    .swal2-title {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 13px; 
        color: #333;
        margin-bottom: 5px;
    }

    .swal2-html-container {
        font-family: 'Arial', sans-serif;
        font-size: 13px !important;
        color: #555;
        margin-bottom: 10px !important;
    }

    .swal2-icon {
        font-size: 13px !important; 
        margin-bottom: 10px;
        margin-right: 0; 
    }

    .swal2-success {
        color: #28a745;
    }

    .swal2-error {
        color: #dc3545;
    }

    .swal2-confirm {
        background-color: #28a745 !important;
        color: #fff !important;
        border-radius: 8px !important;
        font-weight: bold;
    }

    .swal2-cancel {
        background-color: #dc3545 !important;
        color: #fff !important;
        border-radius: 8px !important;
        font-weight: bold;
    }
    #addToCartProductPrice {
        display: block; 
    }
    #productPrice{
        display: block; 
    }


.product-list-item {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


    @media (max-width: 768px) {
        .breadcrumb {
            flex-direction: column;
            align-items: flex-start;
        }

        .breadcrumb-item {
            margin-bottom: 5px;
        }

        .breadcrumb-item.d-none.d-md-block {
            display: block;
            margin-top: 10px;
        }

        .breadcrumb-item.active span {
            font-size: 12px;
            padding: 4px 8px;
        }
    }
    @media (max-width: 576px) {
  #purchaseModalCard .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #purchaseModalCard .col-md-4,
  #purchaseModalCard .col-md-7 {
    width: 100%;
    padding: 0 !important;
  }

  #productName {
    font-size: 1.2rem;
    margin-top: 1rem;
  }

  #productPrice {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .d-flex.align-items-center.gap-2.my-3 {
    justify-content: center;
  }

}
.custom-green {
  color: #15af15;
  display: inline-block; 
  padding: 1px 4px;
  border: 2px solid #15af15; 
  border-radius: 6px; 
  font-weight: 600; 
  user-select: none; 
}
.custom-bg-orange {
  background-color: #009cfd;
  color: #ffffff; 
  border-radius: 4px;
  display: inline-block;
  padding: 4px 6px; 
}

.original-price {
  color: #ff0000;
  display: inline-block;
  padding: 1px 4px;
  border: 2px solid #ff0000;
  border-radius: 6px;
  font-weight: 600;
  user-select: none;
  text-decoration: line-through;
}

.filter-section {
        background-color: white !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    }
    @media (max-width: 767.98px) {
        .product-list-item {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
        }

        .product-image-container {
            margin-bottom: 15px !important;
            display: flex !important;
            justify-content: center !important;
            width: 100% !important;
        }

        .product-details {
            text-align: center !important;
            width: 100% !important;
        }

        .quantity-control {
            justify-content: center !important;
            margin-bottom: 10px !important;
            margin-right: 0 !important; 
            width: 100%; 
            display: flex !important; 
        }

        .quantity-control label {
            margin-right: 0 !important;
        }

        .product-actions {
            justify-content: center !important;
            width: 100% !important;
        }

        .product-details h5,
        .product-details p,
        .product-details .product-price {
            margin-left: auto !important;
            margin-right: auto !important;
        }
    }
        .is-invalid {
            border-color: #dc3545;
        }
    .swal2-popup {
        width: auto !important;
        padding: 20px;
        background-color: #fff !important;
        border-radius: 8px !important;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1) !important;
        font-size: 14px;
        position: fixed;
        top: 20px; 
        right: 20px; 
        z-index: 9999;
        max-width: 350px; 
        display: flex;
        align-items: center; 
        justify-content: center;
        text-align: center; 
        flex-direction: column; 
    }

    .swal2-title {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 13px; /
        color: #333;
        margin-bottom: 5px;
    }

    .swal2-html-container {
        font-family: 'Arial', sans-serif;
        font-size: 13px !important;
        color: #555;
        margin-bottom: 10px !important;
    }

    .swal2-icon {
        font-size: 13px !important; 
        margin-bottom: 10px;
        margin-right: 0; 
    }

    .swal2-success {
        color: #28a745;
    }

    .swal2-error {
        color: #dc3545;
    }

    .swal2-confirm {
        background-color: #28a745 !important;
        color: #fff !important;
        border-radius: 8px !important;
        font-weight: bold;
    }

    .swal2-cancel {
        background-color: #dc3545 !important;
        color: #fff !important;
        border-radius: 8px !important;
        font-weight: bold;
    }
    #addToCartProductPrice {
        display: block; 
    }
    #productPrice{
        display: block; 
    }


.product-list-item {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


    @media (max-width: 768px) {
        .breadcrumb {
            flex-direction: column;
            align-items: flex-start;
        }

        .breadcrumb-item {
            margin-bottom: 5px;
        }

        .breadcrumb-item.d-none.d-md-block {
            display: block;
            margin-top: 10px;
        }

        .breadcrumb-item.active span {
            font-size: 12px;
            padding: 4px 8px;
        }
    }
   @media (max-width: 576px) {
  #purchaseModalCard .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #purchaseModalCard .col-md-4,
  #purchaseModalCard .col-md-7 {
    width: 100%;
    padding: 0 !important;
  }

  #productName {
    font-size: 1.2rem;
    margin-top: 1rem;
  }

  #productPrice {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .d-flex.align-items-center.gap-2.my-3 {
    justify-content: center;
  }

}
.custom-green {
  color: #15af15;
  display: inline-block; 
  padding: 1px 4px;
  border: 2px solid #15af15; 
  border-radius: 6px; 
  font-weight: 600; 
  user-select: none; 
}
.custom-bg-orange {
  background-color: #009cfd;
  color: #ffffff; 
  border-radius: 4px;
  display: inline-block;
  padding: 4px 6px; 
}

.original-price {
  color: #ff0000;
  display: inline-block;
  padding: 1px 4px;
  border: 2px solid #ff0000;
  border-radius: 6px;
  font-weight: 600;
  user-select: none;
  text-decoration: line-through;
}
.form-control-plaintext {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .payment-methods-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.payment-method-card {
  flex: 1 1 30%;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  position: relative;
}

.payment-method-card:hover {
  border-color: #009cfd;
  background-color: #e6f4ff; 
}

.payment-method-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-method-card input[type="radio"]:checked + .payment-method-icon,
.payment-method-card input[type="radio"]:checked ~ .payment-method-info {
  color: #009cfd;
}

.payment-method-card input[type="radio"]:checked {
  outline: none;
  border-color: #009cfd;
}

.payment-method-card input[type="radio"]:checked ~ .payment-method-icon {
  color: #009cfd;
}

.payment-method-card input[type="radio"]:checked ~ .payment-method-info .payment-method-name {
  font-weight: 700;
  color: #009cfd;
}

.payment-method-card input[type="radio"]:checked ~ .payment-method-icon,
.payment-method-card input[type="radio"]:checked ~ .payment-method-info {
  filter: none;
}

.payment-method-icon {
  font-size: 1.8rem;
  color: #6c757d;
  width: 36px;
  text-align: center;
  transition: color 0.25s ease;
}

.payment-method-info {
  display: flex;
  flex-direction: column;
  transition: color 0.25s ease;
}

.payment-method-name {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
}

.payment-method-desc {
  font-size: 0.8rem;
  color: #6c757d;
}

.payment-method-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.payment-method-card.disabled .payment-method-icon,
.payment-method-card.disabled .payment-method-name,
.payment-method-card.disabled .payment-method-desc {
  color: #aaa !important;
}

  .compact-qty input {
    max-width: 60px;
  }

  .compact-qty .btn {
    padding: 0.375rem 0.75rem;
  }

  #customFieldsContainer input:focus,
  #customFieldsContainer select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
    outline: none;
  }