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

:root {
  --gold: #b77a14;
  --gold-dark: #805611;
  --gold-soft: #d3a24b;
  --ink: #15110c;
  --paper: #f4eee4;
  --cream: #ede6da;
  --line: rgba(128, 86, 17, 0.24);
  --dark: #1a1a18;
}

html { scroll-behavior: smooth; }

#who-we-are {
  scroll-margin-top: 82px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.78), transparent 25%),
    linear-gradient(135deg, rgba(104,78,46,.08), rgba(255,255,255,.34)),
    var(--cream);
  font-family: "Lato", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .4;
  background-image:
    linear-gradient(112deg, transparent 0 18%, rgba(99,74,44,.12) 18.3%, transparent 18.9% 52%, rgba(99,74,44,.08) 52.3%, transparent 52.8%),
    linear-gradient(22deg, transparent 0 33%, rgba(255,255,255,.5) 33.3%, transparent 34% 78%, rgba(99,74,44,.08) 78.2%, transparent 79%);
  background-size: 520px 430px, 430px 370px;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }

.brand,
h1,
h2,
.stone-card span,
.stat-item strong,
.footer-tag strong {
  font-family: "Cinzel", Georgia, serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 96px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 38px;
  background: rgba(244, 238, 228, .95);
  border-bottom: 1px solid rgba(128,86,17,.16);
  box-shadow: 0 2px 12px rgba(48,34,16,.08);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-dark);
  font-size: clamp(22px, 2.25vw, 30px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img {
  width: 104px;
  height: 82px;
  object-fit: contain;
  flex: 0 0 auto;
  transform: scale(1.28);
  transform-origin: center;
}

.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 28px);
}

.nav-links a {
  position: relative;
  color: #111;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
}

.nav-links a.active {
  color: var(--gold-dark);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.button.primary,
.nav-cta {
  color: #fff;
  background: linear-gradient(180deg, #bd841d, #a76b0f);
  box-shadow: 0 6px 14px rgba(74,47,10,.12);
}

.button.secondary {
  color: var(--ink);
  background: rgba(246,241,232,.78);
  border-color: var(--gold-dark);
}

.hero {
  position: relative;
  height: clamp(420px, 48vw, 610px);
  overflow: hidden;
  background: #d8cec0;
}

.hero-bg {
  position: absolute;
  inset: -60px 0 auto;
  width: 100%;
  height: calc(100% + 60px);
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  transition: opacity 350ms ease;
}

.hero-bg.is-changing {
  opacity: 0;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244,238,228,.76) 0%, rgba(244,238,228,.48) 34%, rgba(244,238,228,.04) 59%);
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  width: min(100%, 1360px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto;
  padding: 0 76px;
}

.hero h1 {
  max-width: 560px;
  color: #17100a;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}

.gold-rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 17px 0;
  background: var(--gold);
}

.gold-rule.small {
  width: 46px;
  height: 3px;
  margin: 9px 0 18px;
}

.gold-rule.center {
  width: 52px;
  height: 3px;
  margin: 9px auto 24px;
}

.hero p {
  color: #231b12;
  font-size: clamp(17px, 1.75vw, 22px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.quality-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(246,241,232,.82);
  border-bottom: 1px solid rgba(128,86,17,.16);
  padding: 24px max(36px, calc((100% - 1220px) / 2)) 22px;
}

.quality-item {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.quality-item:last-child { border-right: 0; }

.quality-item svg,
.stat-item svg,
.footer-contact svg,
.footer-tag svg,
.choose-card svg {
  color: var(--gold-dark);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quality-item svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.45;
}

.quality-item strong {
  font-size: 14px;
  font-weight: 900;
}

.quality-item span {
  color: #151515;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.about-section {
  width: min(100%, 1220px);
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  margin: 0 auto;
  padding: 34px 38px 20px;
}

.about-copy h2,
.stones-section h2,
.manufacturing-section h2,
.choose-section h2,
.footer-cta h2 {
  color: var(--gold-dark);
  font-size: clamp(27px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.about-copy p {
  margin-bottom: 14px;
  color: #191817;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.about-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
}

.about-list li {
  position: relative;
  padding-left: 24px;
  color: #151515;
  font-size: 13px;
  font-weight: 900;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--gold-dark);
  border-radius: 50%;
}

.about-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--gold-dark);
  border-bottom: 1.5px solid var(--gold-dark);
  transform: rotate(-45deg);
}

.small-btn { min-height: 42px; padding: 0 22px; }

.about-image {
  min-height: 355px;
  overflow: hidden;
  background: #d6d0c7;
  box-shadow: 0 2px 10px rgba(52,38,18,.16);
}

.about-image img {
  width: 100%;
  height: 355px;
  object-fit: cover;
  object-position: center 56%;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px max(38px, calc((100% - 1220px) / 2));
  background:
    linear-gradient(118deg, transparent 0 24%, rgba(255,255,255,.04) 24.4%, transparent 27%),
    linear-gradient(118deg, transparent 0 63%, rgba(255,255,255,.05) 63.3%, transparent 66%),
    var(--dark);
}

.stat-item {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-right: 1px solid rgba(183,122,20,.62);
}

.stat-item:last-child { border-right: 0; }

.stat-item svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.35;
}

.stat-item strong {
  display: block;
  color: var(--gold);
  font-size: 34px;
  font-weight: 900;
  line-height: .95;
}

.stat-item span {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.stones-section,
.manufacturing-section,
.choose-section {
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 28px 38px;
}

.stones-section h2,
.manufacturing-section h2,
.choose-section h2 {
  text-align: center;
}

.stones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stone-card {
  position: relative;
  display: block;
  min-height: 264px;
  overflow: hidden;
  border: 1px solid rgba(128,86,17,.18);
  border-radius: 4px;
  background: #ddd;
  box-shadow: 0 2px 7px rgba(40,29,13,.16);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.stone-card:hover,
.stone-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(40,29,13,.18);
}

.stone-card:focus-visible {
  outline: 3px solid rgba(183,122,20,.35);
  outline-offset: 4px;
}

.stone-card::before {
  content: "";
  position: absolute;
  inset: 0 0 66px;
  background-size: cover;
}

.stone-card.indian::before {
  background: url("Pic/Indian-granite.png") center / cover;
}

.stone-card.sandstone::before {
  background: url("Pic/sandstone.png") center / cover;
}

.stone-card.marble::before {
  background: url("Pic/indian-marbal.png") center / cover;
}

.stone-card.dark::before {
  background: url("Pic/luxury-surface-finishing.png") center / cover;
}

.stone-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #20160c;
  background: #f1ebe2;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.view-all {
  width: 210px;
  margin: 28px auto 0;
}

.product-page {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 76px 38px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
}

.product-copy h1 {
  color: var(--gold-dark);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.product-copy p {
  margin: 18px 0 28px;
  color: #231b12;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.product-image {
  min-height: 360px;
  border: 1px solid rgba(128,86,17,.18);
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 32px rgba(40,29,13,.18);
}

.product-image.granite { background-image: url("Pic/Indian-granite.png"); }
.product-image.sandstone { background-image: url("Pic/sandstone.png"); }
.product-image.marble { background-image: url("Pic/indian-marbal.png"); }
.product-image.varieties { background-image: url("Pic/luxury-surface-finishing.png"); }

.manufacturing-section {
  border-top: 1px solid rgba(128,86,17,.18);
}

.manufacturing-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 28px;
}

.manufacturing-copy p {
  margin-bottom: 0;
  color: #171717;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.manufacturing-image {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(128,86,17,.18);
  border-radius: 4px;
  background: #d8cec0;
  box-shadow: 0 14px 32px rgba(40,29,13,.18);
}

.manufacturing-slideshow {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: opacity 350ms ease;
}

.manufacturing-slideshow.is-changing {
  opacity: 0;
}

.choose-section {
  border-top: 1px solid rgba(128,86,17,.18);
  padding-bottom: 26px;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.choose-card {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(128,86,17,.16);
  border-radius: 4px;
  background: rgba(246,241,232,.58);
  box-shadow: 0 1px 5px rgba(40,29,13,.08);
  text-align: center;
}

.choose-card svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.45;
}

.choose-card span {
  font-size: 13px;
  font-weight: 900;
}

footer {
  color: #fff;
  background:
    linear-gradient(114deg, transparent 0 19%, rgba(255,255,255,.035) 19.3%, transparent 23%),
    linear-gradient(114deg, transparent 0 58%, rgba(255,255,255,.055) 58.3%, transparent 63%),
    var(--dark);
}

.footer-main {
  width: min(100%, 1220px);
  display: grid;
  grid-template-columns: 250px 1fr 370px;
  gap: 0;
  align-items: center;
  margin: 0 auto;
  padding: 25px 38px 23px;
}

.footer-cta,
.footer-contact,
.footer-tag { min-height: 108px; }

.footer-cta {
  border-right: 1px solid var(--gold-dark);
}

.footer-cta h2 {
  color: var(--gold);
  font-size: 27px;
}

.footer-cta .button {
  min-height: 43px;
  padding: 0 20px;
  font-size: 13px;
}

.footer-contact {
  display: grid;
  gap: 9px;
  align-content: center;
  padding: 0 42px;
  font-style: normal;
}

.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.footer-contact svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

.footer-tag {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-left: 45px;
  border-left: 1px solid var(--gold-dark);
  cursor: pointer;
}

.footer-tag:hover strong,
.footer-tag:focus-visible strong {
  color: var(--gold-soft);
}

.footer-tag svg {
  width: 62px;
  height: 62px;
  stroke-width: 1.35;
}

.footer-tag strong {
  display: block;
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-tag p {
  margin-top: 7px;
  color: #f4eee4;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.footer-bottom {
  padding: 13px 16px;
  color: #fff;
  background: linear-gradient(180deg, #bb7d17, #a8670d);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.inquiry-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.inquiry-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 13, 7, .68);
  backdrop-filter: blur(8px);
}

.inquiry-dialog {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid rgba(183,122,20,.38);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.32)),
    var(--paper);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  transform: translateY(18px) scale(.98);
  transition: transform 240ms ease;
}

.inquiry-modal.is-open .inquiry-dialog {
  transform: translateY(0) scale(1);
}

.inquiry-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(128,86,17,.28);
  border-radius: 50%;
  color: var(--gold-dark);
  background: rgba(255,255,255,.58);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.inquiry-intro {
  padding: 34px 38px 20px;
  border-bottom: 1px solid rgba(128,86,17,.16);
}

.inquiry-intro span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.inquiry-intro h2 {
  color: #17100a;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.inquiry-intro p {
  max-width: 610px;
  margin-top: 12px;
  color: #31251a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 26px 38px 34px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: #20160c;
  font-size: 13px;
  font-weight: 900;
}

.optional-field {
  color: rgba(32,22,12,.68);
  font-size: 12px;
  font-weight: 700;
}

.inquiry-form label:has(textarea),
.inquiry-submit,
.inquiry-status {
  grid-column: 1 / -1;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(128,86,17,.24);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255,255,255,.76);
  font: inherit;
  font-weight: 700;
  outline: 0;
}

.inquiry-form input,
.inquiry-form select {
  min-height: 46px;
  padding: 0 14px;
}

.inquiry-form textarea {
  resize: vertical;
  padding: 13px 14px;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(183,122,20,.14);
}

.inquiry-submit {
  width: 100%;
  min-height: 48px;
  cursor: pointer;
}

.inquiry-status {
  min-height: 18px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

@media (max-width: 1100px) {
  .site-header {
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 24px;
  }

  .brand {
    width: 100%;
    text-align: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .hero-bg {
    inset: 0;
    height: 100%;
  }

  .about-section,
  .manufacturing-layout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-cta,
  .footer-tag {
    border: 0;
    padding-left: 0;
  }

  .footer-contact {
    padding: 20px 0;
  }
}

.admin-add-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  width: 58px;
  height: 58px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #bd841d, #a76b0f);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .24);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

body.is-admin .admin-add-button {
  display: inline-flex;
}

.admin-section-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.admin-section-modal.is-open {
  display: flex;
}

.admin-section-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, .68);
}

.admin-section-dialog {
  position: relative;
  width: min(100%, 520px);
  padding: 32px;
  /* Ensure the dialog never exceeds the viewport height and becomes scrollable on small devices */
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(183, 122, 20, .35);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .34);
}

.admin-section-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  color: var(--gold-dark);
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.admin-section-dialog h2 {
  margin-bottom: 20px;
  color: var(--gold-dark);
  font-size: 24px;
}

.admin-section-form {
  display: grid;
  gap: 16px;
}

.admin-section-form label {
  display: grid;
  gap: 8px;
  color: #2a2118;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-section-form input,
.admin-section-form select,
.admin-section-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(128, 86, 17, .32);
  border-radius: 4px;
  color: var(--ink);
  background: #fffaf2;
  font: inherit;
  font-weight: 700;
  outline: none;
}

.admin-section-form input[type="file"] {
  cursor: pointer;
}

.admin-section-form textarea {
  resize: vertical;
}

.admin-elements-section {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 34px 38px;
}

.admin-elements-section h2 {
  color: var(--gold-dark);
  font-size: clamp(27px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.admin-elements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.admin-element-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(128,86,17,.18);
  border-radius: 6px;
  background: #f1ebe2;
  box-shadow: 0 8px 18px rgba(40,29,13,.12);
}

.admin-element-image-button {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-element-image-button img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.admin-element-body {
  padding: 18px;
}

.admin-element-body h3 {
  color: var(--gold-dark);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.admin-element-body p {
  margin-top: 9px;
  color: #191817;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.admin-element-menu {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.admin-element-menu-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(128, 86, 17, .26);
  border-radius: 50%;
  color: var(--gold-dark);
  background: rgba(244, 238, 228, .94);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.admin-element-menu-list {
  position: absolute;
  top: 40px;
  right: 0;
  min-width: 118px;
  display: none;
  overflow: hidden;
  border: 1px solid rgba(128, 86, 17, .24);
  border-radius: 5px;
  background: #fffaf2;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

.admin-element-menu.is-open .admin-element-menu-list {
  display: grid;
}

.admin-element-menu-list button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  color: #21180f;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.admin-element-menu-list button:hover,
.admin-element-menu-list button:focus-visible {
  color: #fff;
  background: var(--gold-dark);
}

.product-detail-modal,
.product-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.product-detail-modal.is-open,
.product-edit-modal.is-open {
  display: flex;
}

.product-detail-backdrop,
.product-edit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, .72);
}

.product-detail-dialog,
.product-edit-dialog {
  position: relative;
  width: min(100%, 780px);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border: 1px solid rgba(183, 122, 20, .35);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .34);
}

.product-detail-close,
.product-edit-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 1;
  border: 0;
  color: var(--gold-dark);
  background: rgba(244, 238, 228, .9);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.product-detail-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.product-detail-copy,
.product-edit-dialog {
  padding: 30px;
}

.product-detail-category {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-detail-copy h2,
.product-edit-dialog h2 {
  color: var(--gold-dark);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.product-detail-copy p {
  margin-top: 14px;
  color: #191817;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.product-edit-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.product-edit-form label {
  display: grid;
  gap: 8px;
  color: #2a2118;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-edit-form input,
.product-edit-form select,
.product-edit-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(128, 86, 17, .32);
  border-radius: 4px;
  color: var(--ink);
  background: #fffaf2;
  font: inherit;
  font-weight: 700;
  outline: none;
}

.product-edit-form textarea {
  resize: vertical;
}

@media (max-width: 1024px) {
  .quality-strip,
  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quality-item:nth-child(2),
  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stones-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-elements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choose-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stone-card {
    min-height: 300px;
  }

  .inquiry-dialog {
    max-width: 680px;
  }
}

@media (max-width: 820px) {
  .site-header { position: static; }
  .nav-cta { display: none; }
  .brand {
    justify-content: center;
    white-space: normal;
  }
  .brand img {
    width: 86px;
    height: 68px;
    transform: none;
  }
  .brand span {
    max-width: min(100%, 420px);
    line-height: 1.15;
    text-align: center;
  }
  .nav-links {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .hero {
    height: 560px;
  }
  .hero-content {
    padding: 0 24px;
    max-width: 560px;
  }
  .hero-shade { background: linear-gradient(90deg, rgba(244,238,228,.42), rgba(244,238,228,.08)); }
  .quality-strip,
  .stats-band,
  .stones-grid,
  .choose-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quality-item:nth-child(2),
  .stat-item:nth-child(2) {
    border-right: 0;
  }
  .about-section,
  .stones-section,
  .manufacturing-section,
  .choose-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .about-image,
  .about-image img {
    min-height: 300px;
    height: 300px;
  }

  .footer-main {
    max-width: 640px;
  }

  .inquiry-dialog {
    max-width: 620px;
  }

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

  .product-image {
    min-height: 300px;
  }

  .manufacturing-image {
    min-height: 300px;
  }

  .manufacturing-slideshow {
    height: 300px;
  }
}

@media (max-width: 560px) {
  .brand { font-size: 18px; }
  .brand img {
    width: 78px;
    height: 62px;
  }
  .brand span {
    max-width: 300px;
  }
  .hero { height: 520px; }
  .hero h1 { font-size: 24px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .quality-strip,
  .stats-band,
  .stones-grid,
  .admin-elements-grid,
  .choose-grid {
    grid-template-columns: 1fr;
  }
  .quality-item,
  .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .quality-item:last-child,
  .stat-item:last-child {
    border-bottom: 0;
  }
  .footer-tag {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-main {
    gap: 22px;
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .footer-cta,
  .footer-contact,
  .footer-tag {
    min-height: 0;
  }

  .footer-cta h2 {
    font-size: 25px;
  }

  .footer-cta .button {
    width: 100%;
    max-width: 280px;
    min-height: 46px;
  }

  .footer-contact {
    gap: 14px;
    padding: 0;
  }

  .footer-contact a {
    gap: 14px;
    font-size: 14px;
    line-height: 1.35;
    word-break: break-word;
  }

  .footer-contact svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
  }

  .footer-tag svg {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .footer-tag strong {
    font-size: 16px;
  }

  .footer-tag p {
    font-size: 13px;
  }

  .footer-bottom {
    padding: 11px 84px 11px 14px;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
  }

  .admin-add-button {
    right: 18px;
    bottom: 42px;
    width: 54px;
    height: 54px;
  }

  .inquiry-modal {
    padding: 14px;
  }

  .inquiry-intro,
  .inquiry-form {
    padding-left: 22px;
    padding-right: 22px;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    gap: 10px;
    font-size: 16px;
  }

  .brand img {
    width: 68px;
    height: 56px;
  }

  .brand span {
    max-width: 230px;
  }

  .nav-links {
    gap: 14px;
  }

  .hero {
    height: 500px;
  }

  .hero-content {
    padding: 0 18px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .hero p {
    font-size: 16px;
  }

  .quality-strip,
  .stats-band,
  .stones-section,
  .admin-elements-section,
  .manufacturing-section,
  .choose-section,
  .footer-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-cta .button {
    max-width: none;
  }

  .footer-bottom {
    padding-right: 76px;
  }

  .admin-add-button {
    right: 14px;
    bottom: 40px;
  }

  .stone-card {
    min-height: 250px;
  }

  .product-page {
    padding: 52px 16px;
  }

  .product-image {
    min-height: 240px;
  }

  .manufacturing-image {
    min-height: 240px;
  }

  .manufacturing-slideshow {
    height: 240px;
  }

  .inquiry-modal {
    padding: 10px;
  }

  .inquiry-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 9px;
  }

  .inquiry-close {
    top: 10px;
    right: 10px;
  }

  .inquiry-intro {
    padding-top: 48px;
  }
}

