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

:root {
  --bg-color: #0f172a;
  --panel-bg: rgba(15, 23, 42, 0.65);
  --panel-border: rgba(255, 255, 255, 0.15);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #eab308;
  --accent-hover: #ca8a04;
  --accent-gradient: linear-gradient(135deg, #eab308, #d97706);
  --success: #10b981;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Tajawal', sans-serif; }

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: linear-gradient(to bottom, rgba(15,23,42,0.7), rgba(15,23,42,0.95)), url('assets/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ==================== BRAND MARK ==================== */
.brand-dome-icon {
  width: 46px; height: 23px;
  border-top-left-radius: 46px; border-top-right-radius: 46px;
  border: 2.5px solid #eab308; border-bottom: none;
  margin: 0 auto 5px;
  position: relative;
  box-shadow: 0 -6px 20px rgba(234,179,8,0.2);
  transition: box-shadow 0.3s;
}
.brand-dome-icon::after {
  content: ''; position: absolute; bottom: -4px; left: -8px; right: -8px;
  height: 3px; background: linear-gradient(90deg, transparent, rgba(234,179,8,0.7), transparent);
  border-radius: 2px;
}
.brand-ar { font-size: 1.45rem; font-weight: 900; color: #eab308; letter-spacing: 2px; line-height: 1.1; text-shadow: 0 2px 15px rgba(234,179,8,0.3); }
.brand-en { font-size: 0.6rem; letter-spacing: 4px; color: rgba(234,179,8,0.45); font-weight: 700; text-transform: uppercase; margin-top: 2px; }

/* ==================== NAVBAR ==================== */
.navbar {
  padding: 0.75rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(11,17,32,0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(234,179,8,0.1), 0 4px 30px rgba(0,0,0,0.5);
}
.nav-placeholder { grid-column: 1; }
.logo { grid-column: 2; display: flex; flex-direction: column; align-items: center; text-decoration: none; gap: 0; cursor: pointer; }
.logo:hover .brand-dome-icon { box-shadow: 0 -6px 25px rgba(234,179,8,0.4); }
.logo:hover .brand-ar { text-shadow: 0 2px 20px rgba(234,179,8,0.5); }
.nav-links { grid-column: 3; display: flex; justify-content: flex-end; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 1rem; transition: all 0.3s; padding: 0.5rem 1rem; border-radius: 8px; cursor: pointer; }
.nav-links a:hover { color: var(--accent); background: rgba(255,255,255,0.05); }

/* ==================== HERO SECTION ==================== */
.hero-section {
  text-align: center;
  padding: 3.5rem 2rem 2rem;
  max-width: 850px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(234,179,8,0.08); border: 1px solid rgba(234,179,8,0.25);
  color: #eab308; padding: 0.4rem 1.2rem; border-radius: 30px;
  font-size: 0.88rem; font-weight: 700; margin-bottom: 1.2rem; letter-spacing: 0.5px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900; color: white; line-height: 1.2;
  margin-bottom: 0.9rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero-title em { color: #eab308; font-style: normal; }
.hero-sub {
  color: var(--text-muted); font-size: 1.05rem; line-height: 1.8;
  margin-bottom: 1.8rem; max-width: 580px; margin-left: auto; margin-right: auto;
}
.hero-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, transparent, #eab308, transparent);
  margin: 0 auto 1.8rem; border-radius: 2px;
}
.hero-flow { display: flex; align-items: center; justify-content: center; gap: 0.7rem; flex-wrap: wrap; }
.hero-flow-step {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px; padding: 0.45rem 1.2rem;
  font-size: 0.88rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.5rem; transition: 0.3s;
}
.hero-flow-step:hover { border-color: rgba(234,179,8,0.3); color: white; }
.hero-flow-num {
  background: var(--accent-gradient); color: #1e1e1e;
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 900; flex-shrink: 0;
}
.hero-flow-arrow { color: rgba(255,255,255,0.18); font-size: 1rem; }

/* ==================== BUTTONS ==================== */
.btn-primary {
  background: var(--accent-gradient); color: #1e1e1e; border: none;
  padding: 0.85rem 1.5rem; border-radius: 8px; font-weight: 700; font-size: 1.05rem;
  cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 15px rgba(234,179,8,0.3); font-family: 'Tajawal', sans-serif;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(234,179,8,0.5); }

/* ==================== LAYOUT ==================== */
main { flex: 1; display: flex; padding: 3rem 2rem; gap: 2.5rem; max-width: 1500px; margin: 0 auto; width: 100%; }
.configurator { flex: 2; display: flex; flex-direction: column; gap: 2.5rem; }
.summary-panel { flex: 1; position: sticky; top: 130px; height: fit-content; }

/* ==================== GLASS CARD ==================== */
.glass-card {
  background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 20px; padding: 2.5rem;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.glass-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.5); border-color: rgba(255,255,255,0.22); }

/* ==================== NOTICE BANNER ==================== */
.notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: linear-gradient(135deg, rgba(234,179,8,0.08) 0%, rgba(234,179,8,0.04) 100%);
  border: 1.5px solid rgba(234,179,8,0.4);
  border-radius: 18px;
  padding: 1.5rem 1.8rem;
  position: relative;
  overflow: hidden;
}
.notice-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 4px;
  background: var(--accent-gradient);
  border-radius: 0 18px 18px 0;
}
.notice-banner-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  margin-top: 2px;
  filter: drop-shadow(0 2px 8px rgba(234,179,8,0.4));
}
.notice-banner-body { flex: 1; }
.notice-banner-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #eab308;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}
.notice-banner-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.notice-banner-text strong { color: #fde68a; }
.notice-banner-steps {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.notice-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}
.notice-step-us {
  background: rgba(234,179,8,0.12);
  border-color: rgba(234,179,8,0.35);
  color: #eab308;
  font-weight: 700;
}
.notice-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 1rem;
}

/* ==================== QUOTE SCOPE BOX ==================== */
.quote-scope-notice {
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.scope-included, .scope-excluded {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}
.scope-included { border: 1px solid rgba(16,185,129,0.2); }
.scope-excluded  { border: 1px solid rgba(239,68,68,0.2); }
.scope-title {
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.scope-included .scope-title { color: #4ade80; }
.scope-excluded  .scope-title { color: #f87171; }
.scope-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.scope-list li {
  font-size: 0.87rem;
  color: var(--text-muted);
  padding-right: 0.8rem;
  position: relative;
  line-height: 1.5;
}
.scope-list li::before {
  content: '›';
  position: absolute;
  right: 0;
  color: rgba(255,255,255,0.25);
  font-weight: bold;
}
.scope-included .scope-list li::before { color: rgba(74,222,128,0.5); }
.scope-excluded  .scope-list li::before { color: rgba(248,113,113,0.5); }
.scope-list li strong { color: #fca5a5; }
.scope-important-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(234,179,8,0.07);
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: 8px;
  font-size: 0.88rem;
  color: #fde68a;
  font-weight: 600;
}

/* ==================== COLLAPSIBLE SECTIONS ==================== */
.collapsible-section {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.section-collapsed {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.section-visible {
  max-height: 2000px; /* arbitrary large value */
  opacity: 1;
  margin-top: 0;
}
.unlock-hint {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: -1rem;
  animation: pulseHint 2s infinite ease-in-out;
}
.unlock-icon {
  font-size: 2rem;
  filter: grayscale(1) opacity(0.5);
}
@keyframes pulseHint {
  0% { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); }
  50% { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); }
  100% { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); }
}

/* ==================== SECTION TITLE ==================== */
.section-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 2rem; display: flex; align-items: center; gap: 0.75rem; color: white; }
.section-title span { background: var(--accent-gradient); color: #1e1e1e; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: 0 0 15px rgba(234,179,8,0.4); }

/* ==================== OPTIONS GRID ==================== */
.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.25rem; }
.option-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 1.75rem 1.5rem; cursor: pointer; transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.option-card:hover { background: rgba(255,255,255,0.06); transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.option-card.selected { border-color: var(--accent); background: rgba(234,179,8,0.08); box-shadow: inset 0 0 0 1px var(--accent), 0 8px 20px rgba(0,0,0,0.2); }
.option-icon { font-size: 2.8rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4)); transition: transform 0.3s; }
.option-card:hover .option-icon { transform: scale(1.1); }
.option-title { font-weight: 700; font-size: 1.15rem; color: white; }
.option-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ==================== SLIDER ==================== */
.slider-container { width: 100%; padding: 1rem 0; }
input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 28px; width: 28px; border-radius: 50%; background: #1e1e1e; border: 4px solid var(--accent); cursor: pointer; margin-top: -10px; box-shadow: 0 0 15px rgba(234,179,8,0.6); transition: transform 0.2s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 8px; cursor: pointer; background: rgba(255,255,255,0.15); border-radius: 4px; }
.slider-labels { display: flex; justify-content: space-between; margin-top: 1rem; color: var(--text-muted); font-weight: 500; font-size: 1rem; }
.current-value-display { text-align: center; font-size: 2.5rem; font-weight: 800; color: var(--accent); margin-bottom: 2rem; text-shadow: 0 4px 15px rgba(234,179,8,0.3); }

/* ==================== CHECKBOX ==================== */
.checkbox-option { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; cursor: pointer; transition: all 0.3s; }
.checkbox-option:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }
.checkbox-option input[type="checkbox"] { width: 24px; height: 24px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }
.checkbox-info { flex: 1; }
.checkbox-title { font-weight: 700; font-size: 1.05rem; }

/* ==================== SUMMARY ==================== */
.summary-header { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.5rem; border-bottom: 1px solid var(--panel-border); padding-bottom: 1.5rem; color: white; }
.summary-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.summary-item-detailed { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 0; border-bottom: 1px dashed rgba(255,255,255,0.1); font-size: 1rem; }
.summary-item { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; font-size: 0.95rem; }
.summary-label { color: var(--text-muted); }
.summary-value { font-weight: 700; }
.summary-total { font-size: 2rem; font-weight: 800; color: var(--accent); display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--panel-border); text-shadow: 0 4px 15px rgba(234,179,8,0.2); }
.submit-btn { width: 100%; margin-top: 2rem; font-size: 1.2rem; padding: 1.25rem; }

/* ==================== MODAL ==================== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content { background: rgba(15,23,42,0.97); width: 90%; max-width: 550px; border-radius: 24px; padding: 3rem; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 25px 50px rgba(0,0,0,0.6); transform: translateY(30px) scale(0.95); transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275); }
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }
.close-btn { background: none; border: none; color: white; font-size: 2rem; cursor: pointer; position: absolute; top: 1.5rem; left: 1.5rem; transition: color 0.3s; }
.close-btn:hover { color: var(--accent); }

/* ==================== FORM ==================== */
.form-group { margin-bottom: 1.8rem; }
.form-group label { display: block; margin-bottom: 0.75rem; color: var(--text-muted); font-size: 1rem; font-weight: 500; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem 1.25rem; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; color: white; font-size: 1.05rem; transition: all 0.3s; font-family: 'Tajawal', sans-serif; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); background: rgba(0,0,0,0.5); box-shadow: 0 0 0 3px rgba(234,179,8,0.2); }

/* ==================== ADMIN PANEL ==================== */
.admin-tabs { display: flex; gap: 1rem; margin-bottom: 2rem; border-bottom: 1px solid var(--panel-border); padding-bottom: 1rem; flex-wrap: wrap; }
.tab-btn { background: none; border: none; color: var(--text-muted); font-size: 1rem; font-weight: 700; cursor: pointer; padding: 0.5rem 1.2rem; border-radius: 8px; transition: 0.3s; font-family: 'Tajawal', sans-serif; }
.tab-btn.active { color: white; background: rgba(59,130,246,0.2); }
.tab-btn:hover { color: white; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }
.price-group { background: rgba(0,0,0,0.2); padding: 1.5rem; border-radius: 12px; border: 1px solid var(--panel-border); }
.price-group h3 { margin-bottom: 1rem; color: var(--accent); font-size: 1rem; }
.input-grp { margin-bottom: 1rem; }
.input-grp label { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.input-grp input { width: 100%; padding: 0.75rem; background: var(--bg-color); border: 1px solid var(--panel-border); border-radius: 6px; color: white; font-family: monospace; font-size: 1.05rem; box-sizing: border-box; }
.filter-select { padding: 0.5rem 1rem; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; color: white; font-family: 'Tajawal', sans-serif; font-size: 0.95rem; cursor: pointer; }

/* ==================== DATA TABLE ==================== */
.data-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.data-table th, .data-table td { padding: 1rem 0.85rem; text-align: right; border-bottom: 1px solid var(--panel-border); }
.data-table th { color: var(--text-muted); font-weight: 700; font-size: 0.9rem; }
.data-table tbody tr { transition: background 0.2s; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.04); }

/* ==================== ORDER PANEL ==================== */
@keyframes slideInPanel { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.panel-section { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 1.2rem 1.4rem; }
.panel-section-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 0.8rem; font-weight: 700; }

/* ==================== WORKFLOW STEPPER ==================== */
.workflow-stepper { width: 100%; }
.stepper-track { display: flex; align-items: center; width: 100%; overflow-x: auto; padding-bottom: 0.5rem; gap: 0; }
.step-item { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; min-width: 65px; cursor: pointer; transition: 0.3s; flex-shrink: 0; }
.step-item:hover { transform: translateY(-2px); }
.step-circle { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.15); transition: all 0.3s; }
.step-label { font-size: 0.72rem; color: var(--text-muted); text-align: center; line-height: 1.3; max-width: 65px; }
.step-active .step-circle { border-width: 2px; box-shadow: 0 0 15px rgba(255,255,255,0.2); }
.step-done .step-circle { background: rgba(16,185,129,0.2); border-color: #10b981; color: #10b981; font-weight: 900; }
.step-done .step-label { color: #10b981; }
.step-connector { flex: 1; height: 2px; background: rgba(255,255,255,0.1); min-width: 12px; }
.step-connector.done { background: #10b981; }
.step-idle .step-circle { opacity: 0.5; }

/* ==================== QUOTE PAGE ==================== */
#quote-page { display: none; position: fixed; inset: 0; background: #0b1120; z-index: 800; overflow-y: auto; animation: fadeInPage 0.4s ease; }
@keyframes fadeInPage { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.quote-navbar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; background: rgba(11,17,32,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(234,179,8,0.2); position: sticky; top: 0; z-index: 10; gap: 1rem; flex-wrap: wrap; }
.quote-body { max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }

.quote-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%); border: 1px solid rgba(234,179,8,0.25); border-radius: 20px; padding: 2.5rem; margin-bottom: 2rem; position: relative; overflow: hidden; }
.quote-hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(234,179,8,0.08) 0%, transparent 70%); border-radius: 50%; }
.quote-hero-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1.5rem; position: relative; }
.quote-logo-area { display: flex; align-items: center; gap: 1rem; }
.quote-logo-area img { height: 65px; mix-blend-mode: screen; }
.quote-company-name { font-size: 1.4rem; font-weight: 900; color: #eab308; letter-spacing: 1px; }
.quote-company-sub { font-size: 0.82rem; color: var(--text-muted); margin-top: 3px; }
.quote-meta { text-align: left; }
.quote-title { font-size: 1.7rem; font-weight: 800; color: #eab308; margin-bottom: 0.5rem; }
.quote-ref { font-size: 0.9rem; color: var(--text-muted); }
.quote-ref strong { color: white; font-family: monospace; font-size: 1rem; }
.quote-date-badge { display: inline-block; background: rgba(234,179,8,0.1); border: 1px solid rgba(234,179,8,0.3); color: #eab308; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.85rem; margin-top: 0.5rem; }
.validity-badge { display: inline-block; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #fca5a5; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem; margin-top: 0.4rem; }

.quote-section-title { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.quote-client-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.5rem; margin-bottom: 2rem; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.client-info-item { display: flex; flex-direction: column; gap: 0.3rem; }
.client-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.client-val { font-size: 1.15rem; font-weight: 700; color: white; }

.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.spec-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 1.2rem; transition: border-color 0.3s; }
.spec-card:hover { border-color: rgba(234,179,8,0.3); }
.spec-icon { font-size: 1.7rem; margin-bottom: 0.5rem; }
.spec-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.3rem; }
.spec-val { font-size: 1.05rem; font-weight: 700; color: white; }

.quote-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; border-radius: 12px; overflow: hidden; }
.quote-table thead tr { background: linear-gradient(90deg, #1e293b, #0f1f3d); }
.quote-table th { padding: 1rem 1.2rem; color: var(--text-muted); font-size: 0.85rem; text-align: right; font-weight: 600; letter-spacing: 0.5px; }
.quote-table th:last-child { text-align: left; }
.quote-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.2s; }
.quote-table td { padding: 1rem 1.2rem; font-size: 0.95rem; }
.quote-table td:last-child { text-align: left; font-family: monospace; font-size: 1rem; color: #93c5fd; font-weight: 600; }
.qt-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 5px; font-size: 0.78rem; font-weight: 700; background: rgba(234,179,8,0.15); color: #eab308; }
.qt-desc { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.3rem; }

.quote-total-box { background: linear-gradient(135deg, rgba(234,179,8,0.1), rgba(234,179,8,0.04)); border: 2px solid rgba(234,179,8,0.35); border-radius: 16px; padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.total-label { font-size: 1rem; color: var(--text-muted); }
.total-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.3rem; }
.total-amount { font-size: 2.4rem; font-weight: 900; color: #eab308; font-family: monospace; letter-spacing: -1px; }
.total-currency { font-size: 1rem; color: #eab308; opacity: 0.7; margin-right: 5px; }

/* ==================== TERMS & CONDITIONS ==================== */
.terms-section { background: rgba(15,23,42,0.6); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 2rem; margin-bottom: 2rem; }
.terms-header { display: flex; align-items: center; gap: 0.75rem; font-size: 1rem; font-weight: 800; color: white; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.terms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-bottom: 1.5rem; }
.terms-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 1.1rem; }
.terms-item-title { font-weight: 700; font-size: 0.9rem; color: #e2e8f0; margin-bottom: 0.5rem; }
.terms-item-body { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.terms-item-body strong { color: #cbd5e1; }
.terms-footer { font-size: 0.82rem; color: var(--text-muted); text-align: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); }

/* ==================== QUOTE ACTIONS ==================== */
.quote-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.btn-back { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: white; padding: 0.85rem 1.8rem; border-radius: 10px; font-size: 1rem; font-family: 'Tajawal', sans-serif; cursor: pointer; transition: 0.3s; font-weight: 600; }
.btn-back:hover { background: rgba(255,255,255,0.15); }
.btn-print { background: linear-gradient(135deg, #eab308, #ca8a04); border: none; color: #0f172a; padding: 0.85rem 1.8rem; border-radius: 10px; font-size: 1rem; font-family: 'Tajawal', sans-serif; cursor: pointer; transition: 0.3s; font-weight: 800; }
.btn-print:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(234,179,8,0.4); }

.quote-footer { text-align: center; padding: 2rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; }
.quote-footer strong { color: white; }

/* ==================== PRINT ==================== */
@media print {
  #quote-page .quote-navbar, #quote-page .quote-actions, #quote-submission-area, #quote-saved-area { display: none !important; }
  #quote-page { position: static; height: auto; overflow: visible; background: #0f172a !important; color: white !important; }
  
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  main { flex-direction: column; padding: 2rem 1rem; }
  .summary-panel { position: static; }
  .navbar { grid-template-columns: auto 1fr; }
  .nav-placeholder { display: none; }
  .logo { grid-column: 1; align-items: flex-start; }
  .nav-links { grid-column: 2; }
}
@media (max-width: 640px) {
  .quote-hero-top { flex-direction: column; }
  .quote-meta { text-align: right; }
  .stepper-track { gap: 0; }
  .step-circle { width: 32px; height: 32px; font-size: 0.9rem; }
  #order-panel { max-width: 100%; }
}

/* ===================== PAGE SHELL (Cairo / qubbat-website theme) ===================== */
:root {
  --ink: #0F2318;
  --ink-2: #163324;
  --ink-3: #1C3E2B;
  --parchment: #F0E6C8;
  --parchment-dim: #C5B68A;
  --amber: #C9A84C;
  --copper: #A07828;
  --line: rgba(243,234,215,0.12);
  --ff-page: 'Cairo', sans-serif;
}

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

body {
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--ff-page);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(232,166,60,0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(201,123,60,0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.page-z { position: relative; z-index: 1; }

/* NAV */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(12,14,16,0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--parchment);
}
.logo-mark { width: 62px; height: 62px; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .ar { font-size: 19px; font-weight: 700; letter-spacing: 0.5px; }
.logo-text .en { font-size: 10px; color: var(--parchment-dim); letter-spacing: 3px; font-weight: 500; }
.back-link {
  color: var(--parchment-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--amber); }

/* BREADCRUMB */
.breadcrumb {
  background: var(--ink);
  padding: 10px 0;
  font-size: 13px;
  color: var(--parchment-dim);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--parchment-dim); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb .sep { opacity: 0.4; font-size: 12px; }
.breadcrumb .current { color: var(--parchment); font-weight: 600; }

/* PAGE HEADER */
.page-header {
  padding: 64px 0 36px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(201,123,60,0.08);
  border: 1px solid rgba(201,123,60,0.25);
  border-radius: 100px;
  font-size: 13px;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 20px;
}
.page-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 10px var(--copper); }
.page-title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 14px; }
.page-sub { color: var(--parchment-dim); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* STEPPER */
.stepper-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 32px 0 20px;
  position: relative;
  z-index: 1;
}
.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  flex: 1;
  max-width: 200px;
  font-family: var(--ff-page);
}
.stepper-step::before {
  content: '';
  position: absolute;
  top: 18px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.stepper-step:first-child::before { display: none; }
.stepper-step.done::before   { background: var(--copper); }
.stepper-step.active::before { background: linear-gradient(to left, var(--line), var(--copper)); }
.stepper-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--parchment-dim);
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.stepper-label { font-size: 12px; font-weight: 600; color: var(--parchment-dim); text-align: center; }
.stepper-step.active .stepper-num  { background: var(--copper); border-color: var(--copper); color: var(--ink); box-shadow: 0 0 16px rgba(201,123,60,0.4); }
.stepper-step.active .stepper-label { color: var(--parchment); }
.stepper-step.done .stepper-num    { background: rgba(201,123,60,0.2); border-color: var(--copper); color: var(--copper); }
.stepper-step.done .stepper-num::after { content: '✓'; }
.stepper-step.done .stepper-label  { color: var(--copper); }

/* VIEWS WRAPPER */
.views-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
  position: relative;
  z-index: 1;
}

/* STEP VIEWS */
#step1-view { display: block; }
#step2-view { display: none; }
#step3-view { display: none; }

.order-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.order-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,123,60,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-num {
  width: 34px; height: 34px;
  background: var(--copper);
  color: var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.section-title { font-size: 20px; font-weight: 700; font-family: var(--ff-page); }

.fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-full  { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--parchment-dim); letter-spacing: 0.3px; font-family: var(--ff-page); }
.field label .req { color: var(--copper); }
.field input, .field select, .field textarea {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--parchment);
  font-family: var(--ff-page);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--ink-3);
}
.field textarea { resize: vertical; min-height: 90px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23c9bfa9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 40px;
}

.form-section { margin-bottom: 40px; position: relative; z-index: 1; }
.form-section:last-of-type { margin-bottom: 0; }

.info-note {
  background: rgba(232,166,60,0.05);
  border: 1px solid rgba(232,166,60,0.2);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--parchment-dim);
  font-family: var(--ff-page);
}
.info-note .icon { color: var(--amber); flex-shrink: 0; }
.info-note strong { color: var(--parchment); }

.submit-wrap {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.submit-note { font-size: 13px; color: var(--parchment-dim); display: flex; align-items: center; gap: 8px; flex: 1; font-family: var(--ff-page); }
.btn-page {
  background: var(--copper);
  color: var(--parchment);
  border: none;
  padding: 15px 32px;
  border-radius: 8px;
  font-family: var(--ff-page);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}
.btn-page:hover { background: #d4874a; transform: translateY(-2px); box-shadow: 0 15px 30px -10px rgba(201,123,60,0.5); }
.btn-page.secondary { background: transparent; border: 1px solid var(--line); color: var(--parchment-dim); }
.btn-page.secondary:hover { border-color: var(--copper); color: var(--parchment); box-shadow: none; }

/* STEP 2 — CONFIGURATOR LAYOUT */
.step2-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.config-panels { display: flex; flex-direction: column; gap: 16px; }
#step2-view { font-family: 'Tajawal', sans-serif; }
#step2-view .glass-card { background: rgba(15,23,42,0.7) !important; border: 1px solid rgba(255,255,255,0.12) !important; }

.step-back-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
  font-family: var(--ff-page);
}
.step-back-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--parchment-dim);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--ff-page);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.step-back-btn:hover { border-color: var(--copper); color: var(--parchment); }
.step-back-label { font-size: 14px; color: var(--parchment-dim); }

/* STEP 3 — QUOTE */
.quote-wrapper { max-width: 860px; margin: 0 auto; }
.quote-back-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-family: var(--ff-page);
}

#quote-page-inner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 40px;
  font-family: 'Cairo', sans-serif;
  color: #1e293b;
}

.qp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 3px solid #C9A84C;
}
.qp-logo-area { display: flex; flex-direction: column; gap: 4px; }
.qp-brand     { font-size: 1.6rem; font-weight: 900; color: #C9A84C; letter-spacing: -0.5px; }
.qp-sub-brand { font-size: 0.7rem; color: #94a3b8; letter-spacing: 4px; font-weight: 700; text-transform: uppercase; }
.qp-tagline   { font-size: 0.72rem; color: #64748b; margin-top: 2px; }
.qp-meta      { text-align: left; }
.qp-ref-num   { font-size: 1.05rem; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.qp-meta-date { font-size: 0.82rem; color: #64748b; }

.qp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  margin-bottom: 22px;
}

.qp-client-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
}
.qp-client-item  { display: flex; flex-direction: column; gap: 3px; }
.qp-client-label { font-size: 0.72rem; color: #64748b; font-weight: 700; letter-spacing: 0.3px; }
.qp-client-val   { font-size: 0.92rem; font-weight: 700; color: #0f172a; }

.qp-section-title {
  font-size: 0.8rem; font-weight: 800; color: #0f172a;
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 12px; margin-top: 20px;
  border-bottom: 2px solid #f1f5f9; padding-bottom: 6px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.spec-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.spec-icon  { font-size: 1.4rem; }
.spec-label { font-size: 0.68rem; color: #64748b; font-weight: 600; }
.spec-val   { font-size: 0.85rem; font-weight: 800; color: #0f172a; }

.qp-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 0.88rem; }
.qp-table th { background: #1e293b; color: #f8fafc; font-weight: 700; font-size: 0.78rem; padding: 10px 14px; text-align: right; }
.qp-table td { padding: 10px 14px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; color: #1e293b; }
.qp-table tbody tr:nth-child(even) td { background: #f8fafc; }
.qt-badge {
  display: inline-block;
  padding: 3px 10px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 20px;
  font-size: 0.75rem;
  color: #92400e;
  font-weight: 700;
  white-space: nowrap;
}
.qt-desc { color: #475569; font-size: 0.83rem; }

.qp-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.qp-total-label { font-size: 1rem; font-weight: 700; color: #0f172a; }
.qp-total-value { font-size: 1.6rem; font-weight: 900; color: #92400e; }
.qp-total-cur   { font-size: 0.85rem; font-weight: 700; color: #b45309; margin-right: 6px; }

.qp-footer-note {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  line-height: 1.8;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 12px 16px;
}

/* QUOTE ACTIONS */
.quote-action-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px;
  margin-top: 20px;
  font-family: 'Tajawal', sans-serif;
}
.quote-action-title { font-size: 1.1rem; font-weight: 800; color: #f8fafc; margin-bottom: 6px; }
.quote-action-sub   { font-size: 0.87rem; color: #94a3b8; margin-bottom: 20px; }

.btn-confirm-quote {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #eab308, #d97706);
  color: #0d1829;
  border: none;
  border-radius: 10px;
  font-family: 'Tajawal', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-confirm-quote:hover    { opacity: 0.9; transform: translateY(-1px); }
.btn-confirm-quote:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.quote-saved-box {
  background: rgba(16,185,129,0.07);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
  font-family: 'Tajawal', sans-serif;
  text-align: center;
}
.quote-saved-title { font-size: 1.2rem; font-weight: 800; color: #10b981; margin-bottom: 6px; }
.quote-saved-sub   { font-size: 0.87rem; color: #94a3b8; margin-bottom: 20px; }

.share-link-row { display: flex; gap: 8px; margin-bottom: 16px; }
.share-link-row input {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #94a3b8;
  font-size: 0.82rem;
  font-family: monospace;
  direction: ltr;
}
#btn-copy-link {
  padding: 10px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #f8fafc;
  font-size: 0.85rem;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
#btn-copy-link:hover { background: rgba(255,255,255,0.12); }

#quote-bottom-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--ff-page);
}
.btn-pdf {
  padding: 12px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #f8fafc;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-pdf:hover { background: rgba(255,255,255,0.1); }
.btn-home-link {
  padding: 12px 24px;
  background: rgba(201,123,60,0.12);
  border: 1px solid rgba(201,123,60,0.3);
  border-radius: 10px;
  color: var(--copper);
  font-family: var(--ff-page);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-home-link:hover { background: rgba(201,123,60,0.2); }

/* FOOTER */
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--parchment); }
.footer-logo .logo-mark { width: 34px; height: 34px; }
.footer-logo .ar { font-size: 15px; font-weight: 700; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--parchment-dim); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber); }
.footer-copy { font-size: 12px; color: var(--parchment-dim); opacity: 0.6; }

/* DOME BUILDER MISSING CLASSES (used inside glass-card) */
.section-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 1.5rem; }
.section-number {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-gradient, linear-gradient(135deg,#eab308,#d97706));
  color: #1e1e1e; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.95rem; flex-shrink: 0; box-shadow: 0 0 14px rgba(234,179,8,0.4);
}
.section-info { display: flex; flex-direction: column; gap: 2px; }
.section-info .section-title { font-size: 1.15rem; font-weight: 800; color: #f8fafc; margin-bottom: 0; display: block; }
.section-desc { font-size: 0.82rem; color: #64748b; }

.diameter-control  { padding: 0.5rem 0 0; }
.diameter-display  { text-align: center; margin-bottom: 0.8rem; }
.diam-number       { font-size: 2.8rem; font-weight: 900; color: #eab308; text-shadow: 0 4px 15px rgba(234,179,8,0.3); font-family: 'Tajawal', sans-serif; }
.diameter-slider   { width: 100%; margin-top: 0.5rem; }
.option-name       { font-weight: 700; font-size: 1.05rem; color: white; }

.counter-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 12px;
}
.counter-row:last-child { border-bottom: none; padding-bottom: 0; }
.counter-info     { display: flex; align-items: center; gap: 12px; flex: 1; }
.counter-icon     { font-size: 1.6rem; }
.counter-label    { font-weight: 700; font-size: 0.95rem; color: #e2e8f0; font-family: 'Tajawal', sans-serif; }
.counter-sub      { font-size: 0.78rem; color: #64748b; }
.counter-controls { display: flex; align-items: center; gap: 12px; }
.counter-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  color: white; font-size: 1.2rem; cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; justify-content: center; font-family: monospace;
}
.counter-btn:hover { background: rgba(234,179,8,0.15); border-color: rgba(234,179,8,0.4); }
.counter-val { font-size: 1.2rem; font-weight: 800; color: #eab308; min-width: 28px; text-align: center; font-family: 'Tajawal', sans-serif; }

.waterproof-card { flex-direction: row !important; gap: 12px; padding: 1rem 1.2rem !important; align-items: center !important; }
.waterproof-card .option-icon { font-size: 1.8rem !important; }

.summary-title { font-size: 1.1rem; font-weight: 800; color: white; display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.08); font-family: 'Tajawal', sans-serif; }
.summary-badge { background: rgba(234,179,8,0.1); border: 1px solid rgba(234,179,8,0.25); color: #eab308; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; }
.summary-diam-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; margin-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.summary-diam-label { font-size: 0.85rem; color: #64748b; font-family: 'Tajawal', sans-serif; }
.summary-diam-val   { font-size: 1.1rem; font-weight: 800; color: #eab308; font-family: 'Tajawal', sans-serif; }
.summary-items { display: flex; flex-direction: column; gap: 0; padding: 0.3rem 0; }
.summary-total-row { background: rgba(234,179,8,0.07); border: 1px solid rgba(234,179,8,0.2); border-radius: 10px; padding: 12px 16px; margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; }
.summary-total-label { font-size: 0.85rem; color: #94a3b8; font-family: 'Tajawal', sans-serif; }
#summary-total { font-size: 1.4rem; font-weight: 900; color: #eab308; display: block; margin: 0; padding: 0; border: none; text-shadow: 0 2px 10px rgba(234,179,8,0.25); }

#sections-after-outer {
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 16px;
}
#sections-after-outer.section-visible   { max-height: 3000px; opacity: 1; pointer-events: auto; }
#sections-after-outer.section-collapsed { max-height: 0; opacity: 0; pointer-events: none; margin: 0; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .step2-layout   { grid-template-columns: 1fr; }
  .specs-grid     { grid-template-columns: repeat(2, 1fr); }
  .qp-client-grid { grid-template-columns: 1fr 1fr; }
  .summary-panel  { position: static; }
  .summary-card   { position: static; }
}
@media (max-width: 700px) {
  .nav-inner        { padding: 0 16px; }
  .breadcrumb-inner { padding: 0 16px; }
  .views-wrapper    { padding: 0 14px 60px; }
  .order-card       { padding: 24px 16px; }
  .fields-grid      { grid-template-columns: 1fr; }
  .stepper-label    { display: none; }
  .stepper-step     { min-width: 40px; }
  #quote-page-inner { padding: 20px 14px; }
  .qp-header        { flex-direction: column; gap: 12px; }
  .qp-client-grid   { grid-template-columns: 1fr; }
  .specs-grid       { grid-template-columns: repeat(2, 1fr); }
  .quote-action-box { padding: 20px 16px; }
  .quote-saved-box  { padding: 20px 16px; }
  .share-link-row   { flex-direction: column; }
  .share-link-row input { width: 100%; }
  .quote-bottom-actions, #quote-bottom-actions { flex-direction: column; gap: 10px; }
  .btn-pdf { text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
  .specs-grid  { grid-template-columns: 1fr; }
  .qp-table th, .qp-table td { padding: 7px 8px; font-size: 12px; }
  .step2-layout  { gap: 14px; }
  .glass-card    { padding: 16px; }
  .section-header { gap: 10px; }
  .counter-row   { padding: 12px 0; }
}

