/* ===== CREATIV MOCK — Frontend Main CSS ===== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #111827;
  background: #ffffff;
  line-height: 1.6;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

/* Layout helpers */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: #0f172a; }
h1 { font-size: 42px; letter-spacing: -0.02em; }
h2 { font-size: 30px; margin-bottom: 12px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { color: #475569; }
.muted { color: #64748b; font-size: 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; color: #64748b; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  gap: 6px;
}
.btn-primary { background: #111827; color: #fff; }
.btn-primary:hover { background: #1f2937; }
.btn-accent { background: #6366f1; color: #fff; }
.btn-accent:hover { background: #4f46e5; }
.btn-outline { background: transparent; color: #111827; border: 1.5px solid #111827; }
.btn-outline:hover { background: #111827; color: #fff; }
.btn-ghost { background: transparent; color: #475569; }
.btn-ghost:hover { background: #f1f5f9; color: #111827; }
.btn-danger { background: #fef2f2; color: #b91c1c; }
.btn-danger:hover { background: #fee2e2; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ============================================================
 *  Navbar
 * ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #111827;
}
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-links > a, .nav-dropdown > a {
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-links > a:hover, .nav-links > a.active,
.nav-dropdown > a:hover, .nav-dropdown > a.active {
  color: #111827;
  border-bottom-color: #6366f1;
}
.nav-dropdown { position: relative; }
.nav-dropdown .caret { font-size: 11px; color: #94a3b8; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  padding: 8px 0;
  display: none;
  z-index: 110;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  color: #334155;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: #f1f5f9; color: #111827; }

.cart-icon {
  position: relative;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.cart-icon:hover, .cart-icon.active { background: #f1f5f9; }
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #6366f1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .nav-links > a, .nav-dropdown > a { font-size: 13px; }
}

/* ============================================================
 *  Hero
 * ============================================================ */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #0f172a 100%);
  color: #fff;
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(99, 102, 241, 0.30), transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(236, 72, 153, 0.20), transparent 45%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p.lead { color: #cbd5e1; font-size: 18px; margin-bottom: 32px; max-width: 600px; }

/* ============================================================
 *  Page head
 * ============================================================ */
.page-head {
  background: #f8fafc;
  padding: 48px 0 36px;
  border-bottom: 1px solid #e5e7eb;
}
.page-head h1 { font-size: 30px; margin-bottom: 6px; }
.page-head p.sub { color: #64748b; font-size: 15px; }

/* ============================================================
 *  Product cards (used on Home, Products, Designer pages)
 * ============================================================ */
.product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}
.product-card .thumb-wrap { position: relative; }
.product-thumb {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-thumb.variant-a { background: linear-gradient(135deg, #e0f2fe 0%, #c7d2fe 100%); }
.product-thumb.variant-b { background: linear-gradient(135deg, #fef3c7 0%, #fecaca 100%); }
.product-thumb.variant-c { background: linear-gradient(135deg, #dcfce7 0%, #a7f3d0 100%); }
.product-thumb.variant-d { background: linear-gradient(135deg, #fae8ff 0%, #f5d0fe 100%); }
.product-thumb.variant-e { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); }
.product-thumb.variant-f { background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%); }

.product-card .quick-add {
  position: absolute;
  inset: auto 12px 12px;
  text-align: center;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 0;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.18s;
  cursor: pointer;
  border: none;
  width: calc(100% - 24px);
}
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.product-card .quick-add:hover { background: #6366f1; }

.product-body { padding: 16px 18px 20px; }
.product-title { font-size: 15.5px; font-weight: 600; margin-bottom: 4px; color: #0f172a; }
.product-designer { color: #6366f1; font-size: 12.5px; font-weight: 500; margin-bottom: 8px; }
.product-designer a { color: inherit; }
.product-designer a:hover { text-decoration: underline; }
.product-price { color: #111827; font-weight: 700; font-size: 15px; }

/* ============================================================
 *  Why choose us / features
 * ============================================================ */
.feature {
  text-align: center;
  padding: 28px 16px;
}
.feature .icon {
  font-size: 30px;
  margin-bottom: 12px;
  display: inline-block;
}

/* ============================================================
 *  Filter sidebar (products page)
 * ============================================================ */
.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  padding: 36px 0 64px;
}
@media (max-width: 860px) { .products-layout { grid-template-columns: 1fr; } }
.filter-sidebar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 20px;
  align-self: start;
  position: sticky;
  top: 88px;
}
.filter-group { margin-bottom: 22px; }
.filter-group h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
  margin-bottom: 12px;
  font-weight: 700;
}
.filter-group label, .filter-group a {
  display: block;
  font-size: 13.5px;
  color: #475569;
  padding: 6px 0;
  cursor: pointer;
  border-radius: 4px;
}
.filter-group a:hover { color: #6366f1; }
.filter-group a.active { color: #6366f1; font-weight: 600; }

/* ============================================================
 *  Product detail
 * ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 56fr 44fr;
  gap: 56px;
  padding: 48px 0;
}
@media (max-width: 920px) { .product-detail { grid-template-columns: 1fr; gap: 36px; } }

.gallery .main-preview {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  overflow: hidden;
  background: #f8fafc;
}
.gallery .main-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery .thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery .thumb {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  transition: all 0.15s;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}
.gallery .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery .thumb.active, .gallery .thumb:hover { border-color: #6366f1; }

.detail-info h1 { font-size: 28px; margin-bottom: 6px; }
.detail-info .cat { color: #64748b; font-size: 13px; margin-bottom: 6px; }
.detail-info .by-designer {
  color: #6366f1;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 16px;
}
.detail-info .by-designer a:hover { text-decoration: underline; }
.detail-info .desc {
  color: #475569;
  font-size: 14.5px;
  margin-bottom: 24px;
}

.total-price-card {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.total-price-card .label {
  color: #64748b;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.total-price-card .value {
  color: #111827;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* License rows on product detail */
.license-rows { margin-bottom: 22px; }
.license-row {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: #fff;
  transition: border 0.15s;
}
.license-row.is-active {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.10);
}
.license-row-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.license-row-head input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #6366f1;
  cursor: pointer;
}
.license-row-head .name {
  font-weight: 600;
  font-size: 14.5px;
  color: #0f172a;
  cursor: pointer;
}
.license-row-head > .tip { margin-right: auto; }
.license-row-head .price {
  color: #111827;
  font-weight: 700;
  font-size: 15px;
}
.seat-row .seat-label + .tip { margin-right: auto; }

/* tooltip (?) */
.tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  cursor: help;
  position: relative;
}
.tip:hover { background: #cbd5e1; color: #111827; }
.tip[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: normal;
  width: 260px;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s;
  z-index: 50;
}
.tip[data-tip]::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0f172a;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s;
  z-index: 50;
}
.tip:hover::after, .tip:hover::before, .tip:focus::after, .tip:focus::before {
  opacity: 1;
  visibility: visible;
}

/* Seat selector (number stepper) */
.seat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding-left: 30px;
}
.seat-row .seat-label {
  color: #64748b;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.stepper button {
  width: 32px;
  height: 34px;
  background: #f8fafc;
  border: none;
  font-size: 16px;
  color: #475569;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s;
}
.stepper button:hover:not(:disabled) { background: #e2e8f0; color: #0f172a; }
.stepper button:disabled { color: #cbd5e1; cursor: not-allowed; }
.stepper input {
  width: 50px;
  text-align: center;
  border: none;
  border-left: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input[type=number] { -moz-appearance: textfield; }

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.detail-actions .btn { width: 100%; padding: 14px 20px; font-size: 15px; }

.link-arrow {
  display: inline-block;
  color: #6366f1;
  font-weight: 600;
  font-size: 14px;
}
.link-arrow:hover { text-decoration: underline; }

/* ============================================================
 *  Cart page
 * ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  padding: 36px 0 64px;
}
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-list {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid #f1f5f9;
}
.cart-row:last-child { border-bottom: none; }
.cart-row .cart-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}
.cart-row .meta .name {
  font-weight: 600;
  font-size: 14.5px;
  color: #0f172a;
  margin-bottom: 4px;
}
.cart-row .meta .lic {
  color: #64748b;
  font-size: 12.5px;
  margin-bottom: 4px;
}
.cart-row .meta .by {
  color: #6366f1;
  font-size: 12.5px;
}
.cart-row .unit-price { color: #475569; font-size: 13px; min-width: 70px; text-align: right; }
.cart-row .line-total { color: #0f172a; font-weight: 700; font-size: 15px; min-width: 80px; text-align: right; }
.cart-row .remove {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
}
.cart-row .remove:hover { color: #b91c1c; background: #fef2f2; }
@media (max-width: 700px) {
  .cart-row { grid-template-columns: 80px 1fr auto; row-gap: 8px; }
  .cart-row .unit-price, .cart-row .line-total { grid-column: 2 / -1; text-align: left; }
}

.cart-summary {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px 24px;
  align-self: start;
  position: sticky;
  top: 88px;
}
.cart-summary h3 { margin-bottom: 18px; font-size: 16px; }
.cart-summary .sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  color: #475569;
  padding: 6px 0;
}
.cart-summary .sum-row.total {
  font-size: 18px;
  color: #0f172a;
  font-weight: 700;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}
.cart-summary .btn { margin-top: 18px; }
.empty-cart {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 56px 24px;
  text-align: center;
  color: #64748b;
}
.empty-cart .icon { font-size: 38px; margin-bottom: 10px; }
.empty-cart h3 { color: #0f172a; }

/* ============================================================
 *  Checkout page
 * ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 36px 0 64px;
}
@media (max-width: 880px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 26px;
  margin-bottom: 18px;
}
.checkout-card h2 { font-size: 17px; margin-bottom: 14px; }
.checkout-card .form-field { margin-bottom: 14px; }
.checkout-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.checkout-card input, .checkout-card select, .checkout-card textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: #0f172a;
  transition: border 0.15s, box-shadow 0.15s;
}
.checkout-card input:focus, .checkout-card select:focus, .checkout-card textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}
.currency-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.currency-pick label {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  margin: 0;
  font-weight: 600;
  font-size: 14px;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.currency-pick label:hover { border-color: #6366f1; color: #111827; }
.currency-pick label.is-active {
  border-color: #6366f1;
  background: #eef2ff;
  color: #4338ca;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.currency-pick input[type=radio] { display: none; }
.currency-pick .sym {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e2e8f0;
  font-size: 13px;
  color: #334155;
}
.currency-pick label.is-active .sym { background: #6366f1; color: #fff; }

.bank-info {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 16px;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: #1e293b;
  line-height: 1.95;
}
.bank-info .row { display: flex; gap: 14px; }
.bank-info .row .k { min-width: 130px; color: #64748b; }
.bank-info .row .v { color: #0f172a; font-weight: 500; }

.order-summary-side {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px 24px;
  align-self: start;
  position: sticky;
  top: 88px;
}
.order-summary-side h3 { font-size: 16px; margin-bottom: 14px; }
.order-summary-side .line-mini {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
}
.order-summary-side .line-mini:last-child { border-bottom: none; }
.order-summary-side .line-mini .left { color: #334155; }
.order-summary-side .line-mini .left span { color: #64748b; font-size: 12px; }
.order-summary-side .line-mini .right { color: #0f172a; font-weight: 600; }
.order-summary-side .totals { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e5e7eb; }
.order-summary-side .tot-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: #475569; }
.order-summary-side .tot-row.grand { color: #0f172a; font-size: 18px; font-weight: 700; margin-top: 6px; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.18s;
}
.modal-backdrop.show { opacity: 1; visibility: visible; }
.modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 540px;
  padding: 28px 30px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.30);
  transform: translateY(8px);
  transition: transform 0.18s;
}
.modal-backdrop.show .modal { transform: translateY(0); }
.modal h2 { font-size: 22px; margin-bottom: 6px; }
.modal .modal-sub { color: #64748b; font-size: 13.5px; margin-bottom: 20px; }
.modal .order-id-display {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 18px;
  text-align: center;
}
.modal .order-id-display .label {
  color: #4f46e5;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.modal .order-id-display .id-value {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 22px;
  color: #312e81;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.modal .pay-amount {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  color: #475569;
  margin-bottom: 14px;
}
.modal .pay-amount strong { color: #0f172a; font-size: 22px; font-weight: 700; }
.modal .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.modal .modal-actions .btn { flex: 1; }
.modal .reminder {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  color: #78350f;
  margin: 14px 0;
  line-height: 1.55;
}

/* ============================================================
 *  Designer page
 * ============================================================ */
.designer-banner {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  padding: 56px 0 44px;
  border-bottom: 1px solid #e5e7eb;
}
.designer-banner .inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.designer-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c7d2fe, #fbcfe8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #312e81;
  font-size: 38px;
  font-weight: 700;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.designer-info .label {
  color: #6366f1;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.designer-info .signature {
  font-family: "Brush Script MT", "Pacifico", "Lucida Handwriting", cursive;
  font-size: 56px;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.designer-info .product-count {
  color: #64748b;
  font-size: 13.5px;
  margin-top: 6px;
}
@media (max-width: 600px) {
  .designer-banner .inner { flex-direction: column; text-align: center; gap: 18px; }
  .designer-info .signature { font-size: 44px; }
}

/* ============================================================
 *  License page
 * ============================================================ */
.license-section {
  padding: 32px 0;
  border-bottom: 1px solid #e5e7eb;
}
.license-section:last-child { border-bottom: none; }
.license-section h2 { font-size: 22px; margin-bottom: 6px; }
.license-section > em {
  display: block;
  color: #64748b;
  font-size: 14.5px;
  margin-bottom: 16px;
  font-style: normal;
}
.license-section p { font-size: 14.5px; color: #334155; }
.license-section ul { padding-left: 22px; margin: 8px 0; }
.license-section ul li {
  list-style: disc;
  padding: 4px 0;
  color: #334155;
  font-size: 14.5px;
}

/* ============================================================
 *  Footer
 * ============================================================ */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 40px 0 28px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.footer-brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.10em;
  color: #fff;
  margin-bottom: 14px;
}
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: #94a3b8;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a:hover { color: #fff; }
.footer-links .sep { color: #475569; }
.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #1e293b;
  font-size: 12.5px;
  color: #64748b;
}

/* ============================================================
 *  Toast
 * ============================================================ */
.toast {
  position: fixed;
  right: 20px;
  top: 20px;
  background: #0f172a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  z-index: 1000;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.18s;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: #059669; }
.toast.error { background: #dc2626; }

/* ============================================================
 *  Legal pages
 * ============================================================ */
.legal-list { padding-left: 22px; margin: 12px 0 24px; }
.legal-list > li {
  list-style: decimal;
  padding: 8px 0;
  color: #334155;
  font-size: 14.5px;
}
.legal-list > li strong { color: #0f172a; }

/* utils */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }


/* ============================================================
 *  Product ABOUT (+) accordion
 * ============================================================ */
.product-about {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin: 32px 0 8px;
  background: #fff;
  overflow: hidden;
}
.product-about .pa-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  background: #f8fafc;
  transition: background 0.15s;
}
.product-about .pa-head:hover { background: #f1f5f9; }
.product-about .pa-head .pa-title {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #0f172a;
  text-transform: uppercase;
}
.product-about .pa-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.product-about[data-open="true"] .pa-toggle { transform: rotate(45deg); }
.product-about .pa-body {
  display: none;
  padding: 20px 24px 22px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.product-about[data-open="true"] .pa-body { display: block; }
.product-about .pa-body p {
  white-space: pre-wrap;
  color: #334155;
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.product-about .pa-disclaimer {
  margin-top: 18px;
  padding: 14px 16px;
  background: #eef2ff;
  border-left: 3px solid #6366f1;
  border-radius: 6px;
  color: #312e81;
  font-size: 13.5px;
  line-height: 1.6;
}

/* Product card thumbs — show real image when uploaded */
.product-thumb { position: relative; overflow: hidden; }
.product-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
 *  Info pages (About Us / Contact Us)
 * ============================================================ */
.info-block {
  padding: 28px 0;
}
.info-block h2 {
  font-size: 22px;
  margin-bottom: 12px;
}
.info-block p {
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
}
.contact-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 26px 28px;
  margin-top: 18px;
}
.contact-card .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14.5px;
}
.contact-card .row:last-child { border-bottom: none; }
.contact-card .row .k {
  color: #64748b;
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-card .row .v { color: #0f172a; line-height: 1.6; }
.contact-card .row .v a { color: #6366f1; font-weight: 500; }
.contact-card .row .v a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .contact-card .row { grid-template-columns: 1fr; gap: 4px; }
}


/* License disclaimer per type */
.license-section .lic-disclaimer {
  margin-top: 14px;
  padding: 12px 16px;
  background: #fef3c7;
  border-left: 3px solid #f59e0b;
  border-radius: 6px;
  color: #78350f;
  font-size: 13.5px;
  line-height: 1.6;
}



/* ============================================================
 *  Language switcher (top-right of navbar)
 * ============================================================ */
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.lang-switcher {
  position: relative;
  display: inline-flex;
}
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.lang-trigger:hover { background: #f1f5f9; color: #111827; border-color: #cbd5e1; }
.lang-trigger svg { color: #64748b; flex-shrink: 0; }
.lang-trigger .caret { font-size: 10px; color: #94a3b8; }
.lang-trigger-label { letter-spacing: 0.04em; }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
  padding: 6px 0;
  display: none;
  z-index: 120;
  max-height: 360px;
  overflow-y: auto;
}
.lang-switcher.open .lang-menu { display: block; }
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 13.5px;
  color: #334155;
  white-space: nowrap;
  cursor: pointer;
}
.lang-menu a:hover { background: #f1f5f9; color: #111827; }
.lang-menu a.active { background: #eef2ff; color: #4338ca; font-weight: 600; }
.lang-menu a .flag { font-size: 16px; line-height: 1; }
.lang-menu a .lbl { flex: 1; }
.lang-menu a .short {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

/* RTL adjustments for Arabic. */
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
html[dir="rtl"] .nav-inner,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .nav-actions,
html[dir="rtl"] .footer-links {
  direction: rtl;
}
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .lang-trigger .caret { margin-left: 0; }

@media (max-width: 720px) {
  .lang-trigger .lang-trigger-label { display: none; }
  .lang-trigger { padding: 6px 8px; }
}
