:root {
  --bg: #10100f;
  --bg-soft: #171715;
  --panel: #1b1b18;
  --gold: #c9a96e;
  --gold-light: #e6cf9d;
  --gold-2: #6e5934;
  --gold-light-2: #d8b56b;
  --text: #f5f1e9;
  --muted: #a6a197;
  --line: rgba(220, 195, 145, .17);
  --danger: #e78b82;
  --radius: 5px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.8;
}

body.drawer-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

.container {
  width: min(1240px, calc(100% - 52px));
  margin-inline: auto;
}

[hidden] {
  display: none !important;
}

/* نوار اطلاع‌رسانی */

.announcement {
  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gold);
  color: #191710;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
}

.announcement-dot {
  font-size: 14px;
}

/* هدر و منو */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 16, 15, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  flex-shrink: 0;
}

.logo-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 24px;
  font-style: italic;
}

.logo-word {
  font-family: Georgia, serif;
  font-size: 17px;
  letter-spacing: 1.4px;
  font-weight: 700;
}

.logo-word>span {
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.main-nav-404html {
  display: flex;
  align-items: center;
  gap: 9px;
}

.nav-link {
  color: #c4c0b8;
  font-size: 13px;
  transition: color .2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}

.admin-link {
  font-size: 12px;
  color: var(--muted);
}

.admin-link:hover {
  color: var(--gold-light);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 9px 13px;
}

.cart-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

.cart-label {
  font-size: 12px;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 5px;
  border-radius: 50%;
  background: var(--gold);
  color: #17150f;
  font-size: 11px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--gold);
  padding: 5px 10px;
  font-size: 21px;
}

/* بخش اصلی */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background:
    linear-gradient(110deg, rgba(16, 16, 15, .98) 25%, rgba(16, 16, 15, .84) 57%, rgba(30, 27, 21, .6)),
    #10100f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image: radial-gradient(rgba(225, 205, 166, .35) .6px, transparent .6px);
  background-size: 7px 7px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(174, 133, 65, .12);
  filter: blur(90px);
  right: 13%;
  top: 8%;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 50px;
  min-height: 620px;
  padding-block: 55px;
}

.overline {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: rtl;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.overline>span {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 25px 0 20px;
  font-size: clamp(38px, 5.1vw, 69px);
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: -1.8px;
}

.hero h1 em,
.section-top h2 em,
.story-copy h2 em {
  color: var(--gold);
  font-style: normal;
}

.hero-description {
  max-width: 490px;
  color: #aaa69d;
  font-size: 14px;
  line-height: 2.2;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 29px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 49px;
  padding: 11px 22px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  transition: .22s ease;
}

.button span {
  font-size: 19px;
  line-height: 1;
}

.button-gold {
  color: #19170f;
  background: var(--gold);
}

.button-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.button-quiet {
  color: #ded8cb;
  border-color: var(--line);
  background: transparent;
}

.button-quiet:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 53px;
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proof-item strong {
  font-family: Georgia, serif;
  font-size: 17px;
  color: var(--gold);
  font-weight: 400;
}

.proof-item span {
  font-size: 10px;
  color: #99948a;
}

.proof-separator {
  height: 31px;
  width: 1px;
  background: var(--line);
}

/* تصویر ساعت تزئینی */

.hero-art {
  min-height: 485px;
  position: relative;
  display: grid;
  place-items: center;
}

.art-orbit {
  position: absolute;
  border: 1px solid rgba(201, 169, 110, .18);
  border-radius: 50%;
}

.orbit-one {
  width: 410px;
  height: 410px;
}

.orbit-two {
  width: 330px;
  height: 330px;
  border-style: dashed;
  opacity: .7;
}

.watch-illustration {
  position: relative;
  width: 245px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 25px 24px rgba(0, 0, 0, .5));
  transform: rotate(-12deg);
}

.watch-strap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 145px;
  border: 1px solid #8c744b;
  background: repeating-linear-gradient(90deg, #393329 0 8px, #4d4333 9px 11px, #2b2822 12px 18px);
}

.strap-top {
  top: 0;
  border-radius: 25px 25px 4px 4px;
}

.strap-bottom {
  bottom: 0;
  border-radius: 4px 4px 25px 25px;
}

.watch-case {
  z-index: 2;
  width: 225px;
  height: 225px;
  border-radius: 50%;
  padding: 12px;
  background: linear-gradient(135deg, #e7d4a5, #725b34 30%, #c4a56c 58%, #4b3c26 78%, #d8c18e);
  box-shadow: inset 0 0 0 2px #5c4828, 0 0 0 4px rgba(201, 169, 110, .1);
}

.watch-face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #9c8250;
  background: radial-gradient(circle at 32% 25%, #414039, #171815 55%, #080908);
  box-shadow: inset 0 0 22px #000;
}

.watch-face::before,
.watch-face::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(219, 192, 132, .35);
  border-radius: 50%;
}

.watch-face::after {
  inset: 20px;
  border-style: dashed;
  opacity: .35;
}

.watch-brand {
  position: absolute;
  top: 27%;
  width: 100%;
  text-align: center;
  font: 7px Georgia, serif;
  letter-spacing: 1.5px;
  color: #d5bd88;
}

.hour {
  position: absolute;
  color: #e4d4ac;
  font: 16px Georgia, serif;
}

.hour-12 {
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
}

.hour-3 {
  right: 12%;
  top: 41%;
}

.hour-6 {
  bottom: 13%;
  left: 50%;
  transform: translateX(-50%);
}

.hour-9 {
  left: 12%;
  top: 41%;
}

.watch-hand {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 50%;
  transform-origin: 50% 100%;
  border-radius: 5px;
}

.hand-hour {
  width: 5px;
  height: 47px;
  background: #e5d4aa;
  transform: translateX(-50%) rotate(38deg);
}

.hand-minute {
  width: 3px;
  height: 67px;
  background: #e5d4aa;
  transform: translateX(-50%) rotate(145deg);
}

.hand-second {
  width: 1px;
  height: 76px;
  background: #bd8b4b;
  transform: translateX(-50%) rotate(205deg);
}

.watch-pin {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #c5a66c;
  border: 2px solid #332817;
}

.art-caption {
  position: absolute;
  color: #918875;
  font: 9px Georgia, serif;
  letter-spacing: 2px;
  direction: ltr;
}

.caption-top {
  top: 13%;
  right: 3%;
}

.caption-bottom {
  bottom: 12%;
  left: 0;
}

.caption-bottom span {
  color: var(--gold);
  font-size: 15px;
  margin-left: 8px;
}

.art-index {
  position: absolute;
  right: 5%;
  bottom: 23%;
  writing-mode: vertical-rl;
  color: #5d5649;
  font: 10px Georgia, serif;
  letter-spacing: 3px;
}

.hero-bottom-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 13px;
  color: #756d5e;
  font: 9px Georgia, serif;
  letter-spacing: 3px;
  border-top: 1px solid rgba(201, 169, 110, .08);
}

.hero-bottom-line span {
  width: 35px;
  height: 1px;
  background: var(--gold);
  opacity: .5;
}


/* مزیت‌ها */

.benefits {
  border-block: 1px solid var(--line);
  background: #141412;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.benefit {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 27px 28px;
  border-left: 1px solid var(--line);
}

.benefit:last-child {
  border-left: 0;
}

.benefit-icon {
  color: var(--gold);
  font-size: 27px;
}

.benefit h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.benefit p {
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--muted);
}

/* کاتالوگ محصولات */

.section-space {
  padding-block: 100px 115px;
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 37px;
}

.section-top h2,
.story-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.5;
}

.section-description {
  color: var(--muted);
  margin: 7px 0 0;
  font-size: 13px;
}

.collection-note {
  color: #837b6b;
  font: 10px Georgia, serif;
  letter-spacing: 2px;
  direction: ltr;
}

.note-star {
  color: var(--gold);
  font-size: 18px;
  margin-right: 8px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 27px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 160px;
  border: 1px solid #34332e;
  padding: 0 13px;
}

.search-box>span {
  color: var(--gold);
  font-size: 25px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  height: 47px;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.search-box input::placeholder {
  color: #777369;
}

.catalog-toolbar select {
  min-width: 190px;
  height: 49px;
  padding: 0 13px;
  border: 1px solid #34332e;
  background: #151513;
  color: #d9d2c4;
  outline: none;
  font-size: 12px;
}

.catalog-toolbar select:focus,
.search-box:focus-within {
  border-color: var(--gold);
}

.catalog-count {
  color: #8e887d;
  font-size: 11px;
  white-space: nowrap;
  padding-left: 1%;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  background: #191916;
  border: 1px solid #2c2b25;
  transition: transform .25s, border-color .25s;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 169, 110, .65);
}

.product-image {
  position: relative;
  height: 255px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 48%, #383126 0, #24231e 36%, #171714 72%);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.product-card:hover .product-image img {
  transform: scale(1.045);
}

.product-placeholder {
  color: var(--gold);
  font: italic 55px Georgia, serif;
  opacity: .8;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 9px;
  background: rgba(14, 14, 12, .8);
  border: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 9px;
}

.product-body {
  padding: 17px 17px 18px;
}

.product-category {
  color: var(--gold);
  font-size: 10px;
}

.product-name {
  margin: 5px 0 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.product-description {
  min-height: 43px;
  margin: 0;
  color: #989388;
  font-size: 11px;
  line-height: 1.9;
}

.product-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid #302f29;
}

.price {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.stock {
  margin-top: 2px;
  color: #8f897d;
  font-size: 10px;
}

.add-cart {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 37px;
  padding: 7px 11px;
  border: 1px solid rgba(201, 169, 110, .5);
  background: transparent;
  color: var(--gold-light);
  font-size: 10px;
  transition: .2s;
}

.add-cart:hover:not(:disabled) {
  background: var(--gold);
  color: #17150f;
}

.add-cart:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.catalog-message,
.catalog-error {
  grid-column: 1/-1;
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
}

.catalog-error {
  color: #e8a29b;
}

/* داستان برند */

.story-section {
  background: #171714;
  border-block: 1px solid var(--line);
  padding-block: 100px;
}

.story-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 100px;
}

.story-art {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
}

.story-frame {
  position: relative;
  width: min(350px, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 169, 110, .45);
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #28251e, #171714 67%);
}

.story-frame::before {
  content: "";
  position: absolute;
  inset: 17px;
  border: 1px solid var(--line);
}

.story-monogram {
  color: rgba(201, 169, 110, .8);
  font: italic 110px Georgia, serif;
  letter-spacing: 0px;
}

.story-frame-label {
  position: absolute;
  bottom: 30px;
  color: #958a72;
  font: 9px Georgia, serif;
  letter-spacing: 3px;
  direction: ltr;
}

.story-side-note {
  position: absolute;
  right: -8px;
  top: 50%;
  writing-mode: vertical-rl;
  color: #716956;
  font: 9px Georgia, serif;
  letter-spacing: 2px;
}

.story-copy h2 {
  margin-bottom: 20px;
}

.story-copy p {
  color: #aaa59a;
  font-size: 13px;
  line-height: 2.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 17px;
  color: var(--gold-light);
  font-size: 12px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 7px;
}

.text-link span {
  font-size: 19px;
}

/* بنر پایانی و فوتر */

.closing-banner {
  padding-block: 70px;
  text-align: center;
  background: linear-gradient(110deg, #242117, #171612 50%, #252117);
  border-bottom: 1px solid var(--line);
}

.closing-kicker {
  color: var(--gold);
  font: 10px Georgia, serif;
  letter-spacing: 3px;
  direction: ltr;
}

.closing-inner h2 {
  margin: 12px 0 23px;
  font-size: clamp(28px, 4vw, 42px);
}

.site-footer {
  background: #0c0c0b;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 32px;
}

.footer-main p {
  margin: 0;
  color: #8c877d;
  font-size: 12px;
}

.footer-admin {
  color: #8c877d;
  font-size: 11px;
}

.footer-admin:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #26251f;
  padding-block: 16px;
  color: #6f6a60;
  font-size: 10px;
  direction: ltr;
}

.footer-bottom b {
  color: var(--gold);
  margin-left: 6px;
}


/* سبد خرید */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, .68);
  opacity: 0;
  visibility: hidden;
  transition: .25s;
}

.drawer-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  z-index: 80;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  background: #171714;
  border-right: 1px solid var(--line);
  transform: translateX(-105%);
  transition: transform .3s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-eyebrow {
  color: var(--gold);
  font: 9px Georgia, serif;
  letter-spacing: 2px;
  direction: ltr;
}

.drawer-header h2 {
  margin: 4px 0 0;
  font-size: 20px;
}

.drawer-header h2 span {
  color: var(--gold);
  font-size: 13px;
}

.drawer-close {
  border: 0;
  background: none;
  color: var(--gold);
  font-size: 32px;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 22px;
}

.cart-empty {
  padding: 55px 10px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.cart-line {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid #302f29;
}

.cart-line-image {
  width: 68px;
  height: 75px;
  object-fit: cover;
  background: #29271f;
}

.cart-line-placeholder {
  display: grid;
  place-items: center;
  color: var(--gold);
  font: italic 27px Georgia, serif;
}

.cart-line-info {
  min-width: 0;
}

.cart-line-name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.cart-line-price {
  margin-top: 3px;
  color: var(--gold-light);
  font-size: 12px;
}

.cart-line-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-controls button {
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  background: #22211c;
  color: var(--gold);
}

.quantity-controls span {
  font-size: 12px;
}

.remove-item {
  border: 0;
  background: none;
  color: #a58e7c;
  font-size: 10px;
}

.drawer-footer {
  padding: 20px 22px;
  border-top: 1px solid var(--line);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  color: #bcb5a8;
  font-size: 13px;
}

.cart-total-row strong {
  color: var(--gold-light);
  font-size: 17px;
}

.checkout-link {
  width: 100%;
}

.drawer-note {
  margin: 11px 0 0;
  text-align: center;
  color: #777267;
  font-size: 10px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  max-width: calc(100% - 40px);
  padding: 12px 18px;
  color: var(--text);
  background: #28271f;
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: .25s;
  font-size: 12px;
  box-shadow: 0 12px 35px #0005;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* واکنش‌گرایی فروشگاه */

@media (max-width: 1000px) {
  .hero-layout {
    gap: 20px;
  }

  .hero-art {
    transform: scale(.88);
  }

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

  .story-layout {
    gap: 55px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 560px);
  }

  .nav {
    min-height: 69px;
    gap: 10px;
  }

  .logo-word {
    font-size: 14px;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 15px;
    background-color: color-mix(in srgb, var(--tw-surface-2) 92%, var(--tw-accent) 8%) !important;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.menu-open {
    display: flex;
  }

  .nav-link {
    padding: 10px;
  }

  .admin-link {
    display: none;
  }

  .cart-button {
    padding: 7px 9px;
    gap: 6px;
  }

  .cart-label {
    font-size: 11px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 40px 25px;
    gap: 0;
  }

  .hero-copy {
    order: 2;
  }

  .hero-art {
    order: 1;
    min-height: 330px;
    transform: scale(.75);
    margin: -35px 0 -30px;
  }

  .hero .overline {
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(37px, 9vw, 55px);
    margin-top: 15px;
  }

  .hero-description {
    margin-inline: auto;
    font-size: 13px;
  }

  .hero-buttons,
  .hero-proof {
    justify-content: center;
  }

  .hero-proof {
    margin-top: 30px;
    gap: 12px;
  }

  .proof-item span {
    font-size: 9px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit {
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 17px 10px;
  }

  .benefit:last-child {
    border-bottom: 0;
  }

  .section-space {
    padding-block: 65px 75px;
  }

  .section-top {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .section-top h2 {
    font-size: 34px;
  }

  .catalog-toolbar {
    flex-wrap: wrap;
  }

  .search-box {
    flex-basis: 100%;
  }

  .catalog-toolbar select {
    flex: 1;
    min-width: 0;
  }

  .catalog-count {
    flex-basis: 100%;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-image {
    height: 190px;
  }

  .product-body {
    padding: 12px;
  }

  .product-name {
    font-size: 13px;
  }

  .product-description {
    font-size: 10px;
    min-height: 38px;
  }

  .product-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .price {
    font-size: 13px;
  }

  .add-cart {
    width: 100%;
  }

  .story-section {
    padding-block: 65px;
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .story-art {
    min-height: 270px;
  }

  .story-frame {
    width: min(270px, 85%);
  }

  .story-monogram {
    font-size: 90px;
  }

  .story-side-note {
    right: 3%;
  }

  .story-copy h2 {
    font-size: 35px;
  }

  .footer-main {
    flex-wrap: wrap;
  }

  .footer-main p {
    order: 3;
    flex-basis: 100%;
  }
}

@media (max-width: 390px) {
  .container {
    width: calc(100% - 24px);
  }

  .cart-label {
    display: none;
  }

  .products-grid {
    gap: 9px;
  }

  .product-image {
    height: 160px;
  }

  .product-body {
    padding: 10px;
  }

  .product-name {
    font-size: 12px;
  }

  .hero-art {
    transform: scale(.66);
    margin-inline: -30px;
  }

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

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* =========================================
   TRENDWATCH — ADMIN PANEL THEME
   فقط برای صفحات مدیریت؛ فروشگاه دست‌نخورده می‌ماند
========================================= */

.admin-page,
.admin-login-page {
  --admin-bg: #0b0c0b;
  --admin-panel: #151613;
  --admin-panel-hover: #1c1d18;
  --admin-gold: #d5b477;
  --admin-gold-light: #f0d9a5;
  --admin-text: #f4f0e7;
  --admin-muted: #aaa596;
  --admin-border: rgba(213, 180, 119, .2);
  --admin-red: #e78b82;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(150, 112, 49, .09), transparent 34%),
    var(--admin-bg);
  color: var(--admin-text);
  min-height: 100vh;
}

/* تنظیمات عمومی پنل */

.admin-page *,
.admin-login-page * {
  box-sizing: border-box;
}

.admin-page {
  padding-bottom: 50px;
}

.admin-page h1,
.admin-page h2,
.admin-page h3,
.admin-login-page h1,
.admin-login-page h2 {
  color: var(--admin-text);
  line-height: 1.7;
}

.admin-page h1 {
  font-size: clamp(25px, 3vw, 36px);
  margin: 0 0 8px;
  font-weight: 800;
}

.admin-page h2 {
  font-size: 20px;
  margin: 0 0 18px;
}

.admin-page p {
  color: var(--admin-muted);
}

/* نوار بالای پنل */

.admin-page header,
.admin-page .admin-header {
  background: rgba(16, 17, 14, .96);
  border-bottom: 1px solid var(--admin-border);
  backdrop-filter: blur(14px);
}

/* محتوای اصلی و بخش‌ها */

.admin-page main,
.admin-page .admin-container,
.admin-page .container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.admin-page main {
  padding-top: 38px;
}

.admin-page section,
.admin-page .admin-section,
.admin-page .admin-card {
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 30px);
  margin: 24px 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .16);
}

.admin-page section>h2,
.admin-page .admin-section>h2 {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--admin-border);
}

/* فرم‌های پنل */

.admin-page form {
  display: grid;
  gap: 15px;
}

.admin-page label {
  display: block;
  color: #d8cfbd;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}

.admin-page input,
.admin-page textarea,
.admin-page select {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid #39382f;
  border-radius: 7px;
  background: #0e0f0d;
  color: var(--admin-text);
  outline: none;
  font: inherit;
  font-size: 13px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.admin-page textarea {
  min-height: 110px;
  resize: vertical;
}

.admin-page input::placeholder,
.admin-page textarea::placeholder {
  color: #777365;
}

.admin-page input:focus,
.admin-page textarea:focus,
.admin-page select:focus {
  border-color: var(--admin-gold);
  background: #12130f;
  box-shadow: 0 0 0 3px rgba(213, 180, 119, .09);
}

.admin-page input[type="checkbox"],
.admin-page input[type="radio"] {
  width: auto;
  min-height: auto;
  accent-color: var(--admin-gold);
}

/* دکمه‌های پنل */

.admin-page button,
.admin-page .button {
  min-height: 42px;
  border: 1px solid var(--admin-border);
  border-radius: 7px;
  background: #24241e;
  color: var(--admin-text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.admin-page button:hover,
.admin-page .button:hover {
  border-color: var(--admin-gold);
  color: var(--admin-gold-light);
  transform: translateY(-1px);
}

.admin-page button[type="submit"],
.admin-page .primary-button {
  background: linear-gradient(135deg, #557568, #3f6255);
  border-color: transparent;
  color: #fff !important;
}

.admin-page #cancelEditButton {
  background: transparent;
  color: var(--admin-muted);
}

/* پیام‌های موفقیت و خطا */

.admin-page #productMessage,
.admin-page #adminToast,
.admin-page .message,
.admin-page .toast {
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 13px;
}

.admin-page #productMessage {
  color: var(--admin-gold-light);
}

.admin-page #adminToast {
  background: #24241e;
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
}

/* جدول محصولات */

.admin-page table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--admin-border);
  border-radius: 9px;
  background: #10110f;
  font-size: 13px;
}

.admin-page thead {
  background: #24231c;
}

.admin-page th {
  padding: 15px 13px;
  text-align: right;
  color: var(--admin-gold-light);
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 1px solid var(--admin-border);
}

.admin-page td {
  padding: 13px;
  text-align: right;
  color: #ded8cb;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  vertical-align: middle;
}

.admin-page tbody tr {
  transition: background .18s;
}

.admin-page tbody tr:hover {
  background: rgba(213, 180, 119, .055);
}

.admin-page tbody tr:last-child td {
  border-bottom: 0;
}

.admin-page td button {
  margin: 3px;
  padding: 7px 11px;
  min-height: 34px;
  font-size: 11px;
}

.admin-page td button:last-child {
  border-color: rgba(231, 139, 130, .3);
  color: #e8a29b;
}

.admin-page td button:last-child:hover {
  background: rgba(231, 139, 130, .1);
  border-color: var(--admin-red);
}

/* فهرست سفارش‌ها */

.admin-page #ordersList {
  display: grid;
  gap: 14px;
}

.admin-page #ordersList>*,
.admin-page .order-card {
  padding: 18px;
  background: #10110f;
  border: 1px solid var(--admin-border);
  border-radius: 9px;
}

.admin-page #ordersList strong,
.admin-page .order-card strong {
  color: var(--admin-gold-light);
}

/* لینک‌های پنل */

.admin-page a {
  color: var(--admin-gold);
  transition: color .2s;
}

.admin-page a:hover {
  color: var(--admin-gold-light);
}

/* صفحه ورود مدیر */

.admin-login-page {
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-login-page main,
.admin-login-page .login-container,
.admin-login-page .login-card {
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  padding: clamp(24px, 6vw, 42px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, .42);
}

.admin-login-page h1,
.admin-login-page h2 {
  text-align: center;
  margin: 0 0 10px;
  font-size: 25px;
}

.admin-login-page p {
  text-align: center;
  color: var(--admin-muted);
  font-size: 13px;
  margin: 0 0 25px;
}

.admin-login-page form {
  display: grid;
  gap: 17px;
}

.admin-login-page label {
  display: block;
  color: #d8cfbd;
  font-size: 13px;
  margin-bottom: 6px;
}

.admin-login-page input {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid #39382f;
  border-radius: 7px;
  background: #0b0c0a;
  color: var(--admin-text);
  font: inherit;
  outline: none;
}

.admin-login-page input:focus {
  border-color: var(--admin-gold);
  box-shadow: 0 0 0 3px rgba(213, 180, 119, .09);
}

.admin-login-page a {
  color: var(--admin-gold);
}

/* اسکرول افقی جدول و تنظیمات موبایل پنل */

@media (max-width: 760px) {

  .admin-page main,
  .admin-page .admin-container,
  .admin-page .container {
    width: calc(100% - 24px);
  }

  .admin-page main {
    padding-top: 20px;
  }

  .admin-page section,
  .admin-page .admin-section,
  .admin-page .admin-card {
    padding: 16px;
    margin: 16px 0;
    border-radius: 9px;
  }

  .admin-page table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .admin-page th,
  .admin-page td {
    padding: 11px 10px;
  }

  .admin-page form {
    gap: 12px;
  }
}

/* دسترس‌پذیری */

.admin-page button:focus-visible,
.admin-login-page button:focus-visible,
.admin-page a:focus-visible,
.admin-login-page a:focus-visible {
  outline: 2px solid var(--admin-gold-light);
  outline-offset: 3px;
}


/* =========================================
   TRENDWATCH — CHECKOUT PAGE
========================================= */

.checkout-page {
  min-height: 75vh;
  padding: 55px 0 85px;
  background:
    radial-gradient(ellipse at 85% 5%, rgba(198, 163, 92, 0.09), transparent 36%),
    var(--bg, #10100f);
}

.checkout-page .page-title {
  position: relative;
  margin-bottom: 38px;
  padding: 32px 34px;
  overflow: hidden;
  border: 1px solid rgba(198, 163, 92, 0.2);
  border-radius: 22px;
  background: linear-gradient(120deg, #1b1a17, #121210 72%);
}

.checkout-page .page-title::after {
  content: "س";
  position: absolute;
  left: 35px;
  top: -45px;
  color: rgba(198, 163, 92, 0.045);
  font-size: 190px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.checkout-page .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #c6a35c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
}

.checkout-page .page-title h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #f5f0e6;
  font-size: clamp(27px, 4vw, 38px);
  font-weight: 900;
}

.checkout-page .page-title p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #aaa69d;
  line-height: 2;
}

/* مراحل خرید */

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.checkout-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: #171715;
  color: #8d8a82;
  font-size: 13px;
  font-weight: 700;
}

.checkout-step-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid #555148;
  border-radius: 50%;
  color: #c8c1b2;
  font-size: 12px;
}

.checkout-step.active {
  border-color: rgba(198, 163, 92, 0.55);
  background: rgba(198, 163, 92, 0.08);
  color: #e7d3a7;
}

.checkout-step.active .checkout-step-number {
  border-color: #c6a35c;
  background: #c6a35c;
  color: #15130f;
}

/* چیدمان اصلی */

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: start;
  gap: 24px;
}

.checkout-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(145deg, #1b1b18, #151513);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.checkout-card h2 {
  margin: 0 0 12px;
  color: #f3eee4;
  font-size: 21px;
  font-weight: 800;
}

.checkout-card .form-description {
  margin: 0 0 26px;
  color: #a6a196;
  font-size: 13px;
  line-height: 1.9;
}

/* فرم اطلاعات */

.checkout-card .form-group {
  margin-bottom: 22px;
}

.checkout-card .form-group label {
  display: block;
  margin-bottom: 10px;
  color: #ded8cb;
  font-size: 13px;
  font-weight: 700;
}

.checkout-card .form-group input,
.checkout-card .form-group textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid #393832;
  border-radius: 12px;
  outline: none;
  background: #11110f;
  color: #f3eee4;
  font: inherit;
  font-size: 14px;
  line-height: 1.8;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-card .form-group input::placeholder,
.checkout-card .form-group textarea::placeholder {
  color: #77746b;
}

.checkout-card .form-group input:focus,
.checkout-card .form-group textarea:focus {
  border-color: #c6a35c;
  box-shadow: 0 0 0 3px rgba(198, 163, 92, 0.1);
}

.checkout-card .form-group input[readonly] {
  background: #191916;
  color: #bcb5a7;
  cursor: default;
}

.checkout-card .form-group textarea {
  min-height: 135px;
  resize: vertical;
}

.checkout-card .form-hint {
  display: block;
  margin-top: 8px;
  color: #88847a;
  font-size: 12px;
  line-height: 1.8;
}

/* دکمه ثبت سفارش */

#submitOrderButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 24px;
  border-radius: 12px;
  color: #17130b;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

#submitOrderButton:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

#submitOrderButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* خلاصه سفارش */

.order-summary {
  position: sticky;
  top: 24px;
}

.order-summary h2 {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#checkoutItems {
  display: grid;
  gap: 14px;
  padding: 20px 0;
}

/* استایل عمومی آیتم‌ها؛ با ساختار HTML تولیدشده توسط JS سازگار است */
#checkoutItems>* {
  min-width: 0;
}

.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #c4bdae;
  font-size: 14px;
}

.summary-total strong {
  color: #dfbd77;
  font-size: clamp(19px, 2.5vw, 25px);
  font-weight: 900;
  white-space: nowrap;
}

/* توضیح روش پرداخت */

.payment-note {
  margin-top: 12px;
  padding: 17px 18px;
  border: 1px solid rgba(198, 163, 92, 0.2);
  border-radius: 13px;
  background: rgba(198, 163, 92, 0.055);
}

.payment-note strong {
  display: block;
  margin-bottom: 8px;
  color: #dfbd77;
  font-size: 13px;
}

.payment-note p {
  margin: 0;
  color: #aaa397;
  font-size: 12px;
  line-height: 2;
}

.checkout-back {
  margin-top: 22px;
  text-align: center;
}

.checkout-back a,
.checkout-page .back-link {
  color: #c6a35c;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.checkout-back a:hover,
.checkout-page .back-link:hover {
  color: #ead39f;
}

/* پیام خطا */

#checkoutError:not(:empty) {
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(225, 85, 85, 0.3);
  border-radius: 10px;
  background: rgba(225, 85, 85, 0.08);
  color: #ffaaaa;
  font-size: 13px;
  line-height: 1.9;
}

/* سبد خالی */

#emptyCheckout {
  margin-bottom: 28px;
  padding: 38px 24px;
  border: 1px dashed rgba(198, 163, 92, 0.35);
  border-radius: 18px;
  background: #171715;
  text-align: center;
}

#emptyCheckout h2 {
  margin: 0 0 12px;
  color: #f3eee4;
}

#emptyCheckout p {
  margin: 0 0 22px;
  color: #aaa397;
  line-height: 1.9;
}

/* یادداشت امنیتی */

.checkout-security-note {
  text-align: center;
}

/* واکنش‌گرا */

@media (max-width: 800px) {
  .checkout-page {
    padding: 30px 0 55px;
  }

  .checkout-page .page-title {
    margin-bottom: 24px;
    padding: 25px 22px;
    border-radius: 17px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .order-summary {
    position: static;
  }

  .checkout-card {
    padding: 23px 20px;
    border-radius: 16px;
  }

  .checkout-steps {
    gap: 8px;
  }

  .checkout-step {
    flex-direction: column;
    gap: 7px;
    padding: 10px 5px;
    font-size: 11px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .checkout-steps {
    grid-template-columns: 1fr;
  }

  .checkout-step {
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px 15px;
  }

  .checkout-card {
    padding: 20px 16px;
  }

  .summary-total {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}


/* ==========================================
   TRENDWATCH AUTH — LOGIN / REGISTER
========================================== */

.tw-auth-page {
  --auth-bg: #090b0f;
  --auth-panel: #12151c;
  --auth-panel-light: #191d26;
  --auth-gold: #d8b56b;
  --auth-gold-light: #f2d99a;
  --auth-text: #f4f1e9;
  --auth-muted: #9297a3;
  --auth-border: rgba(255, 255, 255, .09);

  margin: 0;
  min-height: 100vh;
  color: var(--auth-text);
  background:
    radial-gradient(ellipse at 12% 15%, rgba(216, 181, 107, .08), transparent 35%),
    var(--auth-bg);
  font-family: "Vazirmatn", sans-serif;
}

.tw-auth-page *,
.tw-auth-page *::before,
.tw-auth-page *::after {
  box-sizing: border-box;
}

.tw-auth-page button,
.tw-auth-page input {
  font: inherit;
}

.tw-auth-page a {
  color: inherit;
  text-decoration: none;
}

.tw-auth-header {
  min-height: 78px;
  padding: 16px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--auth-border);
  background: rgba(9, 11, 15, .82);
  backdrop-filter: blur(16px);
}

.tw-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 1px;
}

.tw-brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--auth-gold);
  border-radius: 11px;
  color: var(--auth-gold-light);
  font-size: 20px;
}

.tw-brand-gold {
  color: var(--auth-gold-light);
}

.tw-back-link {
  color: #b9b6ae !important;
  font-size: 13px;
  transition: color .2s ease;
}

.tw-back-link:hover {
  color: var(--auth-gold-light) !important;
}

.tw-back-link span {
  color: var(--auth-gold);
  margin-right: 5px;
}

.tw-auth-main {
  width: min(1180px, 92%);
  min-height: calc(100vh - 145px);
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .88fr);
  align-items: center;
  gap: clamp(35px, 7vw, 100px);
}

/* بخش معرفی و تصویر ساعت */

.tw-auth-showcase {
  position: relative;
  min-height: 570px;
  padding: 42px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.tw-showcase-content {
  position: relative;
  z-index: 2;
  max-width: 510px;
}

.tw-auth-eyebrow {
  color: var(--auth-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
}

.tw-auth-showcase h1 {
  margin: 22px 0 18px;
  color: var(--auth-text);
  font-size: clamp(37px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.55;
}

.tw-auth-showcase h1 span {
  color: var(--auth-gold-light);
}

.tw-auth-showcase p {
  max-width: 430px;
  margin: 0;
  color: #a5a8b0;
  font-size: 14px;
  line-height: 2.2;
}

.tw-showcase-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.tw-showcase-points>div {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #d4d1c9;
  font-size: 13px;
}

.tw-point-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(216, 181, 107, .4);
  border-radius: 50%;
  color: var(--auth-gold-light);
}

.tw-watch-art {
  position: absolute;
  width: 270px;
  height: 390px;
  left: 0;
  bottom: 30px;
  opacity: .9;
  transform: rotate(-13deg);
}

.tw-watch-halo {
  position: absolute;
  inset: 45px -20px;
  border: 1px solid rgba(216, 181, 107, .12);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(216, 181, 107, .07);
}

.tw-watch-strap {
  position: absolute;
  width: 112px;
  height: 360px;
  left: 79px;
  top: 15px;
  border: 1px solid #6e5934;
  border-radius: 48px;
  background: repeating-linear-gradient(0deg, #26231e 0, #26231e 13px, #302b22 14px, #302b22 16px);
  box-shadow: inset 0 0 22px #08090b, 0 15px 35px rgba(0, 0, 0, .5);
}

.tw-watch-face {
  position: absolute;
  z-index: 2;
  width: 220px;
  height: 220px;
  left: 25px;
  top: 85px;
  border: 9px solid #a17d43;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #35352f, #11130f 65%);
  box-shadow:
    inset 0 0 0 3px #27251f,
    inset 0 0 24px #000,
    0 0 0 3px #30291d,
    0 20px 35px rgba(0, 0, 0, .6);
}

.tw-watch-brand {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--auth-gold-light);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 3px;
}

.tw-watch-marker {
  position: absolute;
  display: block;
  width: 4px;
  height: 13px;
  border-radius: 3px;
  background: var(--auth-gold-light);
}

.tw-watch-marker.m12 {
  top: 12px;
  left: calc(50% - 2px);
}

.tw-watch-marker.m3 {
  right: 12px;
  top: calc(50% - 6px);
  transform: rotate(90deg);
}

.tw-watch-marker.m6 {
  bottom: 12px;
  left: calc(50% - 2px);
}

.tw-watch-marker.m9 {
  left: 12px;
  top: calc(50% - 6px);
  transform: rotate(90deg);
}

.tw-watch-hand {
  position: absolute;
  left: calc(50% - 2px);
  bottom: 50%;
  width: 4px;
  border-radius: 5px;
  transform-origin: bottom;
  background: var(--auth-gold-light);
}

.tw-hand-hour {
  height: 55px;
  transform: rotate(38deg);
}

.tw-hand-minute {
  height: 76px;
  width: 2px;
  transform: rotate(145deg);
}

.tw-watch-pin {
  position: absolute;
  width: 11px;
  height: 11px;
  left: calc(50% - 5.5px);
  top: calc(50% - 5.5px);
  border: 2px solid #f1d79a;
  border-radius: 50%;
  background: #17150f;
}

.tw-showcase-caption {
  position: absolute;
  bottom: 5px;
  right: 10px;
  color: #696b70;
  font-size: 10px;
  letter-spacing: 3px;
}

/* کارت فرم */

.tw-auth-panel {
  width: 100%;
  max-width: 490px;
  justify-self: center;
}

.tw-auth-card {
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 23px;
  background:
    linear-gradient(145deg, rgba(25, 29, 38, .98), rgba(16, 18, 24, .98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

.tw-card-emblem {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 23px;
  border: 1px solid rgba(216, 181, 107, .55);
  border-radius: 15px;
  background: rgba(216, 181, 107, .07);
  color: var(--auth-gold-light);
  font-weight: 900;
  letter-spacing: 2px;
}

.tw-card-kicker {
  color: var(--auth-gold);
  font-size: 12px;
  font-weight: 700;
}

.tw-auth-title {
  margin: 9px 0 7px;
  color: var(--auth-text);
  font-size: 28px;
  font-weight: 900;
}

.tw-auth-subtitle {
  margin: 0;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 2;
}

.tw-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 28px 0 25px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 12px;
  background: #0d0f14;
}

.tw-auth-tab {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #989ca6;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.tw-auth-tab.active {
  border-color: rgba(216, 181, 107, .25);
  background: linear-gradient(120deg, #d8b56b, #b28b49);
  color: #17130b;
}

.tw-auth-form[hidden] {
  display: none !important;
}

.tw-auth-form {
  display: none;
}

.tw-auth-form.active {
  display: block;
}

.tw-field {
  margin-bottom: 18px;
}

.tw-field label {
  display: block;
  margin-bottom: 9px;
  color: #d8d9dd;
  font-size: 12px;
  font-weight: 700;
}

.tw-field label span {
  color: #858995;
  font-weight: 400;
}

.tw-field input {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid #343945;
  border-radius: 10px;
  outline: none;
  background: #0e1015;
  color: #f4f1e9;
  font-size: 13px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.tw-field input::placeholder {
  color: #696e79;
}

.tw-field input:focus {
  border-color: var(--auth-gold);
  box-shadow: 0 0 0 3px rgba(216, 181, 107, .1);
}

.tw-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  min-height: 51px;
  margin-top: 23px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, #e3c783, #bd974f);
  color: #17130b;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}

.tw-submit:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
}

.tw-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.tw-submit span {
  font-size: 18px;
}

.tw-form-note {
  margin: 15px 0 0;
  color: #818691;
  font-size: 11px;
  line-height: 1.9;
  text-align: center;
}

.tw-auth-card .form-message {
  margin: 12px 0;
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.tw-auth-card .form-message[hidden] {
  display: none !important;
}

.tw-auth-card .form-message.error {
  display: block;
  border: 1px solid rgba(255, 104, 104, .28);
  background: rgba(255, 104, 104, .08);
  color: #ffaaaa;
}

.tw-auth-card .form-message.success {
  display: block;
  border: 1px solid rgba(94, 214, 154, .28);
  background: rgba(94, 214, 154, .08);
  color: #91e8b9;
}

.tw-auth-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #777c87;
  font-size: 10px;
  text-align: center;
}

.tw-bottom-line {
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, .08);
}

.tw-auth-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 6%;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #70747e;
  font-size: 10px;
  letter-spacing: 1px;
}

/* نمایش در موبایل */

@media (max-width: 900px) {
  .tw-auth-main {
    grid-template-columns: 1fr;
    width: min(540px, 92%);
    padding: 35px 0 50px;
  }

  .tw-auth-showcase {
    min-height: auto;
    padding: 15px 5px 25px;
  }

  .tw-auth-showcase h1 {
    font-size: 38px;
  }

  .tw-auth-showcase p {
    max-width: 100%;
  }

  .tw-watch-art,
  .tw-showcase-caption {
    display: none;
  }

  .tw-showcase-points {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .tw-auth-panel {
    max-width: 540px;
  }
}

@media (max-width: 480px) {
  .tw-auth-header {
    min-height: 66px;
    padding: 12px 5%;
  }

  .tw-brand {
    font-size: 17px;
  }

  .tw-brand-mark {
    width: 33px;
    height: 33px;
  }

  .tw-back-link {
    font-size: 11px;
  }

  .tw-auth-main {
    width: 92%;
    padding-top: 25px;
  }

  .tw-auth-showcase h1 {
    margin-top: 14px;
    font-size: 33px;
  }

  .tw-auth-showcase p {
    font-size: 12px;
  }

  .tw-auth-card {
    padding: 25px 19px;
    border-radius: 17px;
  }

  .tw-auth-title {
    font-size: 25px;
  }

  .tw-auth-footer {
    font-size: 9px;
  }
}



/* =========================================
   TRENDWATCH — CUSTOMER ACCOUNT
========================================= */

.account-page {
  --acc-bg: #090b0f;
  --acc-card: #141720;
  --acc-card-soft: #10131a;
  --acc-gold: #d8b56b;
  --acc-gold-light: #f2d99a;
  --acc-text: #f4f1e9;
  --acc-muted: #9297a3;
  --acc-border: rgba(255, 255, 255, .09);
  --acc-danger: #ff7777;
  --acc-success: #75ddb0;

  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(216, 181, 107, .08), transparent 35%),
    var(--acc-bg);
  color: var(--acc-text);
  font-family: "Vazirmatn", Tahoma, sans-serif;
}

.account-page *,
.account-page *::before,
.account-page *::after {
  box-sizing: border-box;
}

.account-page a {
  color: var(--acc-gold-light);
  text-decoration: none;
}

.account-page a:hover {
  color: #fff0c5;
}

.account-page button,
.account-page input {
  font: inherit;
}

.account-page button:focus-visible,
.account-page a:focus-visible,
.account-page input:focus-visible {
  outline: 2px solid var(--acc-gold);
  outline-offset: 3px;
}

/* Header */

.account-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 15px 6%;
  border-bottom: 1px solid var(--acc-border);
  background: rgba(9, 11, 15, .88);
  backdrop-filter: blur(16px);
}

.account-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--acc-text) !important;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
}

.account-brand-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid var(--acc-gold);
  border-radius: 12px;
  color: var(--acc-gold-light);
  background: rgba(216, 181, 107, .07);
}

.account-brand span:last-child span {
  color: var(--acc-gold-light);
}

.header-links {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}

.header-links a {
  color: #c6c8ce;
  transition: color .2s ease;
}

.header-links a:hover {
  color: var(--acc-gold-light);
}

/* Main layout */

.account-main {
  width: min(1160px, 92%);
  margin: 0 auto;
  padding: 45px 0 55px;
}

.page-heading {
  position: relative;
  margin-bottom: 30px;
  padding: 5px 0 22px;
  border-bottom: 1px solid var(--acc-border);
}

.page-heading::before {
  content: "ساعت روز من";
  display: block;
  margin-bottom: 12px;
  color: var(--acc-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
}

.page-heading h1 {
  margin: 0 0 9px;
  color: var(--acc-text);
  font-size: clamp(26px, 4vw, 35px);
  font-weight: 900;
}

.page-heading p {
  margin: 0;
  color: var(--acc-muted);
  font-size: 13px;
  line-height: 2;
}

.account-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* Sidebar */

.account-sidebar,
.account-panel {
  min-width: 0;
  border: 1px solid var(--acc-border);
  border-radius: 18px;
  background: linear-gradient(145deg, #171a23, #11141b);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
}

.account-sidebar {
  position: sticky;
  top: 100px;
  padding: 22px;
}

.customer-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 0 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--acc-border);
  text-align: center;
}

.customer-avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(216, 181, 107, .6);
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(242, 217, 154, .18), transparent 70%),
    rgba(216, 181, 107, .07);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
  color: var(--acc-gold-light);
  font-size: 31px;
  font-weight: 900;
}

.customer-summary h2 {
  margin: 0 0 6px;
  color: var(--acc-text);
  font-size: 16px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.customer-summary p {
  margin: 0;
  color: var(--acc-muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.account-nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #bfc2cb;
  text-align: right;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.account-nav button::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .8;
}

.account-nav button:hover {
  border-color: var(--acc-border);
  background: rgba(255, 255, 255, .035);
  color: #fff;
}

.account-nav button.active {
  border-color: rgba(216, 181, 107, .3);
  background: linear-gradient(100deg, rgba(216, 181, 107, .14), rgba(216, 181, 107, .035));
  color: var(--acc-gold-light);
}

.account-nav button.active::before {
  border-color: var(--acc-gold);
  background: var(--acc-gold);
  box-shadow: 0 0 10px rgba(216, 181, 107, .5);
}

.account-nav .logout-button {
  margin-top: 12px;
  border-color: rgba(255, 119, 119, .15);
  color: var(--acc-danger);
}

.account-nav .logout-button::before {
  border-radius: 2px;
  transform: rotate(45deg);
}

.account-nav .logout-button:hover {
  border-color: rgba(255, 119, 119, .35);
  background: rgba(255, 119, 119, .07);
}

/* Main content card */

.account-panel {
  padding: clamp(22px, 4vw, 36px);
}

.account-section {
  display: none;
  animation: accountFadeIn .25s ease;
}

.account-section.active {
  display: block;
}

@keyframes accountFadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-heading {
  margin: 0 0 9px;
  color: var(--acc-gold-light);
  font-size: 22px;
  font-weight: 900;
}

.section-description {
  margin: 0 0 27px;
  color: var(--acc-muted);
  font-size: 12px;
  line-height: 2;
}

/* Profile form */

.account-form {
  max-width: 650px;
}

.account-page .form-group {
  margin-bottom: 21px;
}

.account-page .form-group label {
  display: block;
  margin-bottom: 9px;
  color: #d8d9df;
  font-size: 12px;
  font-weight: 700;
}

.account-page .form-group input {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid #343945;
  border-radius: 11px;
  outline: none;
  background: #0d1016;
  color: var(--acc-text);
  font-size: 13px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.account-page .form-group input::placeholder {
  color: #696e79;
}

.account-page .form-group input:focus {
  border-color: var(--acc-gold);
  box-shadow: 0 0 0 3px rgba(216, 181, 107, .1);
}

.account-page .form-group input[readonly] {
  border-color: #292d36;
  background: #12151b;
  color: #9297a3;
  cursor: not-allowed;
}

.form-note {
  display: block;
  margin-top: 8px;
  color: var(--acc-muted);
  font-size: 11px;
  line-height: 1.9;
}

/* Buttons */

.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}

.primary-button {
  border: 0;
  background: linear-gradient(120deg, #e7ce8d, #bd974f);
  color: #17130b;
  box-shadow: 0 7px 20px rgba(189, 151, 79, .12);
}

.primary-button:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
}

.secondary-button {
  border: 1px solid #3b404c;
  background: #171b24;
  color: #d9dbe1;
}

.secondary-button:hover {
  border-color: var(--acc-gold);
  color: var(--acc-gold-light);
}

.danger-button {
  border: 1px solid rgba(255, 119, 119, .35);
  background: rgba(255, 119, 119, .07);
  color: var(--acc-danger);
}

.primary-button:disabled,
.secondary-button:disabled,
.danger-button:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

/* Feedback messages */

.account-page .form-message {
  display: none;
  margin: 0 0 20px;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.account-page .form-message.error {
  display: block;
  border: 1px solid rgba(255, 119, 119, .25);
  background: rgba(255, 119, 119, .07);
  color: #ffaaaa;
  margin-top: 2%;
}

.account-page .form-message.success {
  display: block;
  border: 1px solid rgba(117, 221, 176, .25);
  background: rgba(117, 221, 176, .07);
  color: var(--acc-success);
  margin-top: 2%;
}

/* Orders */

.orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 23px;
}

.orders-toolbar .section-description {
  margin-bottom: 0;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-card {
  padding: 20px;
  border: 1px solid var(--acc-border);
  border-radius: 14px;
  background: linear-gradient(135deg, #151922, #10131a);
  transition: border-color .2s ease, transform .2s ease;
}

.order-card:hover {
  border-color: rgba(216, 181, 107, .28);
  transform: translateY(-2px);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 17px;
  border-bottom: 1px solid var(--acc-border);
}

.order-number {
  margin: 0 0 7px;
  color: #f1eee6;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.order-date {
  margin: 0;
  color: var(--acc-muted);
  font-size: 11px;
  line-height: 1.8;
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(216, 181, 107, .3);
  border-radius: 30px;
  background: rgba(216, 181, 107, .08);
  color: var(--acc-gold-light);
  font-size: 11px;
}

.order-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.order-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.order-detail-label {
  display: block;
  margin-bottom: 7px;
  color: var(--acc-muted);
  font-size: 11px;
}

.order-detail-value {
  color: #ece9e1;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.order-items {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--acc-border);
}

.order-items h3 {
  margin: 0 0 12px;
  color: #d9dbe1;
  font-size: 13px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 9px 0;
  color: #bfc2cb;
  font-size: 12px;
  line-height: 1.9;
}

.empty-state,
.loading-state {
  padding: 30px 18px;
  border: 1px dashed #393e49;
  border-radius: 12px;
  background: rgba(255, 255, 255, .015);
  color: var(--acc-muted);
  text-align: center;
  font-size: 13px;
  line-height: 2.2;
}

.empty-state a {
  display: inline-block;
  margin-top: 8px;
}

/* Footer */

.account-footer {
  margin-top: 30px;
  color: #777c87;
  text-align: center;
  font-size: 11px;
}

.account-footer a {
  color: var(--acc-gold);
}

/* Responsive */

@media (max-width: 850px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
  }

  .customer-summary {
    flex-direction: row;
    justify-content: flex-start;
    text-align: right;
    padding-bottom: 18px;
  }

  .customer-avatar {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 19px;
    font-size: 25px;
  }

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

  .account-nav button {
    justify-content: center;
    padding: 11px 8px;
    font-size: 11px;
  }

  .account-nav .logout-button {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .account-header {
    padding: 13px 5%;
    min-height: 65px;
  }

  .account-brand {
    gap: 8px;
    font-size: 17px;
  }

  .account-brand-mark {
    width: 33px;
    height: 33px;
    border-radius: 9px;
  }

  .header-links {
    gap: 13px;
    font-size: 11px;
  }

  .account-main {
    width: 92%;
    padding: 30px 0 40px;
  }

  .page-heading h1 {
    font-size: 26px;
  }

  .page-heading p {
    font-size: 12px;
  }

  .account-sidebar {
    padding: 16px;
    border-radius: 14px;
  }

  .account-nav {
    grid-template-columns: 1fr 1fr;
  }

  .account-nav button {
    justify-content: flex-start;
    font-size: 12px;
  }

  .account-panel {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .section-heading {
    font-size: 20px;
  }

  .orders-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-details {
    grid-template-columns: 1fr;
  }

  .order-item {
    flex-direction: column;
    gap: 2px;
  }

  .primary-button,
  .secondary-button,
  .danger-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .account-page *,
  .account-page *::before,
  .account-page *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

\n.order-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cancel-order-button {
  min-width: 125px;
}


/* Detailed live clocks for authentication pages */
.tw-watch-art.detailed-watch {
  width: 330px;
  height: 430px;
  display: grid;
  place-items: center;
  position: relative;
}

.detailed-watch .tw-watch-halo {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(201, 169, 110, .22);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(201, 169, 110, .07);
}

.detailed-watch .halo-two {
  width: 315px;
  height: 315px;
  border-style: dashed;
  opacity: .55;
}

.detailed-watch .tw-watch-strap {
  width: 116px;
  height: 150px;
  z-index: 1;
}

.detailed-watch .strap-top {
  top: 28px;
}

.detailed-watch .strap-bottom {
  bottom: 28px;
}

.detailed-watch .tw-watch-bezel {
  z-index: 3;
  width: 244px;
  height: 244px;
  padding: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ead9ac, #765e36 32%, #c7a86d 58%, #493a25 80%, #d9c38f);
  box-shadow: inset 0 0 0 2px #584522, 0 20px 40px rgba(0, 0, 0, .55);
}

.detailed-watch .tw-watch-face {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 23%, rgba(230, 207, 157, .14), transparent 32%),
    radial-gradient(circle at 50% 55%, #25241e, #171814 62%, #080907);
  border: 2px solid #a88b56;
  box-shadow: inset 0 0 28px #000;
}

.detailed-watch .tw-watch-face::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(230, 207, 157, .4);
  border-radius: 50%;
  pointer-events: none;
}

.detailed-watch .tw-watch-face::after {
  content: "";
  position: absolute;
  inset: 21px;
  border: 1px dashed rgba(230, 207, 157, .16);
  border-radius: 50%;
  pointer-events: none;
}

.detailed-watch .tw-watch-brand {
  position: absolute;
  top: 25%;
  width: 100%;
  text-align: center;
  color: #e0c98e;
  font: 700 9px Georgia, serif;
  letter-spacing: 2px;
  z-index: 2;
}

.detailed-watch .watch-subbrand {
  position: absolute;
  top: 34%;
  width: 100%;
  text-align: center;
  color: #81745a;
  font: 6px Georgia, serif;
  letter-spacing: 1.2px;
  z-index: 2;
}

/* اعداد دقیق و منظم */
.detailed-watch .tw-watch-marker {
  position: absolute;
  z-index: 3;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #ead9b0;
  font: 700 15px Georgia, serif;
  line-height: 1;
  text-shadow: 0 1px 5px #000;
}

.detailed-watch .marker-12 {
  top: 8.5%;
  left: 50%;
  transform: translateX(-50%);
}

.detailed-watch .marker-3 {
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
}

.detailed-watch .marker-6 {
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
}

.detailed-watch .marker-9 {
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
}

/* نشانگرهای بین اعداد */
.detailed-watch .watch-index {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 7px;
  margin-left: -1px;
  margin-top: -3.5px;
  border-radius: 2px;
  background: #cdb47d;
  transform-origin: 1px 3.5px;
  box-shadow: 0 0 3px rgba(205, 180, 125, .25);
}

.detailed-watch .i1 {
  transform: rotate(30deg) translateY(-88px);
}

.detailed-watch .i2 {
  transform: rotate(60deg) translateY(-88px);
}

.detailed-watch .i4 {
  transform: rotate(120deg) translateY(-88px);
}

.detailed-watch .i5 {
  transform: rotate(150deg) translateY(-88px);
}

.detailed-watch .i7 {
  transform: rotate(210deg) translateY(-88px);
}

.detailed-watch .i8 {
  transform: rotate(240deg) translateY(-88px);
}

.detailed-watch .i10 {
  transform: rotate(300deg) translateY(-88px);
}

.detailed-watch .i11 {
  transform: rotate(330deg) translateY(-88px);
}

.detailed-watch .tw-watch-hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  z-index: 4;
  width: 3px;
  height: 64px;
  margin-left: -1.5px;
  border-radius: 4px;
  background: #ead8aa;
  transform-origin: 50% 100%;
  box-shadow: 0 0 8px rgba(230, 207, 157, .25);
}

.detailed-watch .tw-hand-minute {
  height: 80px;
  width: 2px;
  margin-left: -1px;
  background: #f0dfb5;
}

.detailed-watch .tw-hand-second {
  height: 87px;
  width: 1px;
  margin-left: -.5px;
  background: #b9914a;
  z-index: 5;
}

.detailed-watch .tw-watch-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #e8d29a;
  border: 2px solid #765c31;
  z-index: 6;
}

.detailed-watch .watch-date {
  position: absolute;
  right: 28%;
  top: 52%;
  z-index: 3;
  min-width: 19px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid #8d7448;
  border-radius: 3px;
  background: #d9c795;
  color: #282219;
  font: 700 7px Arial, sans-serif;
}

@media(max-width:760px) {
  .tw-watch-art.detailed-watch {
    transform: scale(.82);
    margin-inline: auto
  }

  .detailed-watch .tw-watch-halo {
    width: 320px;
    height: 320px
  }
}


/* =========================================================
   Premium live watch system — TrendWatch 2026
   Shared visual language for home / login / admin login
   ========================================================= */
.tw-premium-clock {
  isolation: isolate;
}

.tw-premium-clock .tw-watch-bezel,
.tw-premium-clock .watch-bezel {
  position: relative;
  z-index: 3;
}

.tw-premium-clock .tw-watch-face,
.tw-premium-clock .watch-face {
  overflow: hidden;
}

.tw-premium-clock .tw-watch-face::before,
.tw-premium-clock .watch-face::before {
  inset: 9px;
}

.tw-premium-clock .tw-watch-face::after,
.tw-premium-clock .watch-face::after {
  inset: 17px;
  border-style: dashed;
  opacity: .3;
}

.tw-premium-clock .watch-ticks,
.tw-premium-clock .tw-watch-ticks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.tw-premium-clock .clock-tick {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.5px;
  height: 7px;
  border-radius: 2px;
  background: rgba(244, 220, 166, .72);
  transform-origin: 50% 0;
  transform: translate(-50%, -50%) rotate(var(--tick-angle)) translateY(-91px);
}

.tw-premium-clock .clock-tick.major {
  width: 2.5px;
  height: 11px;
  background: #f2d99a;
  transform: translate(-50%, -50%) rotate(var(--tick-angle)) translateY(-89px);
}

.tw-premium-clock .tw-watch-subbrand,
.tw-premium-clock .watch-subbrand {
  position: absolute;
  z-index: 2;
  top: 31%;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(220, 195, 143, .62);
  font: 600 5.5px/1 Georgia, serif;
  letter-spacing: 1.6px;
  direction: ltr;
}

.tw-premium-clock .tw-watch-brand,
.tw-premium-clock .watch-brand {
  z-index: 2;
}

.tw-premium-clock .tw-watch-subdial,
.tw-premium-clock .watch-subdial {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18%;
  width: 42px;
  height: 42px;
  transform: translateX(-50%);
  border: 1px solid rgba(216, 181, 107, .42);
  border-radius: 50%;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, .65);
}

.tw-premium-clock .tw-watch-subdial::before,
.tw-premium-clock .watch-subdial::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(216, 181, 107, .15);
  border-radius: 50%;
}

.tw-premium-clock .tw-watch-subdial i,
.tw-premium-clock .watch-subdial i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 13px;
  background: #d8b56b;
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(210deg);
}

.tw-premium-clock .tw-watch-subdial b,
.tw-premium-clock .watch-subdial b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  text-align: center;
  color: #8f7c57;
  font: 600 5px Georgia, serif;
  letter-spacing: 1px;
}

.tw-premium-clock .tw-watch-date,
.tw-premium-clock .watch-date {
  position: absolute;
  z-index: 4;
  right: 19%;
  top: 50%;
  min-width: 24px;
  height: 17px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgb(79 79 79 / 50%);
  border-radius: 3px;
  background: #fbf8f8;
  color: #242019;
  font: 700 8px/1 Georgia, serif;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.tw-premium-clock .tw-watch-day,
.tw-premium-clock .watch-day {
  position: absolute;
  z-index: 3;
  left: 19%;
  top: 51%;
  color: #aa9569;
  font: 600 5px Georgia, serif;
  letter-spacing: 1px;
  transform: translateY(-50%);
}

.tw-premium-clock .tw-watch-pin,
.tw-premium-clock .watch-center {
  z-index: 7;
}

.tw-premium-clock .tw-watch-hand,
.tw-premium-clock .watch-hand {
  z-index: 6;
}

.tw-premium-clock .tw-watch-crown,
.tw-premium-clock .watch-crown {
  position: absolute;
  z-index: 1;
  width: 17px;
  height: 38px;
  right: 63px;
  top: calc(50% - 19px);
  border: 1px solid var(--gold-2);
  border-radius: 5px;
  background: repeating-linear-gradient(90deg, var(--gold-2) 0 3px, var(--gold-light-2) 3px 5px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .4);
}

.tw-premium-clock .tw-watch-crown-cap,
.tw-premium-clock .watch-crown-cap {
  position: absolute;
  width: 7px;
  height: 20px;
  right: 60px;
  top: calc(50% - 10px);
  border-radius: 3px;
  background: var(--gold-light-2);
}

/* Main hero gets a denser, luxury-dial treatment. */
.main-premium-face {
  overflow: visible !important;
}

.main-premium-face .watch-subbrand {
  top: 31%;
}

.main-premium-face .watch-subdial {
  bottom: 17%;
}

.main-premium-face .watch-date {
  right: 18%;
}

.main-premium-face .watch-day {
  left: 18%;
}

.main-premium-face .watch-hand {
  left: 50%;
  bottom: 50%;
  transform-origin: 50% 100%;
}

.main-premium-face .hand-hour {
  width: 5px;
  height: 48px;
}

.main-premium-face .hand-minute {
  width: 3px;
  height: 68px;
}

.main-premium-face .hand-second {
  width: 1.5px;
  height: 78px;
}

@media (max-width:760px) {
  .tw-premium-clock .clock-tick {
    transform: translate(-50%, -50%) rotate(var(--tick-angle)) translateY(-31px);
    height: 4px;
  }

  .tw-premium-clock .clock-tick.major {
    transform: translate(-50%, -50%) rotate(var(--tick-angle)) translateY(-29px);
    height: 6px;
  }
}

.tw-auth-showcase .tw-premium-clock {
  width: 330px;
  height: 430px;
  left: 8px;
  bottom: 10px;
  transform: rotate(-10deg) scale(.98);
  transform-origin: center;
}

.tw-auth-showcase .tw-premium-clock .tw-watch-face {
  width: 236px;
  height: 236px;
  left: 0px;
  top: 0px;
}

.tw-auth-showcase .tw-premium-clock .tw-watch-bezel {
  position: absolute;
  left: 37px;
  top: 81px;
  width: 256px;
  height: 256px;
  padding: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e5cc8d, #705731 31%, #c4a363 56%, #493821 80%, #d9c18a);
  box-shadow: inset 0 0 0 2px #5b4627, 0 0 0 4px rgba(216, 181, 107, .08);
}

.tw-auth-showcase .tw-premium-clock .tw-watch-strap {
  width: 104px;
  height: 450px;
  left: 113px;
  top: -10px;
}

.tw-auth-showcase .tw-premium-clock .clock-tick {
  transform: translate(-50%, -50%) rotate(var(--tick-angle)) translateY(-103px);
}

.tw-auth-showcase .tw-premium-clock .clock-tick.major {
  transform: translate(-50%, -50%) rotate(var(--tick-angle)) translateY(-101px);
}

.tw-auth-showcase .tw-premium-clock .tw-watch-hand {
  left: 50%;
  bottom: 50%;
}

.tw-auth-showcase .tw-premium-clock .tw-hand-hour {
  height: 58px;
}

.tw-auth-showcase .tw-premium-clock .tw-hand-minute {
  height: 82px;
}

.tw-auth-showcase .tw-premium-clock .tw-watch-subdial {
  bottom: 17%;
  width: 45px;
  height: 45px;
}

.tw-auth-showcase .tw-premium-clock .tw-watch-crown {
  right: 23px;
}

.tw-auth-showcase .tw-premium-clock .tw-watch-crown-cap {
  right: 18px;
}

@media (max-width:980px) {
  .tw-auth-showcase .tw-premium-clock {
    opacity: .62;
    transform: rotate(-10deg) scale(.82);
    left: -20px;
    bottom: -5px;
  }
}

@media (max-width:760px) {
  .tw-auth-showcase {
    min-height: 480px;
    padding-bottom: 220px;
  }

  .tw-auth-showcase .tw-premium-clock {
    width: 230px;
    height: 300px;
    left: 50%;
    bottom: -55px;
    transform: translateX(-50%) rotate(-8deg) scale(.66);
    opacity: .72;
  }

  .tw-auth-showcase .tw-premium-clock .tw-watch-face {
    width: 220px;
    height: 220px;
    left: 5px;
    top: 40px;
    border-width: 8px;
  }

  .tw-auth-showcase .tw-premium-clock .tw-watch-bezel {
    width: 236px;
    height: 236px;
    left: -3px;
    top: 32px;
    padding: 8px;
  }

  .tw-auth-showcase .tw-premium-clock .tw-watch-strap {
    width: 88px;
    height: 280px;
    left: 71px;
    top: 10px;
  }
}

/* Shared site-wide emerald mode: persistent across every page. */
html[data-theme="emerald"] body,
body.theme-emerald {
  --bg: #073d2b;
  --background: #073d2b;
  --surface: #0b4a35;
  --text: #f4f1e9;
  --muted: #d1c5a7;
  --gold: #d8b56b;
  --gold-light: #f2d99a;
  background: #073d2b !important;
  color: #f4f1e9 !important;
}

html[data-theme="emerald"] body :is(.site-header, .product-card, .cart-drawer, .modal-content, .tw-auth-card, .admin-login-card, .account-card, .panel, .card, .checkout-card),
body.theme-emerald :is(.site-header, .product-card, .cart-drawer, .modal-content, .tw-auth-card, .admin-login-card, .account-card, .panel, .card, .checkout-card) {
  background-color: #0b4a35 !important;
  color: #f4f1e9 !important;
}

html[data-theme="emerald"] body :is(input, textarea, select) {
  background: #063525 !important;
  color: #f4f1e9 !important;
  border-color: rgba(216, 181, 107, .55) !important;
}

html[data-theme="emerald"] body :is(a, button, .tw-brand-gold, .tw-auth-title, .admin-brand strong) {
  color: #f2d99a;
}

html[data-theme="emerald"] body :is(.hero, .tw-auth-showcase) {
  background: linear-gradient(135deg, #06432f, #0a523b 58%, #073d2b) !important;
  color: #f4f1e9 !important;
}

html[data-theme="emerald"] body .tw-watch-face {
  background: radial-gradient(circle at 32% 23%, #25463a, #101a16 60%, #07100c) !important;
}

/* Never show a forbidden cursor during a pending login request. */
button:disabled,
input:disabled,
[aria-disabled="true"] {
  cursor: progress !important;
}

.tw-auth-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.tw-auth-showcase .tw-premium-clock {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%) rotate(-8deg) scale(.9);
  transform-origin: center;
  pointer-events: none;
}

.tw-auth-showcase .tw-premium-clock .tw-watch-bezel {
  left: 37px;
  top: 81px;
}

@media(max-width:760px) {
  .tw-auth-showcase .tw-premium-clock {
    transform: translate(-50%, -45%) rotate(-8deg) scale(.68);
    opacity: .72;
  }
}

/* TrendWatch refined ivory / emerald theme */
html[data-theme="emerald"] body,
body.theme-emerald {
  --bg: #f3f6f2;
  --background: #f3f6f2;
  --surface: #ffffff;
  --text: #14231d;
  --muted: #65766d;
  --gold: #176b4b;
  --gold-light: #24845e;
  background: #f3f6f2 !important;
  color: #14231d !important;
}

html[data-theme="emerald"] body :is(.site-header, .product-card, .cart-drawer, .modal-content, .tw-auth-card, .admin-login-card, .account-card, .panel, .card, .checkout-card),
body.theme-emerald :is(.site-header, .product-card, .cart-drawer, .modal-content, .tw-auth-card, .admin-login-card, .account-card, .panel, .card, .checkout-card) {
  background: #fff !important;
  color: #14231d !important;
  border-color: #dce7df !important;
  box-shadow: 0 14px 40px rgba(19, 63, 43, .08);
}

html[data-theme="emerald"] body :is(input, textarea, select),
body.theme-emerald :is(input, textarea, select) {
  background: #f7faf7 !important;
  color: #172a20 !important;
  border-color: #c9d9ce !important;
}

html[data-theme="emerald"] body :is(a, button, .tw-brand-gold, .tw-auth-title, .admin-brand strong),
body.theme-emerald :is(a, button, .tw-brand-gold, .tw-auth-title, .admin-brand strong) {
  color: #176b4b;
  background-color: transparent;
}

html[data-theme="emerald"] body :is(.hero, .tw-auth-showcase),
body.theme-emerald :is(.hero, .tw-auth-showcase) {
  background: linear-gradient(145deg, #e6f0e8 0%, #f7faf6 58%, #dcebe0 100%) !important;
  color: #14231d !important;
}

html[data-theme="emerald"] body :is(.tw-auth-showcase h1, .tw-auth-showcase p, .tw-showcase-points>div),
body.theme-emerald :is(.tw-auth-showcase h1, .tw-auth-showcase p, .tw-showcase-points>div) {
  color: #1c3428 !important;
}

html[data-theme="emerald"] body .tw-watch-face,
body.theme-emerald .tw-watch-face {
  background: radial-gradient(circle at 32% 22%, #ffffff 0%, #e5f0e7 52%, #c8ddce 100%) !important;
  color: #174c36 !important;
  border-color: #2d7958 !important;
}

html[data-theme="emerald"] body :is(.tw-watch-brand, .tw-watch-subbrand, .tw-watch-marker, .watch-index, .watch-date, .tw-watch-day),
body.theme-emerald :is(.tw-watch-brand, .tw-watch-subbrand, .tw-watch-marker, .watch-index, .watch-date, .tw-watch-day) {
  color: #174c36 !important;
}

html[data-theme="emerald"] body :is(.tw-watch-hand, .watch-hand),
body.theme-emerald :is(.tw-watch-hand, .watch-hand) {
  background: #174c36 !important;
}

html[data-theme="emerald"] body :is(.tw-watch-bezel, .watch-bezel),
body.theme-emerald :is(.tw-watch-bezel, .watch-bezel) {
  border-color: #a9c8b4 !important;
  background: linear-gradient(135deg, #d8e7dc, #f8fbf8, #a8c6b2) !important;
}

html[data-theme="emerald"] body :is(.tw-watch-strap, .watch-strap),
body.theme-emerald :is(.tw-watch-strap, .watch-strap) {
  background: linear-gradient(90deg, #164b35, #287453, #123c2b) !important;
}

html[data-theme="emerald"] body :is(.tw-watch-halo, .watch-halo),
body.theme-emerald :is(.tw-watch-halo, .watch-halo) {
  border-color: rgba(35, 116, 78, .28) !important;
  box-shadow: 0 0 65px rgba(35, 116, 78, .12) !important;
}

html[data-theme="emerald"] body :is(.tw-watch-pin, .watch-pin),
body.theme-emerald :is(.tw-watch-pin, .watch-pin) {
  background: #176b4b !important;
  border-color: #d6b56e !important;
}

/* Auth illustration sits in its own visual area instead of covering copy. */
.tw-auth-showcase {
  min-height: 680px;
  padding-bottom: 26px;
}

.tw-auth-showcase .tw-showcase-content {
  max-width: 490px;
}

.tw-auth-showcase .tw-premium-clock {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: scale(.82) rotate(-7deg) !important;
  transform-origin: top center;
  align-self: center;
  margin: -100px 0px 0px -300px;
  flex: 0 0 auto;
}

.tw-auth-showcase .tw-showcase-caption {
  position: relative;
  bottom: auto;
  right: auto;
  align-self: center;
  margin-top: 0;
}

@media(max-width:760px) {
  .tw-auth-showcase {
    min-height: unset;
    padding: 28px 12px 20px;
  }

  .tw-auth-showcase .tw-premium-clock {
    transform: scale(.66) rotate(-7deg) !important;
    margin: -20px auto -112px;
  }

  .tw-auth-showcase .tw-showcase-caption {
    margin-top: 4px;
  }
}

/* Product detail and premium catalog additions */
.product-detail-wrap {
  padding: 55px 0 90px
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--text-muted, #8f969f)
}

.product-detail-card {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
  gap: 42px;
  padding: 30px;
  border: 1px solid var(--border, rgba(255, 255, 255, .1));
  border-radius: 28px;
  background: var(--panel, rgba(18, 21, 28, .92));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .12)
}

.detail-media {
  min-height: 480px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(35, 116, 78, .12), rgba(255, 255, 255, .7));
  border: 1px solid rgba(35, 116, 78, .18)
}

.detail-media img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain
}

.detail-placeholder {
  font-size: 70px;
  font-weight: 900;
  color: var(--gold);
}

.detail-content h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 10px 0
}

.detail-description {
  line-height: 2;
  color: var(--text-muted, #8f969f)
}

.detail-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 25px 0
}

.detail-price strong {
  font-size: 27px
}

.detail-price del {
  opacity: .55
}

.detail-price b {
  padding: 5px 10px;
  border-radius: 11px;
  background: #dff4e8;
  color: #176b4b;
  font-size: 12px
}

.detail-stock {
  margin-bottom: 22px;
  color: #176b4b;
  font-weight: 700
}

.detail-block {
  padding: 18px 0;
  border-top: 1px solid var(--border, rgba(255, 255, 255, .1))
}

.detail-block h3 {
  margin: 0 0 14px
}

.color-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.color-list span {
  padding: 8px 12px;
  border-radius: 11px;
  border: 1px solid rgba(23, 107, 75, .2);
  background: rgba(23, 107, 75, .06);
  color: #176b4b
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px
}

.spec-grid div {
  padding: 12px;
  border-radius: 12px;
  background: rgba(23, 107, 75, .05);
  display: flex;
  justify-content: space-between;
  gap: 12px
}

.spec-grid span {
  opacity: .65
}

.reserve-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(23, 107, 75, .07);
  border: 1px solid rgba(23, 107, 75, .18)
}

.reserve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0
}

.reserve-grid textarea {
  grid-column: 1/-1
}

.reserve-grid input,
.reserve-grid textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(23, 107, 75, .2);
  background: rgba(255, 255, 255, .7);
  color: inherit
}

.detail-error,
.detail-loading {
  padding: 60px;
  text-align: center
}

.theme-emerald .product-detail-card {
  background: #f8fbf8;
  color: #17352a
}

.theme-emerald .detail-description {
  color: #52675c
}

.theme-emerald .detail-media {
  background: linear-gradient(145deg, #edf8f1, #fff)
}

@media(max-width:850px) {
  .product-detail-card {
    grid-template-columns: 1fr
  }

  .detail-media {
    min-height: 330px
  }

  .reserve-grid {
    grid-template-columns: 1fr
  }

  .spec-grid {
    grid-template-columns: 1fr
  }
}

/* =========================================================
   TrendWatch unified Ivory + Emerald design system
   ========================================================= */
html[data-theme="emerald"] body,
body.theme-emerald {
  --bg: #f4f7f3;
  --panel: #ffffff;
  --panel-2: #eef5ef;
  --text: #17352a;
  --text-muted: #5a6e63;
  --border: rgba(23, 107, 75, .14);
  --gold: #176b4b;
  --gold-light: #0d5b3b;
  --accent: #1f8b60;
  background: linear-gradient(180deg, #f8fbf8 0%, #eef5ef 100%) !important;
  color: #17352a !important
}

html[data-theme="emerald"] body :is(.site-header, .announcement, .benefits, .collection, .section-space, .site-footer, .cart-drawer, .modal-content, .checkout-card, .account-card, .panel, .card, .tw-auth-card, .admin-login-card, .tw-auth-showcase),
body.theme-emerald :is(.site-header, .announcement, .benefits, .collection, .section-space, .site-footer, .cart-drawer, .modal-content, .checkout-card, .account-card, .panel, .card, .tw-auth-card, .admin-login-card, .tw-auth-showcase) {
  background-color: transparent;
  color: #17352a;
  border-color: rgba(23, 107, 75, .12)
}

html[data-theme="emerald"] body .site-header,
body.theme-emerald .site-header {
  background: rgba(248, 251, 248, .9) !important;
  border-bottom: 1px solid rgba(23, 107, 75, .12);
  box-shadow: 0 8px 30px rgba(23, 107, 75, .05)
}

html[data-theme="emerald"] body :is(.nav-link, .admin-link, .logo-word, .cart-label, .hero-description, .section-description, .benefit p, .product-description, .footer-main p, .footer-bottom, .tw-auth-footer, .account-footer),
body.theme-emerald :is(.nav-link, .admin-link, .logo-word, .cart-label, .hero-description, .section-description, .benefit p, .product-description, .footer-main p, .footer-bottom, .tw-auth-footer, .account-footer) {
  color: #52675c !important
}

html[data-theme="emerald"] body :is(h1, h2, h3, h4, .hero h1, .collection h2, .product-name, .tw-auth-title, .account-title),
body.theme-emerald :is(h1, h2, h3, h4, .hero h1, .collection h2, .product-name, .tw-auth-title, .account-title) {
  color: #17352a !important
}

html[data-theme="emerald"] body :is(.button-gold, .btn-primary, .add-cart),
body.theme-emerald :is(.button-gold, .btn-primary, .add-cart) {
  background: linear-gradient(135deg, #176b4b, #2b8b64) !important;
  color: #fff !important;
  border-color: #176b4b !important;
  box-shadow: 0 12px 30px rgba(23, 107, 75, .18)
}

html[data-theme="emerald"] body :is(.button-quiet, .btn-outline),
body.theme-emerald :is(.button-quiet, .btn-outline) {
  background: #fff !important;
  color: #176b4b !important;
  border-color: rgba(23, 107, 75, .2) !important
}

html[data-theme="emerald"] body :is(input, textarea, select),
body.theme-emerald :is(input, textarea, select) {
  background: #fff !important;
  color: #17352a !important;
  border-color: rgba(23, 107, 75, .18) !important
}

html[data-theme="emerald"] body .product-card,
body.theme-emerald .product-card {
  background: rgba(255, 255, 255, .96) !important;
  border-color: rgba(23, 107, 75, .12) !important;
  box-shadow: 0 18px 50px rgba(23, 107, 75, .07)
}

html[data-theme="emerald"] body .site-footer,
body.theme-emerald .site-footer {
  background: #e5efe8 !important;
  border-top: 1px solid rgba(23, 107, 75, .12) !important;
  color: #17352a !important
}

html[data-theme="emerald"] body :is(.footer-main, .footer-bottom),
body.theme-emerald :is(.footer-main, .footer-bottom) {
  color: #52675c !important
}

html[data-theme="emerald"] body :is(.footer-main a, .footer-admin, .footer-bottom a),
body.theme-emerald :is(.footer-main a, .footer-admin, .footer-bottom a) {
  color: #176b4b !important
}

html[data-theme="emerald"] body .theme-toggle {
  background: #fff !important;
  color: #176b4b !important;
  border-color: rgba(23, 107, 75, .22) !important
}

html[data-theme="emerald"] body .hero {
  background: radial-gradient(circle at 70% 35%, rgba(31, 139, 96, .11), transparent 38%), linear-gradient(180deg, #f8fbf8, #eef5ef) !important
}

html[data-theme="emerald"] body .hero-art .art-caption,
html[data-theme="emerald"] body .art-index {
  color: #176b4b !important
}

html[data-theme="emerald"] body :is(.watch-case, .tw-watch-face, .watch-face) {
  background: azure;
  border-color: #8fb8a2 !important;
}

html[data-theme="emerald"] body :is(.watch-face, .tw-watch-face) {
  background: radial-gradient(circle at 35% 30%, #fff, #edf7f0 65%, #d7e9dc) !important;
  box-shadow: 0 18px 50px rgba(23, 107, 75, .14), inset 0 0 0 7px #f8fbf8 !important
}

html[data-theme="emerald"] body :is(.watch-hand, .tw-watch-hand, .hand-hour, .hand-minute, .hand-second) {
  background: #17352a !important
}

html[data-theme="emerald"] body :is(.watch-brand, .watch-subbrand, .watch-day, .watch-date, .hour, .watch-index, .watch-marker, .tw-watch-marker) {
  color: #176b4b !important
}

html[data-theme="emerald"] body :is(.watch-strap, .tw-watch-strap) {
  background: linear-gradient(90deg, #174f38, #2b8b64, #174f38) !important
}

html[data-theme="emerald"] body.admin-page {
  --dash-bg: #f4f7f3;
  --dash-panel: #fff;
  --dash-panel-light: #eef5ef;
  --dash-gold: #176b4b;
  --dash-gold-light: #0d5b3b;
  --dash-text: #17352a;
  --dash-muted: #5a6e63;
  --dash-border: rgba(23, 107, 75, .14);
  background: linear-gradient(180deg, #f8fbf8, #eef5ef) !important
}

html[data-theme="emerald"] body.admin-page .admin-header {
  background: rgba(248, 251, 248, .92);
  border-color: rgba(23, 107, 75, .12)
}

html[data-theme="emerald"] body.admin-page .admin-card,
html[data-theme="emerald"] body.admin-page .stat-card {
  background: #fff;
  border-color: rgba(23, 107, 75, .12);
  box-shadow: 0 18px 50px rgba(23, 107, 75, .06)
}

html[data-theme="emerald"] body.admin-page .admin-page .form-group input:not([type="file"]),
html[data-theme="emerald"] body.admin-page .admin-page .form-group textarea {
  background: #f8fbf8;
  color: #17352a;
  border-color: rgba(23, 107, 75, .16)
}

.product-detail-link {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  color: #176b4b;
  font-weight: 700
}

.discount-label {
  font-size: 10px;
  color: #176b4b;
  margin-top: 4px
}

.price del {
  opacity: .5;
  margin-left: 6px
}

.price strong {
  color: #176b4b
}

.out-stock-link {
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap
}

/* =========================================================
   Emerald / Ivory complete visual language
   No legacy dark/gold surfaces in Emerald mode.
   ========================================================= */
html[data-theme="emerald"] body.theme-emerald,
html[data-theme="emerald"] body {
  --bg: #f5f8f5;
  --bg-soft: #edf4ee;
  --panel: #ffffff;
  --panel-2: #f0f6f1;
  --gold: #16845a;
  --gold-light: #0f6f4a;
  --gold-2: #0f6f4a;
  --gold-light-2: #ffffff;
  --text: #14241c;
  --muted: #5d6d64;
  --line: rgba(22, 132, 90, .16);
  --danger: #b84b45;
}

html[data-theme="emerald"] body,
body.theme-emerald {
  background: linear-gradient(180deg, #fbfdfb 0%, #f1f6f2 48%, #eaf2ec 100%) !important;
  color: #14241c !important;
}

html[data-theme="emerald"] body :is(.announcement, .site-header, .hero, .collection, .story-section, .closing-banner, .site-footer),
body.theme-emerald :is(.announcement, .site-header, .hero, .collection, .story-section, .closing-banner, .site-footer) {
  color: #14241c;
}

html[data-theme="emerald"] body .announcement,
body.theme-emerald .announcement {
  background: #16845a !important;
  color: #ffffff !important;
}

html[data-theme="emerald"] body .site-header,
body.theme-emerald .site-header {
  background: rgba(255, 255, 255, .92) !important;
  border-bottom: 1px solid rgba(22, 132, 90, .14) !important;
  box-shadow: 0 8px 30px rgba(22, 132, 90, .06);
}

html[data-theme="emerald"] body :is(.logo-mark, .logo-word>span, .nav-link:hover, .admin-link:hover),
body.theme-emerald :is(.logo-mark, .logo-word>span, .nav-link:hover, .admin-link:hover) {
  color: #16845a !important;
}

html[data-theme="emerald"] body .logo-mark,
body.theme-emerald .logo-mark {
  border-color: #16845a !important;
  color: #16845a !important;
  background: #f3faf5;
}

html[data-theme="emerald"] body .logo-word,
body.theme-emerald .logo-word {
  color: #14241c !important;
}

html[data-theme="emerald"] body :is(.hero, .tw-auth-showcase),
body.theme-emerald :is(.hero, .tw-auth-showcase) {
  background:
    radial-gradient(circle at 72% 28%, rgba(22, 132, 90, .12), transparent 32%),
    linear-gradient(145deg, #ffffff 0%, #f5faf6 55%, #e6f1e9 100%) !important;
}

html[data-theme="emerald"] body .hero h1,
html[data-theme="emerald"] body .hero h1 em,
html[data-theme="emerald"] body .tw-auth-showcase h1,
body.theme-emerald .hero h1,
body.theme-emerald .hero h1 em,
body.theme-emerald .tw-auth-showcase h1 {
  color: #14241c !important;
}

html[data-theme="emerald"] body .hero h1 em,
body.theme-emerald .hero h1 em {
  color: #16845a !important;
}

/* Story section: fully Ivory/Emerald, including the supplied brand block. */
html[data-theme="emerald"] body .story-section,
body.theme-emerald .story-section {
  background: #abceb4 !important;
  border-block: 1px solid rgba(22, 132, 90, .14) !important;
}

html[data-theme="emerald"] body .story-frame,
body.theme-emerald .story-frame {
  background: radial-gradient(circle, #ffffff 0%, #eef7f0 68%, #e3f0e7 100%) !important;
  border-color: rgba(22, 132, 90, .38) !important;
  box-shadow: 0 24px 70px rgba(22, 132, 90, .10);
}

html[data-theme="emerald"] body .story-frame::before,
body.theme-emerald .story-frame::before {
  border-color: rgba(22, 132, 90, .18) !important;
}

html[data-theme="emerald"] body .story-monogram,
body.theme-emerald .story-monogram {
  color: #16845a !important;
}

html[data-theme="emerald"] body .story-frame-label,
html[data-theme="emerald"] body .story-side-note,
body.theme-emerald .story-frame-label,
body.theme-emerald .story-side-note {
  color: #4f7562 !important;
}

html[data-theme="emerald"] body .story-copy p,
body.theme-emerald .story-copy p {
  color: #52645a !important;
}

html[data-theme="emerald"] body .story-copy h2,
body.theme-emerald .story-copy h2 {
  color: #14241c !important;
}

html[data-theme="emerald"] body .text-link,
body.theme-emerald .text-link {
  color: #16845a !important;
  border-color: #16845a !important;
}

/* Closing banner becomes a clean green statement instead of a gold/dark strip. */
html[data-theme="emerald"] body .closing-banner,
body.theme-emerald .closing-banner {
  background: linear-gradient(135deg, #e8f4eb, #f9fcf9 55%, #dceee1) !important;
  border-bottom: 1px solid rgba(22, 132, 90, .14) !important;
}

html[data-theme="emerald"] body .closing-kicker,
body.theme-emerald .closing-kicker {
  color: #16845a !important;
}

html[data-theme="emerald"] body .closing-inner h2,
body.theme-emerald .closing-inner h2 {
  color: #14241c !important;
}

/* Footer: same Emerald/Ivory system, never dark/gold in Emerald mode. */
html[data-theme="emerald"] body .site-footer,
body.theme-emerald .site-footer {
  background: #e3eee6 !important;
  color: #14241c !important;
  border-top: 1px solid rgba(22, 132, 90, .14) !important;
}

html[data-theme="emerald"] body .footer-main p,
html[data-theme="emerald"] body .footer-bottom,
html[data-theme="emerald"] body .footer-admin,
body.theme-emerald .footer-main p,
body.theme-emerald .footer-bottom,
body.theme-emerald .footer-admin {
  color: #53685c !important;
}

html[data-theme="emerald"] body :is(.footer-main a, .footer-admin:hover, .footer-bottom a, .footer-bottom b),
body.theme-emerald :is(.footer-main a, .footer-admin:hover, .footer-bottom a, .footer-bottom b) {
  color: #16845a !important;
}

html[data-theme="emerald"] body .footer-bottom,
body.theme-emerald .footer-bottom {
  border-top-color: rgba(22, 132, 90, .12) !important;
}

/* Buttons, tags and accents use green only. */
html[data-theme="emerald"] body :is(.button-gold, .btn-primary, .add-cart, .checkout-link),
body.theme-emerald :is(.button-gold, .btn-primary, .add-cart, .checkout-link) {
  background: linear-gradient(135deg, #16845a, #219b6b) !important;
  color: #fff !important;
  border-color: #16845a !important;
  box-shadow: 0 12px 28px rgba(22, 132, 90, .18);
}

html[data-theme="emerald"] body :is(.button-gold:hover, .btn-primary:hover, .add-cart:hover),
body.theme-emerald :is(.button-gold:hover, .btn-primary:hover, .add-cart:hover) {
  background: linear-gradient(135deg, #0f6f4a, #16845a) !important;
}

/* Product cards and catalog surfaces. */
html[data-theme="emerald"] body :is(.product-card, .cart-drawer, .modal-content, .checkout-card, .account-card, .panel, .card),
body.theme-emerald :is(.product-card, .cart-drawer, .modal-content, .checkout-card, .account-card, .panel, .card) {
  background: #ffffff !important;
  color: #14241c !important;
  border-color: rgba(22, 132, 90, .13) !important;
  box-shadow: 0 18px 48px rgba(22, 132, 90, .065);
}

html[data-theme="emerald"] body :is(.product-name, .product-card h3, .section-title),
body.theme-emerald :is(.product-name, .product-card h3, .section-title) {
  color: #14241c !important;
}

html[data-theme="emerald"] body :is(.product-description, .section-description, .benefit p),
body.theme-emerald :is(.product-description, .section-description, .benefit p) {
  color: #5a6c62 !important;
}

html[data-theme="emerald"] body :is(.price strong, .discount-label, .product-detail-link, .detail-stock),
body.theme-emerald :is(.price strong, .discount-label, .product-detail-link, .detail-stock) {
  color: #16845a !important;
}

/* Forms. */
html[data-theme="emerald"] body :is(input, textarea, select),
body.theme-emerald :is(input, textarea, select) {
  background: #ffffff !important;
  color: #14241c !important;
  border-color: rgba(22, 132, 90, .2) !important;
}

html[data-theme="emerald"] body :is(input, textarea, select)::placeholder,
body.theme-emerald :is(input, textarea, select)::placeholder {
  color: #8a9890 !important;
}

/* Clock: white/ivory dial + emerald metal/markers/branding; no gold remnants. */
html[data-theme="emerald"] body :is(.tw-watch-face, .watch-face),
body.theme-emerald :is(.tw-watch-face, .watch-face) {
  background: radial-gradient(circle at 34% 25%, #ffffff 0%, #f1f8f3 58%, #dcece1 100%) !important;
  border-color: #5aa47d !important;
  box-shadow: 0 20px 55px rgba(22, 132, 90, .16), inset 0 0 0 7px #f8fcf9 !important;
}

html[data-theme="emerald"] body :is(.tw-watch-bezel, .watch-bezel),
body.theme-emerald :is(.tw-watch-bezel, .watch-bezel) {
  border-color: #77ad91 !important;
  background: linear-gradient(135deg, #cfe2d5, #ffffff, #b9d3c1) !important;
}

html[data-theme="emerald"] body :is(.tw-watch-strap, .watch-strap),
body.theme-emerald :is(.tw-watch-strap, .watch-strap) {
  background: linear-gradient(90deg, #0d5c3c, #16845a 50%, #0d5c3c) !important;
}

html[data-theme="emerald"] body :is(.tw-watch-brand, .tw-watch-subbrand, .tw-watch-marker, .watch-index, .watch-date, .watch-day, .tw-watch-day),
body.theme-emerald :is(.tw-watch-brand, .tw-watch-subbrand, .tw-watch-marker, .watch-index, .watch-date, .watch-day, .tw-watch-day) {
  color: #116b47 !important;
}

html[data-theme="emerald"] body :is(.tw-watch-hand, .watch-hand, .hand-hour, .hand-minute),
body.theme-emerald :is(.tw-watch-hand, .watch-hand, .hand-hour, .hand-minute) {
  background: #173c2b !important;
}

html[data-theme="emerald"] body :is(.hand-second, .tw-watch-second),
body.theme-emerald :is(.hand-second, .tw-watch-second) {
  background: #16845a !important;
}

html[data-theme="emerald"] body :is(.tw-watch-pin, .watch-pin),
body.theme-emerald :is(.tw-watch-pin, .watch-pin) {
  background: #16845a !important;
  border-color: #eaf6ed !important;
}

html[data-theme="emerald"] body :is(.tw-watch-halo, .watch-halo),
body.theme-emerald :is(.tw-watch-halo, .watch-halo) {
  border-color: rgba(22, 132, 90, .25) !important;
  box-shadow: 0 0 65px rgba(22, 132, 90, .14) !important;
}

/* Admin/auth surfaces. */
html[data-theme="emerald"] body :is(.tw-auth-card, .admin-login-card),
body.theme-emerald :is(.tw-auth-card, .admin-login-card) {
  background: rgba(255, 255, 255, .96) !important;
  color: #14241c !important;
  border-color: rgba(22, 132, 90, .14) !important;
  box-shadow: 0 28px 80px rgba(22, 132, 90, .10);
}

html[data-theme="emerald"] body :is(.tw-auth-title, .admin-brand strong),
body.theme-emerald :is(.tw-auth-title, .admin-brand strong) {
  color: #16845a !important;
}

/* Info/legal pages use the same design language. */
html[data-theme="emerald"] body.info-page,
body.info-page.theme-emerald {
  --bg: #f5f8f5;
  --panel: #fff;
  --gold: #16845a;
  --gold2: #0f6f4a;
  --text: #14241c;
  --muted: #5d6d64;
  --line: rgba(22, 132, 90, .14);
  background: radial-gradient(circle at 20% 0%, rgba(22, 132, 90, .09), transparent 35%), #f5f8f5 !important;
  color: #14241c !important;
}

html[data-theme="emerald"] .info-header,
body.info-page.theme-emerald .info-header {
  background: rgba(255, 255, 255, .92);
  border-color: var(--line);
}

html[data-theme="emerald"] .info-brand,
body.info-page.theme-emerald .info-brand {
  color: #14241c;
}

html[data-theme="emerald"] .info-brand span,
html[data-theme="emerald"] .info-kicker,
html[data-theme="emerald"] .info-card h2,
html[data-theme="emerald"] .info-step:before,
html[data-theme="emerald"] .back-home,
body.info-page.theme-emerald :is(.info-brand span, .info-kicker, .info-card h2, .info-step:before, .back-home) {
  color: #16845a !important;
}

html[data-theme="emerald"] .info-nav a,
html[data-theme="emerald"] .info-lead,
html[data-theme="emerald"] .info-card p,
html[data-theme="emerald"] .info-card li,
html[data-theme="emerald"] .info-footer,
body.info-page.theme-emerald :is(.info-nav a, .info-lead, .info-card p, .info-card li, .info-footer) {
  color: #5d6d64 !important;
}

html[data-theme="emerald"] .info-card,
body.info-page.theme-emerald .info-card {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 18px 45px rgba(22, 132, 90, .06);
}

html[data-theme="emerald"] .back-home,
body.info-page.theme-emerald .back-home {
  border-color: rgba(22, 132, 90, .2);
}

html[data-theme="emerald"] .info-footer,
body.info-page.theme-emerald .info-footer {
  border-color: var(--line);
}

.footer-keys_links {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 5px 10px;
}

.title_span {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 700;
}