
:root {
  --navy-950: #061224;
  --navy-900: #0a1b35;
  --navy-800: #102746;
  --silver-100: #f6f8fb;
  --silver-200: #e7ebf0;
  --silver-300: #cfd7e2;
  --silver-500: #8995a5;
  --diamond: #c9efff;
  --champagne: #ead6a9;
  --blush: #f4b8c6;
  --emerald: #2ea66f;
  --sapphire: #2f78d8;
  --coral: #ef7b68;
  --ink: #132033;
  --muted: #6e7b8d;
  --white: #ffffff;
  --danger: #9f2735;
  --success: #1e6b53;
  --shadow: 0 24px 70px rgba(5, 18, 36, 0.18);
  --radius: 8px;
  --topbar-height: 74px;
  --background: var(--silver-100);
  --foreground: var(--ink);
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(140deg, rgba(244, 184, 198, 0.18), transparent 24%),
    linear-gradient(225deg, rgba(46, 166, 111, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(6, 18, 36, 0.04), rgba(246, 248, 251, 0)),
    var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(6, 18, 36, 0.96), rgba(10, 27, 53, 0.94), rgba(13, 49, 72, 0.94));
  color: var(--white);
  border-bottom: 1px solid rgba(201, 239, 255, 0.22);
  backdrop-filter: blur(14px);
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.logo-mark img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.22));
}

.logo-mark.compact img {
  width: 54px;
  height: 54px;
}

.logo-mark div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.logo-mark strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.2vw, 2.6rem);
  line-height: 0.95;
}

.logo-mark.compact strong {
  font-size: 1rem;
  white-space: nowrap;
}

.logo-mark span {
  color: var(--silver-300);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.main-nav a,
.main-nav button,
.cart-button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--silver-200);
  padding: 0 14px;
  white-space: nowrap;
}

.main-nav a,
.main-nav button {
  display: inline-flex;
  align-items: center;
}

.main-nav a:hover,
.main-nav button:hover,
.main-nav .nav-active {
  border-color: rgba(201, 239, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: rgba(201, 239, 255, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(201, 239, 255, 0.05));
}

.cart-button span {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--diamond), var(--champagne));
  color: var(--navy-950);
  font-weight: 900;
}

.cart-button strong {
  display: inline-grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-950);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  height: clamp(500px, calc(100svh - var(--topbar-height)), 620px);
  min-height: 0;
  overflow: hidden;
  padding: clamp(18px, 3vw, 38px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 18, 36, 0.95) 0%, rgba(6, 18, 36, 0.84) 34%, rgba(6, 18, 36, 0.36) 68%, rgba(6, 18, 36, 0.12)),
    linear-gradient(180deg, rgba(6, 18, 36, 0.18), rgba(6, 18, 36, 0.4)),
    url("/assets/hero-jewelry-boutique.png") center / cover no-repeat,
    var(--navy-900);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 74px;
  background: linear-gradient(180deg, transparent, rgba(246, 248, 251, 0.92));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-self: center;
  max-width: 620px;
  text-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.hero-logo {
  width: clamp(280px, 32vw, 480px);
  height: auto;
  margin-bottom: 0;
  filter:
    drop-shadow(0 22px 36px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 18px rgba(201, 239, 255, 0.2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--diamond);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading .eyebrow {
  color: var(--navy-800);
}

.hero-copy h1,
.section-heading h1,
.section-heading h2,
.payment-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-copy > p:not(.eyebrow) {
  display: none;
}

.hero-actions {
  display: none;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-link,
.secondary-link,
.primary-button,
.secondary-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 800;
}

.primary-link,
.primary-button {
  background: linear-gradient(135deg, var(--white), var(--diamond) 46%, var(--champagne));
  color: var(--navy-950);
  box-shadow: 0 18px 34px rgba(201, 239, 255, 0.18);
}

.secondary-link,
.secondary-button {
  border-color: rgba(244, 184, 198, 0.56);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.whatsapp-link {
  gap: 9px;
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.34),
    0 10px 20px rgba(37, 211, 102, 0.26);
}

.whatsapp-icon svg {
  width: 72%;
  height: 72%;
}

.whatsapp-icon.big {
  width: 54px;
  height: 54px;
}

.secondary-button {
  color: var(--navy-950);
  border-color: var(--silver-300);
  background: var(--white);
}

.hero-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  align-self: end;
  padding-bottom: clamp(6px, 2vw, 26px);
}

.showcase-item,
.product-card,
.review-card,
.login-panel,
.admin-form,
.admin-panel,
.drawer-panel {
  border: 1px solid rgba(137, 149, 165, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 251, 0.98)),
    var(--white);
  box-shadow: var(--shadow);
}

.showcase-item {
  display: grid;
  align-content: start;
  min-height: 0;
  padding: 13px;
  color: var(--ink);
  border-color: rgba(201, 239, 255, 0.35);
}

.showcase-item:nth-child(2) {
  transform: translateY(20px);
  border-color: rgba(234, 214, 169, 0.62);
}

.showcase-item:nth-child(3) {
  border-color: rgba(244, 184, 198, 0.58);
}

.showcase-item span,
.product-info > span {
  color: var(--silver-500);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.showcase-item strong {
  margin-top: 8px;
  min-height: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.25vw, 1.24rem);
  line-height: 1.1;
}

.showcase-item small,
.hero-admin-badge,
.review-card small {
  width: fit-content;
  border-radius: 999px;
  background: rgba(47, 120, 216, 0.12);
  color: var(--sapphire);
  padding: 5px 9px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-item small {
  margin-top: 10px;
}

.showcase-item em {
  margin-top: 6px;
  color: var(--sapphire);
  font-style: normal;
  font-weight: 900;
}

.jewel-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-height: 180px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(207, 215, 226, 0.38)),
    radial-gradient(circle at 35% 20%, rgba(201, 239, 255, 0.7), transparent 18%);
}

.jewel-visual::before,
.jewel-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.jewel-visual::before {
  width: 70%;
  height: 70%;
  border: 13px solid rgba(16, 39, 70, 0.88);
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.64),
    0 22px 36px rgba(6, 18, 36, 0.18);
}

.jewel-visual::after {
  width: 48%;
  height: 48%;
  border: 10px solid rgba(207, 215, 226, 0.86);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.9);
}

.jewel-glow {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 16%;
  right: 18%;
  background: var(--white);
  transform: rotate(45deg);
  box-shadow:
    0 0 0 6px rgba(201, 239, 255, 0.25),
    0 0 28px rgba(255, 255, 255, 0.9);
}

.jewel-line {
  position: absolute;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--silver-300), var(--white), var(--silver-500));
  box-shadow: 0 8px 18px rgba(6, 18, 36, 0.16);
}

.jewel-line.one {
  width: 72%;
  transform: rotate(-16deg);
}

.jewel-line.two {
  width: 54%;
  transform: rotate(18deg);
}

.jewel-stone {
  position: absolute;
  display: block;
  transform: rotate(45deg);
  background:
    linear-gradient(135deg, var(--white), var(--diamond) 45%, rgba(16, 39, 70, 0.32)),
    var(--diamond);
  border: 1px solid rgba(137, 149, 165, 0.5);
}

.jewel-stone.main {
  width: 46px;
  height: 46px;
  top: 23%;
}

.jewel-stone.small {
  width: 18px;
  height: 18px;
}

.jewel-stone.a {
  left: 24%;
  top: 44%;
}

.jewel-stone.b {
  right: 22%;
  bottom: 26%;
}

.jewel-band {
  position: absolute;
  width: 62%;
  height: 16%;
  border: 9px solid rgba(234, 214, 169, 0.92);
  border-radius: 999px;
  transform: rotate(-10deg);
  opacity: 0;
}

.jewel-necklace::before {
  width: 76%;
  height: 76%;
  border-width: 8px;
  border-color: rgba(207, 215, 226, 0.95);
  border-top-color: transparent;
}

.jewel-necklace::after {
  width: 0;
  height: 0;
  border: 0;
}

.jewel-bracelet::before {
  width: 78%;
  height: 42%;
  border-width: 12px;
}

.jewel-earrings::before {
  width: 28%;
  height: 52%;
  left: 23%;
  border-width: 9px;
}

.jewel-earrings::after {
  width: 28%;
  height: 52%;
  right: 23%;
  border-width: 9px;
}

.jewel-pendant::before {
  width: 54%;
  height: 70%;
  border-radius: 48% 48% 52% 52%;
}

.jewel-anklet::before {
  width: 84%;
  height: 28%;
  border-width: 8px;
}

.jewel-set::before {
  width: 72%;
  height: 72%;
  border-width: 8px;
}

.jewel-set::after {
  width: 22%;
  height: 34%;
  left: 18%;
  border-width: 7px;
}

.jewel-men::before {
  width: 74%;
  height: 36%;
  border-width: 14px;
  border-color: #2e3a48;
}

.jewel-gold .jewel-band {
  opacity: 1;
}

.jewel-gold::before,
.jewel-gold::after {
  border-color: rgba(234, 214, 169, 0.92);
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.showcase-item > .product-photo {
  aspect-ratio: 1;
  height: clamp(125px, 12vw, 180px);
  object-fit: cover;
  border: 1px solid rgba(207, 215, 226, 0.72);
}

.admin-item > .product-photo,
.cart-item > .product-photo {
  width: 76px;
  height: 76px;
}

.category-band,
.catalog-section,
.reviews-section,
.payment-section,
.admin-section {
  padding-inline: clamp(18px, 5vw, 72px);
}

.category-band {
  position: relative;
  overflow: hidden;
  padding: 28px 0 30px;
  padding-inline: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 36, 0.98), rgba(8, 24, 44, 0.92)),
    var(--navy-950);
}

.category-band::before,
.category-band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(28px, 8vw, 130px);
  pointer-events: none;
}

.category-band::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy-950), transparent);
}

.category-band::after {
  right: 0;
  background: linear-gradient(270deg, var(--navy-950), transparent);
}

.category-lane {
  position: relative;
  width: calc(100% + 92px);
  margin-left: -46px;
  overflow: hidden;
  transform: rotate(-1deg);
}

.category-lane-blue {
  z-index: 1;
  min-height: 40px;
  border-block: 2px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(90deg, #006dff, #197dff 52%, #0062e6);
  box-shadow: 0 16px 28px rgba(0, 109, 255, 0.18);
}

.category-lane-dark {
  min-height: 42px;
  margin-top: -1px;
  transform: rotate(1deg);
  background: linear-gradient(90deg, #0c1118, #161b23 58%, #0a0f16);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

.category-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: inherit;
  gap: 0;
  animation: category-scroll 34s linear infinite;
}

.category-band:hover .category-track {
  animation-play-state: paused;
}

.category-track.reverse {
  animation: category-scroll-reverse 42s linear infinite;
}

@keyframes category-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes category-scroll-reverse {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.category-band button {
  position: relative;
  min-height: 40px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  padding: 0 clamp(18px, 2.6vw, 34px);
  font-size: clamp(0.76rem, 1.04vw, 0.95rem);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.category-band button::after {
  content: "/";
  position: absolute;
  right: 2px;
  color: var(--champagne);
  font-size: 1.25rem;
  font-weight: 900;
  transform: skewX(-12deg);
  opacity: 0.95;
}

.category-band button.selected {
  color: var(--diamond);
  text-shadow:
    0 0 14px rgba(201, 239, 255, 0.54),
    0 2px 12px rgba(0, 0, 0, 0.34);
}

.category-band button.selected::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 18px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--champagne);
  box-shadow: 0 0 12px rgba(234, 214, 169, 0.72);
}

.tag-list button {
  min-height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(231, 235, 240, 0.62)),
    var(--white);
  color: var(--navy-900);
  padding: 0 13px;
  font-weight: 700;
}

.tag-list button:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--navy-900), var(--sapphire));
  color: var(--white);
}

.catalog-section,
.reviews-section,
.admin-section {
  padding-block: 52px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

.section-heading h1,
.section-heading h2 {
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1;
}

.filters-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius);
  background: var(--white);
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(201, 239, 255, 0.5);
}

.toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  white-space: nowrap;
}

.toggle-row input {
  width: 18px;
  min-height: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 120, 216, 0.36);
  box-shadow: 0 30px 78px rgba(5, 18, 36, 0.2);
}

.product-media {
  position: relative;
  aspect-ratio: 1.03;
  min-height: 240px;
  background:
    linear-gradient(135deg, rgba(201, 239, 255, 0.34), rgba(244, 184, 198, 0.18)),
    var(--silver-200);
}

.product-media .jewel-visual {
  height: 100%;
  min-height: 100%;
  border-radius: 0;
}

.favorite-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(137, 149, 165, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy-900);
  font-size: 1.25rem;
}

.favorite-button.favorited {
  background: var(--navy-900);
  color: var(--diamond);
}

.badges {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.badges span {
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(6, 18, 36, 0.9), rgba(47, 120, 216, 0.86));
  color: var(--white);
  padding: 6px 9px;
  font-size: 0.72rem;
  font-weight: 900;
}

.product-info {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 12px;
  padding: 18px;
}

.product-info h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.12;
}

.product-info p,
.payment-section p,
.review-card p,
.muted {
  color: var(--muted);
  line-height: 1.55;
}

.product-info p {
  margin: 0;
}

.product-info dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.product-info dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--silver-200);
  padding-bottom: 7px;
}

.product-info dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-info dd {
  margin: 0;
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: right;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.price-row strong {
  color: var(--sapphire);
  font-size: 1.35rem;
}

.price-row s {
  color: var(--silver-500);
}

.primary-button {
  width: 100%;
  border: 1px solid rgba(6, 18, 36, 0.08);
}

.review-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 8px 16px;
}

.review-marquee::before,
.review-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 70px;
  pointer-events: none;
}

.review-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--silver-100), transparent);
}

.review-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--silver-100), transparent);
}

.review-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: review-scroll 92s linear infinite;
}

.review-marquee:hover .review-track {
  animation-play-state: paused;
}

@keyframes review-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.review-card {
  width: min(330px, calc(100vw - 42px));
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 6px 12px;
  align-content: start;
  padding: 16px;
}

.review-avatar {
  grid-row: span 3;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--sapphire));
  color: var(--white);
  font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(201, 239, 255, 0.32);
}

.review-card strong {
  color: var(--navy-950);
  line-height: 1.2;
}

.review-card > span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.review-card em {
  color: #f3b73d;
  font-style: normal;
  font-size: 0.86rem;
  letter-spacing: 0;
}

.review-card p {
  grid-column: 1 / -1;
  margin: 8px 0 0;
}

.payment-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: center;
  padding-block: 56px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 18, 36, 0.98), rgba(16, 39, 70, 0.9), rgba(46, 166, 111, 0.34)),
    var(--navy-900);
}

.payment-section h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.contact-card {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(201, 239, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-card span:not(.whatsapp-icon) {
  color: var(--silver-200);
}

.contact-card strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.contact-card a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-950);
  font-weight: 900;
  padding: 0 16px;
}

.admin-section {
  min-height: calc(100vh - 82px);
  background:
    radial-gradient(circle at 84% 4%, rgba(201, 239, 255, 0.46), transparent 24%),
    linear-gradient(180deg, var(--silver-100), #ffffff);
}

.login-panel {
  display: grid;
  gap: 16px;
  max-width: 480px;
  padding: 24px;
}

.login-panel .logo-mark strong,
.admin-section .logo-mark strong {
  color: var(--navy-950);
}

.login-panel .logo-mark span,
.admin-section .logo-mark span {
  color: var(--muted);
}

.admin-layout {
  display: grid;
  gap: 18px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.admin-stats div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
}

.admin-stats span {
  color: var(--muted);
  font-weight: 800;
}

.admin-stats strong {
  color: var(--navy-950);
  font-size: 2rem;
}

.notice,
.floating-notice {
  border: 1px solid rgba(30, 107, 83, 0.28);
  border-radius: var(--radius);
  background: rgba(30, 107, 83, 0.09);
  color: var(--success);
  padding: 12px 14px;
  font-weight: 800;
}

.notice.wide {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 18px;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  padding: 0 18px 0 12px;
  font-weight: 900;
  transform: translateX(-50%);
  box-shadow: 0 18px 42px rgba(18, 140, 126, 0.34);
  animation: whatsapp-pulse 2.8s ease-in-out infinite;
}

.floating-whatsapp .whatsapp-icon {
  background: rgba(255, 255, 255, 0.18);
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 18px 42px rgba(18, 140, 126, 0.34);
  }

  50% {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 22px 48px rgba(37, 211, 102, 0.42);
  }
}

.floating-notice {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 80;
  max-width: min(420px, calc(100vw - 40px));
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-form,
.admin-panel {
  padding: 20px;
}

.admin-form h2,
.admin-panel h2 {
  margin: 0 0 16px;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.form-grid.single {
  grid-template-columns: 1fr;
}

.admin-switches,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0;
}

.thumb-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.thumb-row button {
  width: 108px;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius);
  background: var(--white);
  padding: 6px;
  color: var(--danger);
  font-size: 0.75rem;
  font-weight: 900;
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.admin-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
}

.admin-list,
.orders-list {
  display: grid;
  gap: 10px;
  max-height: 540px;
  overflow: auto;
  padding-right: 3px;
}

.admin-item,
.order-item,
.cart-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--silver-200);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--silver-100);
}

.admin-item .jewel-visual,
.cart-item .jewel-visual {
  min-height: 76px;
  height: 76px;
}

.admin-item strong,
.order-item strong,
.cart-item strong {
  color: var(--navy-950);
}

.admin-item span,
.order-item span,
.cart-item span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.admin-item button,
.category-manager button,
.order-item select,
.drawer-head button {
  min-height: 38px;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-900);
  padding: 0 12px;
  font-weight: 800;
}

.category-manager {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.order-products {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  color: var(--navy-800);
  font-size: 0.84rem;
  line-height: 1.35;
  list-style: none;
}

.order-products li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(207, 215, 226, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  padding: 7px;
}

.order-product-photo,
.order-product-placeholder {
  width: 54px;
  height: 54px;
  border-radius: 6px;
}

.order-product-photo {
  object-fit: cover;
  border: 1px solid rgba(137, 149, 165, 0.24);
}

.order-product-placeholder {
  display: grid;
  place-items: center;
  background: var(--silver-200);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-align: center;
}

.order-products li > span {
  display: grid;
  gap: 2px;
}

.order-products strong {
  font-size: 0.9rem;
}

.order-products em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.order-item {
  grid-template-columns: minmax(0, 1fr) 220px;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  justify-content: flex-end;
  background: rgba(6, 18, 36, 0.45);
  backdrop-filter: blur(4px);
}

.drawer.checkout {
  z-index: 75;
}

.drawer-panel {
  width: min(480px, 100vw);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 18px;
  overflow: auto;
  padding: 22px 22px 96px;
  border-radius: 0;
}

.checkout .drawer-panel {
  grid-template-rows: auto auto auto auto auto auto auto;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-head h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.cart-list {
  display: grid;
  align-content: start;
  gap: 12px;
}

.cart-item {
  grid-template-columns: 78px 1fr;
}

.qty-row {
  display: inline-grid;
  grid-template-columns: 34px 34px 34px;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
}

.qty-row button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-900);
  font-weight: 900;
}

.qty-row span {
  text-align: center;
  font-weight: 900;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--silver-300);
  padding-top: 16px;
}

.cart-total span {
  color: var(--muted);
  font-weight: 800;
}

.cart-total strong {
  color: var(--navy-950);
  font-size: 1.5rem;
}

.checkout-instructions {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(16, 39, 70, 0.14);
  border-radius: var(--radius);
  background: rgba(201, 239, 255, 0.18);
  padding: 14px;
}

.checkout-instructions span,
.checkout-instructions p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 1100px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    max-width: 760px;
  }

  .filters-panel,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-columns,
  .payment-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .topbar .logo-mark div {
    display: none;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section {
    height: auto;
    min-height: min(620px, calc(100svh - 112px));
    padding-top: 28px;
    padding-bottom: 18px;
  }

  .hero-logo {
    width: clamp(210px, 58vw, 290px);
  }

  .hero-showcase {
    display: flex;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .hero-showcase .showcase-item {
    flex: 0 0 min(190px, 62vw);
  }

  .product-grid,
  .filters-panel,
  .form-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .showcase-item:nth-child(2) {
    transform: none;
  }

  .showcase-item {
    min-height: auto;
  }

  .showcase-item > .product-photo {
    height: 122px;
  }

  .product-media {
    min-height: 220px;
  }

  .admin-item {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .admin-item button {
    grid-column: span 1;
  }

  .order-item {
    grid-template-columns: 1fr;
  }

  .floating-notice {
    left: 14px;
    right: 14px;
    bottom: 92px;
    max-width: none;
  }

  .floating-whatsapp {
    left: 50%;
    right: auto;
    bottom: 16px;
    width: 58px;
    min-height: 58px;
    justify-content: center;
    padding: 0;
  }

  .floating-whatsapp span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

.hidden {
  display: none !important;
}

.main-nav a.nav-active {
  border-color: rgba(201, 239, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.admin-mini-button,
.inline-delete button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-900);
  padding: 0 12px;
  font-weight: 800;
}

.inline-delete {
  margin: 0;
}

.tag-list form {
  margin: 0;
}

.thumb-check {
  width: 108px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius);
  background: var(--white);
  padding: 6px;
  color: var(--danger);
  font-size: 0.75rem;
  font-weight: 900;
}

.thumb-check img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.thumb-check input {
  width: 18px;
  min-height: 18px;
}

.admin-panel form select {
  min-width: 190px;
}
