/* ==========================================================================
   COMPONENTS — VISTRAKALA APPAREL & PRINT PLATFORM
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BUTTONS & PILLS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border: 1.5px solid transparent;
  text-decoration: none;
  line-height: 1;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
}

.btn-primary {
  background-color: var(--color-merlot);
  color: var(--color-white);
  box-shadow: var(--shadow-merlot);
}
.btn-primary:hover {
  background-color: var(--color-merlot-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(92, 14, 25, 0.38);
  color: var(--color-white);
}

.btn-navy {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-navy);
}
.btn-navy:hover {
  background-color: var(--color-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(4, 30, 66, 0.38);
  color: var(--color-white);
}

.btn-outline {
  border-color: var(--color-merlot);
  color: var(--color-merlot);
  background-color: transparent;
}
.btn-outline:hover {
  background-color: var(--color-merlot);
  color: var(--color-white);
}

.btn-outline-navy {
  border-color: var(--color-navy);
  color: var(--color-navy);
  background-color: transparent;
}
.btn-outline-navy:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-ink);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background-color: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   2. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line);
  z-index: var(--z-header);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: var(--font-weight-black);
  letter-spacing: -0.03em;
  color: var(--color-navy);
}

.brand-logo .brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-merlot), var(--color-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 900;
  font-size: 1.1rem;
}

.brand-logo span.accent {
  color: var(--color-merlot);
}

.brand-tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
  font-weight: 500;
  margin-top: -2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-ink-light);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-merlot);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-merlot);
  border-radius: var(--radius-pill);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cart-trigger {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  transition: all var(--transition-fast);
}

.cart-trigger:hover {
  border-color: var(--color-merlot);
  color: var(--color-merlot);
  background-color: var(--color-merlot-subtle);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--color-merlot);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: var(--font-weight-bold);
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
}

@media (max-width: 991px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .header-actions .btn-primary {
    display: none;
  }
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 30, 66, 0.6);
  backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 380px;
  background-color: var(--color-white);
  z-index: var(--z-drawer);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay.open .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-line);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link.active {
  color: var(--color-merlot);
  font-weight: var(--font-weight-bold);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   3. PRODUCT CARDS & BADGES
   -------------------------------------------------------------------------- */
.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-line-dark);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background-color: var(--color-cream);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-navy);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  z-index: 2;
}

.product-badge-merlot {
  background-color: var(--color-merlot);
}

.product-badge-gold {
  background-color: var(--color-gold);
  color: var(--color-ink);
}

.product-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-line);
}

.product-price {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-merlot);
}

.product-price-label {
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin-left: 0.2rem;
  font-weight: normal;
}

/* --------------------------------------------------------------------------
   4. TRUST STRIP
   -------------------------------------------------------------------------- */
.trust-strip {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 1.5rem 0;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-cream);
  color: var(--color-merlot);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
  line-height: 1.2;
}

.trust-desc {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   5. CATEGORY CARDS
   -------------------------------------------------------------------------- */
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--color-white);
  transition: transform var(--transition-base);
  background-color: var(--color-navy);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  z-index: 1;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,30,66,0.1) 0%, rgba(4,30,66,0.85) 100%);
  z-index: 2;
  transition: background var(--transition-base);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card:hover::after {
  background: linear-gradient(180deg, rgba(92,14,25,0.2) 0%, rgba(92,14,25,0.9) 100%);
}

.category-card-content {
  position: relative;
  z-index: 3;
}

.category-title {
  color: var(--color-white);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.4rem;
}

.category-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   6. HOW IT WORKS TIMELINE / STRIP
   -------------------------------------------------------------------------- */
.process-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--color-merlot);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-black);
  color: var(--color-line-dark);
  line-height: 1;
}

.process-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-merlot-subtle);
  color: var(--color-merlot);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.process-title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: var(--text-xs);
  color: var(--color-muted);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .process-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .process-strip {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   7. INDUSTRY CARDS
   -------------------------------------------------------------------------- */
.industry-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-merlot);
}

.industry-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--color-cream);
  position: relative;
}

.industry-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.industry-card:hover .industry-card-img img {
  transform: scale(1.08);
}

.industry-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.industry-card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

.industry-card-text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.industry-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-merlot);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   8. WHY US / FEATURES GRID
   -------------------------------------------------------------------------- */
.why-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-base);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-merlot);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-merlot-subtle), var(--color-cream));
  color: var(--color-merlot);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.why-title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.75rem;
  color: var(--color-ink);
}

.why-text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. VIDEO TESTIMONIAL CARDS & PLAYER MODAL
   -------------------------------------------------------------------------- */
.video-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background-color: var(--color-ink);
  overflow: hidden;
}

.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform var(--transition-slow), opacity var(--transition-fast);
}

.video-card:hover .video-thumb-wrap img {
  transform: scale(1.05);
  opacity: 1;
}

.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-merlot);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(92,14,25,0.6);
  transition: transform var(--transition-bounce), background-color var(--transition-fast);
}

.video-card:hover .play-button-overlay {
  transform: translate(-50%, -50%) scale(1.15);
  background-color: var(--color-merlot-dark);
}

.video-card-body {
  padding: 1.25rem;
}

.video-client-name {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
}

.video-client-role {
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.video-quote {
  font-size: var(--text-sm);
  color: var(--color-ink-light);
  font-style: italic;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   10. CLIENT LOGOS STRIP
   -------------------------------------------------------------------------- */
.client-strip {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 2.5rem 0;
  overflow: hidden;
}

.client-title {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
}

.client-logos-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: all var(--transition-base);
}

.client-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   11. CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 60%, var(--color-merlot-dark) 100%);
  color: var(--color-white);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-logo {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background-color: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--color-merlot);
  transform: translateY(-2px);
}

.footer-heading {
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   13. CART DRAWER & MODAL
   -------------------------------------------------------------------------- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 30, 66, 0.6);
  backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 90%;
  max-width: 440px;
  background-color: var(--color-white);
  z-index: var(--z-drawer);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer-overlay.open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-line);
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background-color: var(--color-cream);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
  margin-bottom: 0.25rem;
}

.cart-item-meta {
  font-size: var(--text-xs);
  color: var(--color-muted);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-price {
  font-weight: var(--font-weight-bold);
  color: var(--color-merlot);
  font-size: var(--text-sm);
}

.cart-item-remove {
  font-size: var(--text-xs);
  color: var(--color-danger);
  cursor: pointer;
  background: none;
  border: none;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-line);
  background-color: var(--color-cream);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: var(--text-sm);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-line-dark);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 30, 66, 0.75);
  backdrop-filter: blur(6px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.modal-content {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-base);
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 1.25rem;
}

.modal-body {
  padding: 1.5rem;
}

/* Video modal specific */
.video-modal-content {
  max-width: 850px;
  background-color: var(--color-ink);
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  min-width: 280px;
  border-left: 4px solid var(--color-merlot);
  animation: toastIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes toastIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-ink);
  margin-bottom: 0.4rem;
}

.form-label span.req {
  color: var(--color-merlot);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-ink);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-merlot);
  box-shadow: 0 0 0 3px var(--color-merlot-subtle);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
  text-align: left;
  background: none;
  cursor: pointer;
}

.accordion-icon {
  transition: transform var(--transition-base);
  color: var(--color-merlot);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base) ease-out;
  padding: 0 1.5rem;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  padding-bottom: 1.5rem;
}
