/* =============================================
   Global Styles and Layout
   ============================================= */
.page-id-2204 .ast-container {
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.ui-slider-horizontal {
    height: 5px!important;
}

#priceRangeCollapse {
    padding-left: 10px;
    padding-right: 10px;
}
#priceRange {
    margin-top: 15px;
}

.ui-slider-horizontal .ui-slider-handle {
    top: -9px!important;
    margin-left: -.6em;
    border-radius: 20px;
    background: rgb(0, 106, 192) !important;
    border: none!important;
}

.mainproductarea {
    display: flex;
    gap: 40px;
    width: 100%;
	font-size: 16px!important;
}

.mainfilters {
    flex: 0 0 300px;
}

.sidebarcard {
box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.1);
padding: 20px;
background: #fff;
border: 1px solid #ddd;
    border-radius: 5px;
}

.mainproducts {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  width: 100%;
}

.mainproducts > * {
  flex: 1 1 calc(33.333% - 17px);  /* Always use this calculation */
  min-width: calc(33.333% - 17px);                /* Absolute minimum width */
  max-width: calc(33.333% - 17px); /* Lock to exactly 3 items/row */
  box-sizing: border-box;          /* Include padding in width calc */
}

/* Optional: Force left-align last row (if not full) */
.mainproducts::after {
  content: "";
  flex: 1 1 calc(33.333% - 17px);
  min-width: calc(33.333% - 17px);
  max-width: calc(33.333% - 17px);
}

/* =============================================
   Brand Filter Section
   ============================================= */
.card {
    border-radius: 8px;
    overflow: hidden;
}

.card-body {
    border-radius: 0px;
    padding: 20px 0px;
}

.card-header {
    color: #000;
    cursor: pointer;
    padding: 12px 0px!important;
    border-bottom: 2px solid #f0f0f0;
}

.card-header h5{
	font-size: 18px;
	margin-bottom: 0px;
}

.card-header:hover {
    color: #007AFF;
}

.brand-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    margin: 5px;
    padding: 5px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.brand-logo:hover,
.brand-logo.selected {
    border-color: #007AFF;
    transform: scale(1.05);
}
.brand-logo.selected {
	border: 1px solid #555555;
	border-radius: 5px;
}

/* =============================================
   Product Display
   ============================================= */
.single-product-loop {
	background: #ffffff;
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #000;
    font-size: 12px;
    display: none;

}

.logo-and-model {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.single-product-loop.show {
    display: block;
    box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.single-product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 15px;
    background: #f5f5f5;
}

.logo {
    height: 30px!important;
}

.model {
    font-size: 13px;
}

.product-body {
   /* padding: 20px;*/
}

/* =============================================
   Power Options
   ============================================= */
.power-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
}

.btn1 {
    padding: 4px 10px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2E2E2E;
    color: #d4d4d4;
    border: none;
}

.btn1:hover {
    background: #007AFF;
    color: #fff;
}

.btn1.active {
    background-color: #007AFF;
    color: white;
}

.active-cover {
    background: #C7F464;
    padding: 3px;
    border-radius: 13px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.active-cover-blue {
    background: #FF0000;
    padding: 3px;
    border-radius: 13px;
    text-align: center;
    cursor: pointer;
    color: #fff;
    position: relative;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: red;
    color: white;
    padding: 2px 5px;
    font-size: 12px;
    border-radius: 3px;
}

.active-cover-blue .badge {
    background: blue;
}

/* =============================================
   Product Details
   ============================================= */
.suitable-for {
    padding-top: 20px;
    font-size: 16px;
    text-align: center;
}

.product-image {
    padding: 20px 40px 10px 40px;
    min-height: 140px;
        display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;

}

.features {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    min-width: 80px;
    background: #2e2e2e;
}

.feature-title {
    font-size: 20px;
    font-weight: bold;
	color: #ffffff;
}

.feature-desc {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    color: #ffffff;
    line-height: 1.2;
    font-size: 12px;
}

/* =============================================
   Price and Booking
   ============================================= */
.price-and-button {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.total-price {
    font-size: 40px;
    font-weight: bold;
	padding-top: 5px;
	padding-bottom: 5px;
}

.save-price {
    font-size: 16px;
    color: #007AFF;
}

.book-now {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 14px;
}

.book-now a {
    display: inline-block;
    padding: 7px 20px;
    background-color: #007AFF;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.book-now a:hover {
    background-color: #0056b3;
}

.gst-info {
    font-size: 12px;
    color: #555;
    text-align: center;
}

/* =============================================
   Terms and Conditions
   ============================================= */
.terms-and-conditions {
    position: relative;
    padding: 10px 0;
    cursor: pointer;
    background: #f5f5f5;
}

.toggle-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 0px;
    padding: 8px 12px;
    border-radius: 0px;
    user-select: none;
    justify-content: space-between;
    margin-bottom: 0;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.terms-box {
    position: absolute;
    left: -1px;
    right: -1px;
    top: 90%;
    z-index: 10;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    padding: 0 12px;
    background-color: #f5f5f5;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.terms-box.open {
    max-height: 500px;
    opacity: 1;
    padding: 12px;
}

.toggle-container.active .toggle-icon {
    transform: rotate(180deg);
}

/* =============================================
   Filter Selection Display
   ============================================= */
.selected-items-container {
    padding: 15px 0px;
}

.selected-item-badge {
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    margin: 5px;
    display: inline-flex;
    align-items: center;
}

.selected-item {
    display: inline-block;
    padding: 0px 10px;
    border: 1px solid #007aff;
    margin-bottom: 10px;
    border-radius: 15px;
	color: #ffffff;
	background: #007aff;
	font-size: 14px;
}
.selected-item button{
    padding: 2px 5px;
    border-radius: 20px;
    font-size: 12px;
    line-height: 12px;
    margin-left: 5px;
	background-color: red!important;
	color: #ffffff!important;
}

.remove-selection {
    margin-left: 8px;
    cursor: pointer;
    font-size: 14px;
}

.remove-selection:hover {
    color: #ccc;
}

/* =============================================
   Form Elements
   ============================================= */
.form-select.bg-black {
    color: #000 !important;
    border-color: #ccc !important;
    width: 100%;
}

.form-select.bg-black:focus {
    border-color: #ccc;
}

.form-select.bg-black option {
    color: #000;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    color: #000;
}
.card-body .form-label {
	font-size: 16px;
}

/* =============================================
   Modal Styles
   ============================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #201f1f;
    margin: 5% auto;
    padding: 20px;
    padding-bottom: 40px;
    width: 80%;
    max-width: 900px;
    border-radius: 8px;
    position: relative;
    color: #fff;
}

.modal-header {
    border-bottom: 1px solid #383838;
    margin-bottom: 20px;
}

.modal-body {
    padding: 0px;
}

.border-end {
    border-right: 1px solid #383838 !important;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
}

.modal-container {
    display: flex;
    gap: 30px;
}

.modal-product {
    flex: 1;
    padding: 15px;
    border-right: 1px solid #383838;
}

.modal-form {
    flex: 1;
    padding: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #383838;
    border-radius: 4px;
    background: #333;
    color: #fff;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* =============================================
   Responsive Styles
   ============================================= */

@media (max-width: 1500px) {
    .page-id-2204 .ast-container {
    width: 98%;
    max-width: 98%;
    margin-left: auto;
    margin-right: auto;
}
.product-body {
    /*padding: 10px;*/
}
.power-options {
    gap: 5px;
    font-size: 10px;
}
}
@media (max-width: 1340px) {
.total-price {
    font-size: 35px;
    font-weight: bold;
}

.book-now a {
    padding: 7px 16px;
}
}
@media (max-width: 1100px) {

.mainproducts > * {
  flex: 1 1 calc(50% - 17px);  /* Always use this calculation */
  min-width: calc(50% - 17px);                /* Absolute minimum width */
  max-width: calc(50% - 17px); /* Lock to exactly 3 items/row */
  box-sizing: border-box;          /* Include padding in width calc */
}

/* Optional: Force left-align last row (if not full) */
.mainproducts::after {
  content: "";
  flex: 1 1 calc(50% - 17px);
  min-width: calc(50% - 17px);
  max-width: calc(50% - 17px);
}
}
@media (max-width: 992px) {
    .mainproductarea {
        flex-direction: column;
    }

    .mainfilters {
        width: 100%;
        flex: 1 1 100%;
    }

    .mainproducts {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {


    .mainproducts > * {
  flex: 1 1 100%;  /* Always use this calculation */
  min-width: 100%;                /* Absolute minimum width */
  max-width: 100%; /* Lock to exactly 3 items/row */
  box-sizing: border-box;          /* Include padding in width calc */
}

/* Optional: Force left-align last row (if not full) */
.mainproducts::after {
  content: "";
  flex: 1 1 100%;
  min-width: 100%;
  max-width: 100%;
}


    .modal-container {
        flex-direction: column;
    }

    .modal-product {
        border-right: none;
        border-bottom: 1px solid #383838;
    }

    .features {
        flex-direction: row;
        align-items: start;
    }

    .price-and-button {
        flex-direction: row;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .mainproducts {
        grid-template-columns: 1fr;
    }

    .power-options {
        flex-direction: row;
        align-items: start;
    }
}