/* ========================================
   تنظیمات اصلی صفحه
======================================== */

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

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Tahoma, Arial, sans-serif;
  background: #e9dcc5;
  overflow: hidden;
}

/* ========================================
   صفحه ثبت آگهی موبایل و دیجیتال
======================================== */

.gk-digital-register-page {
  position: relative;
  isolation: isolate;

  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 14px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  /* پنجره در سمت چپ صفحه */
  direction: ltr;

  background-color: #eadfc9;
  background-image: url("./digital-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* لایه ملایم روی تصویر */

.gk-digital-register-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;

  background: linear-gradient(
    90deg,
    rgba(75, 48, 22, 0.13) 0%,
    rgba(255, 247, 231, 0.05) 50%,
    rgba(255, 250, 239, 0.02) 100%
  );

  pointer-events: none;
}

/* ========================================
   پنجره اصلی فرم
======================================== */

.gk-digital-register-window {
  position: relative;
  z-index: 2;

  direction: rtl;

  width: clamp(590px, 49vw, 790px);
  height: min(900px, calc(100svh - 28px));

  display: flex;
  flex-direction: column;

  border: 1px solid rgba(255, 232, 184, 0.85);
  border-radius: 24px;

  background: linear-gradient(
    145deg,
    rgba(255, 250, 239, 0.42),
    rgba(226, 198, 151, 0.3),
    rgba(128, 88, 42, 0.26)
  );

  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);

  box-shadow:
    0 0 0 1px rgba(255, 246, 218, 0.25),
    0 0 28px rgba(164, 111, 43, 0.2),
    0 24px 65px rgba(63, 38, 13, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);

  overflow: hidden;
}

/* خط نور بالای پنجره */

.gk-digital-register-window::before {
  content: "";

  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  z-index: 3;

  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    #fff6d9,
    #d6a959,
    transparent
  );

  box-shadow: 0 0 16px rgba(235, 188, 100, 0.75);
}

/* ========================================
   دکمه بستن
======================================== */

.gk-digital-register-close {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;

  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  color: #fff5d6;
  text-decoration: none;
  font-size: 27px;
  line-height: 1;

  border: 1px solid rgba(255, 224, 161, 0.65);
  border-radius: 50%;

  background: rgba(89, 58, 24, 0.5);

  box-shadow:
    0 6px 18px rgba(54, 31, 8, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.2);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.gk-digital-register-close:hover {
  transform: rotate(90deg) scale(1.06);
  background: rgba(178, 123, 48, 0.82);

  box-shadow:
    0 0 18px rgba(231, 183, 91, 0.6),
    inset 0 1px rgba(255, 255, 255, 0.3);
}

/* ========================================
   سربرگ پنجره
======================================== */

.gk-digital-register-header {
  min-height: 88px;
  padding: 15px 20px 14px 62px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  border-bottom: 1px solid rgba(255, 229, 177, 0.38);

  background: linear-gradient(
    90deg,
    rgba(121, 78, 30, 0.22),
    rgba(255, 249, 234, 0.25)
  );

  flex-shrink: 0;
}

.gk-digital-register-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gk-digital-register-icon {
  width: 49px;
  height: 49px;
  flex: 0 0 49px;

  display: grid;
  place-items: center;

  font-size: 28px;

  border: 1px solid rgba(255, 231, 181, 0.72);
  border-radius: 15px;

  background: linear-gradient(
    145deg,
    rgba(255, 246, 218, 0.55),
    rgba(179, 124, 52, 0.38)
  );

  box-shadow:
    0 0 17px rgba(230, 181, 89, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.55);
}

.gk-digital-register-heading h1 {
  color: #fff9ea;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.4;

  text-shadow: 0 3px 15px rgba(66, 38, 10, 0.38);
}

.gk-digital-register-heading p {
  margin-top: 3px;
  color: rgba(255, 246, 225, 0.72);
  font-size: 11px;
}

.gk-digital-register-brand {
  padding: 8px 14px;

  color: #fff2c8;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;

  border: 1px solid rgba(255, 222, 150, 0.55);
  border-radius: 999px;

  background: rgba(113, 73, 29, 0.38);
  box-shadow: 0 0 14px rgba(223, 170, 73, 0.22);
}

/* ========================================
   بخش داخلی و اسکرول فرم
======================================== */

.gk-digital-register-form {
  min-height: 0;
  flex: 1;
  padding: 14px;

  overflow-y: auto;
  overflow-x: hidden;

  scrollbar-width: thin;
  scrollbar-color: #d7a853 rgba(91, 57, 24, 0.25);
}

.gk-digital-register-form::-webkit-scrollbar {
  width: 7px;
}

.gk-digital-register-form::-webkit-scrollbar-track {
  background: rgba(88, 55, 23, 0.2);
  border-radius: 999px;
}

.gk-digital-register-form::-webkit-scrollbar-thumb {
  background: linear-gradient(#fff0c3, #d7a853, #926128);

  border-radius: 999px;
}

.gk-digital-register-layout {
  display: grid;
  gap: 14px;
}

/* قاب‌های خالی مراحل بعد */

.gk-digital-register-gallery,
.gk-digital-register-fields,
.gk-digital-register-plan {
  min-height: 120px;

  border: 1px solid rgba(255, 230, 181, 0.38);
  border-radius: 18px;

  background: rgba(103, 66, 28, 0.16);

  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.25),
    0 10px 24px rgba(72, 43, 12, 0.1);
}

/* ========================================
   تبلت
======================================== */

@media (max-width: 900px) {
  .gk-digital-register-window {
    width: min(700px, calc(100vw - 24px));
  }
}

/* ========================================
   موبایل
======================================== */

@media (max-width: 720px) {
  .gk-digital-register-page {
    padding: 10px;
    background-position: 68% center;
  }

  .gk-digital-register-window {
    width: 100%;
    height: calc(100svh - 20px);
    border-radius: 19px;
  }

  .gk-digital-register-header {
    min-height: 78px;
    padding: 12px 12px 12px 50px;
  }

  .gk-digital-register-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 24px;
  }

  .gk-digital-register-heading h1 {
    font-size: 17px;
  }

  .gk-digital-register-heading p {
    font-size: 9px;
  }

  .gk-digital-register-brand {
    display: none;
  }

  .gk-digital-register-close {
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .gk-digital-register-form {
    padding: 10px;
  }
}
.gk-digital-register-page {
  background-image: url("./digital-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* ===== شیشه‌ای‌تر شدن پنجره فرم ===== */

.gk-digital-register-window {
  background: linear-gradient(
    145deg,
    rgba(255, 250, 239, 0.26),
    rgba(226, 198, 151, 0.18),
    rgba(105, 68, 29, 0.2)
  );

  -webkit-backdrop-filter: blur(13px) saturate(130%);
  backdrop-filter: blur(13px) saturate(130%);
}

.gk-digital-register-header {
  background: linear-gradient(
    90deg,
    rgba(121, 78, 30, 0.14),
    rgba(255, 249, 234, 0.15)
  );
}

.gk-digital-register-gallery,
.gk-digital-register-fields,
.gk-digital-register-plan {
  background: rgba(103, 66, 28, 0.1);
}
/* ========================================
   بخش تصاویر محصول دیجیتال
======================================== */

.gk-digital-register-gallery {
  min-height: auto;
  padding: 13px;

  border: 1px solid rgba(255, 228, 174, 0.45);
  border-radius: 18px;

  background: linear-gradient(
    145deg,
    rgba(105, 67, 27, 0.28),
    rgba(255, 245, 221, 0.13)
  );

  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.3),
    0 10px 25px rgba(68, 39, 10, 0.12);
}

/* ========================================
   عنوان بخش تصاویر
======================================== */

.gk-digital-gallery-head {
  margin-bottom: 11px;
  padding-bottom: 9px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  border-bottom: 1px solid rgba(255, 231, 181, 0.3);
}

.gk-digital-gallery-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.gk-digital-gallery-title > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;

  display: grid;
  place-items: center;

  color: #fff1c6;
  font-size: 21px;

  border: 1px solid rgba(255, 226, 164, 0.55);
  border-radius: 12px;

  background: rgba(124, 79, 29, 0.28);

  box-shadow:
    0 0 14px rgba(222, 167, 67, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.25);
}

.gk-digital-gallery-title h2 {
  color: #fff9e9;
  font-size: 14px;
  font-weight: 900;

  text-shadow: 0 2px 8px rgba(65, 37, 9, 0.3);
}

.gk-digital-gallery-title small {
  display: block;
  margin-top: 2px;

  color: rgba(255, 245, 222, 0.67);
  font-size: 8px;
}

/* شمارنده تصاویر */

.gk-digital-gallery-count {
  color: rgba(255, 246, 225, 0.68);
  font-size: 9px;
  white-space: nowrap;
}

.gk-digital-gallery-count strong {
  color: #ffe7a9;
  font-size: 12px;
}

/* ========================================
   پیش‌نمایش تصویر اصلی
======================================== */

.gk-digital-main-preview {
  position: relative;

  width: 100%;
  height: 210px;

  display: grid;
  place-items: center;

  border: 1px dashed rgba(255, 226, 165, 0.68);
  border-radius: 15px;

  background: linear-gradient(
    145deg,
    rgba(72, 43, 15, 0.32),
    rgba(255, 246, 223, 0.12)
  );

  box-shadow: inset 0 0 25px rgba(69, 39, 11, 0.12);

  overflow: hidden;
}

/* تصویر انتخاب‌شده */

.gk-digital-main-preview img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: contain;

  border-radius: inherit;
  background: rgba(66, 39, 14, 0.26);
}

.gk-digital-main-preview img[hidden] {
  display: none;
}

/* نوشته داخل کادر تصویر */

.gk-digital-image-placeholder {
  padding: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;

  text-align: center;
}

.gk-digital-image-placeholder > span {
  width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  font-size: 29px;

  border: 1px solid rgba(255, 226, 164, 0.55);
  border-radius: 16px;

  background: rgba(137, 87, 31, 0.24);

  box-shadow:
    0 0 18px rgba(226, 171, 71, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.22);
}

.gk-digital-image-placeholder strong {
  color: #fff8e6;
  font-size: 13px;
}

.gk-digital-image-placeholder small {
  color: rgba(255, 243, 217, 0.62);
  font-size: 9px;
  line-height: 1.8;
}

/* ========================================
   دکمه انتخاب تصویر
======================================== */

.gk-digital-image-select {
  width: 100%;
  min-height: 40px;
  margin-top: 9px;
  padding: 7px 12px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  color: #4d3011;
  font-size: 11px;
  font-weight: 900;

  border: 1px solid rgba(255, 236, 190, 0.9);
  border-radius: 12px;

  background: linear-gradient(135deg, #fff0bd, #e2b45e, #bf8336);

  box-shadow:
    0 7px 18px rgba(106, 66, 18, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.65);

  cursor: pointer;

  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.gk-digital-image-select:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);

  box-shadow:
    0 0 19px rgba(231, 181, 84, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.75);
}

.gk-digital-image-select > span {
  font-size: 19px;
}

/* ========================================
   تصاویر کوچک
======================================== */

.gk-digital-image-thumbnails {
  margin-top: 9px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.gk-digital-thumbnail {
  position: relative;

  height: 62px;
  padding: 0;

  border: 1px solid rgba(255, 225, 163, 0.4);
  border-radius: 10px;

  background: rgba(79, 47, 15, 0.28);

  overflow: hidden;
  cursor: pointer;
}

.gk-digital-thumbnail img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
}

.gk-digital-thumbnail.active {
  border-color: #fff1bf;

  box-shadow:
    0 0 0 2px rgba(225, 171, 70, 0.42),
    0 0 14px rgba(225, 171, 70, 0.35);
}

/* راهنمای تصاویر */

.gk-digital-image-help {
  display: block;
  margin-top: 7px;

  color: rgba(255, 244, 220, 0.65);
  font-size: 8px;
  line-height: 1.7;
  text-align: center;
}

/* ========================================
   نسخه موبایل تصاویر
======================================== */

@media (max-width: 720px) {
  .gk-digital-register-gallery {
    padding: 10px;
  }

  .gk-digital-main-preview {
    height: 180px;
  }

  .gk-digital-image-thumbnails {
    gap: 5px;
  }

  .gk-digital-thumbnail {
    height: 53px;
  }
}
/* ========================================
   قاب مشخصات محصول دیجیتال
======================================== */

.gk-digital-register-fields {
  min-height: auto;
  padding: 13px;

  border: 1px solid rgba(255, 228, 174, 0.43);
  border-radius: 18px;

  background: linear-gradient(
    145deg,
    rgba(104, 65, 25, 0.27),
    rgba(255, 246, 224, 0.12)
  );

  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.3),
    0 10px 25px rgba(67, 39, 11, 0.12);
}

/* ========================================
   عنوان بخش مشخصات
======================================== */

.gk-digital-fields-title {
  margin-bottom: 13px;
  padding-bottom: 10px;

  display: flex;
  align-items: center;
  gap: 9px;

  border-bottom: 1px solid rgba(255, 231, 181, 0.3);
}

.gk-digital-fields-title > span {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;

  display: grid;
  place-items: center;

  color: #fff0c4;
  font-size: 22px;

  border: 1px solid rgba(255, 224, 158, 0.55);
  border-radius: 12px;

  background: rgba(129, 81, 28, 0.26);

  box-shadow:
    0 0 14px rgba(225, 170, 68, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.25);
}

.gk-digital-fields-title h2 {
  color: #fff9e8;
  font-size: 14px;
  font-weight: 900;

  text-shadow: 0 2px 8px rgba(63, 36, 8, 0.3);
}

.gk-digital-fields-title small {
  display: block;
  margin-top: 2px;

  color: rgba(255, 245, 221, 0.65);
  font-size: 8px;
}

/* ========================================
   چیدمان فیلدها
======================================== */

.gk-digital-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.gk-digital-field {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gk-digital-field-full {
  grid-column: 1 / -1;
}

/* عنوان فیلدها */

.gk-digital-field > label:not(.gk-digital-negotiable) {
  padding-inline: 3px;

  color: #fff7e2;
  font-size: 10px;
  font-weight: 800;
}

.gk-digital-field > label:not(.gk-digital-negotiable) > span {
  color: #ffe09a;
}

.gk-digital-field > label:not(.gk-digital-negotiable) > small {
  color: rgba(255, 242, 215, 0.52);
  font-size: 7px;
  font-weight: 400;
}

/* ========================================
   ورودی‌ها و پنجره‌های انتخاب
======================================== */

.gk-digital-field input,
.gk-digital-field select,
.gk-digital-field textarea {
  width: 100%;
  min-width: 0;

  color: #fffaf0;
  font-family: inherit;
  font-size: 10px;

  border: 1px solid rgba(255, 225, 164, 0.4);
  border-radius: 11px;
  outline: none;

  background: rgba(72, 43, 15, 0.34);

  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.12),
    0 4px 12px rgba(60, 35, 9, 0.1);

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.gk-digital-field input,
.gk-digital-field select {
  height: 41px;
  padding: 0 11px;
}

.gk-digital-field textarea {
  min-height: 112px;
  padding: 11px;

  line-height: 1.9;
  resize: vertical;
}

.gk-digital-field input::placeholder,
.gk-digital-field textarea::placeholder {
  color: rgba(255, 240, 210, 0.48);
}

/* حالت انتخاب فیلد */

.gk-digital-field input:focus,
.gk-digital-field select:focus,
.gk-digital-field textarea:focus {
  border-color: rgba(255, 230, 174, 0.95);

  background: rgba(91, 55, 18, 0.46);

  box-shadow:
    0 0 0 3px rgba(225, 171, 70, 0.14),
    0 0 16px rgba(222, 165, 60, 0.2);
}

/* گزینه‌های select */

.gk-digital-field select option {
  color: #fff8e8;
  background: #6b451f;
}

/* ========================================
   ورودی موقعیت دارای آیکون
======================================== */

.gk-digital-input-icon {
  position: relative;
}

.gk-digital-input-icon > span {
  position: absolute;
  top: 50%;
  right: 11px;
  z-index: 2;

  transform: translateY(-50%);

  font-size: 14px;
  pointer-events: none;
}

.gk-digital-input-icon input {
  padding-right: 38px;
}

/* ========================================
   ورودی قیمت
======================================== */

.gk-digital-money-input {
  position: relative;
  display: flex;
}

.gk-digital-money-input input {
  padding-left: 72px;

  direction: ltr;
  text-align: left;
}

.gk-digital-money-input > span {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 1px;

  width: 67px;

  display: grid;
  place-items: center;

  color: #fff0c5;
  font-size: 8px;
  font-weight: 800;

  border-right: 1px solid rgba(255, 225, 164, 0.3);
  border-radius: 10px 0 0 10px;

  background: rgba(173, 116, 45, 0.24);

  pointer-events: none;
}

/* ========================================
   گزینه قیمت توافقی
======================================== */

.gk-digital-negotiable {
  width: fit-content;
  margin-top: 2px;

  display: flex;
  align-items: center;
  gap: 7px;

  color: rgba(255, 246, 226, 0.78);
  font-size: 9px;
  font-weight: 700;

  cursor: pointer;
}

.gk-digital-negotiable input {
  width: 16px;
  height: 16px;
  min-width: 16px;

  padding: 0;
  margin: 0;

  accent-color: #d8a94f;
  cursor: pointer;
}

/* ========================================
   پایین توضیحات و شمارنده
======================================== */

.gk-digital-description-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding-inline: 3px;
}

.gk-digital-description-footer small {
  color: rgba(255, 242, 216, 0.56);
  font-size: 8px;
}

.gk-digital-description-footer > span {
  color: rgba(255, 242, 216, 0.6);
  font-size: 8px;
  white-space: nowrap;
}

.gk-digital-description-footer strong {
  color: #ffe6a7;
  font-size: 10px;
}

/* ========================================
   نسخه موبایل مشخصات
======================================== */

@media (max-width: 720px) {
  .gk-digital-register-fields {
    padding: 10px;
  }

  .gk-digital-fields-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gk-digital-field-full {
    grid-column: auto;
  }

  .gk-digital-field input,
  .gk-digital-field select {
    height: 43px;
    font-size: 11px;
  }

  .gk-digital-field textarea {
    font-size: 11px;
  }

  .gk-digital-description-footer {
    align-items: flex-start;
  }
}
/* ========================================
   بخش انتخاب نوع آگهی
======================================== */

.gk-digital-register-plan {
  min-height: auto;
  padding: 13px;

  border: 1px solid rgba(255, 228, 174, 0.45);
  border-radius: 18px;

  background: linear-gradient(
    145deg,
    rgba(104, 65, 25, 0.27),
    rgba(255, 246, 224, 0.13)
  );

  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.3),
    0 10px 25px rgba(67, 39, 11, 0.12);
}

/* عنوان بخش */

.gk-digital-plan-title {
  margin-bottom: 12px;
  padding-bottom: 10px;

  display: flex;
  align-items: center;
  gap: 9px;

  border-bottom: 1px solid rgba(255, 231, 181, 0.3);
}

.gk-digital-plan-title > span {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;

  display: grid;
  place-items: center;

  color: #ffe7a4;
  font-size: 22px;

  border: 1px solid rgba(255, 224, 158, 0.58);
  border-radius: 12px;

  background: rgba(135, 85, 28, 0.28);

  box-shadow:
    0 0 15px rgba(225, 170, 68, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.25);
}

.gk-digital-plan-title h2 {
  color: #fff9e8;
  font-size: 14px;
  font-weight: 900;
}

.gk-digital-plan-title small {
  display: block;
  margin-top: 2px;

  color: rgba(255, 245, 221, 0.65);
  font-size: 8px;
}

/* ========================================
   کارت‌های عادی و ویژه
======================================== */

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

.gk-digital-plan-card {
  position: relative;
  display: block;
  cursor: pointer;
}

/* مخفی‌کردن دکمه رادیویی */

.gk-digital-plan-card > input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
  pointer-events: none;
}

/* ظاهر کارت */

.gk-digital-plan-content {
  min-height: 105px;
  padding: 11px;

  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;

  border: 1px solid rgba(255, 226, 167, 0.35);
  border-radius: 14px;

  background: rgba(69, 41, 14, 0.27);

  box-shadow: inset 0 1px rgba(255, 255, 255, 0.13);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.gk-digital-plan-card:hover .gk-digital-plan-content {
  transform: translateY(-2px);
  border-color: rgba(255, 229, 176, 0.65);
}

/* آیکون کارت */

.gk-digital-plan-icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  color: #fff0c2;
  font-size: 20px;

  border: 1px solid rgba(255, 225, 163, 0.46);
  border-radius: 12px;

  background: rgba(154, 100, 35, 0.25);
}

/* اطلاعات کارت */

.gk-digital-plan-information {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gk-digital-plan-information > strong {
  color: #fff9e9;
  font-size: 12px;
  font-weight: 900;
}

.gk-digital-plan-information > small {
  color: rgba(255, 242, 216, 0.58);
  font-size: 8px;
  line-height: 1.6;
}

/* ویژگی‌های هر آگهی */

.gk-digital-plan-features {
  margin-top: 3px;

  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gk-digital-plan-features i {
  color: rgba(255, 244, 218, 0.72);
  font-size: 7px;
  font-style: normal;
}

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

.gk-digital-plan-content > b {
  padding: 6px 8px;

  color: #5d3b13;
  font-size: 8px;
  white-space: nowrap;

  border: 1px solid rgba(255, 237, 195, 0.72);
  border-radius: 999px;

  background: linear-gradient(135deg, #fff1c4, #dcb05c);
}

/* ========================================
   حالت انتخاب‌شده
======================================== */

.gk-digital-plan-card > input:checked + .gk-digital-plan-content {
  transform: translateY(-2px);

  border-color: #ffe8aa;

  background: linear-gradient(
    135deg,
    rgba(205, 149, 64, 0.48),
    rgba(94, 57, 19, 0.42)
  );

  box-shadow:
    0 0 0 2px rgba(231, 183, 91, 0.2),
    0 0 18px rgba(225, 170, 67, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.22);
}

/* کارت ویژه */

.gk-digital-plan-card.featured .gk-digital-plan-icon {
  color: #ffe49a;

  background: linear-gradient(
    145deg,
    rgba(219, 167, 68, 0.42),
    rgba(111, 68, 20, 0.35)
  );

  box-shadow: 0 0 14px rgba(228, 174, 72, 0.2);
}

/* ========================================
   تنظیمات آگهی ویژه
======================================== */

.gk-digital-featured-options {
  margin-top: 12px;
  padding: 12px;

  border: 1px solid rgba(255, 222, 151, 0.58);
  border-radius: 15px;

  background: linear-gradient(
    145deg,
    rgba(184, 126, 45, 0.29),
    rgba(72, 42, 13, 0.3)
  );

  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.18),
    0 8px 20px rgba(64, 36, 8, 0.13);
}

/* مخفی‌ماندن تا زمان انتخاب ویژه */

.gk-digital-featured-options[hidden] {
  display: none !important;
}

/* عنوان تنظیمات ویژه */

.gk-digital-featured-head {
  margin-bottom: 10px;

  display: flex;
  align-items: center;
  gap: 8px;
}

.gk-digital-featured-head > span {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  color: #ffe5a0;
  font-size: 18px;

  border: 1px solid rgba(255, 225, 157, 0.5);
  border-radius: 11px;

  background: rgba(176, 117, 38, 0.28);
}

.gk-digital-featured-head > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gk-digital-featured-head strong {
  color: #fff7dd;
  font-size: 11px;
}

.gk-digital-featured-head small {
  color: rgba(255, 240, 208, 0.58);
  font-size: 8px;
}

/* مبلغ قابل پرداخت */

.gk-digital-featured-price {
  min-height: 43px;
  margin-top: 9px;
  padding: 8px 11px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  border: 1px solid rgba(255, 225, 160, 0.36);
  border-radius: 11px;

  background: rgba(69, 40, 13, 0.26);
}

.gk-digital-featured-price span {
  color: rgba(255, 243, 216, 0.68);
  font-size: 9px;
}

.gk-digital-featured-price strong {
  color: #ffe5a0;
  font-size: 10px;
  font-weight: 900;
}

.gk-digital-featured-note {
  display: block;
  margin-top: 8px;

  color: rgba(255, 242, 215, 0.58);
  font-size: 8px;
  line-height: 1.8;
}

/* ========================================
   نسخه موبایل
======================================== */

@media (max-width: 720px) {
  .gk-digital-register-plan {
    padding: 10px;
  }

  .gk-digital-plan-options {
    grid-template-columns: 1fr;
  }

  .gk-digital-plan-content {
    min-height: 96px;
  }
}
/* ========================================
   بخش اطلاعات فروشنده
======================================== */

.gk-digital-seller-section {
  padding: 13px;

  border: 1px solid rgba(255, 228, 174, 0.45);
  border-radius: 18px;

  background: linear-gradient(
    145deg,
    rgba(104, 65, 25, 0.27),
    rgba(255, 246, 224, 0.13)
  );

  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.3),
    0 10px 25px rgba(67, 39, 11, 0.12);
}

/* ========================================
   عنوان اطلاعات فروشنده
======================================== */

.gk-digital-seller-title {
  margin-bottom: 13px;
  padding-bottom: 10px;

  display: flex;
  align-items: center;
  gap: 9px;

  border-bottom: 1px solid rgba(255, 231, 181, 0.3);
}

.gk-digital-seller-title > span {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;

  display: grid;
  place-items: center;

  font-size: 21px;

  border: 1px solid rgba(255, 224, 158, 0.55);
  border-radius: 12px;

  background: rgba(134, 84, 28, 0.27);

  box-shadow:
    0 0 14px rgba(225, 170, 68, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.25);
}

.gk-digital-seller-title h2 {
  color: #fff9e8;
  font-size: 14px;
  font-weight: 900;
}

.gk-digital-seller-title small {
  display: block;
  margin-top: 2px;

  color: rgba(255, 245, 221, 0.65);
  font-size: 8px;
}

/* ========================================
   فیلدهای فروشنده
======================================== */

.gk-digital-seller-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

/* شماره تماس */

.gk-digital-phone-input input {
  direction: ltr;
  text-align: left;

  padding-right: 38px;
}

/* ========================================
   پیام امنیت
======================================== */

.gk-digital-security-message {
  margin-top: 11px;
  padding: 9px 11px;

  display: flex;
  align-items: center;
  gap: 8px;

  border: 1px solid rgba(255, 225, 166, 0.32);
  border-radius: 11px;

  background: rgba(76, 46, 16, 0.22);

  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
}

.gk-digital-security-message > span {
  flex-shrink: 0;
  font-size: 17px;
}

.gk-digital-security-message p {
  color: rgba(255, 245, 221, 0.7);
  font-size: 8px;
  line-height: 1.8;
}

/* ========================================
   پذیرش قوانین
======================================== */

.gk-digital-rules {
  position: relative;

  width: fit-content;
  margin-top: 12px;

  display: flex;
  align-items: center;
  gap: 8px;

  cursor: pointer;
}

/* مخفی‌کردن چک‌باکس اصلی */

.gk-digital-rules > input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
}

/* مربع قوانین */

.gk-digital-rules-box {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;

  display: grid;
  place-items: center;

  color: transparent;
  font-size: 12px;
  font-weight: 900;

  border: 1px solid rgba(255, 228, 174, 0.58);
  border-radius: 6px;

  background: rgba(75, 44, 14, 0.3);

  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.gk-digital-rules-text {
  color: rgba(255, 246, 226, 0.78);
  font-size: 9px;
  line-height: 1.7;
}

/* حالت تیک‌خورده */

.gk-digital-rules > input:checked + .gk-digital-rules-box {
  color: #57360f;

  border-color: #fff0bd;

  background: linear-gradient(135deg, #fff1c3, #d9a84e);

  box-shadow: 0 0 13px rgba(229, 177, 77, 0.38);
}

/* حالت فوکوس کیبورد */

.gk-digital-rules > input:focus-visible + .gk-digital-rules-box {
  outline: 2px solid #fff0bd;
  outline-offset: 3px;
}

/* ========================================
   دکمه‌های نهایی
======================================== */

.gk-digital-final-buttons {
  margin-top: 13px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 115px;
  gap: 9px;
}

/* دکمه ثبت */

.gk-digital-submit {
  min-height: 44px;
  padding: 8px 15px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  color: #51310d;
  font-family: inherit;

  border: 1px solid rgba(255, 241, 203, 0.92);
  border-radius: 12px;

  background: linear-gradient(135deg, #fff1be, #e2b258, #be7e2f);

  box-shadow:
    0 8px 20px rgba(102, 61, 14, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.68);

  cursor: pointer;

  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.gk-digital-submit > span {
  font-size: 17px;
}

.gk-digital-submit strong {
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
}

.gk-digital-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);

  box-shadow:
    0 0 20px rgba(231, 181, 83, 0.46),
    inset 0 1px rgba(255, 255, 255, 0.75);
}

/* دکمه انصراف */

.gk-digital-cancel {
  min-height: 44px;
  padding: 8px 13px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff5dc;
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;

  border: 1px solid rgba(255, 227, 169, 0.4);
  border-radius: 12px;

  background: rgba(73, 43, 14, 0.28);

  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.gk-digital-cancel:hover {
  transform: translateY(-2px);

  border-color: rgba(255, 231, 178, 0.7);
  background: rgba(113, 69, 22, 0.43);
}

/* ========================================
   نسخه موبایل
======================================== */

@media (max-width: 720px) {
  .gk-digital-seller-section {
    padding: 10px;
  }

  .gk-digital-seller-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gk-digital-final-buttons {
    grid-template-columns: 1fr;
  }

  .gk-digital-cancel {
    min-height: 41px;
  }
}
/* ========================================
   پنجره موفقیت ثبت آگهی دیجیتال
======================================== */

.gk-digital-success-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;

  padding: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  direction: rtl;

  background: rgba(45, 27, 8, 0.48);

  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* حالت باز پنجره */

.gk-digital-success-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ========================================
   کادر اصلی موفقیت
======================================== */

.gk-digital-success-window {
  position: relative;

  width: min(470px, 100%);
  padding: 28px 24px 20px;

  text-align: center;

  border: 1px solid rgba(255, 226, 163, 0.8);
  border-radius: 24px;

  background: linear-gradient(
    145deg,
    rgba(255, 249, 232, 0.91),
    rgba(230, 198, 142, 0.87),
    rgba(149, 96, 35, 0.88)
  );

  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);

  box-shadow:
    0 0 0 1px rgba(255, 249, 224, 0.3),
    0 0 32px rgba(225, 169, 65, 0.35),
    0 25px 70px rgba(43, 24, 5, 0.45),
    inset 0 1px rgba(255, 255, 255, 0.7);

  transform: translateY(25px) scale(0.94);

  transition: transform 0.35s ease;

  overflow: hidden;
}

.gk-digital-success-modal.show .gk-digital-success-window {
  transform: translateY(0) scale(1);
}

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

.gk-digital-success-window::before {
  content: "";

  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;

  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    #fff7d5,
    #d8a64d,
    transparent
  );

  box-shadow: 0 0 16px rgba(231, 180, 80, 0.8);
}

/* ========================================
   دکمه بستن
======================================== */

.gk-digital-success-close {
  position: absolute;
  top: 13px;
  left: 13px;

  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  color: #fff6d9;
  font-size: 24px;
  line-height: 1;

  border: 1px solid rgba(255, 231, 180, 0.65);
  border-radius: 50%;

  background: rgba(91, 55, 17, 0.5);

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.gk-digital-success-close:hover {
  transform: rotate(90deg);
  background: rgba(151, 95, 27, 0.8);
}

/* ========================================
   آیکون موفقیت
======================================== */

.gk-digital-success-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 11px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 239, 198, 0.9);
  border-radius: 50%;

  background: linear-gradient(145deg, #fff1bd, #dcaa50, #a96d25);

  box-shadow:
    0 0 0 7px rgba(255, 235, 184, 0.17),
    0 0 25px rgba(219, 162, 57, 0.45),
    inset 0 1px rgba(255, 255, 255, 0.72);
}

.gk-digital-success-icon span {
  color: #56340f;
  font-size: 37px;
  font-weight: 900;
}

/* ========================================
   نوشته‌های موفقیت
======================================== */

.gk-digital-success-label {
  color: rgba(70, 42, 13, 0.72);
  font-size: 9px;
  font-weight: 800;
}

.gk-digital-success-window h2 {
  margin-top: 5px;

  color: #4d2e0c;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.6;
}

.gk-digital-success-description {
  max-width: 390px;
  margin: 7px auto 0;

  color: rgba(67, 40, 12, 0.77);
  font-size: 10px;
  line-height: 2;
}

.gk-digital-success-description strong {
  color: #7b4a16;
}

/* ========================================
   مشخصات نتیجه ثبت
======================================== */

.gk-digital-success-details {
  margin-top: 15px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.gk-digital-success-details > div {
  min-height: 67px;
  padding: 9px 6px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;

  border: 1px solid rgba(103, 62, 17, 0.22);
  border-radius: 12px;

  background: rgba(255, 249, 232, 0.3);

  box-shadow: inset 0 1px rgba(255, 255, 255, 0.44);
}

.gk-digital-success-details span {
  color: rgba(67, 39, 10, 0.62);
  font-size: 8px;
}

.gk-digital-success-details strong {
  color: #5e380f;
  font-size: 10px;
  font-weight: 900;
}

/* ========================================
   پیام مخصوص آگهی ویژه
======================================== */

.gk-digital-success-featured {
  margin-top: 10px;
  padding: 9px 11px;

  display: flex;
  align-items: center;
  gap: 8px;

  text-align: right;

  border: 1px solid rgba(111, 65, 14, 0.28);
  border-radius: 11px;

  background: rgba(255, 238, 191, 0.32);
}

.gk-digital-success-featured[hidden] {
  display: none !important;
}

.gk-digital-success-featured > span {
  color: #8c571b;
  font-size: 20px;
}

.gk-digital-success-featured p {
  color: rgba(67, 39, 10, 0.72);
  font-size: 8px;
  line-height: 1.8;
}

/* ========================================
   پیام امنیت
======================================== */

.gk-digital-success-security {
  margin-top: 10px;
  padding: 8px;

  color: rgba(67, 39, 10, 0.68);
  font-size: 8px;

  border: 1px solid rgba(104, 61, 15, 0.2);
  border-radius: 10px;

  background: rgba(255, 250, 237, 0.25);
}

/* ========================================
   دکمه‌های پنجره موفقیت
======================================== */

.gk-digital-success-actions {
  margin-top: 13px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.gk-digital-success-back,
.gk-digital-success-home {
  min-height: 42px;
  padding: 8px 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;

  border-radius: 11px;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

/* بازگشت به فرم */

.gk-digital-success-back {
  color: #fff5da;

  border: 1px solid rgba(255, 230, 176, 0.5);

  background: rgba(83, 49, 15, 0.68);
}

/* بازگشت به سایت */

.gk-digital-success-home {
  color: #4d2d0b;

  border: 1px solid rgba(255, 244, 207, 0.9);

  background: linear-gradient(135deg, #fff1bd, #dda94e, #b9782b);

  box-shadow:
    0 7px 17px rgba(89, 51, 11, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.65);
}

.gk-digital-success-back:hover,
.gk-digital-success-home:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* ========================================
   نوار زمان پنج‌ثانیه‌ای
======================================== */

.gk-digital-success-progress {
  width: 100%;
  height: 4px;
  margin-top: 14px;

  border-radius: 999px;

  background: rgba(78, 45, 11, 0.17);

  overflow: hidden;
}

.gk-digital-success-progress span {
  width: 100%;
  height: 100%;

  display: block;

  border-radius: inherit;

  background: linear-gradient(90deg, #88531b, #d7a348, #fff0b9);

  transform-origin: right center;
}

.gk-digital-success-modal.show .gk-digital-success-progress span {
  animation: gkDigitalSuccessTimer 5s linear forwards;
}

@keyframes gkDigitalSuccessTimer {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

.gk-digital-success-time {
  display: block;
  margin-top: 6px;

  color: rgba(66, 38, 10, 0.56);
  font-size: 7px;
}

/* ========================================
   نسخه موبایل
======================================== */

@media (max-width: 520px) {
  .gk-digital-success-window {
    padding: 25px 14px 17px;
    border-radius: 19px;
  }

  .gk-digital-success-icon {
    width: 66px;
    height: 66px;
  }

  .gk-digital-success-icon span {
    font-size: 32px;
  }

  .gk-digital-success-window h2 {
    font-size: 18px;
  }

  .gk-digital-success-details {
    grid-template-columns: 1fr;
  }

  .gk-digital-success-details > div {
    min-height: 53px;
  }

  .gk-digital-success-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
