/* ===== PRODUCT DETAILS PAGE - FIXED LAYOUT ===== */

.product-content-wrapper {
  margin-top: 152px;
}

@media (max-width: 767px) {
  .product-content-wrapper {
    top: 30px !important; /* Reduced for mobile navbar */
    margin-top: 90px;
  }
}

/* --- Skeleton Loading --- */
.skeleton-loader {
  position: relative;
  width: 100%;
  min-height: 300px;
  background: #f6f7f8;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d6e5eb;
}

.skeleton-loader.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 767px) {
  .skeleton-loader {
    min-height: 250px;
  }
}

/* Desktop Layout - Force 2 Column */
@media (min-width: 768px) {
  .product-main-row {
    display: flex !important;
    flex-wrap: wrap;
  }

  .product-main-row > .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

.mobile-head {
  display: none;
}

.deskstop-head {
  display: block;
}

/* Height Chart Inside Image - Desktop */
.tt-height-inside {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, #f9ffa1 0%, #fefff6 100%);
  border: 1px solid #fcffe9ff;
  border-radius: 0px 0px 20px 20px;
  padding: 10px 15px;
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  z-index: 12;
  font-family: "DM Sans", sans-serif;
}

.tt-height-inside-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.tt-height-left {
  display: flex;
  align-items: center;
}

.tt-height-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tt-height-text {
  color: #303030;
  font-size: 13px;
  font-weight: 400;
}

.tt-height-text strong {
  color: #303030;
  font-weight: 600;
}

.tt-height-chart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 20px;
  text-decoration: none;
  color: #9f9400;
  font-weight: 600;
  text-decoration: underline;
  font-size: 13px;
  background: rgba(255, 255, 255, 0);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.06s ease;
}

.tt-height-chart-link:hover {
  color: #857c00ff;
  background: #9f95001e;
  /* transform: translateY(-1px); */
}

.tt-height-link-text {
  text-decoration: underline;
  text-decoration-color: #857c00ff;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  display: inline-block;
}

.tt-height-icon {
  flex-shrink: 0;
  display: inline-block;
}

/* Height Chart Modal */
.tt-hc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.tt-hc-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.tt-hc-modal {
  background: #fff;
  border-radius: 10px;
  padding: 0px;
  max-width: 92%;
  max-height: 92%;
  overflow: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.tt-hc-modal img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.tt-hc-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Mobile Specific Layout */
@media (max-width: 767px) {
  /* Section Separators */
  .mobile-section-separator {
    height: 1px;
    background-color: #e0e0e0;
    width: 100%;
  }

  /* Hide desktop specs box on mobile */
  .mobile-hide-specs-box {
    display: none !important;
  }

  .mobile-product-slider .owl-dots {
    bottom: 20px !important;
  }

  /* Force hide dots if single item */
  .owl-carousel .owl-dots.disabled {
    display: none !important;
  }

  /* Mobile Specifications Section */
  .mobile-specs-section {
    display: block;
  }

  .mobile-specs-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;

    color: #303030;
    text-align: left;

    padding: 0px !important;
  }

  .mobile-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .mobile-specs-grid .spec-row {
    display: contents;
  }

  .mobile-specs-grid .spec-label {
    color: #303030;
    font-weight: 500;
    font-size: 14px;
  }

  .mobile-specs-grid .spec-value {
    font-size: 14px;
    color: #303030;
    font-weight: 600;
    text-align: right;
  }

  /* Extend Subscription - Show only first item */
  .mobile-extend-single {
    display: flex;
    margin-bottom: 20px;
  }

  /* Hide other items (Terms, Cancellation, FAQs) in extend section */
  .mobile-hide-in-extend {
    display: none !important;
  }

  /* Show them later as separate section */
  .mobile-links-section {
    display: block;
    margin-top: 20px;
  }

  .mobile-links-section .tt-extend-btn {
    margin-bottom: 15px;
  }

  /* Riders in Action */
  .mobile-riders-section {
    margin-top: 20px;
    padding: 0 15px;
  }

  .mobile-riders-section h6 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
    color: #303030;
  }

  /* Smaller height chart text on mobile */
  .tt-height-inside {
    padding: 8px 12px;
  }

  .tt-height-text,
  .tt-height-chart-link {
    font-size: 12px;
  }

  .tt-height-chart-link {
    gap: 6px;
    padding: 5px 6px;
  }

  .mobile-head {
    display: none !important;
  }

  .deskstop-head {
    display: block !important;
  }
}

/* Desktop Only - Keep specs box visible, Hide mobile specific elements */
@media (min-width: 768px) {
  .mobile-section-separator,
  .mobile-specs-section {
    display: none !important;
  }

  .desktop-hide-btn {
    display: none !important;
  }
}

.product-description {
  font-size: 14px;
  color: black !important;
  line-height: 1.6;
}

.product-description-desktop {
  margin-top: -15px;
  margin-bottom: 15px;
  display: block;
}

.product-description-mobile {
  margin-top: 10px;
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .product-description-desktop {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .product-description-mobile {
    display: none !important;
  }
}

/* Price Box Refactoring */
.duration-option {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 !important;
  min-width: 0 !important;
  padding: 2px !important;
  text-align: center !important;
}

.product-price-box {
  white-space: nowrap;
  font-size: clamp(14px, 4vw, 18px) !important;
  font-weight: 700;
  font-family: "Poppins";
  color: #303030;
  padding-left: 0px;
}

.product-price-text {
  text-align: center;
  font-size: clamp(14px, 4.5vw, 20px) !important;
  font-family: "Courier New", Courier, monospace;
  color: #303030 !important;
  font-weight: bolder !important;
  font-style: normal;
  padding: 0px !important;
}

/* =========================================
   Product Page Refactoring - New Classes
   ========================================= */

/* --- Slider & Images --- */
.product-slider-wrapper {
  padding: 0px 14px !important;
  position: relative !important;
}

.product-slider-block {
  position: relative !important;
  display: block !important;
}

.main-product-image {
  border: 1px solid #d6e5eb !important;
  border-radius: 20px !important;
  width: 100% !important;
  display: block !important;
  padding-bottom: 25px !important;
}

/* --- Badges --- */
.gear-badge {
  position: absolute !important;
  top: 15px !important;
  left: 20px !important;
  background: linear-gradient(
    88.74deg,
    #f9ffa1 0.67%,
    #fefff7 98.92%
  ) !important;
  padding: 5px 12px !important;
  border-radius: 15px !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  color: #9f9400 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
  z-index: 10 !important;
}

.booked-badge-container {
  position: absolute !important;
  bottom: 40px !important;
  right: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  z-index: 10 !important;
}

.booked-badge {
  background-color: #dc3545 !important;
  color: white !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  margin-bottom: 5px !important;
  font-weight: 500 !important;
}

.available-badge {
  background-color: rgba(255, 255, 255, 0.95) !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  color: #333 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  font-weight: 600 !important;
}

/* --- Height Info --- */
.height-info-container {
  position: absolute !important;
  bottom: 1px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  border-radius: 0 0 20px 20px !important;
  background: linear-gradient(
    88.74deg,
    #f9ffa1 0.67%,
    #fefff7 98.92%
  ) !important;
  padding: 2px 15px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.height-text {
  font-weight: 500 !important;
  font-size: 14px !important;
  color: #303030 !important;
}

.height-chart-link {
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #9f9400 !important;
  text-decoration: underline !important;
}

/* --- Specifications Box (Left Column) --- */
.blue-specs-box {
  background: #e6f8ff !important;
  border-radius: 15px !important;
  padding: 20px !important;
  margin-top: 20px !important;
}

.specs-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 15px !important;
  padding-bottom: 0 !important;
  color: #303030 !important;
}

.specs-row {
  margin: 0 !important;
}

.specs-col {
  padding: 0 !important;
}

.specs-item-wrapper {
  margin-bottom: 12px !important;
}

.specs-label {
  color: #303030 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  margin: 0 !important;
}

.specs-value {
  font-size: 14px !important;
  color: #303030 !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

/* --- Right Column Content --- */
.right-content-wrapper {
  margin-top: 10px !important;
}

.product-title-desktop {
  font-size: 20px !important;
  color: #303030 !important;
  padding-bottom: 25px !important;
  display: block !important;
}

.product-title-mobile {
  font-size: 15px !important;
  color: #303030 !important;
  padding-top: 5px !important;
  display: none !important;
}

@media (max-width: 767px) {
  .product-title-desktop {
    display: none !important;
  }
  .product-title-mobile {
    display: block !important;
  }
}

.duration-per-month {
  white-space: nowrap !important;
  font-size: clamp(10px, 3vw, 13px) !important;
  color: #8f999e !important;
  margin-top: 0px !important;
}

.duration-months-text {
  white-space: nowrap !important;
  font-weight: 800 !important;
  color: #303030 !important;
  font-size: clamp(12px, 3.5vw, 15px) !important;
}

/* --- Buttons --- */
.add-to-cart-container {
  text-align: center !important;
  padding-top: 20px !important;
}

.add-to-cart-btn {
  width: 100% !important;
  background: linear-gradient(180deg, #21b9ff 0%, #00a5f1 100%) !important;
  color: #fff !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  padding: 10px !important;
  border: none !important;
  border-radius: 30px !important;
  cursor: pointer !important;
}

.product-slider-block {
  position: relative;
  display: block;
}

/* --- Badges --- */
.gear-badge {
  position: absolute;
  top: 15px;
  left: 20px;
  background: linear-gradient(88.74deg, #f9ffa1 0.67%, #fefff7 98.92%);
  padding: 5px 12px;
  border-radius: 15px;
  font-weight: 500;
  font-size: 13px;
  color: #9f9400;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

.booked-badge-container {
  position: absolute;
  bottom: 40px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 10;
}

.booked-badge {
  background-color: #dc3545;
  color: white;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: 500;
}

.available-badge {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

/* --- Height Info --- */
.height-info-container {
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
  width: 100%;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(88.74deg, #f9ffa1 0.67%, #fefff7 98.92%);
  padding: 2px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.height-text {
  font-weight: 500;
  font-size: 14px;
  color: #303030;
}

.height-chart-link {
  font-weight: 700;
  font-size: 14px;
  color: #9f9400;
  text-decoration: underline;
}

/* --- Specifications Box (Left Column) --- */
.blue-specs-box {
  background: #e6f8ff;
  border-radius: 15px;
  padding: 20px;
  margin-top: 20px;
}

.specs-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 0;
  color: #303030;
}

.specs-row {
  margin: 0;
}

.specs-col {
  padding: 0;
}

.specs-item-wrapper {
  margin-bottom: 12px;
}

.specs-label {
  color: #303030;
  font-weight: 500;
  font-size: 14px;
  margin: 0;
}

.specs-value {
  font-size: 14px;
  color: #303030;
  font-weight: 700;
  margin: 0;
}

.product-title-desktop {
  font-size: 20px;
  color: #303030;
  padding-bottom: 25px;
}

.product-title-mobile {
  font-size: 20px;
  color: #303030;
  padding-bottom: 0px !important;
}

.duration-per-month {
  white-space: nowrap;
  font-size: clamp(10px, 3vw, 13px);
  color: #8f999e;
  margin-top: 0px;
}

.duration-months-text {
  white-space: nowrap;
  font-weight: 800;
  color: #303030;
  font-size: clamp(12px, 3.5vw, 15px);
}

/* --- Buttons --- */
.add-to-cart-container {
  text-align: center;
  padding-top: 20px;
}

.add-to-cart-btn {
  width: 100%;
  background: linear-gradient(180deg, #21b9ff 0%, #00a5f1 100%);
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  padding: 10px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

/* --- Pincode Section --- */
.pincode-section {
  margin-top: 25px;
  padding-bottom: 20px;
}

.pincode-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pincode-label-text {
  font-weight: 500;
  font-size: 16px;
  color: #303030;
}

.pincode-action-btn {
  color: #00a5f1;
  font-weight: 700;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

.pincode-info-box {
  background: #e6f8ff;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: #303030;
}

.pincode-info-text {
  color: #303030;
  text-align: left !important;
}

/* --- Extend Subscription --- */
.extend-subscription-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
  margin-top: 20px;
}

.extend-icon-autorenew {
  font-size: 18px;
  color: #00a5f1;
  background-color: #e8f6ff;
  padding: 5px;
  border-radius: 20px;
}

.extend-icon-wrapper {
  width: 28px;
  height: 28px;
  background: #e8f6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00a5f1;
}

.extend-text-style {
  flex-grow: 1;
  text-align: left;
  margin-left: 10px;
}

/* --- Riders Gallery --- */
.riders-gallery-section {
  margin-top: 20px;
}

.riders-gallery-title {
  font-size: 16px;
  color: #303030;
  margin-bottom: 10px;
  padding-left: 0px !important;
  text-align: left !important;
}

.riders-gallery-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rider-image-card {
  width: 130px;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.rider-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.additional-details-title {
  margin-top: 30px !important;
  margin-bottom: 10px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #303030 !important;
  padding-left: 0 !important;
}

.additional-details-row {
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  width: 100% !important;
}

.columndetails {
  flex: 0 0 auto !important;
  padding-left: 0 !important;
  margin-right: 15px !important;
}

.columndetailsright {
  flex: 1 1 auto !important;
  padding-left: 0 !important;
  min-width: 0 !important; /* Critical for clamp/nowrap in flex */
}

.detail-label,
.detail-value,
.detail-value-acc {
  font-family: "Poppins", sans-serif !important;
  font-size: clamp(14px, 3.5vw, 14px) !important;
  margin-bottom: 0 !important;
  color: #303030 !important;
  white-space: nowrap !important;
}

.detail-label {
  padding-top: 15px !important;
  font-weight: 400 !important;
}

.detail-value,
.detail-value-acc {
  padding-top: 15px !important;
  font-weight: 600 !important;
}

/* --- Disclaimers --- */
.disclaimer-text-1 {
  text-align: left;
  padding-left: 15px;
  font-size: 13px;
  padding-top: 45px;
  color: #303030;
}

.disclaimer-text-2 {
  text-align: left;
  padding-left: 15px;
  padding-right: 10px;
  font-size: 13px;
  padding-top: 5px;
  color: #303030;
}

/* --- Footer Area --- */
.footer-dec-wrapper {
  margin-top: 30px;
}

.footer-main-container {
  padding-top: 0px;
  padding-left: 15px;
  padding-right: 15px;
}

/* --- Modals Helper Classes --- */
.modal-content-pincode {
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-close-pincode {
  position: absolute;
  right: 20px;
  top: 20px;
}

.modal-title-pincode {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 25px;
  margin-top: 10px;
  color: #303030;
}

.pincode-input-wrapper {
  margin-bottom: 25px;
}

.pincode-msg-style {
  margin-bottom: 15px;
  font-size: 14px;
  display: none;
  min-height: 22px;
}

.pincode-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}
/* --- Universal Bottom-Sheet Modals (Mobile) --- */
@media (max-width: 767px) {
  .mobile-bottom-sheet.modal {
    padding-right: 0 !important;
  }

  .mobile-bottom-sheet .modal-dialog {
    margin: 0 !important;
    position: fixed !important;
    bottom: -100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transition: bottom 0.3s ease-out !important;
  }

  .mobile-bottom-sheet.show .modal-dialog {
    bottom: 0 !important;
  }

  .mobile-bottom-sheet .modal-content {
    border-radius: 20px 20px 0 0 !important;
    border: none !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
  }

  /* Specific override for Extend Modal to match Accessory Slider */
  .tt-extend-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 2000 !important;
    display: none !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
  }

  .tt-extend-overlay.show {
    display: flex !important;
    opacity: 1 !important;
  }

  .tt-extend-modal {
    position: fixed !important;
    bottom: -100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    background: #fff !important;
    border-radius: 20px 20px 0 0 !important;
    transition: bottom 0.3s ease-out !important;
    z-index: 2001 !important;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1) !important;
  }

  .tt-extend-overlay.show .tt-extend-modal {
    bottom: 0 !important;
  }

  .tt-extend-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #e7eef1 !important;
    padding-bottom: 15px !important;
  }

  .tt-extend-close {
    font-size: 28px !important;
    color: #999 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1 !important;
  }
}

/* --- Section Borders (Mobile) --- */
@media (max-width: 767px) {
  .price-section,
  .selection-section {
    border-bottom: 1px solid #e7eef1 !important;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
    padding-top: 15px;
  }

  .pincode-section {
    border-bottom: 1px solid #e7eef1 !important;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
  }

  .mobile-specs-section {
    border-bottom: 1px solid #e7eef1 !important;
  }

  .selection-section {
    padding-top: 0 !important;
  }

  /* Refine Size/Color Option Buttons */
  .btn-option {
    width: 50px !important;
    height: 50px !important;
    border: 1px solid #dbe5e9 !important;
    border-radius: 8px !important;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .btn-option.active {
    border-color: #00a5f1 !important;
    box-shadow: 0 0 0 1px #00a5f1;
  }

  .size-options,
  .color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 10px;
  }

  .color-option {
    border-radius: 10px !important;
  }

  #color-name-display {
    font-weight: 700;
    color: #555;
  }

  .detail-label {
    padding-top: 0px !important;
  }

  .pincode-section {
    margin-top: 0px !important;
  }
}

/* Desktop styles for Extend Modal (centered) */
@media (min-width: 768px) {
  .tt-extend-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 2000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
  }

  .tt-extend-overlay.show {
    display: flex !important;
    opacity: 1 !important;
  }

  .tt-extend-modal {
    background: #fff !important;
    border-radius: 20px !important;
    padding: 30px !important;
    max-width: none !important;
    position: relative !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
  }

  .tt-extend-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
  }

  .tt-extend-close {
    font-size: 24px !important;
    color: #999 !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
  }

  .product-title-desktop {
    padding-bottom: 0px !important;
  }
}

.tt-extend-title {
  font-family: "DM Sans", sans-serif !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  color: #303030 !important;
}

.tt-extend-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.tt-extend-list li {
  font-family: "DM Sans", sans-serif !important;
  font-size: 14px !important;
  color: #303030 !important;
  margin-bottom: 12px !important;
  line-height: 1.5 !important;
}

.tt-extend-footer {
  margin-top: 25px !important;
}

#tt-extend-ok {
  display: block !important;
  width: 100% !important;
  background: linear-gradient(180deg, #21b9ff 0%, #00a5f1 100%) !important;
  color: #fff !important;
  text-align: center !important;
  padding: 12px !important;
  border-radius: 30px !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  text-decoration: none !important;
}

/* =========================================
   MOBILE HIERARCHY & FIXED BUTTON UPDATES
   ========================================= */

@media (max-width: 767px) {
  /* 1. Mobile Title Formatting */
  .product-title-mobile {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #303030 !important;
    text-align: left !important;
    padding-left: 0 !important;
    display: block !important;
  }

  /* 2. Fixed Add to Cart Button */
  .add-to-cart-container {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #fff !important;
    padding: 15px 20px !important;
    z-index: 1000 !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
    margin: 0 !important;
  }

  /* Spacer to prevent content from being hidden behind fixed button */
  body {
    padding-bottom: 80px !important;
  }

  /* 3. Specs Section */
  .mobile-hide-specs-box {
    display: none !important;
  }

  .mobile-specs-section {
    display: block !important;
    padding-bottom: 20px;
  }

  .mobile-specs-section h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #303030 !important;
    margin-bottom: 0px !important;
  }

  .mobile-specs-grid {
    display: block !important;
    margin-top: 15px !important;
  }

  .right-content-wrapper {
    margin-top: 0px !important;
  }

  .spec-row {
    display: block !important;
    margin-bottom: 8px !important;
    padding-left: 20px !important;
    position: relative !important;
    text-align: left !important;
  }

  .spec-row::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #000000;
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
    top: 3px;
  }

  .spec-label {
    font-size: 14px !important;
    color: #303030 !important;
    font-weight: 500 !important;
    display: inline !important;
  }

  .spec-value {
    font-size: 14px !important;
    color: #303030 !important;
    font-weight: 600 !important;
    display: inline !important;
    margin-left: 5px !important;
    word-break: break-word !important;
    white-space: normal !important;
  }

  /* 4. Separator */
  .mobile-section-separator {
    background-color: #f1f1f1 !important;
    width: calc(100% + 30px) !important;
  }

  /* 5. Hide redundant links in extend section */
  .mobile-hide-in-extend {
    display: none !important;
  }

  /* 6. Mobile Links Section */
  .mobile-links-section {
    display: block !important;
    margin-top: 25px !important;
  }

  .mobile-links-section .tt-extend-btn {
    margin-bottom: 15px !important;
  }

  .pincode-label-text {
    gap: 5px;
  }

  .duration-option {
    margin: 0px 5px;
  }

  .size-options,
  .color-options {
    gap: 10px !important;
  }

  .btn-option {
    padding: 6px 12px !important;
    font-size: 18px !important;
  }
}

/* --- Size & Color Selection --- */
.selection-section {
  margin-bottom: 10px;
}

.detail-label {
  font-size: 14px;
  font-weight: 600;
  color: #303030;
  margin-bottom: 12px;
  display: block;
}

.size-options,
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-option {
  border: 1px solid #dbe5e9;
  background: #fff;
  color: #303030;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-option {
  min-width: 48px;
  height: 48px;
  padding: 0;
}

.color-option {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #dbe5e9;
  padding: 0;
  position: relative;
}

.color-option::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.color-option.active {
  transform: scale(1.1);
  border-color: #fff;
  border: 2px solid #00a5f1;
}

/* --- Pincode Modal Styles (Ensuring consistency with cycle page) --- */
.custom-pincode-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  outline: 0;
  justify-content: center;
  align-items: center;
}

.custom-pincode-modal.show {
  display: flex;
}

.custom-pincode-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 20px;
  width: 100%;
  max-width: 450px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.custom-pincode-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: #999;
}

.custom-pincode-modal-title {
  font-size: 18px;
  /* font-weight: 700; */
  color: #303030;
  margin-bottom: 25px;
  text-align: center;
}

.custom-pincode-input {
  width: 100%;
  height: 60px;
  border: 1px solid #e7edf0;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 18px;
  text-align: center;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s;
}

.custom-pincode-input:focus {
  border-color: #00a5f1;
}

.custom-pincode-confirm-btn {
  background-color: #00a5f1 !important;
  color: #fff !important;
  border: none !important;
  padding: 10px 30px !important;
  border-radius: 25px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  width: auto !important;
  min-width: 120px !important;
  transition: background-color 0.2s !important;
}

.custom-pincode-confirm-btn:hover {
  background-color: #008ecc !important;
}

.custom-pincode-confirm-btn:disabled {
  background-color: #a4ceea !important;
  cursor: not-allowed !important;
}

/* @media (max-width: 767px) {
  .custom-pincode-modal-content {
    margin-bottom: 20px;
    align-self: flex-end;
    max-width: 100%;
  }
} */

@media (max-width: 767px) {
  /* Show Footer */
  .mobile-product-footer-wrapper {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid #f0f0f0;
  }

  .mobile-product-footer {
    display: flex;
    gap: 15px;
  }

  .mobile-footer-btn {
    flex: 1;
    padding: 12px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
  }

  .mobile-footer-btn.primary-btn {
    background: linear-gradient(180deg, #21b9ff 0%, #00a5f1 100%);
    color: #fff;
  }

  .mobile-footer-btn.outline-btn {
    background: #fff;
    border: 2px solid #00a5f1;
    color: #00a5f1;
  }

  /* Add padding to body to prevent footer overlap */
  .product-content-wrapper {
    padding-bottom: 90px !important;
  }
}

/* --- Mobile Image Slider (Owl Carousel) --- */
.mobile-product-slider {
  margin-bottom: 20px;
}

/* Fallback: if Owl is not initialized, don't hide the mobile image area */
#product-mobile-carousel:not(.owl-loaded) {
  display: block;
}
#product-mobile-carousel:not(.owl-loaded) .item:not(:first-child) {
  display: none;
}

.mobile-hide-slider {
  display: block;
}
.desktop-hide-slider {
  display: none !important;
}

@media (max-width: 767px) {
  .mobile-hide-slider {
    display: none !important;
  }
  .desktop-hide-slider {
    display: block !important;
  }

  /* Custom owl dots */
  #product-main-carousel .owl-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    margin-top: 0;
    line-height: 1;
    z-index: 10;
  }
  #product-main-carousel .owl-dot {
    outline: none;
    border: none;
    background: transparent;
    padding: 0;
    display: inline-block;
  }
  #product-main-carousel .owl-dot span {
    width: 8px;
    height: 8px;
    background: rgba(
      255,
      255,
      255,
      0.45
    ) !important; /* Semi-transparent white */
    display: inline-block;
    border-radius: 50%;
    margin: 0 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
  }
  #product-main-carousel .owl-dot.active span {
    background: #fff !important; /* Active Pure White */
    width: 10px;
    height: 10px;
  }
}

/* Dots Overlay for Desktop */
@media (min-width: 768px) {
  #product-main-carousel .owl-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    margin-top: 0;
    line-height: 1;
    z-index: 10;
  }
  #product-main-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.45) !important;
    display: inline-block;
    border-radius: 50%;
    margin: 0 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  }
  #product-main-carousel .owl-dot.active span {
    background: #fff !important;
    width: 12px;
    height: 12px;
  }
}

/* Desktop Gallery Thumbs - REMOVED */
