/* =============================================================
   WELLNESS DIAGNOSTICS — MULTI-SELECT CART & BOOKING MODAL
   Features:
   - Multi-Select Toggle on Cards (+ Select / ✓ Selected)
   - Selected Card Glow & Emerald Highlight
   - Sleek Floating Bottom Cart Bar with Real-Time Total
   - Pop-up Modal: Itemized Test Breakdown + Price Calculation
   - Patient Info Form (Name, Phone, Email, Collection Type)
   - One-Click WhatsApp Booking Redirect with Formatted Message
   ============================================================= */

/* ---------- Card Select Button & Selected State ---------- */
.pt-item-select-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  border: 1.5px solid #00875A;
  background: rgba(0, 135, 90, 0.06);
  color: #00875A;
  font-family: var(--pt-font-body, "Inter", sans-serif);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  outline: none;
}

.pt-item-select-btn:hover {
  background: rgba(0, 135, 90, 0.14);
  color: #00734D;
  border-color: #00734D;
  transform: translateY(-1px);
}

.pt-item-select-btn:active {
  transform: scale(0.97);
}

/* Active / Selected state of the button */
.pt-item-select-btn.is-selected {
  background: linear-gradient(135deg, #00875A 0%, #00734D 100%);
  color: #FFFFFF !important;
  border-color: #00734D;
  box-shadow: 0 4px 14px rgba(0, 135, 90, 0.32);
}

.pt-item-select-btn.is-selected:hover {
  background: linear-gradient(135deg, #00734D 0%, #091F18 100%);
}

.pt-item-select-btn.is-selected i {
  color: #FFFFFF !important;
}

/* Selected Card Highlight (Package Cards & Single Test Cards) */
.pkg-card.is-selected,
.st-test-card.is-selected {
  border: 2px solid #00875A !important;
  background: linear-gradient(135deg, #F0FDF4 0%, #E8F8F0 100%) !important;
  box-shadow: 0 10px 28px -6px rgba(0, 135, 90, 0.22), 0 0 0 1px #00875A !important;
  transform: translateY(-2px);
}

.pkg-card.is-selected::before,
.st-test-card.is-selected::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #10B981, #00875A);
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
}

/* Selected visual indicator badge on card */
.pt-selected-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #00875A;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  margin-left: 0.5rem;
  animation: ptPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ptPopIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* =============================================================
   FLOATING MULTI-SELECT CART BAR (Fixed at Viewport Bottom)
   ============================================================= */
.pt-floating-cart {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, calc(100% + 2.5rem));
  width: calc(100% - 2rem);
  max-width: 52rem;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease,
              visibility 0.3s ease;
  pointer-events: none;
}

.pt-floating-cart.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pt-cart-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.4rem;
  background: rgba(9, 31, 24, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(16, 185, 129, 0.38);
  border-radius: 9999px;
  box-shadow: 0 16px 40px -8px rgba(9, 31, 24, 0.55),
              0 0 0 1px rgba(16, 185, 129, 0.2);
  color: #FFFFFF;
}

.pt-cart-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.pt-cart-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #00875A);
  color: #FFFFFF;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  flex-shrink: 0;
}

.pt-cart-badge span {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #E11D48;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #091F18;
  line-height: 1;
}

.pt-cart-text-wrap {
  min-width: 0;
}

.pt-cart-title {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pt-cart-sub {
  font-size: 0.78rem;
  color: rgba(220, 244, 232, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 22rem;
}

.pt-cart-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  padding: 0 0.5rem;
  flex-shrink: 0;
}

.pt-cart-total-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(220, 244, 232, 0.7);
  font-weight: 600;
}

.pt-cart-total-amount {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 1.32rem;
  font-weight: 800;
  color: #10B981;
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.pt-cart-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.pt-cart-btn-clear {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.pt-cart-btn-clear:hover {
  background: rgba(225, 29, 72, 0.18);
  border-color: rgba(225, 29, 72, 0.4);
  color: #FDA4AF;
}

.pt-cart-btn-book {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1.35rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #10B981 0%, #00875A 100%);
  border: none;
  color: #FFFFFF !important;
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.pt-cart-btn-book:hover {
  background: linear-gradient(135deg, #059669 0%, #00734D 100%);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.55);
}

.pt-cart-btn-book i {
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.pt-cart-btn-book:hover i {
  transform: translateX(3px);
}

/* =============================================================
   BOOKING SUMMARY & PATIENT DETAILS POP-UP MODAL
   ============================================================= */
.pt-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pt-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.pt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 31, 24, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.pt-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 44rem;
  max-height: calc(100vh - 2.5rem);
  background: #FFFFFF;
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px -12px rgba(9, 31, 24, 0.4),
              0 0 0 1px rgba(16, 185, 129, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92) translateY(18px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.pt-modal-overlay.is-open .pt-modal-dialog {
  transform: scale(1) translateY(0);
}

.pt-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Modal Header */
.pt-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.6rem;
  background: linear-gradient(135deg, #F0FDF4 0%, #E8F8F0 100%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.pt-modal-header-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #10B981, #00875A);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}

.pt-modal-header-text {
  flex: 1;
  min-width: 0;
}

.pt-modal-title {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 1.22rem;
  font-weight: 800;
  color: #091F18;
  margin: 0;
  line-height: 1.2;
}

.pt-modal-subtitle {
  font-size: 0.8rem;
  color: #4C7265;
  margin: 0.2rem 0 0;
  line-height: 1.3;
}

.pt-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: #FFFFFF;
  color: #4C7265;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  outline: none;
}

.pt-modal-close:hover {
  background: #E11D48;
  color: #FFFFFF;
  border-color: #E11D48;
  transform: rotate(90deg);
}

/* Modal Body (Scrollable) */
.pt-modal-body {
  padding: 1.4rem 1.6rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.pt-modal-body::-webkit-scrollbar {
  width: 6px;
}
.pt-modal-body::-webkit-scrollbar-track {
  background: #F1F5F9;
}
.pt-modal-body::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
.pt-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Modal Sections */
.pt-modal-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pt-modal-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pt-section-title {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 0.94rem;
  font-weight: 700;
  color: #0C2D22;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pt-section-title i {
  color: #00875A;
}

.pt-items-counter {
  font-size: 0.76rem;
  font-weight: 700;
  color: #00875A;
  background: #E8F8F0;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pt-required-note {
  font-size: 0.72rem;
  color: #64748B;
  font-style: italic;
}

/* Selected Items List inside Modal */
.pt-selected-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 13.5rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.pt-selected-items-list::-webkit-scrollbar {
  width: 4px;
}
.pt-selected-items-list::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}

.pt-modal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.95rem;
  border-radius: 0.75rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
}

.pt-modal-item:hover {
  background: #F0FDF4;
  border-color: rgba(16, 185, 129, 0.35);
}

.pt-m-item-details {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 1;
}

.pt-m-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pt-m-item-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.pt-m-item-badge.badge-pkg {
  background: #E8F8F0;
  color: #00875A;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pt-m-item-badge.badge-test {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid rgba(3, 105, 161, 0.2);
}

.pt-m-item-price-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.pt-m-item-price {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 0.98rem;
  font-weight: 800;
  color: #00734D;
}

.pt-m-item-remove {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pt-m-item-remove:hover {
  background: #FEE2E2;
  color: #EF4444;
  transform: scale(1.1);
}

/* Empty Selection Notice inside Modal */
.pt-modal-empty {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #64748B;
  background: #F8FAFC;
  border-radius: 0.75rem;
  border: 1.5px dashed #CBD5E1;
}

.pt-modal-empty i {
  font-size: 2rem;
  color: #94A3B8;
  margin-bottom: 0.4rem;
  display: block;
}

.pt-modal-empty p {
  margin: 0;
  font-size: 0.85rem;
}

/* Total Calculation Receipt Card */
.pt-modal-receipt-card {
  background: linear-gradient(135deg, #F0FDF4 0%, #E8F8F0 100%);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 0.85rem;
  padding: 0.95rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pt-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #4C7265;
}

.pt-receipt-row span:last-child {
  font-weight: 700;
  color: #0C2D22;
}

.pt-receipt-discount span:last-child {
  color: #059669 !important;
}

.pt-receipt-divider {
  height: 1px;
  background: rgba(16, 185, 129, 0.22);
  margin: 0.35rem 0;
}

.pt-receipt-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pt-total-label-wrap {
  display: flex;
  flex-direction: column;
}

.pt-grand-label {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: #091F18;
}

.pt-grand-hint {
  font-size: 0.7rem;
  color: #4C7265;
}

.pt-grand-amount {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 1.55rem;
  font-weight: 900;
  color: #00734D;
  text-shadow: 0 1px 2px rgba(0, 115, 77, 0.15);
}

/* Patient Form */
.pt-modal-form-section {
  border-top: 1px solid #E2E8F0;
  padding-top: 1.25rem;
}

.pt-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.pt-form-group-full {
  grid-column: 1 / -1;
}

.pt-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pt-form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0;
}

.pt-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pt-input-icon {
  position: absolute;
  left: 0.85rem;
  color: #94A3B8;
  font-size: 1rem;
  pointer-events: none;
}

.pt-input-prefix {
  position: absolute;
  left: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748B;
  pointer-events: none;
}

.pt-form-control {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 2.45rem;
  border-radius: 0.65rem;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  font-family: var(--pt-font-body, "Inter", sans-serif);
  font-size: 0.86rem;
  transition: all 0.2s ease;
  outline: none;
}

.pt-form-control.pt-has-prefix {
  padding-left: 2.85rem;
}

.pt-form-control:focus {
  border-color: #00875A;
  box-shadow: 0 0 0 3px rgba(0, 135, 90, 0.15);
}

.pt-form-control.is-invalid {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.pt-form-error {
  font-size: 0.72rem;
  color: #EF4444;
  min-height: 1rem;
  line-height: 1.2;
}

/* Radio Collection Options */
.pt-collection-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pt-radio-card {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.pt-radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pt-radio-card-content {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  transition: all 0.2s ease;
}

.pt-radio-card:hover .pt-radio-card-content {
  background: #F0FDF4;
  border-color: rgba(16, 185, 129, 0.4);
}

.pt-radio-card.is-active .pt-radio-card-content {
  background: #E8F8F0;
  border-color: #00875A;
  box-shadow: 0 0 0 1px #00875A;
}

.pt-radio-icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: #FFFFFF;
  color: #00875A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 1px solid rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}

.pt-radio-card.is-active .pt-radio-icon {
  background: #00875A;
  color: #FFFFFF;
}

.pt-radio-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pt-radio-text strong {
  font-size: 0.82rem;
  color: #0F172A;
}

.pt-radio-text span {
  font-size: 0.7rem;
  color: #64748B;
  line-height: 1.2;
}

/* Modal Footer & Submit Button */
.pt-modal-footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.pt-btn-whatsapp-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.6rem;
  border-radius: 0.85rem;
  border: none;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  cursor: pointer;
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.pt-btn-whatsapp-submit:hover {
  background: linear-gradient(135deg, #1EBE5D 0%, #0D6E62 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(37, 211, 102, 0.55);
}

.pt-btn-whatsapp-submit:active {
  transform: translateY(0);
}

.pt-btn-whatsapp-submit > i {
  font-size: 1.85rem;
  flex-shrink: 0;
}

.pt-btn-submit-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  text-align: left;
}

.pt-btn-title {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.pt-btn-subtitle {
  font-size: 0.78rem;
  opacity: 0.92;
  font-weight: 500;
}

.pt-btn-arrow {
  font-size: 1.5rem;
  transition: transform 0.2s ease;
}

.pt-btn-whatsapp-submit:hover .pt-btn-arrow {
  transform: translateX(4px);
}

.pt-modal-secure-note {
  text-align: center;
  font-size: 0.72rem;
  color: #64748B;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.pt-modal-secure-note i {
  color: #00875A;
}

/* =============================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ============================================================= */
@media (max-width: 768px) {
  .pt-floating-cart {
    bottom: 1rem;
    width: calc(100% - 1.2rem);
  }

  .pt-cart-inner {
    padding: 0.75rem 1rem;
    gap: 0.65rem;
  }

  .pt-cart-badge {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.98rem;
  }

  .pt-cart-sub {
    display: none;
  }

  .pt-cart-total-amount {
    font-size: 1.15rem;
  }

  .pt-cart-btn-clear span {
    display: none;
  }

  .pt-cart-btn-book {
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
  }

  .pt-modal-dialog {
    max-height: calc(100vh - 1.5rem);
    border-radius: 1.2rem;
  }

  .pt-modal-header {
    padding: 1rem 1.2rem;
  }

  .pt-modal-body {
    padding: 1.2rem;
    gap: 1.1rem;
  }

  .pt-form-grid {
    grid-template-columns: 1fr;
  }

  .pt-collection-options {
    grid-template-columns: 1fr;
  }

  .pt-btn-whatsapp-submit {
    padding: 0.85rem 1.2rem;
  }

  .pt-btn-whatsapp-submit > i {
    font-size: 1.5rem;
  }

  .pt-btn-title {
    font-size: 0.96rem;
  }
}

@media (max-width: 480px) {
  .pkg-dir-actions,
  .st-dir-actions {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .pt-item-select-btn {
    padding: 0.42rem 0.75rem;
    font-size: 0.75rem;
  }

  .pt-cart-pricing {
    padding: 0;
  }

  .pt-cart-total-label {
    display: none;
  }

  .pt-cart-total-amount {
    font-size: 1.05rem;
  }
}
