/* ===== CUSTOMIZE PAGE ===== */
.customize-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}

/* ===== MAIN CARD ===== */
.customize-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
}

/* ===== HERO INSIDE CARD ===== */
.customize-hero {
  padding: 40px 40px 32px;
  border-bottom: 1px solid var(--border);
}

.customize-hero .section-label {
  margin-bottom: 10px;
}

.customize-hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1;
}

.customize-hero-desc {
  font-size: 14px;
  color: var(--gray-light);
  margin-bottom: 6px;
}

.customize-hero-sub {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.6;
}

.customize-hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.customize-note {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* WhatsApp button */
.customize-btn-wa {
  border-color: var(--gold);
  color: var(--gold);
}

.customize-btn-wa:hover {
  background: color-mix(in srgb, var(--gold) 8%, transparent);
}

/* ===== BROWSE CATEGORIES ===== */
.customize-browse {
  padding: 36px 40px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.customize-browse-title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.customize-browse-sub {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 28px;
}

.customize-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
}

.customize-cat-card {
  display: block;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 16px 18px;
  transition: border-color 0.2s;
  text-decoration: none;
}

.customize-cat-card:hover {
  border-color: rgba(255,255,255,0.3);
}

.customize-cat-card.featured {
  border-color: var(--gold);
}

.customize-cat-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.customize-cat-card h3 {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  line-height: 1.3;
}

.customize-cat-card p {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 14px;
  line-height: 1.5;
}

.customize-cat-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-light);
  letter-spacing: 0.04em;
}

/* ===== ARABIC SECTION ===== */
.customize-arabic {
  padding: 36px 40px;
  text-align: right;
  direction: rtl;
}

.arabic-flag {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
  direction: ltr;
  text-align: right;
}

.arabic-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.arabic-desc {
  font-size: 14px;
  color: var(--gray-light);
  margin-bottom: 6px;
}

.arabic-sub {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.7;
}

.customize-arabic .customize-hero-btns {
  justify-content: flex-end;
  direction: rtl;
}

.arabic-note {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 14px;
}

/* ===== CUSTOM PIECES (outside card) ===== */
.custom-pieces-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.custom-pieces-section h2 {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.custom-pieces-section > p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 20px;
}

.custom-pieces-empty {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 24px;
  text-align: center;
  color: var(--gray);
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .customize-hero,
  .customize-browse,
  .customize-arabic {
    padding: 28px 20px;
  }

  .customize-cats {
    grid-template-columns: 1fr;
  }

  .customize-hero-btns {
    flex-direction: column;
  }

  .customize-arabic .customize-hero-btns {
    align-items: flex-end;
  }

  .customize-page,
  .custom-pieces-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}
