.rto-tc-shortcode-html * {
  font-family: "Poppins";
}

.rto-tc-shortcode-html {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rto-tc-head {
  width: 100%;
}

.rto-tc-body {
  width: 100%;
  display: flex;
  gap: 20px;
}

.rto-tc-gallery-section {
  /* width:calc(100% - 490px); */
  /* width:calc(100% - 520px); */
  width: 100%;
}

.rto-tc-product-nav-section {
  /* width:490px; */
  /* width:520px; */
  width: 100%;
  min-width: 500px;
  user-select: none;
}

.rto-tc-product-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #eee;
  background: white;
  border: 1px solid #ccc;
  border-radius: 15px;
}

.rto-tc-shortcode-html * {
  box-sizing: border-box;
}

.rto-tc-container-title {
  color: #000 !important;
  font-family: Poppins;
  font-size: 26px;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 121%; /* 31.46px */
  letter-spacing: -0.52px;
}

.rto-tc-location-stock {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rto-tc-location {
  color: #c60c29;
  font-weight: 700;
  font-size: 22px;
}

.rto-tc-depot-display {
  font-size: 14px;
  font-weight: 400;
}

.rto-tc-depot-display__location {
  text-decoration: underline;
  color: oklch(27.9% 0.041 260.031);
}

.rto-tc-in-stock {
  color: #05903f;
  font-weight: 700;
}

.rto-tc-options-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rto-tc-postal-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.rto-tc-atc-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0px 15px 0px 15px;
}

.rto-tc-atc-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  color: #c60c29;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  user-select: none;
}

.rto-tc-atc-section-inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #eee;
  padding: 15px;
  position: relative;
}

.rto-tc-atc-action-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rto-tc-option-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 500;
  color: oklch(44.6% 0.043 257.281);
}

.rto-tc-option-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rto-tc-group-options {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rto-tc-option {
  width: 100%;
  height: 55px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  padding: 5px;
  line-height: 125%;

  /* The Pro Transition */
  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out,
    transform 0.1s ease-in-out;
}

/* ================================== */

/* Container to keep them side-by-side (Optional) */
.rto-product-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

#rto-tc-quantity {
  width: 100px;
  min-width: 100px;
}

/* 1. The Quantity Input */
#rto-tc-quantity-v1 {
  -moz-appearance: textfield;
  appearance: none;
  width: 70px;
  height: 50px; /* Matching height */
  padding: 0 10px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  background-color: #f4f4f4;
  border: 2px solid transparent;
  border-radius: 8px;
  color: #333;
  transition: all 0.3s ease;
  outline: none;
}

/* Remove arrows for Chrome/Safari */
#rto-tc-quantity-v1::-webkit-outer-spin-button,
#rto-tc-quantity-v1::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#rto-tc-quantity-v1:focus {
  background-color: #fff;
  border-color: #c60c29;
}

/* 2. The Add To Cart Button */
.rto-tc-add-to-cart-button {
  height: 42px; /* Matching height */
  padding: 0 30px !important;
  background-color: #c60c29 !important; /* Matching your brand red */
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  /* letter-spacing: 1px; */
  font-family: Poppins;
  border: none;
  border-radius: 3px !important; /* Matching corner radius */
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 100px);
}

/* Button Hover State */
.rto-tc-add-to-cart-button:hover,
.rto-tc-add-to-cart-button:focus {
  color: white !important;
  background-color: #ea2342 !important;
}

/* Button Click/Active State */
.rto-tc-add-to-cart-button:active {
  transform: translateY(0);
}

.rto-quantity-selector {
  display: flex;
  align-items: center;
  background-color: #f4f4f4;
  border-radius: 8px;
  overflow: hidden;
  height: 50px;
  width: 120px;
}

.qty-btn {
  background: none !important;
  border: none !important;
  width: 40px;
  height: 100%;
  font-size: 20px !important;
  font-weight: bold !important;
  cursor: pointer;
  color: #333 !important;
  transition: background 0.2s;
  padding: 10px !important;
}

.qty-btn:hover {
  background-color: #e0e0e0 !important;
}

#rto-tc-quantity-v1 {
  border: none !important; /* Remove the border from earlier */
  background: none !important;
  width: 50px;
  padding: 0;
  margin: 0;
}

.rto-tc-option-wrapper {
  width: 100%;
  position: relative;
  /* overflow:hidden; */
}

/* Hide the actual radio circle */
.rto-tc-option-wrapper input[type="radio"] {
  display: none;
}

/* THE "SELECTED" STATE */
/* When the hidden input is checked, style the label next to it */
.rto-tc-option-wrapper input[type="radio"]:checked ~ .rto-tc-option {
  /* box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.8); */
  font-weight: 600;
  /* background-color: #117c40;
    border-color: #318053; */
  border: 1px solid #05903f;
  background: rgba(5, 144, 63, 0.05);
  /* color: white; */
}

.rto-tc-check {
  position: absolute;
  color: white;
  pointer-events: none;
  z-index: 2;
  right: 0;
  top: 0;
  display: none;
}

input[type="radio"]:checked + .rto-tc-check {
  display: block;
  color: #05903f;
}

.rto-tc-shortcode-html button:disabled {
  opacity: 0.5;
  cursor: not-allowed; /* Shows a 'circle-slash' icon - better than default */
  pointer-events: none;
  filter: grayscale(1); /* Makes the button look greyed out */
  box-shadow: none;
}

.pointer-events-none {
  pointer-events: none;
}

.rto-tc-shortcode-html .ozw-submit__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rto-tc-step-section {
  display: flex;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  align-items: center;
}

.rto-tc-step-badge {
  padding: 7px 15px;
  background: #515151;
  color: white;
  border-radius: 7px;
  white-space: nowrap;
}

.rto-tc-term-price {
  margin-top: 7px;
  font-size: 18px;
}

.rto-tc-zipcode-display-only {
  width: 100%;
  height: 42px;
  padding: 0px 15px;
  background: white;
  border-radius: 4px;
  border: 1px solid #515151;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #c60c29;
}

.zw-rto-tc-no-init-zip-wrap .zw-rto-tc-no-init-zip-location,
.zw-rto-tc-no-init-zip-wrap .zw-rto-tc-no-init-zip-submit {
  display: none;
}

.zw-rto-tc-no-init-zip-wrap .zip-input,
.zw-rto-tc-no-init-zip-wrap .zip-widget {
  width: 100%;
}

.zw-rto-tc-no-init-zip-wrap .zip-input {
  padding-left: 50px;
}

.rto-tc-no-zipcode-input-wrap {
  position: relative;
}

.rto-tc-no-zipcode-input-wrap .svg-wrapper {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #c60c29;
}

@media (max-width: 771px) {
  .rto-tc-body {
    flex-direction: column;
  }

  .rto-tc-gallery-section,
  .rto-tc-product-nav-section {
    width: 100%;
  }

  .rto-tc-product-nav-section {
    min-width: auto;
  }
}

/* The animation definition */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 12, 41, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(198, 12, 41, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198, 12, 41, 0);
  }
}

.glow-active {
  outline: none;
  border-color: #c60c29 !important;
  animation: pulse-glow 1.5s infinite; /* Keeps pulsing until removed */
  transition: all 0.3s ease;
}

@media (max-width: 480px) {
  .rto-tc-shortcode-html {
    gap: 10px;
  }

  .rto-tc-option,
  .rto-tc-term-price {
    font-size: 12px !important;
  }
  .rto-tc-step-section {
    gap: 7px;
    font-size: 16px;
  }

  .rto-tc-step-badge {
    padding: 4px 10px;
    border-radius: 4px;
  }

  .rto-tc-container-title,
  .rto-tc-location {
    font-size: 16px;
    line-height: 1.5;
    /* display: -webkit-box;           Required: Sets the layout mode to flex-box-like behavior
        -webkit-line-clamp: 3;          /* Sets the maximum number of lines */
    /* -webkit-box-orient: vertical;   Required: Defines the direction of the box */
    /* overflow: hidden; */
  }

  .rto-tc-head {
    display: none;
  }
  .rto-tc-head__mobile-title {
    display: block;
  }

  .rto-tc-step-section div,
  .rto-tc-option-label {
    font-size: 12px;
  }

  .rto-tc-zip-label-display,
  .rto-tc-change-location,
  .rating-avg-value,
  .rto-tc-no-zipcode-input-wrap .zip-input {
    font-size: 13px;
  }

  .rto-tc-atc-section * {
    font-size: 13px;
  }
}

@media (min-width: 481px) {
  .rto-tc-head {
    display: block;
  }
  .rto-tc-head__mobile-title {
    display: none;
  }
  .rto-tc-head {
    min-height: 115px;
  }
}

.clamped-2 {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rto-tc-head__title {
  margin-bottom: 10px;
  padding-right: 20px;
}

.rto-tc-head__mobile-title .rto-tc-head__mobile-title-inner {
  position: relative;
  padding-right: 35px;
}

/* The Button Container */
#rto-tc-mobile-title-toggle {
  position: absolute;
  top: 5px;
  right: 5px;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  /* Appearance */
  background: white !important; /* Change to your brand color */
  color: #525252 !important;
  border: none !important;
  border-radius: 50% !important; /* Makes it a circle if width/height are equal */

  /* Sizing */
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  cursor: pointer !important;

  /* Animation */
  transition:
    background 0.2s ease,
    transform 0.3s ease !important;
  outline: none !important;
}

/* Hover State */
#rto-tc-mobile-title-toggle:hover,
#rto-tc-mobile-title-toggle:focus {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid #ccc;
}

/* The SVG Icon itself */
#rto-tc-mobile-title-toggle #chevron-icon {
  transition: transform 0.3s ease !important;
  display: block !important;
}

/* The Rotation Logic */
/* Add the class 'expanded' to the button via JavaScript to trigger this */
#rto-tc-mobile-title-toggle.expanded #chevron-icon {
  transform: rotate(180deg) !important;
}

.rto-tc-20foot-tab-section {
  display: flex;
  justify-content: space-evenly;
  margin-top: 30px;
  width: 100%;
}

.rto-tc-20foot-tab-section .tab-option {
  flex: 1;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.rto-tc-20foot-tab-section .tab-option.active {
  border-bottom: 2px solid black;
  font-weight: bold;
}

.rto-tc-20foot-tab-section__content {
  padding: 20px;
}

.rto-tc-20foot-tab-section__content .tab-description-title {
  color: #000;
  font-family: Poppins;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 121%; /* 21.78px */
  letter-spacing: -0.36px;
}

.rto-tc-20foot-tab-section__content p,
.rto-tc-20foot-tab-section__content li {
  color: #000;
  font-family: Poppins;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 121%;
  letter-spacing: -0.36px;
}

.rto-tc-20foot-tab-section__content li {
  margin: 10px 0px;
}

.tab-specification table {
  width: 100%;
  max-width: 800px;
  border-block-start: 1px solid white;
}

.tab-specification table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th,
.tab-specification table tbody > tr:nth-child(even) > td,
table tbody > tr:nth-child(even) > th {
  background-color: #f1f1f1;
}

.tab-specification table,
.tab-specification th,
.tab-specification td {
  border: 3px solid white;
  border-collapse: collapse;
}

.rto-tc-20foot-tab-section__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rto-tc-20foot-tab-section__nav .nav-btns {
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
}

.rto-tc-20foot-tab-section__nav .prev-label,
.rto-tc-20foot-tab-section__nav .next-label {
  color: #bd112a;
  font-family: Poppins;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 121%; /* 21.78px */
  letter-spacing: -0.36px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.invisible{
  visibility: hidden;
}

.tab-delivery .title{
  color: #BD112A;
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 121%; /* 29.04px */
  letter-spacing: -0.48px;
  text-align: center;
}

.tab-delivery .tab-delivery__section-title {
color: #000;
font-family: Poppins;
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: 121%; /* 24.2px */
letter-spacing: -0.4px;
}

.tab-delivery li,.tab-delivery p,.tab-delivery div{
  color: #000;
  text-align: justify;
  font-family: Poppins;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 121%; /* 21.78px */
  letter-spacing: -0.36px;
}

/* ===== Tab Section Styles (shortcode lines 550–729) ===== */

/* Tab Description */
.tab-description__layout {
  display: flex;
}

.tab-description__text-col {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tab-description__img-col {
  width: 40%;
  background: transparent;
}

/* Shared: full-width block image */
.tab-img-full {
  display: block;
  width: 100%;
  height: auto;
}

/* Shared: full-width transparent image wrapper with top margin */
.tab-img-full-wrap {
  width: 100%;
  background: transparent;
  margin-top: 20px;
}

/* Tab Specification */
.tab-specification__table-wrap {
  display: flex;
  justify-content: center;
}

/* Tab Delivery */
.tab-delivery__truck-bg {
  padding: 25px;
  background: #f1f1f1;
}

.tab-delivery__truck-row {
  display: flex;
  gap: 50px;
}

.tab-delivery__truck-col {
  width: 50%;
}

.tab-img-aspect {
  width: 100%;
  background: transparent;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.tab-img-aspect__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.tab-delivery__truck-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tab-delivery .tab-delivery__truck-name {
  margin-top: 15px;
  color: #000;
  text-align: justify;
  font-family: Poppins;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 121%;
  letter-spacing: -0.4px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.tab-delivery__site-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

/* ===== Responsive: #rto-tc-20foot-tab-section ===== */

/* Tablet (≤ 771px) */
@media (max-width: 771px) {
  /* Description: stack text above image */
  .tab-description__layout {
    flex-direction: column;
  }

  .tab-description__text-col,
  .tab-description__img-col {
    width: 100%;
  }

  /* Delivery: stack truck columns vertically */
  .tab-delivery__truck-row {
    flex-direction: column;
    gap: 30px;
  }

  .tab-delivery__truck-col {
    width: 100%;
  }
}

/* Mobile (≤ 480px) */
@media (max-width: 480px) {
  .rto-tc-20foot-tab-section__content {
    padding: 15px 10px;
  }

  .tab-delivery__truck-bg {
    padding: 15px;
  }

  .tab-delivery__truck-row {
    gap: 20px;
  }

  .tab-delivery__site-info {
    gap: 12px;
  }

  .tab-delivery .tab-delivery__truck-name,
  .tab-delivery .tab-delivery__section-title {
    font-size: 16px;
  }

  /* Tab nav: scrollable horizontal row — no wrapping */
  .rto-tc-20foot-tab-section {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }

  .rto-tc-20foot-tab-section::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .rto-tc-20foot-tab-section .tab-option {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0 16px 10px;
  }

  /* Nav buttons: hide text labels, show icons only */
  .rto-tc-20foot-tab-section__nav .prev-label,
  .rto-tc-20foot-tab-section__nav .next-label {
    display: none;
  }
}



/* Reviews Tab Section Styles */

/* Container and Feed */
.reviews-feed {
    max-width: 800px; /* Optional: centers the feed on very wide screens */
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
}

#reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0; /* Gap is 0 because we use borders as separators */
}

/* Individual Review Card */
.review-card {
    width: 100%;
    padding: 24px 0;
    border-bottom: 1px solid #ececec; /* The "Simple Line" separator */
    transition: background-color 0.2s ease;
}

.review-card:last-child {
    border-bottom: none;
}

/* Header Layout (Avatar + Meta) */
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}

/* User Profile Image & Placeholder */
.user-pic, 
.user-pic-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.user-pic-placeholder {
    background-color: #f0f2f5;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid #ddd;
}

/* Reviewer Meta Data */
.reviewer-meta {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.review-date {
    font-size: 0.85rem;
    color: #757575;
    margin-top: 2px;
}

/* Stars */
.star-rating {
    margin-bottom: 10px;
    display: flex;
    gap: 2px;
}

/* Review Text Body */
.review-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
    word-break: break-word;
}

/* Load More Button */
.btn-load-more {
    display: block;
    width: auto;
    color:#333 !important;
    margin: 30px auto !important;
    padding: 12px 32px !important;
    background-color: #ffffff !important;
    border: 1px solid #dbdbdb !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-load-more:hover {
    color:#1a1a1a !important;
    background-color: #f9f9f9 !important;
    border-color: #aeaeae !important;
}

/* No Reviews Text */
.no-reviews {
    text-align: center;
    padding: 40px;
    color: #777;
    font-style: italic;
}

/* --- Responsive Adjustments --- */

/* Tablet (Small screens) */
@media (max-width: 768px) {
    .review-card {
        padding: 20px 0;
    }
    
    .reviewer-name {
        font-size: 0.95rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .review-header {
        gap: 10px;
    }
    
    .user-pic, 
    .user-pic-placeholder {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .review-text p {
        font-size: 0.95rem;
    }

    .btn-load-more {
        width: 100%; /* Full width button on mobile */
    }
}

.rto-tc-lowest-rental-offer:hover,
.rto-tc-lowest-rto-offer:hover{
  text-decoration: underline;
}