:root {
  color-scheme: light;
  --ink: #211d1a;
  --muted: #6f665d;
  --paper: #fffaf2;
  --ivory: #f5eadb;
  --gold: #bd8f36;
  --gold-deep: #806123;
  --emerald: #0f4c3f;
  --rose: #b8645a;
  --plum: #4b2545;
  --line: rgba(33, 29, 26, 0.14);
  --shadow: 0 24px 70px rgba(33, 29, 26, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body::selection {
  background: rgba(189, 143, 54, 0.35);
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 250, 242, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(33, 29, 26, 0.08);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 14px 42px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 30;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 50%;
  color: var(--paper);
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  justify-content: center;
  width: 44px;
}

.brand strong,
.site-footer strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 1px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.main-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 180ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.icon-button,
.icon-action {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  position: relative;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  width: 42px;
}

.icon-button:hover,
.icon-action:hover,
.icon-action.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.icon-button svg,
.icon-action svg,
.search-box svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 20px;
}

.cart-button span {
  align-items: center;
  background: var(--gold);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.72rem;
  height: 20px;
  justify-content: center;
  min-width: 20px;
  padding: 0 5px;
  position: absolute;
  right: -7px;
  top: -7px;
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(13, 27, 24, 0.88) 0%, rgba(13, 27, 24, 0.72) 38%, rgba(13, 27, 24, 0.18) 70%),
    url("../assets/khara-sona-hero.png") center right / cover no-repeat;
  color: var(--paper);
  display: flex;
  min-height: 92vh;
  padding: 132px 7vw 72px;
  position: relative;
}

.hero::after {
  background: linear-gradient(0deg, var(--paper), rgba(255, 250, 242, 0));
  bottom: 0;
  content: "";
  height: 92px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.hero-content {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.6rem;
  line-height: 0.92;
  margin: 0;
}

.hero-copy {
  color: rgba(255, 250, 242, 0.86);
  font-size: 1.17rem;
  line-height: 1.7;
  margin: 28px 0 0;
  max-width: 520px;
}

.hero-actions,
.product-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.primary-action,
.secondary-action,
.filter-chip {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.primary-action {
  background: var(--gold);
  color: #1f1710;
}

.primary-action:hover {
  background: #d5ad58;
  transform: translateY(-1px);
}

.secondary-action {
  background: rgba(255, 250, 242, 0.1);
  border-color: rgba(255, 250, 242, 0.36);
  color: var(--paper);
}

.secondary-action:hover {
  background: rgba(255, 250, 242, 0.18);
  transform: translateY(-1px);
}

.secondary-action.small {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  min-height: 40px;
  padding: 0 16px;
}

.secondary-action.small:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.hero-panel {
  background: rgba(255, 250, 242, 0.12);
  border: 1px solid rgba(255, 250, 242, 0.24);
  bottom: 46px;
  color: var(--paper);
  min-width: 240px;
  padding: 20px;
  position: absolute;
  right: 7vw;
  z-index: 1;
}

.hero-panel p,
.hero-panel span {
  color: rgba(255, 250, 242, 0.78);
  margin: 0;
}

.hero-panel strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  margin: 6px 0;
}

.trust-strip {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: -20px auto 0;
  max-width: 1180px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.trust-strip div {
  background: #fffdf8;
  border: 1px solid var(--line);
  min-height: 120px;
  padding: 26px;
}

.trust-strip strong,
.atelier-metrics strong,
.manager-summary strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.trust-strip span,
.atelier-metrics span,
.manager-summary span {
  color: var(--muted);
  display: block;
  line-height: 1.55;
  margin-top: 8px;
}

.section-shell,
.catalog-section,
.manager-section,
.appointment-section {
  margin: 0 auto;
  max-width: 1240px;
  padding: 92px 24px 0;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 420px;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.section-heading h2,
.atelier-copy h2,
.appointment-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1.05;
  margin: 0;
}

.section-heading p,
.atelier-copy p,
.appointment-copy p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.section-heading .eyebrow,
.atelier-copy .eyebrow,
.appointment-copy .eyebrow {
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.collection-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  min-height: 260px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.collection-card::after {
  bottom: -70px;
  content: "";
  height: 170px;
  position: absolute;
  right: -38px;
  transform: rotate(-18deg);
  width: 170px;
}

.collection-card.bridal::after {
  background: var(--gold);
}

.collection-card.everyday::after {
  background: var(--emerald);
}

.collection-card.gemstones::after {
  background: var(--rose);
}

.collection-card span {
  color: var(--gold-deep);
  font-weight: 800;
}

.collection-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  margin: 42px 0 12px;
}

.collection-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  max-width: 270px;
}

.catalog-toolbar {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  margin: 28px 0 24px;
}

.search-box,
.sort-box {
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  display: flex;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
}

.search-box input,
.sort-box select,
.appointment-form input,
.appointment-form select,
.stock-input {
  background: transparent;
  border: 0;
  color: var(--ink);
  min-width: 0;
  outline: 0;
  width: 100%;
}

.sort-box {
  min-width: 210px;
}

.sort-box span {
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.filter-chip {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  min-height: 44px;
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--paper);
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(33, 29, 26, 0.05);
  overflow: hidden;
}

.product-media {
  aspect-ratio: 1;
  background: var(--ivory);
  overflow: hidden;
  position: relative;
}

.product-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
  width: 100%;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-badge {
  background: rgba(255, 250, 242, 0.88);
  border: 1px solid rgba(33, 29, 26, 0.1);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  left: 16px;
  padding: 8px 12px;
  position: absolute;
  top: 16px;
}

.product-body {
  padding: 22px;
}

.product-body p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  text-transform: capitalize;
}

.product-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  margin: 8px 0 10px;
}

.price {
  color: var(--gold-deep);
  display: block;
  font-weight: 850;
  margin-bottom: 18px;
}

.product-actions {
  justify-content: space-between;
}

.atelier-band {
  align-items: center;
  background: var(--emerald);
  color: var(--paper);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  margin-top: 96px;
  padding: 84px 7vw;
}

.atelier-copy p {
  color: rgba(255, 250, 242, 0.78);
}

.atelier-metrics {
  display: grid;
  gap: 12px;
}

.atelier-metrics div {
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.16);
  padding: 22px;
}

.atelier-metrics span {
  color: rgba(255, 250, 242, 0.72);
}

.manager-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: 280px minmax(0, 1fr);
}

.manager-summary {
  display: grid;
  gap: 14px;
}

.manager-summary div,
.table-wrap {
  background: #fffdf8;
  border: 1px solid var(--line);
}

.manager-summary div {
  padding: 22px;
}

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

table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

caption {
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 18px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 7px 11px;
  text-transform: capitalize;
}

.status.live {
  background: rgba(15, 76, 63, 0.1);
  color: var(--emerald);
}

.status.draft {
  background: rgba(184, 100, 90, 0.13);
  color: var(--rose);
}

.stock-input {
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 38px;
  padding: 0 10px;
  width: 86px;
}

.appointment-section {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 430px;
  padding-bottom: 92px;
}

.appointment-form {
  background: #fffdf8;
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
  padding: 26px;
}

.appointment-form label {
  color: var(--muted);
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}

.appointment-form input,
.appointment-form select {
  border: 1px solid var(--line);
  min-height: 48px;
  padding: 0 12px;
}

.form-note {
  color: var(--emerald);
  line-height: 1.55;
  margin: 0;
  min-height: 24px;
}

.quick-view {
  background: #fffdf8;
  border: 1px solid var(--line);
  color: var(--ink);
  max-width: 920px;
  padding: 0;
  width: min(92vw, 920px);
}

.quick-view::backdrop {
  background: rgba(16, 13, 11, 0.62);
}

.close-modal {
  background: #fffdf8;
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 1;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
}

.modal-layout img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  width: 100%;
}

.modal-layout > div {
  padding: 54px 36px 36px;
}

.modal-layout h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1.05;
  margin: 0 0 16px;
}

.modal-layout p {
  color: var(--muted);
  line-height: 1.7;
}

dl {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

dl div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 120px 1fr;
  padding-top: 12px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  padding: 38px 42px;
}

.site-footer p {
  color: rgba(255, 250, 242, 0.7);
  margin: 6px 0 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: rgba(255, 250, 242, 0.72);
}

.empty-state {
  background: #fffdf8;
  border: 1px solid var(--line);
  color: var(--muted);
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }

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

  .section-heading,
  .atelier-band,
  .manager-layout,
  .appointment-section {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .filter-group {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    background:
      linear-gradient(0deg, rgba(13, 27, 24, 0.9) 0%, rgba(13, 27, 24, 0.62) 55%, rgba(13, 27, 24, 0.28) 100%),
      url("../assets/khara-sona-hero.png") center / cover no-repeat;
    min-height: 88vh;
    padding: 118px 24px 64px;
  }

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

  .hero-copy {
    font-size: 1rem;
  }

  .hero-panel {
    display: none;
  }

  .trust-strip,
  .collection-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
  }

  .section-shell,
  .catalog-section,
  .manager-section,
  .appointment-section {
    padding-top: 70px;
  }

  .section-heading h2,
  .atelier-copy h2,
  .appointment-copy h2 {
    font-size: 2.25rem;
  }

  .collection-card {
    min-height: 220px;
  }

  .atelier-band {
    margin-top: 70px;
    padding: 64px 24px;
  }

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

  .modal-layout img {
    max-height: 340px;
    min-height: 300px;
  }

  .modal-layout > div {
    padding: 34px 24px 26px;
  }

  dl div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 22px;
    padding: 34px 24px;
  }
}
