:root {
  --green: #267c36;
  --deep-green: #06491f;
  --leaf: #12843c;
  --maroon: #67101c;
  --gold: #f0b918;
  --line: #d8d8d8;
  --text: #111111;
  --muted: #616161;
  --soft: #f7f7f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ecefed;
  color: var(--text);
  font-family: "Hind Siliguri", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

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

.phone-frame {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 16px 46px rgba(8, 51, 28, 0.12);
}

.hero-section {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78) 58%, rgba(250, 246, 228, 0.7)),
    #fffdf5;
}

.hero-section::after,
.promise-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(30deg, rgba(19, 87, 47, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(19, 87, 47, 0.035) 87.5%, rgba(19, 87, 47, 0.035)),
    linear-gradient(150deg, rgba(19, 87, 47, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(19, 87, 47, 0.035) 87.5%, rgba(19, 87, 47, 0.035));
  background-size: 18px 31px;
  opacity: 0.55;
}

.hero-border {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 168px;
  transform: translateX(-50%);
  background-image: url("/assets/top-border-fast.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: auto 168px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 93px 24px 26px;
  text-align: center;
}

.hero-content h1 {
  margin: 0;
  color: #020202;
  font-size: clamp(24px, 6.65vw, 31px);
  font-weight: 800;
  line-height: 1.38;
  text-shadow: 0 1px 0 #ffffff;
}

.hero-content p {
  margin: 25px 0 12px;
  color: #050505;
  font-size: 22px;
  font-weight: 800;
}

.countdown {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(322px, 100%);
  min-height: 68px;
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
}

.countdown::before {
  content: "";
  position: absolute;
  z-index: 4;
  left: -96px;
  top: 0;
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #ffc626 24%,
    #fff7cc 43%,
    #ffffff 55%,
    #2b7534 78%,
    transparent 100%
  );
  box-shadow:
    0 0 8px rgba(255, 198, 38, 0.9),
    0 0 11px rgba(43, 117, 52, 0.55);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
  pointer-events: none;
  animation: orbit-border 3s linear infinite;
}

.count-box {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 10px 4px 8px;
  color: #ffffff;
  line-height: 1;
}

@keyframes orbit-border {
  0% {
    left: -96px;
    top: 0;
    transform: translateY(-50%) rotate(0deg);
  }

  24% {
    left: 100%;
    top: 0;
    transform: translate(-8px, -50%) rotate(0deg);
  }

  25% {
    left: 100%;
    top: 0;
    transform: translate(-50%, -8px) rotate(90deg);
  }

  49% {
    left: 100%;
    top: 100%;
    transform: translate(-50%, -8px) rotate(90deg);
  }

  50% {
    left: 100%;
    top: 100%;
    transform: translate(-8px, -50%) rotate(180deg);
  }

  74% {
    left: -96px;
    top: 100%;
    transform: translateY(-50%) rotate(180deg);
  }

  75% {
    left: 0;
    top: 100%;
    transform: translate(-50%, -8px) rotate(270deg);
  }

  99% {
    left: 0;
    top: 0;
    transform: translate(-50%, -8px) rotate(270deg);
  }

  100% {
    left: -96px;
    top: 0;
    transform: translateY(-50%) rotate(0deg);
  }
}

.count-box strong {
  display: block;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.count-box span {
  display: block;
  margin-top: 3px;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 19px;
  font-weight: 700;
}

.count-days {
  background: #247b35;
}

.count-hours {
  background: #ffc626;
  color: #000000;
}

.count-seconds {
  background: #670000;
}

.small-cta,
.payment-cta,
.confirm-btn {
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20, 91, 42, 0.16);
}

.custom-order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 185px;
  min-height: 64px;
  background-color: #2b7534;
  color: #ffffff;
  font-family: "Hind Siliguri", sans-serif;
  font-size: 20px;
  font-weight: 600;
  padding: 15px 24px;
  text-decoration: none;
  border-radius: 5px;
  line-height: 1;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  animation: pulse-animation 2s infinite;
}

.custom-order-button:hover {
  background-color: #235d2a;
  animation: none;
}

.main-cta {
  margin-top: 24px;
}

@keyframes pulse-animation {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(43, 117, 52, 0.7);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(43, 117, 52, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(43, 117, 52, 0);
  }
}

.promise-section {
  position: relative;
  padding: 18px 10px 16px;
  background: #ffffff;
  text-align: center;
}

.promise-section h2,
.orchard-section h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #030303;
  font-size: clamp(24px, 6.4vw, 29px);
  font-weight: 800;
  line-height: 1.22;
}

.orchard-section h2 {
  font-size: clamp(22px, 6.1vw, 27px);
}

.promise-section h2::after,
.orchard-section h2::after {
  content: "";
  display: block;
  width: min(292px, 86%);
  height: 14px;
  margin: 5px auto 0;
  border-top: 4px solid var(--maroon);
  border-radius: 50%;
}

.promise-section span,
.orchard-section span {
  color: #195c37;
}

.poster-section {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 14px 12px 26px;
  background: #ffffff;
}

.poster-section img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.small-cta {
  margin-top: 34px;
  margin-bottom: 34px;
}

.orchard-section {
  padding: 23px 8px 26px;
  background: #ffffff;
  text-align: center;
}

.orchard-carousel {
  width: 100%;
  margin-top: 20px;
}

.orchard-slider-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 4px solid #267c36;
  border-radius: 6px;
  background: #e9f3df;
}

.orchard-slider-track {
  display: flex;
  width: 100%;
  transform: translateX(0);
  transition: transform 0.45s ease;
  touch-action: pan-y;
  cursor: grab;
}

.orchard-slider-track.is-dragging {
  transition: none;
  cursor: grabbing;
}

.orchard-slider-track.no-transition {
  transition: none;
}

.orchard-slide {
  flex: 0 0 100%;
  width: 100%;
  height: clamp(430px, 108vw, 460px);
  margin: 0;
  overflow: hidden;
  background: #e9f3df;
}

.orchard-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.orchard-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.orchard-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #b8d6bc;
  cursor: pointer;
}

.orchard-slider-dots button[aria-current="true"] {
  width: 25px;
  background: #267c36;
}

.delivery-strip {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 28px;
}

.delivery-order-cta {
  margin-top: 46px;
  margin-bottom: 18px;
}

.reviews-section {
  padding: 25px 7px 28px;
  border: 1px solid #dedede;
  border-radius: 7px;
  background: #fbfbfb;
  text-align: center;
}

.reviews-section h2 {
  max-width: 360px;
  margin: 8px auto 24px;
  color: #050505;
  font-size: clamp(25px, 6.4vw, 30px);
  font-weight: 800;
  line-height: 1.16;
}

.reviews-section h2 span {
  color: #1f6c42;
}

.review-carousel {
  overflow: hidden;
}

.review-slider-viewport {
  overflow: hidden;
  border: 1px solid #dde5ea;
  border-radius: 6px;
  background: #ffffff;
}

.review-slider-track {
  display: flex;
  transform: translateX(0);
  transition: transform 0.55s ease;
  will-change: transform;
}

.review-slider-track.no-transition {
  transition: none;
}

.review-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.review-card {
  min-height: 126px;
  text-align: left;
}

.review-head {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 10px;
  padding: 17px 20px 10px;
  border-bottom: 1px solid #e8edf0;
}

.review-head img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
}

.review-head strong {
  display: block;
  color: #333333;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.review-head span {
  display: block;
  margin-top: 2px;
  color: #ffa322;
  font-size: 18px;
  letter-spacing: 1px;
}

.review-head i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #3568b9;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
}

.review-card p {
  margin: 0;
  padding: 9px 18px 20px;
  color: #545454;
  font-size: 19px;
  line-height: 1.32;
}

.review-slider-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 29px;
}

.review-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cfcfcf;
  cursor: pointer;
}

.review-slider-dots button[aria-current="true"] {
  background: #000000;
}

.video-section {
  padding: 28px 12px 34px;
  background: #ffffff;
  text-align: center;
}

.video-section[hidden] {
  display: none;
}

.video-section h2 {
  margin: 0 0 16px;
  color: var(--deep-green);
  font-size: clamp(24px, 6vw, 29px);
  font-weight: 800;
  line-height: 1.2;
}

.youtube-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 4px solid #267c36;
  border-radius: 8px;
  background: #0c1b10;
}

.youtube-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-order-cta {
  margin-top: 24px;
}

.contact-section {
  padding: 0 1px 10px;
  background: #ffffff;
}

.contact-card {
  margin: 0 0 17px;
  padding: 14px 18px 17px;
  border: 1px solid #d8d8d8;
  border-radius: 7px;
  text-align: center;
}

.contact-card p {
  margin: 0;
  color: #181818;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.48;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
}

.contact-actions a {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.contact-actions a:first-child {
  background: #e2a208;
}

.contact-actions a:last-child {
  background: var(--green);
}

.price-table {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 7px;
}

.payment-cta {
  display: block;
  width: 100%;
  min-height: 55px;
  margin: 17px 0 10px;
  padding: 12px 14px;
  border-radius: 2px;
  font-size: 19px;
}

.checkout-panel {
  padding: 16px 8px 28px;
  background: #ffffff;
}

.checkout-panel h2 {
  margin: 0 0 22px;
  color: #222222;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.product-block h2 {
  margin: 0 0 34px 2px;
  font-size: 24px;
}

.form-block {
  margin: 0 0 28px;
  padding: 0 12px;
}

.product-block {
  padding: 0;
}

.product-options {
  border: 1px solid #cbd4df;
}

.product-row {
  display: grid;
  grid-template-columns: 20px 64px 1fr auto;
  align-items: center;
  min-height: 66px;
  padding: 8px 10px;
  gap: 8px;
  border-bottom: 1px solid #d8dde5;
  color: #222222;
  cursor: pointer;
}

.product-row:last-child {
  border-bottom: 0;
}

.product-row.selected {
  background: #fafafa;
}

.product-row input {
  width: 11px;
  height: 11px;
  margin: 0;
  accent-color: var(--green);
}

.product-thumb {
  width: 48px;
  height: 48px;
  overflow: hidden;
  background: #e8f3de;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.25);
}

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

.product-price {
  min-width: 66px;
  text-align: right;
  font-size: 11px;
  white-space: nowrap;
}

.field-label {
  display: block;
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: #242424;
}

.field-label span {
  color: #d41111;
}

.checkout-panel input[type="text"],
.checkout-panel input[type="tel"] {
  display: block;
  width: 100%;
  height: 54px;
  margin: 0 0 24px;
  padding: 8px 18px;
  border: 1px solid #c8c8c8;
  border-radius: 5px;
  color: #222222;
  background: #ffffff;
  font-size: 18px;
}

.checkout-panel input[type="text"]:focus,
.checkout-panel input[type="tel"]:focus,
.search-input:focus,
.setting-input:focus {
  border-color: var(--green);
  outline: 2px solid rgba(38, 124, 54, 0.18);
}

.order-block {
  margin-top: 58px;
}

.order-block h2 {
  margin-bottom: 12px;
  font-size: 12px;
}

.order-table {
  font-size: 11px;
}

.order-head,
.order-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #d4d4d4;
}

.order-head {
  border-top: 1px solid #b9b9b9;
  font-weight: 500;
}

.summary-product {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px dashed #d2d2d2;
  border-bottom: 1px dashed #d2d2d2;
}

.summary-product img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.2);
}

.summary-product strong,
.total-line strong {
  white-space: nowrap;
}

.total-line {
  font-weight: 700;
}

.payment-box {
  margin: 22px 0 8px;
  padding: 12px 10px;
  background: #f4f4f4;
  font-size: 10px;
}

.payment-box p {
  margin: 0 0 10px;
}

.payment-box div {
  padding: 10px;
  background: #e9e9e9;
  color: #223245;
}

.form-message {
  min-height: 20px;
  margin: 6px 0;
  color: var(--deep-green);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.form-message.error {
  color: #b71219;
}

.confirm-btn {
  display: block;
  width: 100%;
  min-height: 38px;
  border: 1px solid #12551f;
  border-radius: 3px;
  font-size: 13px;
}

.confirm-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.thank-you-body {
  min-height: 100vh;
  background: #eef2ee;
}

.thankyou-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 16px 12px 28px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 16px 46px rgba(8, 51, 28, 0.12);
}

.thankyou-hero {
  padding: 28px 16px 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #267c36, #0a4e22);
  color: #ffffff;
  text-align: center;
}

.thankyou-check {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.thankyou-hero h1 {
  margin: 0;
  font-size: clamp(25px, 7vw, 32px);
  font-weight: 800;
  line-height: 1.18;
}

.thankyou-hero p {
  margin: 10px 0 12px;
  font-size: 16px;
  font-weight: 500;
}

.thankyou-hero strong {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  word-break: break-all;
}

.thankyou-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #dce5db;
  border-radius: 8px;
  background: #fbfdfb;
}

.thankyou-card h2 {
  margin: 0 0 14px;
  color: var(--deep-green);
  font-size: 19px;
  font-weight: 800;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: start;
}

.detail-list.compact div {
  grid-template-columns: 104px 1fr;
}

.detail-list dt {
  color: #5c665e;
  font-size: 13px;
  font-weight: 700;
}

.detail-list dd {
  margin: 0;
  color: #111111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.38;
  word-break: break-word;
}

.thank-product-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.thank-product-row img {
  width: 76px;
  height: 76px;
  border-radius: 6px;
  object-fit: cover;
  transform: scale(1.06);
}

.thank-product-row strong {
  display: block;
  color: #111111;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.thank-product-row span {
  display: block;
  margin-top: 4px;
  color: #267c36;
  font-size: 15px;
  font-weight: 800;
}

.thank-total-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 7px;
  background: #eff7ef;
  color: var(--deep-green);
}

.thank-total-line span {
  font-size: 17px;
  font-weight: 800;
}

.thank-total-line strong {
  font-size: 24px;
  font-weight: 800;
}

.thankyou-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  justify-items: center;
  padding: 18px 0 4px;
}

.invoice-download-btn {
  width: min(100%, 220px);
  min-height: 54px;
}

.invoice-download-btn:disabled {
  cursor: wait;
  opacity: 0.62;
}

.thank-home-link {
  justify-content: center;
  width: min(100%, 220px);
}

.admin-body {
  min-height: 100vh;
  background: #f2f5f1;
}

.admin-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-topbar h1 {
  margin: 0;
  color: var(--deep-green);
  font-size: 28px;
  line-height: 1.2;
}

.admin-topbar p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-actions,
.setting-actions {
  display: flex;
  gap: 10px;
}

.admin-button,
.admin-link {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: var(--green);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stat-card,
.dashboard-card {
  border: 1px solid #d9e1d8;
  border-radius: 8px;
  background: #ffffff;
}

.stat-card {
  padding: 16px;
}

.stat-card span {
  color: var(--muted);
  font-size: 13px;
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  color: #173d22;
  font-size: 26px;
  line-height: 1;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.settings-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(360px, 1.4fr);
  gap: 18px;
  padding: 16px;
}

.telegram-settings-panel,
.auth-settings-panel {
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
}

.youtube-settings-panel {
  grid-template-columns: minmax(360px, 1.4fr) minmax(220px, 0.8fr);
}

.tracking-settings-card {
  grid-column: 1 / -1;
}

.tracking-settings-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 10px 14px;
  padding: 16px;
}

.tracking-settings-panel .setting-help,
.tracking-settings-panel .setting-actions,
.tracking-settings-panel .setting-status {
  grid-column: 1 / -1;
}

.code-textarea {
  min-height: 96px;
  resize: vertical;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.45;
}

.live-countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 7px;
}

.setting-label {
  display: block;
  margin: 0 0 6px;
  color: #315238;
  font-size: 13px;
  font-weight: 800;
}

.setting-input {
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #cfd8cf;
  border-radius: 5px;
}

.setting-actions {
  flex-wrap: wrap;
  margin-top: 12px;
}

.setting-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--deep-green);
  font-size: 13px;
  font-weight: 700;
}

.setting-help {
  margin: 8px 0 0;
  color: #5c665e;
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.8fr);
  gap: 14px;
  margin-bottom: 14px;
}

.dashboard-grid-single {
  grid-template-columns: 1fr;
}

.dashboard-card {
  overflow: hidden;
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e2e7e1;
}

.card-title h2 {
  margin: 0;
  color: #143f20;
  font-size: 17px;
}

.search-input {
  width: min(100%, 240px);
  height: 34px;
  padding: 6px 10px;
  border: 1px solid #cfd8cf;
  border-radius: 5px;
}

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

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf0ec;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #fbfcfb;
  color: #315238;
  font-weight: 800;
  white-space: nowrap;
}

.admin-table td {
  color: #212121;
}

.pill {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e6f4e7;
  color: #166124;
  font-size: 12px;
  font-weight: 700;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 112px;
}

.table-action {
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.edit-action {
  background: #246f35;
}

.delete-action {
  background: #9b1f24;
}

.edit-order-dialog {
  width: min(620px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(8, 37, 18, 0.28);
}

.edit-order-dialog::backdrop {
  background: rgba(6, 30, 16, 0.45);
}

.edit-order-form {
  padding: 18px;
  background: #ffffff;
}

.dialog-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dialog-title h2 {
  margin: 0;
  color: var(--deep-green);
  font-size: 22px;
  line-height: 1.2;
}

.dialog-title p {
  margin: 4px 0 0;
  color: #657064;
  font-size: 12px;
  word-break: break-all;
}

.icon-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #edf2ed;
  color: #153f20;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

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

.edit-form-grid label {
  display: grid;
  gap: 6px;
  color: #315238;
  font-size: 13px;
  font-weight: 800;
}

.edit-wide {
  grid-column: 1 / -1;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.subtle-button {
  background: #5f6d63;
}

.empty-state {
  padding: 32px 16px;
  color: var(--muted);
  text-align: center;
}

.login-body {
  display: grid;
  place-items: center;
  padding: 18px;
}

.login-shell {
  width: min(100%, 420px);
}

.login-card {
  border: 1px solid #d9e1d8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(8, 37, 18, 0.12);
  overflow: hidden;
}

.login-title {
  padding: 22px 24px 14px;
  border-bottom: 1px solid #e2e7e1;
}

.login-title h1 {
  margin: 0;
  color: var(--deep-green);
  font-size: 26px;
  line-height: 1.2;
}

.login-title p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.login-form {
  display: grid;
  gap: 14px;
  padding: 20px 24px 24px;
}

.login-form label {
  display: grid;
  gap: 6px;
  color: #315238;
  font-size: 13px;
  font-weight: 800;
}

.login-button {
  min-height: 44px;
}

@media (max-width: 760px) {
  .poster-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .admin-topbar,
  .admin-actions,
  .settings-panel,
  .tracking-settings-panel {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .admin-topbar,
  .admin-actions {
    flex-direction: column;
  }

  .stats-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 390px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .contact-card p {
    font-size: 18px;
  }

  .product-row {
    grid-template-columns: 18px 54px 1fr auto;
    gap: 7px;
  }
}
