@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --care-primary: #7c3aed;
  --care-primary-dark: #5b21b6;
  --care-primary-hover: #6d28d9;
  --care-primary-light: #a78bfa;
  --care-primary-lighter: #f1ecff;
  --care-secondary: #ec4899;
  --care-secondary-hover: #db2777;
  --care-lime: #9fcb3a;
  --care-orange: #f1a53a;
  --care-success: #16a34a;
  --care-bg: #fbfafc;
  --care-bg-soft: #f6f1ff;
  --care-surface: #ffffff;
  --care-surface-hover: #f8f5ff;
  --care-text: #171226;
  --care-text-main: #171226;
  --care-text-muted: #6f6a7a;
  --care-border: #e9e2f5;
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(124, 58, 237, 0.12);
  --glass-shadow: 0 18px 45px rgba(35, 31, 32, 0.08);
  --shadow-sm: 0 8px 22px rgba(35, 31, 32, 0.06);
  --shadow-md: 0 18px 45px rgba(35, 31, 32, 0.1);
  --shadow-lg: 0 28px 70px rgba(35, 31, 32, 0.14);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--care-bg);
  color: var(--care-text);
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', 'Tajawal', Tahoma, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--care-primary);
}

button,
a,
.btn,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(159, 203, 58, 0.65);
  outline-offset: 3px;
}

.care-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.text-primary {
  color: var(--care-primary) !important;
}

.bg-primary {
  background-color: var(--care-primary) !important;
}

.bg-care {
  background: var(--care-primary) !important;
  color: #fff !important;
}

.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.care-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--care-border);
  box-shadow: 0 10px 32px rgba(35, 31, 32, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.care-logo {
  display: inline-flex;
  align-items: center;
  min-width: 104px;
}

.care-logo-img {
  width: auto;
  height: 50px;
  filter: drop-shadow(0 8px 16px rgba(124, 58, 237, 0.08));
}

.care-nav a {
  color: var(--care-text-muted);
  font-weight: 800;
  font-size: 0.94rem;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}

.care-nav a.active,
.care-nav a:hover {
  color: var(--care-primary);
  border-bottom-color: var(--care-lime);
}

.btn {
  border-radius: 999px;
  font-weight: 800;
  padding: 0.72rem 1.35rem;
  border-width: 1px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.86rem 1.65rem;
  font-size: 1rem;
}

.btn-care,
.btn-primary {
  background: linear-gradient(135deg, var(--care-primary), var(--care-secondary));
  border: 0;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.25);
}

.btn-care:hover,
.btn-care:focus,
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--care-primary-hover), var(--care-secondary-hover));
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.32);
}

.btn-outline-care,
.btn-outline-primary {
  border: 1px solid rgba(124, 58, 237, 0.28);
  color: var(--care-primary) !important;
  background: #fff;
}

.btn-outline-care:hover,
.btn-outline-primary:hover {
  background: var(--care-primary-lighter);
  border-color: var(--care-primary);
  color: var(--care-primary-dark) !important;
  transform: translateY(-2px);
}

.care-card,
.product-card-rich {
  background: var(--care-surface);
  border: 1px solid var(--care-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.care-card:hover,
.product-card-rich:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: var(--shadow-md);
}

.tc-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 247, 255, 0.9) 54%, rgba(241, 236, 255, 0.95) 100%),
    radial-gradient(circle at 12% 16%, rgba(159, 203, 58, 0.18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(236, 72, 153, 0.11), transparent 30%);
  border-bottom: 1px solid var(--care-border);
}

/* Hero package banner carousel */
.tc-hero-banner {
  position: relative;
  background: #fff;
  min-height: 360px;
}
.tc-hero-banner-track {
  position: relative;
  min-height: 360px;
}
.tc-hero-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  display: flex;
  flex-direction: column;
}
.tc-hero-banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  min-height: 360px;
}
.tc-hero-banner-media {
  flex: 1;
  min-height: 220px;
  background: linear-gradient(180deg, var(--care-primary-lighter), #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 0;
}
.tc-hero-banner-media img {
  max-height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(35, 31, 32, 0.12));
}
.tc-hero-banner-overlay {
  padding: 1rem 1.25rem 1.25rem;
  background: linear-gradient(135deg, var(--care-primary), var(--care-secondary));
  color: #fff;
}
.tc-hero-banner-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.tc-hero-banner-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--care-primary);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}
.tc-hero-banner-nav.prev { right: 10px; }
.tc-hero-banner-nav.next { left: 10px; }
.tc-hero-banner-dots {
  position: absolute;
  bottom: 118px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  z-index: 3;
}
.tc-hero-banner-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.25);
  padding: 0;
}
.tc-hero-banner-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--care-primary);
}

.tc-hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.tc-hero-copy h1 {
  margin: 0;
  color: var(--care-text);
  font-size: clamp(2.45rem, 5vw, 4.5rem);
  line-height: 1.18;
  font-weight: 800;
}

.tc-hero-copy p {
  margin: 1.25rem 0 0;
  max-width: 640px;
  color: var(--care-text-muted);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
}

.tc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.tc-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.tc-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.55rem 0.82rem;
  border: 1px solid var(--care-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--care-text-muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.tc-trust-strip i {
  color: var(--care-primary);
}

.tc-hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.tc-hero-media img {
  width: min(100%, 620px);
  aspect-ratio: 1.45;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.tc-hero-note {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  display: grid;
  gap: 0.1rem;
  min-width: 180px;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--care-border);
  box-shadow: var(--shadow-md);
}

.tc-hero-note strong {
  color: var(--care-primary);
  font-size: 2rem;
  line-height: 1;
}

.tc-hero-note span {
  color: var(--care-text-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.tc-section {
  padding-block: clamp(2.3rem, 5vw, 4.3rem);
}

.tc-soft-band {
  background: linear-gradient(180deg, #fff 0%, var(--care-primary-lighter) 100%);
  border-block: 1px solid var(--care-border);
}

.tc-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.tc-section-head.compact {
  margin-bottom: 1rem;
}

.tc-section-head h1,
.tc-section-head h2 {
  margin: 0;
  color: var(--care-text);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 800;
}

.tc-section-head p {
  margin: 0.35rem 0 0;
  color: var(--care-text-muted);
}

.tc-section-head a {
  color: var(--care-primary);
  font-weight: 800;
  white-space: nowrap;
}

.tc-how {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tc-step {
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.tc-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--care-primary-lighter);
  color: var(--care-primary);
  font-weight: 800;
}

.tc-step h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
}

.tc-step p {
  margin: 0;
  color: var(--care-text-muted);
  font-size: 0.9rem;
}

.tc-package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tc-package-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.88fr) 1fr;
  min-height: 270px;
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.tc-product-rail .tc-package-card {
  display: flex;
  flex-direction: column;
  min-height: auto;
}

.tc-product-rail .tc-package-media {
  min-height: 200px;
  max-height: 220px;
}

.tc-product-rail .tc-package-media img {
  min-height: 200px;
  max-height: 220px;
  object-fit: contain;
  background: var(--care-bg-soft);
  padding: 0.75rem;
}

.tc-package-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: var(--care-secondary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.tc-package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.tc-package-media {
  min-height: 100%;
  background: var(--care-primary-lighter);
}

.tc-package-media img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.tc-package-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.2rem;
}

.tc-package-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.tc-package-top h3,
.tc-service-card h3,
.tc-product-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
}

.tc-package-top span {
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(159, 203, 58, 0.22);
  color: #47630e;
  font-size: 0.78rem;
  font-weight: 800;
}

.tc-package-body p,
.tc-service-content p {
  margin: 0;
  color: var(--care-text-muted);
  font-size: 0.92rem;
}

.tc-package-body ul {
  display: grid;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--care-text-muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.tc-package-body li {
  display: flex;
  align-items: center;
  gap: 0.48rem;
}

.tc-package-body li i {
  color: var(--care-primary);
}

.tc-card-footer,
.tc-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.tc-card-footer strong,
.tc-price-row strong {
  color: var(--care-primary);
  font-size: 1.1rem;
}

.tc-card-footer small {
  color: var(--care-text-muted);
  font-size: 0.78rem;
}

.tc-product-rail,
.swipe-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 0.15rem 0.05rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--care-primary-light) transparent;
}

.swipe-carousel-item {
  min-width: 0;
  scroll-snap-align: start;
}

.tc-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  scroll-snap-align: start;
}

.tc-product-media,
.img-container {
  display: grid;
  place-items: center;
  min-height: 165px;
  background: linear-gradient(180deg, #fff, #faf8ff);
  border-bottom: 1px solid var(--care-border);
  overflow: hidden;
}

.tc-product-media img,
.img-cover {
  width: 100%;
  height: 165px;
  object-fit: contain;
  padding: 1rem;
  transition: transform var(--transition-normal);
}

.tc-product-card:hover img,
.product-card-rich:hover .img-cover,
.visual-card:hover .img-cover {
  transform: scale(1.04);
}

.tc-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem;
}

.tc-product-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--care-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.tc-rating {
  color: var(--care-orange);
}

.tc-stock {
  color: var(--care-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.tc-stock.in {
  color: var(--care-success);
}

.tc-icon-button {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--care-primary);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.22);
}

.tc-image-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--care-primary);
  font-size: 2rem;
}

.tc-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.5rem;
}

.tc-service-list {
  display: grid;
  gap: 0.75rem;
}

.tc-service-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.tc-service-row > span,
.tc-service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--care-primary);
  background: var(--care-primary-lighter);
}

.tc-service-row small {
  display: block;
  color: var(--care-text-muted);
}

.tc-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.tc-category-card {
  display: grid;
  gap: 0.35rem;
  min-height: 150px;
  padding: 1rem;
  align-content: center;
  justify-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.tc-category-card img,
.tc-category-card i {
  width: 64px;
  height: 64px;
  object-fit: contain;
  color: var(--care-primary);
  font-size: 2rem;
}

.tc-category-card small {
  color: var(--care-text-muted);
}

.tc-faq-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 1rem;
  align-items: stretch;
}

.tc-faq-cta > div,
.tc-final-cta {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.tc-faq-cta h2,
.tc-final-cta h2 {
  margin: 0 0 1rem;
  font-weight: 800;
}

details {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--care-border);
}

details:last-child {
  border-bottom: 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 0.55rem 0 0;
  color: var(--care-text-muted);
}

.tc-faq-cta .tc-final-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--care-primary), var(--care-secondary));
  color: #fff;
}

.tc-faq-cta .tc-final-cta p {
  color: rgba(255, 255, 255, 0.84);
}

.tc-faq-cta .tc-final-cta .btn {
  width: fit-content;
  background: #fff;
  color: var(--care-primary) !important;
  box-shadow: none;
}

.tc-empty-state {
  padding: 1.2rem;
  color: var(--care-text-muted);
  background: #fff;
  border: 1px dashed var(--care-border);
  border-radius: var(--radius-lg);
}

.tc-sticky-cta-wrapper {
  transition: transform var(--transition-normal);
}

@media (max-width: 991.98px) {
  .tc-sticky-cta-wrapper {
    bottom: 74px !important; /* Above bottom nav */
    right: 0 !important;
    left: 0 !important;
    display: flex;
    justify-content: center;
    padding-inline: 1rem !important;
  }
  .tc-sticky-cta-wrapper .btn {
    width: min(100%, 420px);
    justify-content: center;
  }
}

.care-footer {
  padding: 2.4rem 0 7rem;
  background: #fff;
  border-top: 1px solid var(--care-border);
}

.care-footer img {
  width: 130px;
  height: auto;
}

.care-footer p {
  margin: 0.7rem 0 0;
  color: var(--care-text-muted);
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  display: flex;
  justify-content: space-around;
  padding: 0.72rem 0.5rem calc(0.72rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--care-border);
  box-shadow: 0 -10px 28px rgba(35, 31, 32, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--care-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.bottom-nav-item i {
  font-size: 1.12rem;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--care-primary);
}

.whatsapp-fab {
  position: fixed;
  bottom: 6.1rem;
  right: 1.1rem;
  z-index: 1031;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.66rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.3);
  font-weight: 800;
}

.whatsapp-fab:hover {
  color: #fff;
  transform: translateY(-2px);
}

.pb-sticky {
  padding-bottom: 0;
}

.form-control,
.form-select,
.input-group-text {
  min-height: 48px;
  border-color: var(--care-border);
  border-radius: var(--radius-md);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--care-primary);
  box-shadow: 0 0 0 0.22rem rgba(124, 58, 237, 0.14);
}

.auth-container {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.auth-card {
  width: min(100%, 460px);
  padding: 2rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.auth-logo {
  max-height: 72px;
  width: auto;
  margin-bottom: 1.2rem;
}

.auth-title {
  margin: 0 0 0.4rem;
  color: var(--care-text-main);
  font-size: 1.45rem;
  font-weight: 800;
}

.auth-subtitle,
.auth-info,
.guest-link {
  color: var(--care-text-muted);
}

.phone-input-group {
  direction: ltr;
  display: flex;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-md);
}

.phone-prefix,
.country-select,
.phone-input {
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 0;
  outline: 0;
}

.phone-prefix {
  display: flex;
  align-items: center;
  background: var(--care-primary-lighter);
  color: var(--care-primary);
  font-weight: 800;
}

.phone-input {
  flex: 1;
}

.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  direction: ltr;
}

.otp-input {
  width: 58px;
  height: 64px;
  text-align: center;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  font-weight: 800;
}

.phone-display {
  direction: ltr;
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--care-primary);
  background: var(--care-primary-lighter);
  font-weight: 800;
}

.care-option {
  display: block;
  cursor: pointer;
}

.care-option input {
  margin-left: 0.65rem;
  accent-color: var(--care-primary);
}

.progress-steps {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
}

.step-dot {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--care-text-muted);
  background: #fff;
  border: 1px solid var(--care-border);
  font-weight: 800;
}

.step-dot.active {
  color: #fff;
  background: var(--care-primary);
  border-color: var(--care-primary);
}

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

.visual-card {
  position: relative;
  display: block;
  min-height: 100%;
  cursor: pointer;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.visual-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: var(--shadow-sm);
}

.visual-card-input:checked + .visual-card {
  border-color: var(--care-primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.visual-card-input:checked + .visual-card::after {
  content: '\f058';
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--care-primary);
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.img-container.sm {
  min-height: 125px;
}

.img-container.sm .img-cover {
  height: 125px;
}

.sticky-summary {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1029;
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--care-border);
  box-shadow: 0 -12px 30px rgba(35, 31, 32, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tc-builder-grid,
.tc-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 1.2rem;
  align-items: start;
}

.tc-builder-grid > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
}

.tc-builder-panel,
.tc-review-panel,
.tc-payment-panel,
.tc-live-summary,
.tc-services-hero,
.tc-dashboard-hero {
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.tc-builder-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.tc-builder-panel h1 {
  margin: 0 0 0.35rem;
  color: var(--care-primary);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
}

.tc-builder-intro {
  margin: 0 0 1.5rem;
  color: var(--care-text-muted);
}

.tc-live-summary {
  padding: 1.2rem;
}

.tc-review-panel {
  padding: 1rem;
}

.tc-review-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  align-items: center;
}

.tc-review-hero img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.tc-review-hero span {
  color: var(--care-primary);
  font-weight: 800;
}

.tc-review-hero h2 {
  margin: 0.15rem 0;
  font-size: 2rem;
  font-weight: 800;
}

.tc-price-lines {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.tc-price-lines div {
  display: flex;
  gap: 0.5rem;
  color: var(--care-text-muted);
}

.tc-price-lines i {
  color: var(--care-success);
  margin-top: 0.28rem;
}

.tc-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.tc-trust-grid div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-lg);
}

.tc-trust-grid i {
  color: var(--care-primary);
  font-size: 1.2rem;
}

.tc-trust-grid span {
  color: var(--care-text-muted);
  font-size: 0.82rem;
}

.tc-payment-panel {
  position: sticky;
  top: 92px;
  padding: 1.1rem;
}

.tc-total-box {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--care-primary), var(--care-secondary));
  color: #fff;
}

.tc-total-box span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.tc-total-box strong {
  font-size: 2rem;
  line-height: 1.15;
}

.tc-login-required {
  display: grid;
  gap: 1rem;
  text-align: center;
}

.tc-login-required i {
  color: var(--care-primary);
  font-size: 2rem;
}

fieldset {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 0.7rem;
  font-size: 1rem;
  font-weight: 800;
}

.tc-payment-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.9rem;
  margin-bottom: 0.65rem;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-lg);
}

.tc-payment-option input {
  accent-color: var(--care-primary);
}

.tc-payment-option small {
  display: block;
  color: var(--care-text-muted);
}

.tc-payment-option > i {
  color: var(--care-border);
}

.tc-payment-option:has(input:checked) {
  border-color: var(--care-primary);
  background: var(--care-primary-lighter);
}

.tc-payment-option:has(input:checked) > i {
  color: var(--care-primary);
}

.tc-services-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 1rem;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.08)),
    #fff;
}

.tc-services-hero h1 {
  margin: 0 0 0.4rem;
  font-weight: 800;
}

.tc-services-hero p {
  margin: 0;
  color: var(--care-text-muted);
}

.tc-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tc-service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.tc-service-card .tc-service-icon {
  width: 100%;
  height: 170px;
  border-radius: 0;
}

.tc-service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-service-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem;
}

.tc-dashboard-hero {
  margin-bottom: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--care-primary), var(--care-secondary));
  overflow: hidden;
}

.tc-dashboard-box {
  position: absolute;
  left: 1rem;
  bottom: -2rem;
  width: min(34%, 280px);
  opacity: 0.22;
  border-radius: var(--radius-lg);
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in {
  animation: fadeIn 0.4s ease-out both;
}

.slide-up {
  animation: slideUpFade 0.5s ease-out both;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.14s; }
.delay-3 { animation-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (min-width: 992px) {
  .bottom-nav {
    display: none;
  }

  .whatsapp-fab {
    bottom: 1.4rem;
  }

  .care-footer {
    padding-bottom: 2.4rem;
  }

  .sticky-summary {
    position: sticky;
    top: 92px;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    border: 1px solid var(--care-border);
    border-radius: var(--radius-xl);
  }
}

@media (max-width: 1100px) {
  .tc-hero-grid,
  .tc-package-grid,
  .tc-split,
  .tc-checkout-grid,
  .tc-builder-grid {
    grid-template-columns: 1fr;
  }

  .tc-hero-grid {
    min-height: auto;
  }

  .tc-hero-media {
    min-height: 320px;
  }

  .tc-payment-panel {
    position: static;
  }

  .tc-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .care-shell {
    width: min(100% - 22px, 1180px);
  }

  .care-logo-img {
    height: 42px;
  }

  .btn-lg {
    padding: 0.76rem 1.15rem;
  }

  .tc-hero-copy h1 {
    font-size: 2.35rem;
  }

  .tc-hero-actions,
  .tc-services-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .tc-hero-actions .btn,
  .tc-services-hero .btn {
    width: 100%;
  }

  .tc-trust-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tc-hero-media img {
    aspect-ratio: 1.18;
  }

  .tc-how,
  .tc-category-grid,
  .tc-trust-grid,
  .tc-service-grid,
  .tc-faq-cta {
    grid-template-columns: 1fr;
  }

  .tc-section-head {
    align-items: start;
    flex-direction: column;
  }

  .tc-package-card,
  .tc-review-hero {
    grid-template-columns: 1fr;
  }

  .tc-package-media img {
    min-height: 210px;
  }

  .tc-product-rail,
  .swipe-carousel {
    grid-auto-columns: minmax(174px, 78%);
  }

  .tc-mobile-sticky {
    display: flex;
  }

  .whatsapp-fab span {
    display: none;
  }

  .whatsapp-fab {
    bottom: 9.7rem;
    right: 1.1rem;
    width: 52px;
    height: 52px;
    justify-content: center;
    padding: 0;
  }
}

/* --- Visual Package Builder --- */

.tc-builder-header {
  background: linear-gradient(180deg, #fff 0%, var(--care-bg-soft) 100%);
  border-bottom: 1px solid var(--care-border);
}

.tc-builder-panel {
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.tc-builder-step-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--care-border);
}

.tc-builder-step-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--care-primary);
  background: var(--care-primary-lighter);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.tc-builder-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(236, 72, 153, 0.04));
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--care-text);
}
.tc-builder-tip i {
  color: var(--care-primary);
  margin-top: 0.15rem;
}

.tc-budget-pills .tc-choice-pill {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 0.65rem 1rem;
}
.tc-budget-pills .tc-choice-pill small {
  font-size: 0.68rem;
  font-weight: 600;
}

.tc-mobile-box {
  margin-bottom: 1rem;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.tc-mobile-box-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: none;
  background: var(--care-primary-lighter);
  font-weight: 800;
  font-size: 0.9rem;
}
.tc-mobile-box-count {
  margin-inline-start: auto;
  font-size: 0.78rem;
  color: var(--care-primary);
  background: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.tc-mobile-box-chevron {
  transition: transform 0.25s ease;
  color: var(--care-text-muted);
}
.tc-mobile-box-chevron.is-open {
  transform: rotate(180deg);
}
.tc-mobile-box-body {
  display: none;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--care-border);
  max-height: 220px;
  overflow-y: auto;
}
.tc-mobile-box-body.is-open {
  display: block;
}

.tc-live-trust {
  display: grid;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--care-text-muted);
  font-weight: 700;
}
.tc-live-trust i {
  color: var(--care-primary);
  width: 1.1rem;
}

.tc-review-card {
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.tc-pulse-hint {
  animation: tcPulseHint 0.6s ease 3;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25) !important;
}
@keyframes tcPulseHint {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}

.tc-pick-check {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--care-primary), var(--care-secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}
.tc-pick-card.is-selected .tc-pick-check {
  opacity: 1;
  transform: scale(1);
}

.tc-pick-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}
.tc-pick-cta {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--care-primary);
  background: var(--care-primary-lighter);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.tc-pick-card.is-selected .tc-pick-cta {
  background: linear-gradient(135deg, var(--care-primary), var(--care-secondary));
  color: #fff;
}

.tc-slot-panel .tc-slot-header {
  margin-top: 0;
}

/* Stepper */
.tc-stepper-container {
  max-width: 800px;
  margin: 0 auto;
}
.tc-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 100%;
}
.tc-stepper-line {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--care-border);
  transform: translateY(-50%);
  z-index: 1;
}
.tc-stepper-progress {
  position: absolute;
  right: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--care-primary), var(--care-secondary));
  transition: width var(--transition-normal);
}
.tc-step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.tc-step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--care-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--care-text-muted);
  font-size: 1.15rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.tc-step-node.is-active .tc-step-circle {
  border-color: var(--care-primary);
  background: var(--care-primary-lighter);
  color: var(--care-primary);
  box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.15);
  transform: scale(1.08);
}
.tc-step-node.is-done .tc-step-circle {
  background: linear-gradient(135deg, var(--care-primary), var(--care-secondary));
  border-color: transparent;
  color: #fff;
}
.tc-step-label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--care-text-muted);
  transition: color var(--transition-normal);
}
.tc-step-node.is-active .tc-step-label {
  color: var(--care-primary);
}
.tc-step-node.is-done .tc-step-label {
  color: var(--care-secondary);
}

@media (max-width: 576px) {
  .tc-step-circle {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .tc-stepper-line {
    top: 19px;
  }
  .tc-step-label {
    font-size: 0.72rem;
  }
}

/* Choice Cards (Step 1 & Step 2) */
.tc-choice-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--care-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.tc-choice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--care-primary), var(--care-secondary)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.tc-choice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--care-primary-light);
}
.tc-choice-card.is-selected {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(236, 72, 153, 0.04));
  box-shadow: var(--shadow-md);
}
.tc-choice-card.is-selected::before {
  opacity: 1;
}
.tc-choice-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--care-primary-lighter);
  color: var(--care-primary);
  font-size: 1.75rem;
  transition: all var(--transition-normal);
}
.tc-choice-card:hover .tc-choice-icon-wrap {
  transform: scale(1.1);
  background: var(--care-primary);
  color: #fff;
}
.tc-choice-card.is-selected .tc-choice-icon-wrap {
  background: linear-gradient(135deg, var(--care-primary), var(--care-secondary));
  color: #fff;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}
.tc-choice-card strong {
  font-size: 0.95rem;
  color: var(--care-text);
  font-weight: 800;
}
.tc-choice-count {
  position: absolute;
  top: -2px;
  left: -2px;
  background: var(--care-secondary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Profile Cards */
.tc-profile-card {
  min-height: 130px;
}
.tc-profile-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--profile-bg, var(--care-bg-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--care-primary);
  font-size: 1.4rem;
  transition: all var(--transition-normal);
}
.tc-profile-card.is-selected .tc-profile-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 18px rgba(35, 31, 32, 0.08);
}
.tc-profile-card strong {
  margin-top: 0.35rem;
}
.tc-choice-pill {
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--care-border);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: #fff;
}
.tc-choice-pill:hover {
  border-color: var(--care-primary-light);
  color: var(--care-primary);
  transform: translateY(-1px);
}
.tc-choice-pill.is-selected {
  border-color: transparent;
  background: linear-gradient(135deg, var(--care-primary), var(--care-secondary));
  color: #fff;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}

.tc-profile-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  background: var(--care-primary-lighter);
  border-radius: var(--radius-lg);
  font-size: 0.92rem;
  color: var(--care-text);
  border: 1px solid rgba(124, 58, 237, 0.12);
  box-shadow: var(--shadow-sm);
}
.tc-profile-hint i {
  color: var(--care-primary);
  margin-top: 0.2rem;
  font-size: 1.1rem;
}

/* Slot Headers */
.tc-slot-header {
  border-bottom: 2px solid var(--care-border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}
.tc-slot-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--care-primary-lighter);
  color: var(--care-primary);
  font-size: 1.15rem;
}
.tc-slot-badge {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  color: var(--care-primary);
  border: 1px solid rgba(124, 58, 237, 0.15);
  transition: all var(--transition-fast);
}
.tc-slot-badge.is-complete {
  background: rgba(159, 203, 58, 0.12);
  color: #47630e;
  border-color: rgba(159, 203, 58, 0.25);
}

/* Category Grid / Slider */
.tc-product-slider {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0.25rem 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tc-product-slider::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .tc-product-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    overflow-x: visible;
    padding: 0.25rem;
  }
  .tc-slider-arrow {
    display: none !important;
  }
  .tc-pick-card {
    flex: none;
  }
  .tc-pick-media {
    height: 168px;
  }
}

/* Product Cards */
.tc-pick-card {
  position: relative;
  flex: 0 0 210px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.tc-pick-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--care-primary), var(--care-secondary)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.tc-pick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--care-primary-light);
}
.tc-pick-card.is-selected {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.02), rgba(236, 72, 153, 0.02));
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.12);
}
.tc-pick-card.is-selected::before {
  opacity: 1;
}

.tc-pick-media {
  position: relative;
  height: 140px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.03), rgba(236, 72, 153, 0.03));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.25rem;
  transition: background var(--transition-normal);
}
.tc-pick-card:hover .tc-pick-media {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(236, 72, 153, 0.06));
}
.tc-pick-media img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  padding: 0.25rem;
  transition: transform var(--transition-normal);
}
.tc-pick-card:hover .tc-pick-media img {
  transform: scale(1.08);
}
.tc-pick-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, var(--care-secondary), #db2777);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.tc-pick-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--care-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  height: 2.8em;
}
.tc-pick-desc {
  font-size: 0.72rem;
  color: var(--care-text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  height: 2.8em;
}
.tc-pick-price {
  font-weight: 800;
  color: var(--care-primary);
  font-size: 1.05rem;
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}
.tc-pick-price small {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--care-text-muted);
}
.tc-pick-order {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--care-primary), var(--care-secondary));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
  border: 2px solid #fff;
}

/* Sidebar Live Box */
.tc-live-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.tc-live-box-sticky {
  position: sticky;
  top: 104px;
}
.tc-live-box-hero {
  background: linear-gradient(135deg, var(--care-primary-lighter), #fff);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px dashed rgba(124, 58, 237, 0.15);
}
.tc-live-box-img {
  max-height: 170px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(124, 58, 237, 0.1));
  transition: transform var(--transition-normal);
}
.tc-live-box:hover .tc-live-box-img {
  transform: translateY(-4px) scale(1.02);
}
.tc-box-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 290px;
  overflow-y: auto;
  padding-inline-end: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--care-primary-light) transparent;
}
.tc-box-list::-webkit-scrollbar {
  width: 4px;
}
.tc-box-list::-webkit-scrollbar-thumb {
  background: var(--care-primary-light);
  border-radius: 999px;
}
.tc-box-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--care-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.tc-box-line:hover {
  background: #fff;
  border-color: var(--care-primary-light);
  transform: translateX(-2px);
}
.tc-box-thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--care-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tc-box-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.15rem;
}
.tc-box-line-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.tc-box-line-text strong {
  font-size: 0.8rem;
  color: var(--care-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
}
.tc-box-line-text span {
  font-size: 0.7rem;
  color: var(--care-text-muted);
}

.tc-live-box-price-wrap {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(236, 72, 153, 0.05));
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid rgba(124, 58, 237, 0.08);
}

/* Mobile Sticky Bar */
.builder-mobile-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--care-border);
  box-shadow: 0 -10px 30px rgba(35, 31, 32, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-bottom: env(safe-area-inset-bottom);
}
.builder-mobile-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
}
.builder-mobile-bar-inner strong {
  font-size: 1.35rem;
  font-weight: 800;
}

/* Review Step */
.tc-review-card {
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.tc-review-hero-row {
  background: linear-gradient(135deg, var(--care-primary-lighter), #fff);
  border-bottom: 1px solid var(--care-border);
  padding: 2rem 1.5rem;
  text-align: center;
}
.tc-review-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--care-border);
  transition: background var(--transition-fast);
}
.tc-review-item:hover {
  background: var(--care-bg);
}
.tc-review-item:last-child {
  border-bottom: none;
}
.tc-review-item-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--care-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tc-review-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.2rem;
}
.tc-review-item-body {
  flex: 1;
  min-width: 0;
}
.tc-review-item-body strong {
  font-size: 0.9rem;
  color: var(--care-text);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tc-review-item-body span {
  font-size: 0.76rem;
  color: var(--care-text-muted);
}
.tc-review-item-price {
  font-weight: 800;
  color: var(--care-primary);
  font-size: 0.95rem;
}

.pb-builder { padding-bottom: 6.5rem !important; }
@media (min-width: 992px) {
  .pb-builder { padding-bottom: 1.5rem !important; }
}

/* Category Customization Tabs */
.tc-builder-tabs-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--care-border);
  padding-bottom: 0.15rem;
}
.tc-builder-tabs-scroll::-webkit-scrollbar {
  display: none;
}
.tc-builder-tabs {
  display: flex;
  gap: 0.5rem;
  width: max-content;
}
.tc-tab-btn {
  border: none;
  background: transparent;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--care-text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.tc-tab-btn i {
  font-size: 1rem;
  opacity: 0.85;
}
.tc-tab-btn:hover {
  color: var(--care-primary);
  background: var(--care-primary-lighter);
}
.tc-tab-btn.is-active {
  color: var(--care-primary);
  border-bottom-color: var(--care-primary);
  background: var(--care-primary-lighter);
}
.tc-tab-btn.is-complete {
  color: var(--care-success);
}
.tc-tab-btn.is-active.is-complete {
  border-bottom-color: var(--care-success);
  background: rgba(22, 163, 74, 0.05);
}
.tc-tab-btn.is-complete::after {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--care-success);
  font-size: 0.85rem;
  margin-right: 0.25rem;
}

/* Tabs Panel Navigation Footer */
.tc-tab-panel-footer {
  border-top: 1px solid var(--care-border);
}
.tc-next-tab-btn:hover {
  transform: translateX(-4px);
}
.tc-review-btn {
  background: linear-gradient(135deg, var(--care-success), #15803d) !important;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25) !important;
  border: 0;
  color: #fff !important;
}
.tc-review-btn:hover {
  background: linear-gradient(135deg, #15803d, #166534) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(22, 163, 74, 0.35) !important;
}

/* ──────────────────────────────────────────────────────────
   Builder Step & Slot Panel Wrappers
────────────────────────────────────────────────────────── */
.tc-builder-step {
  animation: fadeIn 0.3s ease-out both;
}

.tc-builder-slots {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tc-slot-panel {
  animation: fadeIn 0.25s ease-out both;
}

/* ──────────────────────────────────────────────────────────
   Loading Spinner State
────────────────────────────────────────────────────────── */
.tc-builder-loading {
  background: var(--care-primary-lighter);
  border-radius: var(--radius-xl);
  padding: 3.5rem 1.5rem;
}

/* ──────────────────────────────────────────────────────────
   Slider Arrows (Mobile product navigation)
────────────────────────────────────────────────────────── */
.tc-slider-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}

.tc-slider-wrap .tc-product-slider {
  flex: 1;
  min-width: 0;
}

.tc-slider-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--care-surface);
  border: 1px solid var(--care-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--care-primary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.tc-slider-arrow:hover {
  background: var(--care-primary);
  color: #fff;
  border-color: var(--care-primary);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3);
}

@media (min-width: 768px) {
  .tc-slider-arrow {
    display: none;
  }
  .tc-slider-wrap {
    overflow: visible;
  }
}

/* ──────────────────────────────────────────────────────────
   Builder Actions Bar
────────────────────────────────────────────────────────── */
.builder-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  margin-top: 1rem;
  border-top: 1px solid var(--care-border);
}

/* ──────────────────────────────────────────────────────────
   Cat Count & Profile Selection Grids (Steps 1 & 2)
────────────────────────────────────────────────────────── */
.tc-cat-count-grid {
  gap: 1rem !important;
}

.tc-cat-count-grid .tc-choice-card {
  min-height: 160px;
}

.tc-profile-grid {
  row-gap: 0.85rem !important;
}

.tc-profile-grid .tc-choice-card {
  min-height: 120px;
  padding: 1.1rem 0.75rem;
}

/* ──────────────────────────────────────────────────────────
   Step Head Label Styling
────────────────────────────────────────────────────────── */
#builder-step-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--care-primary);
  background: var(--care-primary-lighter);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
  letter-spacing: 0.02em;
}

/* ──────────────────────────────────────────────────────────
   Builder Step Product Grid — Force Grid on Wider Mobile
────────────────────────────────────────────────────────── */
@media (min-width: 540px) and (max-width: 767px) {
  .tc-product-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    gap: 0.85rem;
    padding: 0.25rem;
  }
  .tc-slider-arrow {
    display: none;
  }
}

/* ──────────────────────────────────────────────────────────
   Mobile Builder Bar Height Fix
────────────────────────────────────────────────────────── */
.builder-mobile-bar .btn {
  min-height: 44px;
  font-size: 1rem;
}

/* Builder sticky nav + package showcase + BNPL */
.tc-builder-top-sticky {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--care-border);
  box-shadow: 0 8px 24px rgba(35, 31, 32, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tc-builder-top-sticky .care-header {
  position: static;
  box-shadow: none;
  border-bottom: none;
}

.tc-package-showcase {
  position: relative;
  min-height: 140px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(236, 72, 153, 0.04));
  border: 1px dashed rgba(124, 58, 237, 0.18);
}

.tc-package-showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.tc-package-showcase-img.is-active {
  opacity: 1;
  transform: scale(1);
  position: relative;
  pointer-events: auto;
}

.tc-package-picker {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.tc-package-pill {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid transparent;
  padding: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tc-package-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-package-pill.is-active {
  border-color: var(--care-primary);
  transform: translateY(-2px);
}

.tc-bnpl-widgets {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--care-border);
}

.tc-bnpl-heading {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--care-text-muted);
  margin-bottom: 0.65rem;
}

.tc-bnpl-split {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tc-bnpl-box {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  background: #fafafa;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.tc-bnpl-box tamara-widget,
.tc-bnpl-box .tc-bnpl-tabby {
  width: 100%;
  display: block;
}

.tc-bnpl-hint {
  margin-top: 0.5rem;
}

.tc-bnpl-widgets.is-ready .tc-bnpl-hint {
  display: none;
}

.tc-pick-card.tc-pick-pop {
  animation: tcPickPop 0.45s ease;
}

@keyframes tcPickPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.03); box-shadow: 0 12px 28px rgba(124, 58, 237, 0.18); }
  100% { transform: scale(1); }
}

.tc-payment-option-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--care-primary-lighter);
  color: var(--care-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tc-payment-check {
  color: var(--care-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tc-payment-option input:checked ~ .tc-payment-check {
  opacity: 1;
}

/* ──────────────────────────────────────────────────────────
   Mobile UI/UX Improvements
────────────────────────────────────────────────────────── */

/* Hero Section Refinements */
.tc-hero {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, #faf8ff 0%, #ffffff 100%);
}

.tc-hero-title {
  color: var(--care-text);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.25;
}

.tc-hero-subtitle {
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.7;
  font-size: 1.25rem;
}

.tc-btn-main {
  background: var(--care-primary);
  border: none;
  font-size: 1.1rem;
  padding: 1rem 3rem;
}

.tc-btn-outline {
  font-size: 1.1rem;
  border-color: #e2e8f0;
  color: #4a5568 !important;
  padding: 1rem 2rem;
}

.tc-feature-icon {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.tc-hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
  border-radius: 50%;
}

.tc-hero-banner {
  aspect-ratio: 4/3;
  height: auto;
  min-height: 400px;
}

.tc-hero-slide-img-wrap img {
  padding: 1rem;
  padding-bottom: 5rem;
}

.tc-hero-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.tc-hero-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
}

.tc-hero-slide-title {
  font-size: 1rem;
  font-weight: 800;
}

.tc-hero-slide-price {
  font-size: 1.25rem;
}

.tc-hero-slide-link {
  font-size: 0.85rem;
  color: var(--care-primary-dark);
}

.tc-hero-banner-nav {
  background: white !important;
  color: var(--care-primary) !important;
}

.tc-hero-banner-dots {
  bottom: auto !important;
  top: 1rem !important;
}

.tc-hero-fallback-img {
  min-height: 400px;
  padding: 2rem;
}

/* Mobile Overrides */
@media (max-width: 991.98px) {
  .tc-hero-subtitle {
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  /* Fix Typography and Spacing */
  .tc-hero {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
  
  .tc-hero-title {
    font-size: 2rem;
  }
  
  .tc-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem !important;
  }
  
  .tc-btn-main, .tc-btn-outline {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .tc-hero-features {
    flex-direction: column;
    gap: 1rem !important;
    align-items: flex-start;
    padding-left: 1rem;
  }
  
  .tc-feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .tc-hero-visual-col {
    margin-bottom: 2rem !important;
  }
  
  .tc-hero-banner {
    min-height: 280px;
  }
  
  .tc-hero-fallback-img {
    min-height: 280px;
    padding: 1rem;
  }
  
  /* Overlapping Elements Fix */
  /* Remove redundant sticky CTA on mobile since we have bottom-nav */
  .tc-sticky-cta-mobile {
    display: none !important;
  }
  
  /* Reposition WhatsApp FAB safely above Bottom Nav */
  .whatsapp-fab {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 75px) !important;
    right: 1rem;
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, bottom 0.2s ease;
  }
  
  .whatsapp-fab i {
    font-size: 1.5rem !important;
  }
  
  /* Make sure bottom nav doesn't cover content */
  .pb-sticky {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 80px) !important;
  }
  
  .bottom-nav {
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    height: calc(65px + env(safe-area-inset-bottom, 0px));
  }
}

/* ──────────────────────────────────────────────────────────
   Premium Mobile Polish Layer
   A final override layer for the mobile app shell and builder.
────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  :root {
    --mobile-shell-x: 14px;
    --mobile-bottom-nav-h: 68px;
    --mobile-builder-bar-h: 74px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    background:
      radial-gradient(circle at 18% -4%, rgba(124, 58, 237, 0.08), transparent 30%),
      linear-gradient(180deg, #fff 0%, #fbfafc 38%, #fff 100%);
  }

  .care-shell {
    width: 100%;
    max-width: 100%;
    padding-inline: var(--mobile-shell-x);
  }

  .care-shell > .row {
    --bs-gutter-x: 0;
  }

  .care-header .care-shell {
    min-height: 64px;
    padding-block: 0.55rem !important;
  }

  .care-logo {
    min-width: auto;
  }

  .care-logo-img {
    height: 40px;
  }

  .pb-sticky {
    padding-bottom: calc(var(--mobile-bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 18px) !important;
  }

  .bottom-nav {
    height: calc(var(--mobile-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
    padding: 0.5rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -10px 30px rgba(23, 18, 38, 0.1);
  }

  .bottom-nav-item {
    min-height: 48px;
    gap: 0.15rem;
    font-size: 0.72rem;
  }

  .bottom-nav-item i {
    font-size: 1.05rem;
  }

  .whatsapp-fab {
    right: 14px !important;
    left: auto !important;
    bottom: calc(var(--mobile-bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 12px) !important;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.9);
  }

  .whatsapp-fab span {
    display: none !important;
  }

  .tc-sticky-cta-mobile,
  .tc-sticky-cta-wrapper.d-md-none {
    display: none !important;
  }

  /* Home */
  .tc-hero {
    padding: 0.85rem 0 1.75rem;
    border-bottom: 0;
  }

  .tc-hero-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .tc-hero-visual-col {
    margin: 0 !important;
    padding: 0 !important;
  }

  .tc-hero-banner,
  .tc-hero-banner-track,
  .tc-hero-banner-slide.is-active {
    min-height: 0 !important;
  }

  .tc-hero-banner {
    aspect-ratio: 1.42;
    border-radius: 24px !important;
    box-shadow: 0 16px 38px rgba(23, 18, 38, 0.12) !important;
  }

  .tc-hero-slide-img-wrap img {
    padding: 0.55rem 0.55rem 4.1rem !important;
  }

  .tc-hero-slide-content {
    padding: 0.55rem !important;
  }

  .tc-hero-glass {
    min-height: 58px;
    padding: 0.55rem 0.75rem !important;
    border-radius: 18px !important;
  }

  .tc-hero-badge {
    font-size: 0.62rem;
    padding: 0.16rem 0.42rem;
  }

  .tc-hero-slide-title {
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.84rem;
  }

  .tc-hero-slide-price {
    font-size: 1rem;
  }

  .tc-hero-banner-nav {
    width: 38px;
    height: 38px;
    top: 45%;
  }

  .tc-hero-banner-dots {
    top: 0.7rem !important;
  }

  .tc-hero-content {
    margin: 0 !important;
    padding-inline: 0 !important;
  }

  .tc-hero-title {
    font-size: clamp(2.05rem, 9vw, 2.45rem);
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem !important;
  }

  .tc-hero-subtitle {
    max-width: 330px;
    margin-bottom: 1.1rem !important;
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .tc-hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.65rem !important;
    margin-bottom: 1rem !important;
  }

  .tc-btn-main,
  .tc-btn-outline {
    width: 100%;
    min-height: 50px;
    padding: 0.75rem 1rem !important;
    font-size: 0.96rem;
  }

  .tc-hero-features {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem !important;
    padding: 0 !important;
    margin-top: 1rem !important;
  }

  .tc-feature-item {
    align-items: center;
    gap: 0.55rem !important;
    padding: 0.7rem;
    border: 1px solid var(--care-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(23, 18, 38, 0.04);
  }

  .tc-feature-item:last-child {
    grid-column: 1 / -1;
  }

  .tc-feature-item .text-start {
    text-align: right !important;
  }

  .tc-feature-item strong {
    font-size: 0.82rem;
  }

  .tc-feature-item small {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .tc-feature-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    font-size: 0.92rem;
  }

  section {
    scroll-margin-top: 82px;
  }

  /* Builder */
  .tc-builder-top-sticky {
    z-index: 1060;
    border-radius: 0 0 22px 22px;
    overflow: hidden;
  }

  .tc-builder-top-sticky .care-header .care-shell {
    min-height: 58px;
  }

  .tc-builder-top-sticky .care-logo-img {
    height: 36px;
  }

  .tc-stepper-container {
    max-width: 100%;
    padding: 0.25rem var(--mobile-shell-x) 0.65rem !important;
  }

  .tc-stepper {
    min-width: 0;
  }

  .tc-step-circle {
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
  }

  .tc-stepper-line {
    top: 17px;
    left: 10%;
    right: 10%;
  }

  .tc-step-label {
    margin-top: 0.3rem;
    font-size: 0.66rem;
    font-weight: 800;
  }

  #builder-app {
    padding-top: 0.85rem !important;
  }

  .tc-builder-grid {
    display: block !important;
    margin: 0 !important;
    width: 100%;
  }

  .tc-builder-grid > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .tc-builder-panel {
    padding: 0.95rem;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(23, 18, 38, 0.07);
  }

  .tc-builder-step-head {
    margin-bottom: 0.9rem;
    padding-bottom: 0.8rem;
  }

  #builder-step-kicker,
  .tc-builder-step-kicker {
    font-size: 0.68rem;
    padding: 0.18rem 0.6rem;
    margin-bottom: 0.45rem;
  }

  .tc-builder-panel h1,
  #builder-step-title {
    font-size: 1.38rem;
    line-height: 1.25;
  }

  #builder-step-desc {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .tc-cat-count-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem !important;
  }

  .tc-cat-count-grid > [class*="col-"],
  .tc-profile-grid > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .tc-cat-count-grid .tc-choice-card {
    min-height: 118px;
  }

  .tc-choice-card {
    padding: 0.75rem 0.45rem;
    border-radius: 18px;
    gap: 0.5rem;
  }

  .tc-choice-icon-wrap {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  .tc-choice-card strong {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .tc-profile-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem !important;
  }

  .tc-profile-grid .tc-choice-card {
    min-height: 104px;
    padding: 0.8rem 0.55rem;
  }

  .tc-profile-hint,
  .tc-builder-tip {
    padding: 0.75rem 0.85rem;
    border-radius: 18px;
    font-size: 0.8rem;
  }

  .tc-budget-pills {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem !important;
  }

  .tc-budget-pills .tc-choice-pill {
    min-width: 0;
    padding: 0.55rem 0.45rem;
  }

  .tc-budget-pills .tc-choice-pill span {
    font-size: 0.8rem;
  }

  .tc-budget-pills .tc-choice-pill small {
    display: none !important;
  }

  .tc-builder-tabs-scroll {
    margin: 0 -0.95rem 0.85rem;
    padding: 0 0.95rem 0.3rem;
    border-bottom-width: 1px;
  }

  .tc-builder-tabs {
    gap: 0.45rem;
  }

  .tc-tab-btn {
    min-height: 40px;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--care-border);
    background: #fff;
    font-size: 0.78rem;
  }

  .tc-tab-btn.is-active {
    border-color: rgba(124, 58, 237, 0.2);
  }

  .tc-slot-header {
    align-items: flex-start !important;
    gap: 0.65rem;
    padding-bottom: 0.65rem;
    margin-bottom: 0.8rem;
  }

  .tc-slot-icon-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .tc-slot-header h3 {
    font-size: 1rem;
  }

  .tc-slot-header .small {
    font-size: 0.72rem;
  }

  .tc-slot-badge {
    white-space: nowrap;
    font-size: 0.68rem;
    padding: 0.25rem 0.5rem;
  }

  .tc-slider-wrap {
    display: block !important;
    overflow: visible !important;
  }

  .tc-slider-arrow {
    display: none !important;
  }

  .tc-product-slider {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
    overflow: visible !important;
    padding: 0.1rem 0 0.25rem !important;
    scroll-snap-type: none !important;
  }

  .tc-pick-card {
    min-width: 0;
    flex: none;
    padding: 0.62rem;
    border-radius: 18px;
    gap: 0.42rem;
    box-shadow: 0 8px 20px rgba(23, 18, 38, 0.055);
  }

  .tc-pick-media {
    height: 104px !important;
    border-radius: 14px;
  }

  .tc-pick-media img {
    max-width: 86%;
    max-height: 86%;
  }

  .tc-pick-badge {
    top: 6px;
    right: 6px;
    font-size: 0.58rem;
    padding: 0.16rem 0.42rem;
  }

  .tc-pick-name {
    height: 2.7em;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .tc-pick-desc {
    display: none;
  }

  .tc-pick-footer {
    align-items: center;
    gap: 0.35rem;
  }

  .tc-pick-price {
    font-size: 0.86rem;
  }

  .tc-pick-price small {
    font-size: 0.64rem;
  }

  .tc-pick-cta {
    padding: 0.22rem 0.45rem;
    font-size: 0.64rem;
  }

  .tc-tab-panel-footer {
    margin-top: 0.85rem !important;
    padding-top: 0.8rem !important;
  }

  .tc-tab-panel-footer .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .builder-mobile-bar {
    z-index: 1055;
    border-radius: 22px 22px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .builder-mobile-bar-inner {
    min-height: var(--mobile-builder-bar-h);
    padding: 0.7rem var(--mobile-shell-x);
  }

  .builder-mobile-bar-inner strong {
    font-size: 1.05rem;
  }

  .builder-mobile-bar .btn {
    min-height: 44px;
    padding-inline: 1.35rem;
  }

  .pb-builder {
    padding-bottom: calc(var(--mobile-builder-bar-h) + env(safe-area-inset-bottom, 0px) + 20px) !important;
  }
}

@media (max-width: 370px) {
  .tc-product-slider,
  .tc-profile-grid {
    grid-template-columns: 1fr !important;
  }

  .tc-cat-count-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== Store-style checkout (TwinCats Care) ===== */
.tc-care-checkout {
  background: #f8f9fa;
  min-height: 70vh;
  padding: 1rem 0 calc(2rem + var(--mobile-nav-h, 64px));
}

.tc-ck-page-hdr {
  text-align: center;
  margin-bottom: 0.85rem;
}

.tc-ck-page-hdr h1 {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 800;
  color: #1e1b4b;
  margin-bottom: 0.15rem;
}

.tc-ck-page-hdr p {
  color: #6b7280;
  font-size: 0.82rem;
  margin: 0;
}

.tc-ck-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.tc-ck-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tc-ck-step .sn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: #e5e7eb;
  color: #6b7280;
}

.tc-ck-step.done .sn {
  background: #16a34a;
  color: #fff;
}

.tc-ck-step.now .sn {
  background: #7c3aed;
  color: #fff;
}

.tc-ck-step .sl {
  font-size: 0.62rem;
  color: #9ca3af;
  margin-top: 3px;
  white-space: nowrap;
}

.tc-ck-line {
  width: 28px;
  height: 2px;
  background: #e5e7eb;
  margin: 0 2px 16px;
}

.tc-ck-line.done {
  background: #16a34a;
}

.tc-ck-card,
.tc-ck-summary {
  background: #fff;
  border-radius: 12px;
  padding: 0.9rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.tc-ck-card h5,
.tc-ck-summary h5 {
  font-size: 0.88rem;
  font-weight: 800;
  color: #1e1b4b;
  margin-bottom: 0.7rem;
}

.tc-ck-card h5 i,
.tc-ck-summary h5 i {
  color: #7c3aed;
}

.tc-ck-card .form-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.2rem;
}

.tc-ck-label-accent {
  color: #7c3aed !important;
}

.tc-ck-card .form-control,
.tc-ck-card .form-select {
  font-size: 0.82rem;
  padding: 0.48rem 0.65rem;
  border-radius: 8px;
  border: 1.5px solid #e5e7eb;
}

.tc-ck-card .form-control:focus,
.tc-ck-card .form-select:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.1);
}

.tc-ck-card .input-group-text {
  font-size: 0.82rem;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-left: none;
}

.tc-ck-del-info {
  font-size: 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  margin-top: 0.35rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.tc-ck-address-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tc-ck-saved-addr {
  flex: 1 1 140px;
  min-width: 130px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s;
  background: #fff;
}

.tc-ck-saved-addr:hover {
  border-color: #c4b5fd;
  background: #faf5ff;
}

.tc-ck-saved-addr.active {
  border-color: #7c3aed;
  background: #faf5ff;
}

.tc-ck-saved-addr .sac-icon {
  color: #6b7280;
  font-size: 1rem;
}

.tc-ck-saved-addr.active .sac-icon {
  color: #7c3aed;
}

.tc-ck-saved-addr .sac-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.tc-ck-saved-addr .sac-info strong {
  font-size: 0.74rem;
  color: #1e1b4b;
}

.tc-ck-saved-addr .sac-info small {
  font-size: 0.6rem;
  color: #6b7280;
  line-height: 1.2;
}

.tc-ck-saved-addr .sac-check {
  color: #7c3aed;
  display: none;
}

.tc-ck-saved-addr.active .sac-check {
  display: block;
}

.tc-ck-divider {
  border: none;
  border-top: 1px dashed #e5e7eb;
  margin: 0.55rem 0;
}

.tc-ck-pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .tc-ck-pay-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tc-ck-pay-box {
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.65rem 0.35rem;
  cursor: pointer;
  position: relative;
  background: #fff;
  transition: all 0.2s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
}

.tc-ck-pay-box:hover {
  border-color: #c4b5fd;
  transform: translateY(-1px);
}

.tc-ck-pay-box.active {
  border-color: #ef4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.08);
}

.tc-ck-pay-box input[type='radio'] {
  display: none;
}

.tc-ck-pay-box .check-icon {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  width: 16px;
  height: 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0.55rem;
}

.tc-ck-pay-box.active .check-icon {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}

.tc-ck-pay-logos {
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0.15rem 0 0.35rem;
}

.pay-badge {
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 4px;
  border-radius: 3px;
  color: #fff;
}

.pay-badge.visa { background: #1a1f71; }
.pay-badge.mc { background: #252525; }
.pay-badge.mada { background: #003d6a; }
.pay-badge.apple { background: #000; font-weight: 600; }

.tc-ck-pay-brand {
  object-fit: contain;
  margin: 0.15rem 0;
}

.tc-ck-pay-box h6 {
  font-size: 0.74rem;
  font-weight: 800;
  color: #1e1b4b;
  margin: 0;
}

.tc-ck-pay-box p {
  font-size: 0.6rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.2;
}

.tc-ck-zero-badge {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 0.15rem;
}

.tc-ck-zero-badge.tamara {
  background: rgba(0, 169, 166, 0.1);
  color: #00a9a6;
  border: 1px solid rgba(0, 169, 166, 0.2);
}

.tc-ck-zero-badge.tabby {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.tc-ck-summary {
  position: sticky;
  top: 88px;
}

.tc-ck-summary-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
}

.tc-ck-summary-item.compact .s-det h6 {
  font-size: 0.68rem;
}

.tc-ck-summary-item .s-qty {
  position: relative;
  flex-shrink: 0;
}

.tc-ck-summary-item .s-qty img,
.tc-ck-ph {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.tc-ck-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #9ca3af;
}

.tc-ck-summary-item .s-qty span {
  position: absolute;
  top: -4px;
  left: -4px;
  background: #7c3aed;
  color: #fff;
  font-size: 0.55rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.tc-ck-summary-item .s-det {
  flex: 1;
  min-width: 0;
}

.tc-ck-summary-item .s-det h6 {
  font-size: 0.74rem;
  font-weight: 600;
  color: #1e1b4b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-ck-summary-item .s-det small {
  font-size: 0.64rem;
  color: #9ca3af;
}

.tc-ck-summary-item .s-pr {
  font-size: 0.76rem;
  font-weight: 700;
  color: #7c3aed;
  white-space: nowrap;
}

.tc-ck-s-row {
  display: flex;
  justify-content: space-between;
  padding: 0.28rem 0;
  font-size: 0.78rem;
  color: #4b5563;
}

.tc-ck-s-row .sv {
  font-weight: 700;
  color: #1e1b4b;
}

.tc-ck-s-row.discount .sv {
  color: #16a34a !important;
}

.tc-ck-delivery-note {
  font-size: 0.68rem;
  color: #9ca3af;
  margin: 0.15rem 0 0.35rem;
}

.tc-ck-total {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
}

.tc-ck-total span:first-child {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1e1b4b;
}

.tc-ck-total .ta {
  font-size: 1.15rem;
  font-weight: 900;
  color: #7c3aed;
}

.tc-ck-btn-order {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 0.55rem;
  transition: all 0.25s;
}

.tc-ck-btn-order:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
  color: #fff;
}

.tc-ck-btn-order:disabled {
  opacity: 0.75;
}

.tc-ck-btn-back {
  display: block;
  width: 100%;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  border-radius: 10px;
  padding: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  margin-top: 0.35rem;
}

.tc-ck-btn-back:hover {
  border-color: #7c3aed;
  color: #7c3aed;
}

.tc-ck-secure {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.68rem;
  color: #9ca3af;
}

.tc-ck-secure i {
  color: #16a34a;
  margin-left: 0.25rem;
}

@media (max-width: 767px) {
  .tc-ck-summary {
    position: static;
  }

  .tc-care-checkout {
    padding-bottom: calc(1.5rem + var(--mobile-nav-h, 64px) + env(safe-area-inset-bottom, 0px));
  }
}

