/* ==========================================================================
   Shopademia - Main Design System & Style
   Primary Brand Palette:
   - Logo ink: warm charcoal #26231F / #171613
   - Champagne accent: #B08D57
   - Warm neutral surfaces: #F7F4EE / #FFFEFC
   - Grayscale text: #69645B / #8A8378
   - Success Green: #10B981
   - Dhaka Signature Touches
   ========================================================================== */

:root {
  --primary-navy: #26231f;
  --primary-navy-dark: #171613;
  --accent-orange: #302d28;
  --accent-orange-hover: #171613;
  --accent-orange-light: #f4eee4;
  --brand-highlight: #b08d57;
  --brand-highlight-strong: #806338;
  --brand-highlight-light: #f4eee4;
  --text-dark: #302d28;
  --text-muted: #69645b;
  --text-light: #70695f;
  --bg-page: #f7f4ee;
  --bg-card: #fffefc;
  --border-color: #e8e2d8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-brand: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #9a7a48;
  outline-offset: 3px;
}

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

/* --- TOP ANNOUNCEMENT BAR --- */
.top-bar {
  background: var(--primary-navy-dark);
  color: #e8e2d8;
  font-size: 0.85rem;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-notice {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.announcement-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.announcement-marquee-track {
  display: flex;
  width: max-content;
  animation: announcement-scroll 28s linear infinite;
}

.announcement-marquee-copy {
  display: block;
  flex: 0 0 auto;
  padding-right: 64px;
}

.announcement-marquee:hover .announcement-marquee-track {
  animation-play-state: paused;
}

@keyframes announcement-scroll {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .announcement-marquee-track {
    animation: none;
  }
  .announcement-marquee-copy[aria-hidden="true"] {
    display: none;
  }
}

.top-bar-links {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
}

.top-bar-links a:hover {
  color: #dec28f;
}

/* --- MAIN HEADER --- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  width: 134px;
  height: 48px;
  object-fit: contain;
}

.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: #f3efe8;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 6px 16px;
  transition: all 0.2s ease;
}

.search-input-wrap:focus-within {
  border-color: var(--accent-orange);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(32, 32, 32, 0.12);
}

.search-input {
  border: none;
  background: transparent;
  width: 100%;
  padding: 6px 10px;
  font-size: 0.95rem;
  outline: none;
}

.search-btn {
  background: var(--accent-orange);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.search-btn:hover {
  transform: scale(1.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  cursor: pointer;
  transition: color 0.2s;
}

.header-action-btn:hover {
  color: var(--accent-orange);
}

.header-action-btn .icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 3px;
}

.action-count-badge {
  position: absolute;
  top: -4px;
  right: 0px;
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(32,32,32,0.16);
}

/* --- NAVIGATION BAR --- */
.site-nav {
  position: relative;
  z-index: 40;
  background: var(--primary-navy);
  color: #ffffff;
}

.nav-container {
  position: relative;
  max-width: 1280px;
  height: 52px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nav-menu-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.nav-menu-toggle:hover,
.nav-menu-toggle[aria-expanded="true"] {
  background: rgba(255,255,255,0.16);
}

.nav-links {
  display: flex;
  flex: 1 1 0;
  flex-wrap: nowrap;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 2px;
}

.nav-links li {
  flex: 0 0 auto;
}

.nav-links a {
  display: block;
  overflow: hidden;
  padding: 12px clamp(4px, .7vw, 10px);
  font-size: clamp(.68rem, .75vw, .82rem);
  font-weight: 600;
  color: #e8e2d8;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
}

.nav-links li.is-overflow-hidden {
  display: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  border-bottom-color: #dec28f;
}

.nav-location-pill {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  color: #e8e2d8;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 999px;
}

.nav-location-pill button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-location-pill button:disabled {
  cursor: wait;
}

.nav-menu-panel[hidden] {
  display: none;
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 24px;
  z-index: 50;
  width: min(880px, calc(100vw - 48px));
  max-height: min(78vh, 720px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: #171f28;
  box-shadow: 0 18px 48px rgba(0,0,0,.32);
}

.nav-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: #fff;
}

.nav-menu-close {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.nav-menu-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 6px;
}

.nav-menu-links a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  color: #f7f4ee;
  text-decoration: none;
}

.nav-menu-links a:hover,
.nav-menu-links a:focus-visible,
.nav-menu-close:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.nav-menu-toggle:focus-visible,
.nav-menu-close:focus-visible,
.nav-links a:focus-visible,
.nav-menu-links a:focus-visible,
.nav-location-pill button:focus-visible {
  outline: 3px solid #dec28f;
  outline-offset: 3px;
}

.nav-menu-panel .nav-location-pill {
  display: inline-flex;
  margin-top: 16px;
}

@media (max-width: 640px) {
  .nav-container {
    height: 48px;
    gap: 6px;
    padding: 0 8px;
  }

  .nav-menu-toggle {
    min-height: 36px;
    padding: 0 8px;
    font-size: .74rem;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding-right: 5px;
    padding-left: 5px;
    font-size: .68rem;
  }

  .nav-menu-panel {
    position: fixed;
    inset: 0;
    z-index: 100;
    width: auto;
    max-height: none;
    padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
  }

  .nav-menu-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-stock-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -8px 0 20px;
  color: #355c42;
  font-size: .9rem;
  font-weight: 750;
}

.product-stock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #368b52;
  box-shadow: 0 0 0 4px rgba(54, 139, 82, .12);
}

.product-stock-dot.is-out {
  background: #9a5247;
  box-shadow: 0 0 0 4px rgba(154, 82, 71, .12);
}

.product-recommendations {
  margin: 0 0 48px;
}

.product-recommendations-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.product-recommendations-heading h2 {
  margin: 4px 0 0;
  color: #26231f;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.product-recommendations-heading > a {
  color: #514739;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}

.recommended-stock {
  margin: 8px 0;
  color: #497252;
  font-size: .82rem;
  font-weight: 700;
}

@media (max-width: 540px) {
  .product-recommendations-heading {
    align-items: start;
    flex-direction: column;
  }
}

/* --- CONTAINER HELPER --- */
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
  min-height: calc(100vh - 450px);
}

.about-hero {
  padding: 48px;
}

.about-hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.6rem);
}

.about-story {
  padding: 36px;
}

.shipping-policy-content {
  padding: 40px;
}

.delivery-zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

/* --- HERO SECTION --- */
.hero-banner {
  background:
    radial-gradient(ellipse at 92% 18%, rgba(176,141,87,0.22) 0%, transparent 36%),
    linear-gradient(125deg, #211f1b 0%, #37332d 58%, #514739 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 36px;
}

.hero-banner::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(222,194,143,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(176,141,87,0.16);
  border: 1px solid rgba(222,194,143,0.62);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.hero-title {
  font-family: var(--font-brand);
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-title span {
  color: #dec28f;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #d6cec1;
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent-orange);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(23, 22, 19, 0.2);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(23, 22, 19, 0.24);
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(222,194,143,0.42);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

.hero-features-list {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  font-size: 0.85rem;
  color: #d6cec1;
}

.hero-features-list span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-card-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(255,255,255,0.15);
}

/* --- SECTION HEADERS --- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

.view-all-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-highlight-strong);
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-all-link:hover {
  text-decoration: underline;
}

/* --- CATEGORY CARDS GRID --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}

.category-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: block;
}

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

.category-img-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  background: #f3efe8;
  border: 2px solid var(--border-color);
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-placeholder-icon {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #fffefc 0%, #f3eee5 72%);
  color: var(--brand-highlight-strong);
  font-size: 2rem;
}

.category-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.category-count {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- PRODUCT CARDS GRID --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-card-skeleton .product-thumb-wrap {
  background: #e8e2d8;
}

.skeleton-block {
  display: block;
  border-radius: 6px;
  background: #e8e2d8;
}

.product-skeleton-category {
  width: 48%;
  height: 10px;
  margin-bottom: 12px;
}

.product-skeleton-title {
  width: 94%;
  height: 13px;
  margin-bottom: 7px;
}

.product-skeleton-title-short {
  width: 68%;
  height: 13px;
  margin-bottom: 8px;
}

.product-skeleton-price {
  width: 44%;
  height: 22px;
}

.product-skeleton-meta {
  width: 100%;
  height: 14px;
  margin-bottom: 14px;
  border-top: 1px solid #f3efe8;
  padding-top: 12px;
}

.product-skeleton-button {
  height: 38px;
  border: 0;
  background: #e8e2d8;
}

.product-loading-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  margin-bottom: 56px;
}

.product-loading-image {
  height: 440px;
  margin-bottom: 16px;
  border-radius: 16px;
}

.product-loading-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-loading-category {
  width: 42%;
  height: 14px;
}

.product-loading-title {
  width: 88%;
  height: 34px;
}

.product-loading-price {
  width: 36%;
  height: 34px;
  margin-bottom: 4px;
}

.product-loading-notice {
  height: 76px;
  border-radius: 8px;
}

.product-loading-description {
  height: 66px;
}

.product-loading-actions {
  display: flex;
  gap: 12px;
}

.product-loading-action {
  width: 120px;
  height: 46px;
  border-radius: 8px;
}

.product-loading-features {
  height: 92px;
  border-top: 1px solid #e8e2d8;
}

.product-loading-details {
  min-height: 260px;
  padding: 32px;
  border: 1px solid #e8e2d8;
  border-radius: 16px;
  background: #fff;
}

.product-loading-details-title {
  width: 52%;
  height: 24px;
  margin-bottom: 18px;
}

.product-loading-details-copy {
  width: 100%;
  height: 68px;
  margin-bottom: 28px;
}

.product-loading-reviews-title {
  width: 40%;
  height: 20px;
  margin-bottom: 18px;
}

.product-loading-review {
  width: 76%;
  height: 42px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #d6cec1;
}

.product-thumb-wrap {
  position: relative;
  padding-top: 100%; /* 1:1 Aspect ratio */
  background: #f7f4ee;
  overflow: hidden;
}

.product-thumb-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.badge-sale {
  background: var(--accent-orange);
  color: #ffffff;
}

.badge-featured {
  background: var(--primary-navy);
  color: #ffffff;
}

.product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: all 0.2s;
  color: var(--text-light);
}

.product-wishlist-btn:hover,
.product-wishlist-btn.active {
  color: #ef4444;
  border-color: #ef4444;
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  margin-top: auto;
}

.price-current {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-orange);
}

.price-original {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid #f3efe8;
  padding-top: 12px;
  margin-bottom: 14px;
}

.stock-pill {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stock-in {
  color: #047857;
}

.stock-low {
  color: #a16207;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.btn-add-cart {
  background: #f3efe8;
  color: var(--primary-navy);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-add-cart:hover {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
}

/* --- TRUST BADGES BAR --- */
.trust-bar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
}

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

/* --- FOOTER --- */
.site-footer {
  background: var(--primary-navy-dark);
  color: #d6cec1;
  padding-top: 60px;
  border-top: 3px solid var(--accent-orange);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 16px 0;
  color: var(--text-light);
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  font-size: 0.88rem;
  color: var(--text-light);
  transition: color 0.2s;
}

.footer-menu a:hover {
  color: var(--accent-orange);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.footer-bottom {
  background: #040d16;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-bottom-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-social-heading {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 750;
  white-space: nowrap;
}

.footer-social-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 6px 2px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-social-links a[hidden] {
  display: none !important;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  color: #ffd18a;
  text-decoration: underline;
}

.footer-social-links a:focus-visible {
  outline: 2px solid #ffd18a;
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-social-links a[href*="instagram"]::before {
  content: "IG";
  margin-right: 9px;
  color: #a83278;
  font-size: 0.72rem;
  font-weight: 900;
}

.footer-social-links a[href*="facebook"]::before {
  content: "f";
  margin-right: 9px;
  color: #1877f2;
  font-size: 1.1rem;
  font-weight: 900;
}

@media (max-width: 540px) {
  .footer-social-links {
    gap: 6px 16px;
  }

  .footer-social-heading {
    flex-basis: 100%;
  }

  .footer-social-links a {
    min-height: 40px;
  }
}

.homepage-promo-banner {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.homepage-promo-banner.has-image {
  min-height: 260px;
  background-position: center;
}

.homepage-promo-banner.has-image .homepage-promo-copy {
  max-width: 680px;
}

.category-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 42%);
  align-items: center;
  min-height: 340px;
  overflow: hidden;
  margin: 18px 0 42px;
  border: 1px solid #e8e2d8;
  border-radius: 24px;
  background: linear-gradient(120deg, #211e1a 4%, #3b342a 62%, #62513c 100%);
  box-shadow: var(--shadow-lg);
}

.category-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 25, 21, .98) 0%, rgba(35, 31, 26, .86) 48%, rgba(35, 31, 26, .12) 100%);
  content: "";
}

.category-hero-copy {
  z-index: 2;
  max-width: 720px;
  padding: clamp(26px, 6vw, 64px);
  color: #fff;
}

.category-hero-breadcrumb {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: #e8d4b5;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.category-hero h1 {
  max-width: 640px;
  margin: 0 0 14px;
  font-family: var(--font-brand);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.06;
}

.category-hero p {
  max-width: 560px;
  margin: 0;
  color: #eee7dc;
  font-size: 1rem;
  line-height: 1.7;
}

.category-hero-cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
  padding: 12px 17px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  color: #fff;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.category-hero-cta:hover,
.category-hero-cta:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,.13);
}

.category-hero-image {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 52%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.category-products-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
}

.category-products-heading h2 {
  margin: 4px 0 0;
  color: #26231f;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.category-product-count {
  padding: 8px 13px;
  border: 1px solid #e8e2d8;
  border-radius: 999px;
  background: #fff;
  color: #625d54;
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
}

.category-empty-state {
  grid-column: 1 / -1;
  padding: clamp(32px, 7vw, 72px) 20px;
  border: 1px dashed #d6cec1;
  border-radius: 20px;
  background: #faf8f4;
  text-align: center;
}

.category-empty-state > span {
  color: #a16207;
  font-size: 2rem;
}

.category-empty-state h3 {
  margin: 10px 0 8px;
  color: #26231f;
  font-size: 1.35rem;
}

.category-empty-state p {
  margin: 0 0 20px;
  color: #69645b;
}

@media (max-width: 640px) {
  .category-hero {
    grid-template-columns: 1fr;
    min-height: 360px;
    margin-top: 12px;
    border-radius: 18px;
  }

  .category-hero::after {
    background: linear-gradient(0deg, rgba(28,25,21,.96) 0%, rgba(28,25,21,.66) 68%, rgba(28,25,21,.12) 100%);
  }

  .category-hero-image {
    width: 100%;
    height: 100%;
    opacity: .8;
  }

  .category-hero-copy {
    align-self: end;
    padding: 28px 24px;
  }

  .category-products-heading {
    align-items: center;
  }
}

.payment-methods-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.78rem;
}

.pay-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 4px;
  color: #ffffff;
}

/* --- DRAWER CART --- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 201;
  box-shadow: -5px 0 25px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  right: 0;
}

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

.drawer-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: #f7f4ee;
}

.drawer-cart-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3efe8;
}

.drawer-cart-img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.drawer-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.drawer-item-price {
  font-weight: 800;
  color: var(--accent-orange);
  font-size: 0.95rem;
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 5px solid var(--accent-orange);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s ease;
}

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

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .hero-banner {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .header-container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px;
    padding: 8px 10px;
  }

  .brand-logo-wrap {
    min-width: 0;
  }

  .brand-logo-img {
    width: clamp(56px, 20vw, 92px);
    height: auto;
  }

  .header-actions {
    gap: 4px;
  }

  .header-action-btn {
    min-width: 26px;
    min-height: 40px;
    padding: 0 2px;
    justify-content: center;
  }

  .header-action-btn > span:not(.icon, .action-count-badge) {
    display: none;
  }

  .header-action-btn .icon {
    font-size: 1.05rem;
    margin: 0;
  }

  .action-count-badge {
    right: -2px;
  }

  .header-search {
    grid-column: 2;
    grid-row: 1;
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }

  .search-input-wrap {
    min-height: 40px;
    padding: 3px 6px 3px 9px;
  }

  .search-input {
    min-width: 0;
    font-size: 14px;
  }

  .page-container {
    min-height: 0;
    padding: 20px 16px 36px;
  }

  .about-hero {
    padding: 28px 20px;
  }

  .about-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.6rem);
  }

  .about-story {
    padding: 20px;
  }

  .shipping-policy-content {
    padding: 20px;
  }

  .delivery-zones-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-banner {
    gap: 22px;
    margin-bottom: 32px;
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }

  .hero-tag {
    margin-bottom: 14px;
    padding: 6px 12px;
    font-size: 0.7rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
    line-height: 1.12;
    margin-bottom: 14px;
  }

  .hero-subtitle {
    margin-bottom: 22px;
    font-size: 1rem;
  }

  .hero-cta-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-cta-group > a {
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
  }

  .hero-features-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    margin-top: 20px;
    font-size: 0.76rem;
  }

  .hero-card-preview {
    max-height: 300px;
  }

  .hero-card-preview img {
    max-height: 300px;
    object-fit: cover;
  }

  .section-header {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .section-title {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.84rem;
  }

  .view-all-link {
    flex: 0 0 auto;
    min-height: 44px;
    font-size: 0.82rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 36px;
  }

  .category-card {
    padding: 16px 10px;
  }

  .category-img-wrap {
    width: 60px;
    height: 60px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 18px 36px;
  }

  .site-footer {
    padding-top: 40px;
  }

  .top-bar-links {
    display: none;
  }

  .top-bar {
    padding: 7px 12px;
    font-size: 0.75rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card {
    min-width: 0;
    border-radius: var(--radius-md);
  }

  .product-body {
    padding: 12px;
  }

  .product-category-tag {
    font-size: 0.66rem;
    letter-spacing: 0.3px;
  }

  .product-title {
    font-size: 0.9rem;
  }

  .price-current {
    font-size: 1.08rem;
  }

  .product-meta-row {
    gap: 6px;
    font-size: 0.68rem;
  }

  .product-wishlist-btn {
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
  }

  .product-badges {
    top: 8px;
    left: 8px;
  }

  .btn-add-cart {
    min-height: 44px;
    padding: 8px;
    font-size: 0.8rem;
  }

  .trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    padding: 16px;
    margin-bottom: 36px;
  }

  .trust-item {
    align-items: flex-start;
    gap: 10px;
  }

  .trust-icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .trust-title {
    font-size: 0.82rem;
  }

  .trust-desc {
    font-size: 0.72rem;
  }

  .cart-drawer {
    width: min(400px, 100vw);
    height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .toast-container {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
  }

  .toast {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .footer-bottom {
    padding: 16px;
  }

  .footer-bottom-container {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-methods-strip {
    flex-wrap: wrap;
  }
}

@media (max-width: 380px) {
  .product-detail-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  .page-container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .header-container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .products-grid,
  .category-grid {
    gap: 9px;
  }

  .product-body {
    padding: 10px;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .hero-features-list {
    grid-template-columns: 1fr;
  }
}

.tracking-form {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.tracking-field {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.tracking-field label {
  color: #514b42;
  font-size: 0.875rem;
  font-weight: 600;
}

.tracking-field input {
  width: 100%;
  min-width: 0;
  border: 1px solid #d6cec1;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .tracking-form {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-thumb-wrap img,
  .toast {
    animation: none;
    transition: none;
  }
}

.cart-layout > *,
.checkout-layout > * {
  min-width: 0;
}

.cart-table-wrap {
  overflow-x: auto;
}

.cart-table {
  min-width: 540px;
}

.checkout-payment-option > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .cart-layout,
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }

  .cart-table-card,
  .checkout-card {
    padding: 18px !important;
  }

  .checkout-contact-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .checkout-summary {
    position: static !important;
  }
}

.support-chat-root [hidden] {
  display: none !important;
}

.support-chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  min-width: 58px;
  min-height: 58px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: #26231f;
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
}

.support-chat-root[data-footer-visible="true"] {
  visibility: hidden;
}

.support-chat-launcher[aria-expanded="true"] {
  visibility: hidden;
  pointer-events: none;
}

.customer-notification-count[hidden] {
  display: none;
}

.customer-notification-center {
  position: relative;
}

.customer-notification-trigger {
  border: 0;
  background: transparent;
  color: inherit;
}

.customer-notification-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1100;
  width: min(360px, calc(100vw - 24px));
  max-height: min(460px, calc(100vh - 100px));
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-dark);
  box-shadow: var(--shadow-xl);
}

.customer-notification-panel h2 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.customer-notification-list {
  display: grid;
  gap: 8px;
}

.customer-notification-item {
  display: grid;
  width: 100%;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.customer-notification-item.is-unread {
  border-color: var(--brand-highlight);
  background: var(--accent-orange-light);
}

.customer-notification-item time {
  color: var(--text-muted);
  font-size: 0.75rem;
}

#support-unread-badge:not([hidden]) {
  display: inline-flex;
  min-width: 22px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.75rem;
  vertical-align: middle;
}

.support-chat-panel {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 32px));
  height: auto;
  max-height: min(600px, calc(100dvh - 110px));
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(214, 190, 146, 0.7);
  border-radius: 22px;
  background: linear-gradient(180deg, #fffaf3 0%, #f8f3ec 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
  transform: translateY(0);
}

.support-chat-launcher[aria-expanded="true"] + .support-chat-panel {
  bottom: 20px;
}

.support-chat-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  background: linear-gradient(115deg, #171310, #2b2118);
  color: #fff;
  border-bottom: 1px solid rgba(222,194,143,0.45);
}

.support-chat-brand-avatar,
.support-chat-welcome-avatar {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(222,194,143,0.7);
  border-radius: 50%;
  background: linear-gradient(145deg, #f3d9aa, #b68b4c);
  color: #221910;
  font-size: 1rem;
  font-weight: 900;
}

.support-chat-brand-avatar i {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 11px;
  height: 11px;
  border: 2px solid #211a14;
  border-radius: 50%;
  background: #5ecb8b;
}

.support-chat-header-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.support-chat-header-copy strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.support-chat-header-copy span {
  color: #e4d8c6;
  font-size: 0.76rem;
  line-height: 1.35;
}

.support-chat-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.support-chat-close:hover,
.support-chat-close:focus-visible {
  background: rgba(255,255,255,0.08);
}

.support-chat-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(246,239,232,0.8) 100%);
}

.support-chat-panel.has-conversation {
  height: min(600px, calc(100dvh - 110px));
}

.support-chat-status {
  margin: 0;
  padding: 8px 18px 0;
  color: #70552e;
  font-size: 0.75rem;
  line-height: 1.4;
}

.support-chat-status:empty {
  display: none;
}

.support-chat-messages {
  flex: 1;
  min-height: 120px;
  overflow-y: auto;
  padding: 12px 14px 8px;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-chat-message {
  max-width: 86%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 5px;
  background: #ffffff;
  border: 1px solid rgba(186, 149, 96, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  overflow-wrap: anywhere;
}

.support-chat-message-customer,
.support-chat-message-guest {
  margin-left: auto;
  background: linear-gradient(135deg, #f5d7a3 0%, #f8ebcd 100%);
  border-color: rgba(156, 111, 48, 0.22);
  border-radius: 14px 14px 5px 14px;
}

.support-chat-message-bot {
  background: #f3efe9;
  border-color: rgba(111, 101, 91, 0.18);
}

.support-chat-message strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  color: #5b4d43;
  letter-spacing: 0.01em;
}

.support-chat-message p {
  margin: 0;
  white-space: pre-wrap;
  font-size: 0.91rem;
  line-height: 1.5;
  color: #211b18;
}

.support-chat-message time {
  display: block;
  margin-top: 6px;
  color: #756b61;
  font-size: 0.68rem;
  text-align: right;
}

.support-chat-start,
.support-chat-composer {
  display: grid;
  gap: 12px;
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(214, 190, 146, 0.35);
  background: rgba(255,255,255,0.42);
}

.support-chat-start {
  flex: 0 0 auto;
  gap: 12px;
  padding: 15px 17px 17px;
  border-top: 0;
}

.support-chat-form-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 1px;
}

.support-chat-form-heading strong {
  color: #32271f;
  font-size: 1rem;
  font-weight: 800;
}

.support-chat-form-heading span {
  color: #82756a;
  font-size: 0.78rem;
}

.support-chat-start label {
  display: grid;
  gap: 6px;
  color: #2a2320;
  font-size: 0.78rem;
  font-weight: 700;
}

.support-chat-start span {
  color: #2d2622;
}

.support-chat-start input,
.support-chat-start textarea,
.support-chat-composer textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #e4ddd3;
  border-radius: 10px;
  background: #fff;
  color: #1a1714;
  resize: vertical;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.support-chat-start input:focus,
.support-chat-start textarea:focus,
.support-chat-composer textarea:focus {
  outline: none;
  border-color: #b77d2c;
  box-shadow: 0 0 0 3px rgba(183, 125, 44, 0.12);
  background: #fff;
}

.support-chat-start input::placeholder,
.support-chat-start textarea::placeholder,
.support-chat-composer textarea::placeholder {
  color: #a39a90;
}

.support-chat-start button,
.support-chat-composer button {
  justify-self: end;
  min-height: 42px;
  padding: 9px 18px;
  border: 0;
  border-radius: 10px;
  background: #1a1512;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.support-chat-start button:hover,
.support-chat-start button:focus-visible,
.support-chat-composer button:hover,
.support-chat-composer button:focus-visible {
  background: #2c241d;
  transform: translateY(-1px);
}

.support-chat-start button:disabled,
.support-chat-composer button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.support-chat-composer {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.support-chat-composer textarea {
  min-height: 52px;
}

.support-chat-actions {
  display: flex;
  justify-content: flex-end;
}

.support-chat-start .support-chat-actions button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid #2a2018;
  background: linear-gradient(110deg, #211912, #3c2b1d);
  box-shadow: 0 7px 16px rgba(46,32,20,0.14);
}

.support-chat-start .support-chat-actions button span:first-child {
  color: #fff;
}

.support-chat-start .support-chat-actions button span:last-child {
  color: #f0d7ae;
  font-size: 1.2rem;
}

.support-chat-new {
  margin: 0 18px 18px;
  padding: 8px 12px;
  border: 1px solid rgba(214, 190, 146, 0.5);
  border-radius: 10px;
  background: #fff;
  color: #2a2320;
  cursor: pointer;
  font-weight: 700;
}

.support-chat-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.support-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.7fr);
  gap: 18px;
  align-items: start;
}

.support-sidebar-panel,
.support-thread-panel {
  background: #171613;
  border: 1px solid #514b42;
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
}

.support-sidebar-panel {
  padding: 14px;
}

.support-thread-panel {
  padding: 14px;
}

.support-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.support-panel-header h3 {
  margin: 0;
  color: #dec28f;
  font-size: 1.02rem;
}

.support-panel-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #9ae6b4;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#support-conversation-list {
  display: grid;
  gap: 10px;
}

.support-conversation-item {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(222, 194, 143, 0.18);
  border-radius: 12px;
  background: rgba(38, 35, 31, 0.9);
  color: #f5efe8;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.support-conversation-item:hover,
.support-conversation-item:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(222, 194, 143, 0.45);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
}

.support-conversation-item.is-active {
  border-color: rgba(52, 211, 153, 0.7);
  background: rgba(14, 64, 51, 0.42);
}

.support-conversation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-conversation-name {
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-conversation-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.support-conversation-preview {
  margin: 0;
  color: #d6cec1;
  font-size: 0.82rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.support-conversation-meta {
  color: #a8a29d;
  font-size: 0.72rem;
}

.support-empty-state {
  padding: 18px 12px;
  border: 1px dashed rgba(222, 194, 143, 0.35);
  border-radius: 12px;
  color: #d6cec1;
  text-align: center;
}

#support-admin-messages {
  display: grid;
  gap: 10px;
  min-height: 200px;
  max-height: 430px;
  overflow: auto;
  padding: 12px;
  background: rgba(32, 30, 26, 0.98);
  border-radius: 12px;
  border: 1px solid rgba(222, 194, 143, 0.14);
}

.support-admin-message {
  padding: 10px 12px;
  border: 1px solid rgba(222, 194, 143, 0.22);
  border-radius: 12px;
  background: rgba(38, 35, 31, 0.9);
  color: #f5efe8;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.support-admin-message[data-sender-type="customer"],
.support-admin-message[data-sender-type="guest"] {
  border-left: 3px solid #fbbf24;
  background: rgba(92, 65, 20, 0.35);
}

.support-admin-message[data-sender-type="admin"] {
  border-left: 3px solid #34d399;
  background: rgba(11, 75, 52, 0.35);
}

.support-admin-message[data-sender-type="bot"] {
  border-left: 3px solid #60a5fa;
  background: rgba(17, 37, 66, 0.35);
}

.support-admin-message strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #dec28f;
}

.support-admin-message-meta {
  display: block;
  margin-bottom: 6px;
  color: #d6cec1;
  font-size: 0.7rem;
}

.support-admin-message p {
  margin: 0;
  white-space: pre-wrap;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #f8f5f0;
}

.support-reply-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.support-reply-form textarea {
  flex: 1;
  min-height: 72px;
  resize: vertical;
}

.support-reply-form textarea:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.support-reply-form textarea::placeholder {
  color: #a8a29d;
}

.support-reply-form button,
.admin-btn.secondary {
  min-height: 42px;
}

.admin-btn.secondary {
  background: #514b42;
  color: #fff;
}

@media (max-width: 900px) {
  .support-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.support-admin-message {
  padding: 10px 12px;
  border: 1px solid rgba(222, 194, 143, 0.25);
  border-radius: 10px;
  background: rgba(38, 35, 31, 0.9);
  color: #f5efe8;
}

.support-admin-message[data-sender-type="customer"],
.support-admin-message[data-sender-type="guest"] {
  border-left: 3px solid #f59e0b;
  background: rgba(92, 65, 20, 0.35);
}

.support-admin-message[data-sender-type="admin"] {
  border-left: 3px solid #34d399;
  background: rgba(11, 75, 52, 0.35);
}

.support-admin-message[data-sender-type="bot"] {
  border-left: 3px solid #60a5fa;
  background: rgba(17, 37, 66, 0.35);
}

.support-admin-message strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.82rem;
}

.support-admin-message-meta {
  display: block;
  margin-bottom: 6px;
  color: #d6cec1;
  font-size: 0.7rem;
}

.support-admin-message p {
  margin: 0;
  white-space: pre-wrap;
  font-size: 0.92rem;
  line-height: 1.55;
}

.support-chat-messages {
  flex: 1;
  min-height: 100px;
  overflow-y: auto;
  padding: 12px;
  overscroll-behavior: contain;
}

.support-chat-message {
  max-width: 90%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
  overflow-wrap: anywhere;
}

.support-chat-message-customer,
.support-chat-message-guest {
  margin-left: auto;
  background: var(--accent-orange-light);
}

.support-chat-message-bot {
  background: #f7f4ee;
}

.support-chat-message strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  color: #5b4d43;
}

.support-chat-message p {
  white-space: pre-wrap;
  font-size: 0.9rem;
}

.support-chat-start,
.support-chat-composer {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--border-color);
}

.support-chat-start label {
  display: grid;
  gap: 4px;
  color: var(--text-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.support-chat-start input,
.support-chat-start textarea,
.support-chat-composer textarea {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  color: var(--text-dark);
  resize: vertical;
}

.support-chat-start button,
.support-chat-composer button {
  justify-self: end;
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--primary-navy);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.support-chat-start button:disabled,
.support-chat-composer button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.support-chat-composer {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.support-chat-new {
  margin: 0 12px 12px;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  color: var(--text-dark);
  cursor: pointer;
}

.support-chat-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .support-chat-launcher {
    right: 14px;
    bottom: 14px;
  }

  .support-chat-panel {
    right: 10px;
    bottom: 10px;
    width: min(390px, calc(100vw - 40px));
    max-height: calc(100dvh - 20px);
  }

  .support-chat-panel.has-conversation {
    height: calc(100dvh - 20px);
  }

  .support-chat-start,
  .support-chat-composer {
    padding-right: 13px;
    padding-left: 13px;
  }

  .support-chat-launcher[aria-expanded="true"] + .support-chat-panel {
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-chat-root *,
  .support-chat-root *::before,
  .support-chat-root *::after {
    animation: none !important;
    transition: none !important;
  }
}

.support-chat-launcher {
  display: inline-flex;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #211912, #45301d);
  box-shadow: 0 12px 32px rgba(37, 25, 16, 0.28), 0 2px 6px rgba(37, 25, 16, 0.16);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.support-chat-unread-badge {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #d92f36;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.support-chat-unread-badge[hidden] {
  display: none;
}

.support-chat-launcher svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #f0d7ae;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.support-chat-launcher:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #302116, #563a22);
  box-shadow: 0 16px 38px rgba(37, 25, 16, 0.32), 0 3px 8px rgba(37, 25, 16, 0.18);
}

.support-chat-launcher:focus-visible,
.support-chat-close:focus-visible,
.support-chat-new:focus-visible,
.support-chat-start button:focus-visible,
.support-chat-composer button:focus-visible {
  outline: 3px solid #d5aa62;
  outline-offset: 3px;
}

.support-chat-panel {
  width: min(410px, calc(100vw - 28px));
  max-height: min(680px, calc(100dvh - 104px));
  border: 1px solid rgba(153, 117, 69, 0.28);
  border-radius: 24px;
  background: #fcfaf7;
  box-shadow: 0 28px 80px rgba(28, 20, 13, 0.3), 0 4px 14px rgba(28, 20, 13, 0.12);
}

.support-chat-header {
  min-height: 82px;
  padding: 16px 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 177, 115, 0.2), transparent 38%),
    linear-gradient(120deg, #211912, #35261b);
}

.support-chat-brand-avatar {
  width: 46px;
  height: 46px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 3px 12px rgba(0, 0, 0, 0.2);
}

.support-chat-header-copy strong {
  font-size: 1.02rem;
}

.support-chat-header-copy span {
  max-width: 270px;
  color: #e7d9c4;
  font-size: 0.73rem;
}

.support-chat-close {
  flex: 0 0 auto;
  border: 1px solid transparent;
}

.support-chat-close:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
}

.support-chat-body {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(224, 199, 157, 0.12), transparent 42%),
    linear-gradient(180deg, #fbf8f3, #f7f2eb);
}

.support-chat-status:not(:empty) {
  margin: 11px 16px 0;
  padding: 8px 11px;
  border: 1px solid rgba(168, 130, 77, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #6a5335;
  font-size: 0.74rem;
}

.support-chat-panel.has-conversation {
  height: min(680px, calc(100dvh - 104px));
}

.support-chat-messages {
  gap: 12px;
  padding: 18px 16px 14px;
  scrollbar-color: #c9b99f transparent;
  scrollbar-width: thin;
}

.support-chat-message {
  max-width: 84%;
  padding: 11px 14px;
  border: 1px solid rgba(116, 95, 70, 0.12);
  border-radius: 17px 17px 17px 6px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(48, 36, 24, 0.06);
}

.support-chat-message-customer,
.support-chat-message-guest {
  border-color: rgba(157, 116, 54, 0.2);
  border-radius: 17px 17px 6px 17px;
  background: linear-gradient(145deg, #f6e5c7, #f2d9ad);
  box-shadow: 0 4px 12px rgba(139, 103, 53, 0.1);
}

.support-chat-message-bot {
  border-color: rgba(68, 116, 92, 0.16);
  background: #f0f5ef;
}

.support-chat-message strong {
  margin-bottom: 5px;
  color: #766047;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.support-chat-message p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.support-chat-message time {
  margin-top: 8px;
  color: #81776c;
  font-size: 0.66rem;
}

.support-chat-start,
.support-chat-composer {
  gap: 13px;
  padding: 17px 18px 19px;
  border-top: 1px solid rgba(164, 135, 96, 0.16);
  background: rgba(255, 255, 255, 0.78);
}

.support-chat-start {
  padding-top: 20px;
}

.support-chat-form-heading {
  gap: 6px;
}

.support-chat-eyebrow {
  color: #9a6d2d !important;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.support-chat-form-heading strong {
  color: #2b2119;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.support-chat-form-heading > span:last-child {
  color: #786e63;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.5;
}

.support-chat-start textarea,
.support-chat-composer textarea {
  min-height: 54px;
  padding: 12px 14px;
  border-color: #e5ddd1;
  border-radius: 13px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(40, 30, 20, 0.025);
  font-size: 0.9rem;
  line-height: 1.5;
}

.support-chat-start textarea {
  min-height: 116px;
}

.support-chat-start textarea:focus,
.support-chat-composer textarea:focus {
  border-color: #b78a4c;
  box-shadow: 0 0 0 4px rgba(183, 138, 76, 0.13);
}

.support-chat-start .support-chat-actions button,
.support-chat-composer .support-chat-actions button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #281d14, #49321e);
  box-shadow: 0 6px 15px rgba(60, 42, 25, 0.16);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.support-chat-start .support-chat-actions button {
  width: 100%;
  justify-content: space-between;
}

.support-chat-start .support-chat-actions button span:last-child {
  color: #f0d7ae;
}

.support-chat-composer .support-chat-actions button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #f0d7ae;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.support-chat-start .support-chat-actions button:hover,
.support-chat-composer .support-chat-actions button:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
  box-shadow: 0 9px 20px rgba(60, 42, 25, 0.2);
}

.support-chat-start .support-chat-actions button:disabled,
.support-chat-composer .support-chat-actions button:disabled {
  transform: none;
  filter: none;
}

.support-chat-new {
  margin: 0 18px 18px;
  padding: 10px 14px;
  border-color: rgba(153, 117, 69, 0.32);
  border-radius: 11px;
  color: #624722;
  font-size: 0.82rem;
}

@media (max-width: 480px) {
  .support-chat-panel {
    right: 8px;
    bottom: 8px;
    width: min(410px, calc(100vw - 48px));
    max-height: calc(100dvh - 16px);
    border-radius: 22px;
  }

  .support-chat-panel.has-conversation {
    height: calc(100dvh - 16px);
  }

  .support-chat-launcher {
    right: 14px;
    bottom: 14px;
    min-height: 52px;
    padding: 0 17px;
  }

  .support-chat-header {
    padding: 14px;
  }

  .support-chat-start,
  .support-chat-composer {
    padding-right: 14px;
    padding-bottom: max(15px, env(safe-area-inset-bottom));
    padding-left: 14px;
  }
}

@media (max-width: 360px) {
  .support-chat-header-copy span {
    font-size: 0.68rem;
  }

  .support-chat-message {
    max-width: 91%;
  }
}

.support-chat-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -2px 0 1px;
}

.support-chat-prompts button {
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(146, 111, 63, 0.23);
  border-radius: 999px;
  background: #fffdf9;
  color: #604a30;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.support-chat-prompts button:hover,
.support-chat-prompts button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(146, 111, 63, 0.52);
  background: #f5ead8;
}

.support-chat-prompts button:focus-visible {
  outline: 2px solid #b78a4c;
  outline-offset: 2px;
}

.support-chat-launcher {
  top: auto;
  right: 0;
  bottom: 20px;
  z-index: 190;
  width: 58px;
  min-width: 58px;
  min-height: 52px;
  padding: 0;
  border-radius: 14px 0 0 14px;
  transform: none;
}

.support-chat-launcher:hover {
  transform: translateX(-3px);
}

@media (max-width: 480px) {
  .support-chat-panel {
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .support-chat-panel.has-conversation {
    height: calc(100dvh - 16px);
  }

  .support-chat-launcher {
    top: auto;
    right: 0;
    bottom: 16px;
    min-height: 48px;
    padding: 0;
  }
}
