html {
    scroll-behavior: smooth;
}
            .tab-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow tabs to wrap to the next line */
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
    width: 100%; /* Make the container take up the entire width */
}

.tab {
    flex: 1 1 0%; /* Allow tabs to grow and shrink, and set a base width */
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid #ccc;
    margin: 5px; /* Add margin to create space between tabs */
    background-color: #f9f9f9;
    text-align: center; /* Center align the text */
    border-radius: 5px;
    transition: background-color 0.3s;
    position: relative; /* To position the arrow */
}


.tab.active {
    font-weight: bold;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -10px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.tab-title {
    font-size: 16px;
    font-weight: bold;
    display: block; /* Ensure the title is on its own line */
}

.tab-content {
    display: none;
    margin-top: 20px;
}

.tab-content.active {
    display: block;
}
 .unit-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

/* Style for every other card */
.unit-card:nth-child(even) {
    background-color: #f9f9f9; /* Slightly darker color */
}

.unit-card .column {
    flex: 1; /* Make all columns take up equal space */
    margin: 0 10px;
}

.unit-card .size-image {
    flex: 0 0 auto; /* Prevent this column from growing or shrinking */
    margin: 0; /* Remove margin */
    padding: 0; /* Remove padding */
    text-align: center; /* Center align the image */
}

.unit-card .size-image img {
    width: 100px; /* Set a fixed width for the image */
    height: auto;
    border-radius: 5px;
}

.unit-card .title-features {
    flex: 1; /* Make this column wider */
    display: flex;
    flex-direction: column;
}

.unit-card h3 {
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 10px; /* Add space between heading and features */
}

.unit-card .features {
    margin-top: 5px; /* Add space between heading and features */
}

.unit-card .special-offer-section {
    flex: 1; /* Ensure this column is also equal */
    margin-top: 10px; /* Space above the special offer section */
    text-align: center; /* Center align the special offer section */
}

.unit-card .actions {
    flex: 1; /* Ensure this column is also equal */
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align items to the right */
}

.unit-card .price {
    text-align: right; /* Right align the price section */
}

.unit-card .price {
    text-align: right; /* Right align the price section */
}

.unit-card .price-label {
    font-size: 16px;
    font-weight: bold;
    margin-right: 5px;
}

.unit-card .from-label {
    font-size: 16px; /* Slightly smaller font size */
    font-weight: bold;
    display: inline-block;
    margin-right: 5px; /* Add some space between the label and the price */
    vertical-align: middle;
}

.unit-card .price-amount {
    font-size: 24px; /* Larger font size for the price */
    font-weight: bold;
    color: #333; /* Dark grey color for the price */
    display: inline-block;
    vertical-align: middle; /* Align with the middle of the label */
}

.unit-card .strikethrough-rate {
    font-size: 14px; /* Slightly smaller font size */
    color: #999; /* Less prominent color */
    display: flex; /* Display flex for alignment */
    justify-content: flex-end; /* Right align the content */
    align-items: center; /* Center align vertically */
    margin-bottom: 5px; /* Space between strikethrough and starting price */
    position: relative; /* For pseudo-element positioning */
}

.unit-card .strikethrough-amount {
    font-size: 18px; /* Slightly larger font size for the strikethrough price */
    color: #333; /* Dark grey color for the strikethrough price */
    position: relative; /* For pseudo-element positioning */
}

.unit-card .strikethrough-amount::before {
    content: '';
    position: absolute;
    width: 110%;
    height: 2px;
    background: rgba(255, 0, 0, 0.5); /* Red color with transparency for the slash */
    top: 50%;
    left: -5%;
    transform: rotate(-15deg); /* Slant the line for a hand-slashed look */
    transform-origin: center center; /* Ensure the line rotates around its center */
    z-index: 1; /* Ensure the line appears over the text */
}



.unit-card .select-button {
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 10px;
}


.features ul {
  list-style-type: none; /* Remove default bullets */
  margin-bottom: 0px;
}

.features li {
  margin-bottom: 5px;
  position: relative; /* Position relative to allow absolute positioning of the checkmark */
  padding-left: 20px; /* Space for the checkmark */
}

.features li::before {
  content: '\2713'; /* Unicode for checkmark */
  position: absolute;
  left: 0;
  color: green; /* Change color as needed */
}

.attributes ul {
    list-style-type: none; /* Remove default bullets */
}

.attributes li {
    margin-bottom: 5px;
    position: relative; /* Position relative to allow absolute positioning of the checkmark */
    padding-left: 20px; /* Space for the checkmark */
}

.attributes li[data-feature="Self Service / Contactless"] {
  font-weight:bold
}

.attributes li::before {
    content: '\2713'; /* Unicode for checkmark */
    position: absolute;
    left: 0;
    color: green; /* Change color as needed */
    font-weight: normal;
}

@media (max-width: 768px) {
    .unit-card {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto auto;
      gap: 10px;
      padding: 10px;
    }
  
    .unit-card .size-image {
      display: none; /* Hide the size image */
    }
  
    .unit-card .title-features {
      grid-column: 1 / 2;
      grid-row: 1 / 2;
      text-align: left;
      margin-bottom: 10px;
    }
  
    .unit-card .attributes {
      grid-column: 1 / 2;
      grid-row: 2 / 3;
      text-align: left;
      margin-bottom: 10px;
    }
  
    .unit-card .price-section {
      grid-column: 2 / 3;
      grid-row: 1 / 2;
      text-align: right;
      font-size: 28px; /* Larger font size for the price */
      font-weight: bold;
      margin-bottom: 10px;
    }
  
    .unit-card .special-offer-section {
      grid-column: 1 / 3;
      grid-row: 3 / 4;
      text-align: center;
      margin-bottom: 10px;
    }
  
    .unit-card .select-button {
      grid-column: 2 / 3;
      grid-row: 4 / 5;
      width: 100%;
      text-align: center;
    }
  
    .unit-card .unit-size {
      grid-column: 1 / 2;
      grid-row: 4 / 5;
      text-align: left;
    }
  }
 .Inventory-modal-wrapper {
    position: relative; /* Ensures the modal is positioned within this wrapper */
}

.Inventory-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Positioned relative to Inventory-modal-wrapper */
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.Inventory-modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* Adjusted to be more centered relative to wrapper */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}



            .close {
                color: #4d4d4d;
                float: right;
                font-size: 28px;
                font-weight: bold;
                opacity: .5;
            }

            .close:hover,
            .close:focus {
                color: black;
                text-decoration: none;
                cursor: pointer;
            }

.category-buttons {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.category-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  padding: 10px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 30%;
  text-align: center;
  position: relative; /* To position the arrow */
}

.category-button.disabled {
  background-color: #e0e0e0;
  cursor: not-allowed;
  opacity: 0.25;
}

.category-button i {
  font-size: 24px;
  margin-bottom: 10px;
}

.category-button span {
    font-weight: bold;
  }


.category-button.selected::after {
  content: '';
  position: absolute;
  bottom: -10px; /* Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

@media (max-width: 768px) {

  .category-button {
    width: 100%; /* Full width for buttons */
    margin:2px;
    margin-bottom: 0px; /* Space between buttons */
    padding: 5px;
  }

  .category-button p {
    display: none; /* Hide descriptions by default */
    font-size: 12px; /* Reduce font size for descriptions */
  }

  .category-button i {
    font-size: 24px; /* Icon size remains the same */
    margin-bottom: 5px; /* Reduce space below icon */
  }

  .category-button span {
    font-size: 16px; /* Title font size */
  }

  .category-button .price-wrapper {
    font-size: 14px; /* Font size for price */
  }


}

  .selected-arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    margin: 0 auto;
    display: none;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.action-button {
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    width: 48%;
}


.action-button:hover {
    opacity: 0.8;
}

.rentalUnit {
  margin-left: 5px;
  }
            
                        
            
.modal-unit-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
    width: calc(100% - 40px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
            
/* Style for every other card */
.modal-unit-card:nth-child(even) {
    	background-color: #f9f9f9; /* Slightly darker color */
}

.modal-unit-card .column {
    flex: 1;
    margin: 0 10px;
}

.modal-unit-card .title-features-attributes {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modal-unit-card h3 {
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 10px;
}

.modal-unit-card .features,
.modal-unit-card .attributes {
    text-align: left;
}

.modal-unit-card .special-offer-section {
    flex: 1;
    margin-top: 10px;
    text-align: center;
}

.modal-unit-card .special-offer-section h4 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.modal-unit-card .special-offer {
    background-color: #ffeb3b;
    padding: 5px;
    margin-top: 5px;
    border-radius: 3px;
    text-align: center;
}

.modal-unit-card .price-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.modal-unit-card .price {
    font-size: 38px;
    font-weight: bold;
    margin-top: 15px;
}

.modal-unit-card .price::after {
    content: ' / month';
    font-size: 16px;
}

.modal-unit-card .action-buttons {
    display: flex;
    justify-content: right;
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .modal-unit-card {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto auto;
      padding: 10px;
    }
  
    .modal-unit-card .title-features-attributes {
      grid-column: 1 / 2;
      grid-row: 1 / 2;
      text-align: center;
      margin-bottom: 0px;
    }
  
    .modal-unit-card .attributes {
      grid-column: 1 / 2;
      grid-row: 2 / 3;
      margin-bottom: 10px;
    }
  
    .modal-unit-card .special-offer-section {
      grid-column: 1 / 2;
      grid-row: 3 / 4;
      text-align: center;
      margin-bottom: 10px;
    }
  
    .modal-unit-card .price-section {
      grid-column: 1 / 2;
      grid-row: 4 / 5;
      text-align: center;
      margin-bottom: 10px;
    }
  
    .modal-unit-card .action-buttons {
      grid-column: 1 / 2;
      grid-row: 5 / 6;
      width: 100%;
      display: flex;
      justify-content: center;
    }
  
    .modal-unit-card .action-buttons button {
      width: 100%; /* Full width for the buttons */
      text-align: center;
    }

    .modal-unit-card .price-section {
        display:block;
    }
    .modal-unit-card .title-features-attributes {
        display: block;

    }
  }

@media (max-width: 480px) {
    .modal-unit-card {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto auto auto;
      gap: 5px; /* Reduce gap to decrease white space */
      padding: 10px;
    }
  
    .modal-unit-card .title-features-attributes {
      grid-column: 1 / 2;
      grid-row: 1 / 2;
      text-align: left;
      margin-bottom: 0px; /* Reduce margin to decrease white space */
    }
  
    .modal-unit-card .attributes {
      grid-column: 1 / 2;
      grid-row: 2 / 3;
      text-align: left;
      margin-bottom: 5px; /* Reduce margin to decrease white space */
      
    }
  
    .modal-unit-card .special-offer-section {
      grid-column: 1 / 2;
      grid-row: 3 / 4;
      text-align: center;
      margin-bottom: 5px; /* Reduce margin to decrease white space */
    }
  
    .modal-unit-card .price-section {
      grid-column: 1 / 2;
      grid-row: 4 / 5;
      text-align: center;
      font-size: 28px; /* Larger font size for the price */
      font-weight: bold;
      margin-bottom: 5px; /* Reduce margin to decrease white space */
    }
  
    .modal-unit-card .action-buttons {
      grid-column: 1 / 2;
      grid-row: 5 / 6;
      width: 100%;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
    }
  
    .modal-unit-card .action-buttons button {
      width: 48%; /* Full width for the buttons with space between */
      text-align: center;
    }

    .modal-unit-card .title-features-attributes {
        display: block;

    }
  }
.filter-container {
    display: flex;
    align-items: flex-end; /* Align items (dropdowns and button) to the bottom */
    justify-content: space-between; /* Space items evenly */
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.filter {
    flex: 1;
    margin: 0 10px;
}

.filter label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px; /* Ensure consistent font size */
}

.filter select {
    width: 100%;
    padding: 8px; /* Match padding for consistent size */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px; /* Match font size with the reset button */
    line-height: 1.5; /* Align dropdown content properly */
    height: auto; /* Let padding determine height */
    box-sizing: border-box; /* Include padding and border in width/height */
}

.reset-button {
    background: #d9534f;
    color: white;
    border: none;
    padding: 8px 10px; /* Match dropdown padding */
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px; /* Match dropdown font size */
    line-height: 1.5; /* Ensure vertical alignment */
    height: auto; /* Let padding determine height */
    margin: 0; /* Remove unnecessary margins */
    display: flex; /* Align content within the button */
    align-items: center;
    justify-content: center;
}

.reset-button:hover {
    opacity: 0.8;
}
            
.apply-button {
    border: none;
    padding: 8px 10px; /* Match dropdown padding */
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px; /* Match dropdown font size */
    line-height: 1.5; /* Ensure vertical alignment */
    height: auto; /* Let padding determine height */
    margin: 0; /* Remove unnecessary margins */
    margin-right: 5px;        
    display: flex; /* Align content within the button */
    align-items: center;
    justify-content: center;
}

.apply-button:hover {
    opacity: 0.8;
}


            
.loading-overlay {
    display: none; /* Initially hidden */
    position: fixed; /* Centered on the viewport */
    top: 0;
    left: 0;
    width: 100vw; /* Full width of the viewport */
    height: 100vh; /* Full height of the viewport */
    z-index: 1000; /* Ensure it appears above other content */
    background-color: rgba(255, 255, 255, 0.8); /* Optional semi-transparent background */
    display: flex; /* Flexbox for centering */
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
}

.spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    animation: spin 1s linear infinite; /* Rotating animation */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
            

            
.unit-sp-offer {
    font-weight: 600;
    padding: 7px 14px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    border: none;
    border-radius: 25px;
    cursor: default;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
            
 .unit-sp-offer-attn {
    color: #ef4040;
    font-size: 16px;
    text-align: center;
    display: block;
    margin-top: 5px;
    font-weight: 500;
}

.unit-card .special-offer-section {
    display: block; /* Ensure the whole section is block-level */
}

.unit-card .special-offer-section h4 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    display: block; /* Make the title block-level */
}

.unit-card h4 {
    margin-top: 0;
    font-size: 16px;
    margin-bottom: 10px;
    
    }
    .unit-card h3 {
    margin-top: 0;
    font-size: 24px;
    
    }
    
    .unit-act-fast {
    text-align: center;
    padding: 10px 0;
}

.act-fast-banner {
    border: solid 2px;
    color: #ef4040; /* Darker text for contrast */
    font-weight: bold;
    font-size: 16px; /* Slightly larger text for emphasis */
    padding: 7px 14px;
    border-radius: 20px; /* Rounded button look */
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.limited-availability-text {
    font-size: 14px; /* Slightly smaller text for supporting info */
    color: #555; 
    margin-top: 5px;
    font-weight: bold;
}
    
    .unit-rent-today {
    text-align: center;
    padding: 10px 0;
}

.rent-today-banner {
    border: solid 2px;
    color: #333; /* Darker text for contrast */
    font-weight: bold;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.limited-units-text {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
    font-weight: bold;
}

            
            /* General Mobile Responsiveness */
            @media (max-width: 768px) {
                .tab-container {
                  flex-wrap: wrap;
                }
              
                .tab {
                  flex: 1 1 calc(48% - 10px); /* Fit two tabs per row with spacing */
                  font-size: 16px; /* Keep font size readable */
                  padding: 12px; /* Maintain sufficient touch target size */
                }
              
            
              
                /* Modal Content */
                .modal-unit-card {
                  width: calc(100% - 20px); /* Adjust width for small screens */
                  padding: 15px; /* Adjust padding for comfort */
                }
              
                .modal-unit-card h3 {
                  font-size: 20px; /* Slightly larger headings */
                }
              
                .modal-unit-card .price {
                  font-size: 28px; /* Keep price prominent */
                }
              
                /* Filters */
                .filter-container {
                  flex-wrap: wrap; /* Allow filters to wrap */
                  gap: 10px; /* Space out elements */
                }
              
                .filter {
                  flex: 1 1 calc(48% - 10px); /* Two filters per row */
                }
              
                .reset-button,
                .apply-button {
                  flex: 1 1 calc(48% - 10px); /* Two buttons per row */
                  padding: 10px; /* Maintain usability */
                }
              
                .store-time-wrapper .store-right-container {
                  width: 100%;
                }
              }

/* Extra Small Screens (up to 480px) */
@media (max-width: 480px) {
   

    .tab {
        flex: 1 1 calc(48% - 10px); /* Fit two tabs per row with spacing */
        font-size: 14px; /* Keep font size readable */
        padding: 8px; /* Maintain sufficient touch target size */
    }


    .modal-unit-card {
        padding: 10px; /* Compact padding for smaller screens */
    }

    .filter-container {
        flex-direction: column; /* Stack filters vertically */
    }

    .filter {
        width: 100%; /* Full width for filters */
        margin-bottom: 10px;
    }

    .reset-button,
    .apply-button {
        width: 100%; /* Full width for buttons */
        margin-top: 5px;
    }

    .unit-sp-offer {
      font-size: 16px;
  }

  .unit-sp-offer-attn {
    font-size: 14px;
}

.Inventory-modal-content {
    padding: 5px;
    width: 85%;
}

 

}

@media (max-width: 375px) {

  .category-buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 0px;
    flex-wrap: wrap;
}

}