:root {
  --brand: #0067FF;
  --brand-dark: #0052CC;
  --brand-light: #80B3FF;
  --accent: #f59e0b;
  --ink: #111827;
  --muted: #6b7280;
  --bg: #f7f8fa;
  --card: #ffffff;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 12px 32px rgba(17, 24, 39, 0.12);
}

* { box-sizing: border-box; }

/* Ensure hidden elements are actually hidden */
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

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

img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Shipping Banner */
.shipping-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 103, 255, 0.2);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 20px;
}

/* Mobile hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 41;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
  white-space: nowrap;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--ink);
}

.logo-tagline {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--brand);
  text-transform: uppercase;
}

nav.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

nav.main-nav a {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}

nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--brand-dark);
  border-color: var(--brand-light);
}

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

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--brand-dark);
  font-size: 0.95rem;
}

.cart-count {
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 7px;
  min-width: 18px;
  text-align: center;
}

/* Hero */
.hero {
  background: radial-gradient(1200px 400px at 20% -10%, #d1fae5 0%, transparent 60%),
              linear-gradient(160deg, #ecfdf5 0%, #f7f8fa 55%);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--ink);
}

.hero h1 span { color: var(--brand-dark); }

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 26px;
  max-width: 46ch;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.badge {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.hero-visual .tile {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .1s, box-shadow .15s, background .15s;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  color: white;
}
.btn-primary:hover { background: var(--brand-dark); }

.btn-outline {
  background: white;
  border-color: var(--border);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); }

.btn-secondary {
  background: var(--border);
  color: var(--ink);
  border-color: var(--border);
}
.btn-secondary:hover { background: #d1d5db; }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; min-height: 48px; }

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--ink);
  padding: 5px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.15s;
  min-width: 36px;
  text-align: center;
}

.lang-btn:hover {
  background: rgba(0, 103, 255, 0.1);
  color: var(--brand);
}

.lang-btn.active {
  background: var(--brand);
  color: white;
}

/* Section */
.section { padding: 52px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 12px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 1.5rem; margin: 0; }
.section-head p { color: var(--muted); margin: 4px 0 0; }

/* Category chips */
.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.chip.active, .chip:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.product-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.product-thumb svg { width: 100%; height: 100%; }

.product-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }

.product-cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); font-weight: 700; }
.product-name { font-weight: 700; font-size: 1rem; margin: 0; }
.product-short { color: var(--muted); font-size: 0.87rem; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.price { font-weight: 800; font-size: 1.1rem; color: var(--ink); }

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.product-detail .thumb-large {
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 40px;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.product-detail .thumb-large svg { width: 70%; height: 70%; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.spec-table td { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.spec-table td:first-child { color: var(--muted); width: 40%; }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.qty-input { width: 64px; padding: 10px; border-radius: 8px; border: 1px solid var(--border); text-align: center; font-size: 1rem; }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 0.8rem; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border); padding: 10px 8px; }
.cart-table td { padding: 14px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-item-name { font-weight: 700; }
.cart-item-cat { font-size: 0.8rem; color: var(--muted); }
.cart-thumb { width: 56px; height: 56px; border-radius: 8px; background: linear-gradient(135deg, #ecfdf5, #f0fdfa); display: flex; align-items: center; justify-content: center; padding: 8px; }
.remove-link { color: #dc2626; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.cart-summary { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.95rem; }
.summary-total { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.form-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--border); font-size: 0.95rem; font-family: inherit;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.notice-box {
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 10px; padding: 14px 16px; font-size: 0.88rem; margin-bottom: 20px;
}
.success-box {
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: var(--radius); padding: 40px; text-align: center;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d1d5db;
  padding: 44px 0 26px;
  margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.site-footer h4 { color: white; font-size: 0.95rem; margin: 0 0 12px; }
.site-footer a { color: #9ca3af; display: block; padding: 4px 0; font-size: 0.9rem; }
.site-footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid #374151; padding-top: 18px; font-size: 0.82rem; color: #9ca3af; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Add-to-Cart Modal */
#add-to-cart-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#add-to-cart-modal.open {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
  padding: 32px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-header h2 {
  font-size: 1.4rem;
  margin: 0 0 8px 0;
  color: var(--ink);
}

.modal-product {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg);
  border-radius: 12px;
}

.modal-product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.modal-product-info {
  flex: 1;
}

.modal-product-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.modal-recommendations {
  margin-bottom: 24px;
}

.modal-recommendations h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: var(--ink);
}

.modal-rec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.modal-rec-item {
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.modal-rec-item:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 12px rgba(0, 103, 255, 0.1);
}

.modal-rec-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.modal-rec-item-name {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modal-rec-item-price {
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 600;
}

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

.modal-actions button {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-btn-primary {
  background: var(--brand);
  color: white;
}

.modal-btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 103, 255, 0.2);
}

.modal-btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
}

.modal-btn-secondary:hover {
  background: var(--border);
  border-color: var(--muted);
}

/* Chatbot */
#chatbot-launcher {
  position: fixed; bottom: 22px; right: 22px; z-index: 100;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--brand); color: white; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.4);
  cursor: pointer; font-size: 1.5rem;
}
#chatbot-panel {
  position: fixed; bottom: 92px; right: 22px; z-index: 100;
  width: 360px; max-width: calc(100vw - 32px); height: 480px; max-height: calc(100vh - 140px);
  background: white; border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: none; flex-direction: column; overflow: hidden;
}
#chatbot-panel.open { display: flex; }
.chat-header {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: white; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between;
}
.chat-header .title { font-weight: 700; font-size: 0.95rem; }
.chat-header .subtitle { font-size: 0.75rem; opacity: 0.85; }
.chat-close { background: none; border: none; color: white; font-size: 1.2rem; cursor: pointer; }
.chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f9fafb; }
.chat-msg { max-width: 82%; padding: 9px 12px; border-radius: 12px; font-size: 0.87rem; line-height: 1.4; }
.chat-msg.bot { background: white; border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 3px; }
.chat-msg.user { background: var(--brand); color: white; align-self: flex-end; border-bottom-right-radius: 3px; }
.chat-msg.typing { color: var(--muted); font-style: italic; }
.chat-input-row { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--border); }
.chat-input-row input { flex: 1; padding: 10px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 0.87rem; }
.chat-attach-input { display: none !important; }
.chat-input-row button { background: var(--brand); color: white; border: none; border-radius: 999px; width: 40px; height: 40px; cursor: pointer; }

.chat-attach-btn {
  width: 32px !important;
  height: 32px !important;
  font-size: 0.9rem !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

/* Embedded support chat widget */
#contact-chat-embed {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 400px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Chat feedback form */
#chat-feedback-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

#chat-feedback-overlay.show {
  display: flex;
}

.chat-feedback-form {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 24px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.chat-feedback-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.chat-feedback-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.chat-rating-stars {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.star-btn {
  background: none;
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
  padding: 0;
}

.star-btn:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.star-btn.selected {
  opacity: 1;
}

.chat-feedback-email-row {
  margin-bottom: 16px;
}

.chat-feedback-email-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}

.chat-feedback-email-row input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.chat-feedback-actions {
  display: flex;
  gap: 10px;
}

.chat-feedback-actions button {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.chat-feedback-submit {
  background: var(--brand);
  color: white;
}

.chat-feedback-submit:hover {
  background: var(--brand-dark);
}

.chat-feedback-skip {
  background: var(--border);
  color: var(--ink);
}

.chat-feedback-skip:hover {
  background: #e0e0e0;
}

/* 3D Model Viewer */
.chat-3d-viewer {
  width: 100%;
  height: 300px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
}

.chat-3d-viewer canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* Model customization form */
.model-customization {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.customization-form {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: 300px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.customization-form h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  color: var(--ink);
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink);
}

.form-group input[type="number"],
.form-group input[type="text"],
.form-group select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group.checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.form-group.checkbox label {
  margin: 0;
  font-weight: 500;
}

.customization-form button {
  width: 100%;
  padding: 10px 16px;
  margin-top: 4px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-generate {
  background: var(--brand);
  color: white;
  margin-bottom: 8px;
}

.btn-generate:hover {
  background: var(--brand-dark);
}

.btn-cancel {
  background: var(--border);
  color: var(--ink);
}

.btn-cancel:hover {
  background: #e0e0e0;
}

/* Model actions */
.model-actions {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.btn-download {
  background: var(--brand);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-download:hover {
  background: var(--brand-dark);
}

.model-actions .loading,
.model-actions .error {
  padding: 12px 16px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
}

.model-actions .loading {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.model-actions .error {
  background: #fecaca;
  color: #dc2626;
}

.model-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.74);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.model-close-btn:hover {
  background: rgba(17, 24, 39, 0.9);
}

.chat-render-approval {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.chat-render-approval-text {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--ink);
}

.chat-render-approval-actions {
  display: flex;
  gap: 8px;
}

.chat-render-approve-btn,
.chat-render-adjust-btn {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 9px 10px;
  font-weight: 600;
  cursor: pointer;
}

.chat-render-approve-btn {
  background: var(--brand);
  color: #fff;
}

.chat-render-approve-btn:hover {
  background: var(--brand-dark);
}

.chat-render-adjust-btn {
  background: var(--border);
  color: var(--ink);
}

.chat-render-adjust-btn:hover {
  background: #e5e7eb;
}

.chat-spec-offer-form {
  display: grid;
  gap: 8px;
  width: 100%;
}

.chat-spec-offer-form input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.chat-spec-offer-form .chat-spec-submit-btn {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.chat-spec-offer-form .chat-spec-submit-btn:hover {
  background: var(--brand-dark);
}

/* Tablet and larger devices (768px - 1024px) - subtle adjustments only */
@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-head h2 {
    font-size: 1.3rem;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }
}

/* Tablets (768px) */
@media (max-width: 768px) {
  .shipping-banner {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .header-inner {
    padding: 12px 14px;
    gap: 12px;
  }

  .hamburger {
    display: flex;
  }

  .logo-text {
    display: none;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  nav.main-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    flex-wrap: nowrap;
    z-index: 35;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  nav.main-nav.active {
    display: flex;
  }

  nav.main-nav a {
    padding: 12px 16px;
    border-bottom: none;
    border-left: 3px solid transparent;
    display: block;
    font-size: 0.9rem;
  }

  nav.main-nav a:hover, nav.main-nav a.active {
    background: var(--bg);
    border-left-color: var(--brand);
    border-bottom-color: transparent;
  }

  .cart-link {
    font-size: 0.85rem;
    padding: 8px;
  }

  .cart-count {
    font-size: 0.65rem;
    padding: 1px 5px;
  }

  .lang-btn {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  /* Hero */
  .hero {
    padding: 44px 0 40px;
  }

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

  .hero h1 {
    font-size: 1.7rem;
    margin-bottom: 12px;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .hero-visual {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
  }

  .hero-visual .tile {
    padding: 12px;
  }

  /* Buttons */
  .btn {
    padding: 11px 18px;
    font-size: 0.9rem;
    min-height: 44px;
  }

  .btn-sm {
    padding: 7px 12px;
    min-height: 40px;
  }

  /* Section */
  .section {
    padding: 40px 0;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .section-head h2 {
    font-size: 1.3rem;
  }

  .section-head p {
    font-size: 0.9rem;
  }

  /* Product grid */
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }

  .product-card {
    border-radius: 10px;
  }

  .product-thumb {
    padding: 16px;
  }

  .product-body {
    padding: 12px;
  }

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

  .product-short {
    font-size: 0.8rem;
  }

  .price {
    font-size: 1rem;
  }

  /* Product detail */
  .product-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-detail .thumb-large {
    padding: 30px;
  }

  .spec-table td {
    padding: 6px 0;
    font-size: 0.85rem;
  }

  .qty-row {
    gap: 8px;
    margin: 16px 0;
  }

  .qty-input {
    width: 56px;
    padding: 8px;
  }

  /* Cart */
  .cart-table {
    font-size: 0.85rem;
  }

  .cart-table th {
    font-size: 0.75rem;
    padding: 8px 4px;
  }

  .cart-table td {
    padding: 10px 4px;
  }

  .cart-thumb {
    width: 48px;
    height: 48px;
  }

  .cart-summary {
    padding: 18px;
  }

  .summary-row {
    font-size: 0.9rem;
  }

  .summary-total {
    font-size: 1rem;
  }

  /* Checkout */
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-card {
    padding: 20px;
  }

  .form-row {
    margin-bottom: 14px;
  }

  .form-row label {
    font-size: 0.8rem;
    margin-bottom: 5px;
  }

  .form-row input, .form-row textarea, .form-row select {
    padding: 12px;
    font-size: 16px;
    min-height: 44px;
    border-radius: 6px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Chatbot */
  #chatbot-launcher {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
    font-size: 1.3rem;
  }

  #chatbot-panel {
    bottom: 76px;
    right: 16px;
    left: 16px;
    width: auto;
    height: 400px;
    max-width: none;
  }

  .chat-messages {
    padding: 10px;
  }

  .chat-msg {
    max-width: 85%;
    font-size: 0.8rem;
    padding: 8px 10px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer h4 {
    font-size: 0.9rem;
  }

  .site-footer a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }
}

/* Desktop (769px and above) */
@media (min-width: 769px) {
  .header-inner {
    padding: 14px 20px;
    gap: 20px;
  }

  .hamburger {
    display: none !important;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
  }

  .logo-text {
    display: flex !important;
  }

  nav.main-nav {
    display: flex !important;
    position: static;
    gap: 22px;
    flex-wrap: wrap;
    border: none;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }

  nav.main-nav.active {
    display: flex;
  }

  nav.main-nav a {
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    border-left: none;
    display: inline;
    font-size: 0.95rem;
  }

  nav.main-nav a:hover, nav.main-nav a.active {
    color: var(--brand-dark);
    border-color: var(--brand-light);
    border-left-color: transparent;
  }

  /* Desktop Chatbot */
  #chatbot-launcher {
    width: 58px;
    height: 58px;
    bottom: 22px;
    right: 22px;
    font-size: 1.5rem;
  }

  #chatbot-panel {
    bottom: 92px;
    right: 22px;
    left: auto;
    width: 360px;
    height: 480px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 140px);
  }

  .chat-messages {
    padding: 14px;
  }

  .chat-msg {
    max-width: 82%;
    font-size: 0.87rem;
    padding: 9px 12px;
  }

  /* Desktop embedded support chat */
  #contact-chat-embed {
    height: 500px;
    max-height: 600px;
  }
}

/* Small phones (max 480px) */
@media (max-width: 480px) {
  .shipping-banner {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  /* Mobile embedded support chat */
  #contact-chat-embed {
    height: 350px;
  }

  .container {
    padding: 0 12px;
  }

  .header-inner {
    padding: 10px 12px;
    gap: 8px;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
  }

  .logo-name {
    font-size: 0.95rem;
  }

  .logo-tagline {
    font-size: 0.58rem;
  }

  nav.main-nav {
    top: 54px;
  }

  nav.main-nav a {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .cart-link {
    font-size: 0.75rem;
    gap: 4px;
  }

  .cart-count {
    font-size: 0.6rem;
    padding: 0px 4px;
  }

  .lang-switch {
    gap: 4px;
  }

  .lang-btn {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  /* Hero */
  .hero {
    background: linear-gradient(160deg, #ecfdf5 0%, #f7f8fa 55%);
    padding: 32px 0 28px;
  }

  .hero h1 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  .badge {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  .hero-badges {
    margin-top: 14px;
    gap: 6px;
  }

  .hero-visual {
    margin-top: 16px;
  }

  .hero-visual .tile {
    padding: 8px;
  }

  /* Buttons */
  .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    min-height: 40px;
  }

  .btn-block {
    width: 100%;
  }

  /* Section */
  .section {
    padding: 28px 0;
  }

  .section-head {
    margin-bottom: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head h2 {
    font-size: 1.15rem;
  }

  .section-head p {
    font-size: 0.85rem;
    margin-top: 4px;
  }

  /* Category chips */
  .chip-row {
    margin-bottom: 16px;
    gap: 6px;
  }

  .chip {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  /* Product grid */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card {
    border-radius: 8px;
  }

  .product-thumb {
    aspect-ratio: 1;
    padding: 12px;
  }

  .product-body {
    padding: 10px;
    gap: 4px;
  }

  .product-cat {
    font-size: 0.65rem;
  }

  .product-name {
    font-size: 0.8rem;
  }

  .product-short {
    display: none;
  }

  .price {
    font-size: 0.95rem;
  }

  /* Product detail */
  .product-detail .thumb-large {
    padding: 20px;
  }

  .spec-table td {
    padding: 5px 0;
    font-size: 0.8rem;
  }

  /* Cart */
  .cart-table {
    font-size: 0.75rem;
  }

  .cart-table th {
    font-size: 0.65rem;
    padding: 6px 2px;
  }

  .cart-table td {
    padding: 8px 2px;
  }

  .cart-item-name {
    font-size: 0.85rem;
  }

  .cart-thumb {
    width: 40px;
    height: 40px;
  }

  .cart-summary {
    padding: 14px;
  }

  .summary-row {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .summary-total {
    font-size: 0.95rem;
    padding-top: 10px;
    margin-top: 10px;
  }

  /* Checkout */
  .form-card {
    padding: 16px;
  }

  .form-row {
    margin-bottom: 12px;
  }

  .form-row label {
    font-size: 0.75rem;
    font-weight: 700;
  }

  .form-row input, .form-row textarea, .form-row select {
    padding: 11px;
    font-size: 16px;
    min-height: 44px;
    border-radius: 6px;
  }

  .notice-box {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .success-box {
    padding: 24px;
  }

  /* Chatbot */
  #chatbot-launcher {
    width: 50px;
    height: 50px;
    bottom: 12px;
    right: 12px;
    font-size: 1.2rem;
  }

  #chatbot-panel {
    bottom: 62px;
    right: 12px;
    left: 12px;
    width: auto;
    height: 320px;
  }

  .chat-header {
    padding: 12px;
  }

  .chat-header .title {
    font-size: 0.85rem;
  }

  .chat-header .subtitle {
    font-size: 0.65rem;
  }

  .chat-messages {
    padding: 8px;
    gap: 6px;
  }

  .chat-msg {
    max-width: 88%;
    font-size: 0.75rem;
    padding: 6px 8px;
  }

  .chat-input-row {
    gap: 6px;
    padding: 8px;
  }

  .chat-input-row input {
    padding: 8px 10px;
    font-size: 14px;
    min-height: 36px;
  }

  .chat-input-row button {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  /* Footer */
  .footer-grid {
    gap: 16px;
  }

  .site-footer {
    padding: 32px 0 16px;
    margin-top: 40px;
  }

  .site-footer h4 {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .site-footer a {
    font-size: 0.8rem;
    padding: 3px 0;
  }

  .footer-bottom {
    font-size: 0.7rem;
    flex-direction: column;
    gap: 6px;
  }

  /* Modal responsive */
  .modal-content {
    padding: 24px;
    max-width: none;
    width: calc(100% - 24px);
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .modal-rec-grid {
    grid-template-columns: 1fr;
  }

  .modal-rec-item {
    padding: 10px;
  }

  .modal-rec-item img {
    width: 50px;
    height: 50px;
  }

  .modal-rec-item-name {
    font-size: 0.7rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions button {
    width: 100%;
  }
}

/* Landscape orientation optimization */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    padding: 20px 0;
  }

  .hero h1 {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .section {
    padding: 20px 0;
  }

  #chatbot-panel {
    height: calc(100vh - 100px);
  }
}

/* ============================================================================ */
/* ABOUT PAGE STYLING */
/* ============================================================================ */

/* About Hero Section */
.about-hero {
  background: linear-gradient(135deg, #f7f8fa 0%, #f3f4f6 100%);
  padding: 60px 0;
  margin-bottom: 40px;
}

.about-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-hero__copy h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 16px 0 24px;
  color: var(--ink);
}

.about-hero__copy p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 24px;
}

.about-hero__copy .eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.about-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.about-logo-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  max-width: 300px;
}

.about-logo-card img {
  width: 100%;
  height: auto;
}

.about-floating-img {
  position: absolute;
  width: 180px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.about-floating-img--one {
  top: -20px;
  right: -40px;
  width: 200px;
}

.about-floating-img--two {
  bottom: 0;
  left: -60px;
  width: 180px;
}

/* About Split Section */
.about-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-split h2 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 12px 0 24px;
  color: var(--ink);
}

.about-split p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-split .eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about-highlight-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.about-highlight-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--ink);
}

.about-highlight-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* About USP Grid */
.about-usp-section {
  background: white;
  padding: 60px 0;
  margin-bottom: 40px;
}

.about-usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.about-usp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.about-usp-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.about-usp-icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 16px;
}

.about-usp-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 16px 0 12px;
  color: var(--ink);
}

.about-usp-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* About Process Grid */
.about-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.about-process-grid article {
  position: relative;
  padding-left: 0;
}

.about-process-grid article span {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: 16px;
}

.about-process-grid article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}

.about-process-grid article p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* About Quote Section */
.about-quote {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
  margin: 40px 0;
}

.about-quote h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 24px;
}

.about-quote p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.about-quote strong {
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  margin-top: 32px;
}

/* About CTA Section */
.about-cta {
  text-align: center;
  padding: 40px 0;
}

.about-cta h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}

.about-cta p {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 24px;
}

/* Responsive: Tablet (768px and below) */
@media (max-width: 768px) {
  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-hero__copy h1 {
    font-size: 1.8rem;
  }
  .about-hero {
    padding: 40px 0;
    margin-bottom: 32px;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-split h2 {
    font-size: 1.5rem;
  }

  .about-usp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-usp-card {
    padding: 24px 18px;
  }

  .about-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-process-grid article span {
    font-size: 2.5rem;
  }

  .about-quote {
    padding: 40px 0;
  }

  .about-quote h2 {
    font-size: 1.5rem;
  }

  .about-quote p {
    font-size: 1rem;
  }

  .about-cta h2 {
    font-size: 1.5rem;
  }
}

/* Responsive: Mobile (480px and below) */
@media (max-width: 480px) {
  .about-hero {
    padding: 32px 0;
    margin-bottom: 24px;
  }

  .about-hero__copy h1 {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .about-hero__copy p {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .about-hero__actions {
    flex-direction: column;
  }

  .about-hero__actions .btn {
    width: 100%;
  }

  .about-hero__visual {
    min-height: 300px;
  }

  .about-logo-card {
    padding: 24px;
    max-width: 250px;
  }

  .about-floating-img--one {
    width: 140px;
  }

  .about-floating-img--two {
    width: 130px;
  }

  .about-split h2 {
    font-size: 1.3rem;
  }

  .about-split p {
    font-size: 0.95rem;
  }

  .about-highlight-card {
    padding: 20px;
  }

  .about-highlight-card h3 {
    font-size: 1.1rem;
  }

  .about-usp-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-usp-card {
    padding: 20px 16px;
  }

  .about-usp-icon {
    font-size: 2rem;
  }

  .about-usp-card h3 {
    font-size: 1rem;
  }

  .about-usp-card p {
    font-size: 0.9rem;
  }

  .about-process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-process-grid article span {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .about-process-grid article h3 {
    font-size: 1rem;
  }

  .about-quote {
    padding: 32px 0;
    margin: 32px 0;
  }

  .about-quote h2 {
    font-size: 1.3rem;
  }

  .about-quote p {
    font-size: 0.95rem;
  }

  .about-cta h2 {
    font-size: 1.3rem;
  }

  .about-cta p {
    font-size: 0.95rem;
  }
}

/* Desktop optimizations (860px+) */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  nav.main-nav { order: 3; width: 100%; justify-content: center; }
}

