    :root {
      --bg-color: #ffffff;
      --text-color: #222222;
      --meta-color: #555555;
      --highlight: #12A19A;
      --quote-bg: #f9f9f9;
      --border-color: #ccc;
      --surface-color: #f4f4f4;
      --final-green: #0E8F89;
    }

    [data-theme="dark"] {
      --bg-color: #1e1e1e;
      --text-color: #e0e0e0;
      --meta-color: #aaaaaa;
      --highlight: #1ef8ed;
      --quote-bg: #2c2c2c;
      --border-color: #555;
      --surface-color: #2a2a2a;
    }

    a {
      text-decoration: none
    }

    .container {
      background-color: #fff
    }

    .workshopwrap {
      max-width: 1180px;
      margin: auto;
      padding: 1rem
    }

    .workshop-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, .5fr));
      gap: 20px
    }

    .card {
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between
    }

    .card img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 15px
    }

    .card p {
      margin: 6px 0;
      color: #2C3E50;
      font-size: 15px
    }

    .card p span, .card h2 {
      font-weight: bold;
      color: var(--highlight)
    }

    .btn {
      margin-top: 15px;
      background-color: var(--highlight);
      color: white;
      padding: 10px;
      text-align: center;
      border-radius: 5px;
      text-decoration: none;
      transition: background 0.3s
    }

    .btn:hover {
      background-color: #0e7f79
    }

    .title {
      font-size: 28px;
      font-weight: bold;
      margin-bottom: 15px;
      color: var(--highlight);
      text-align: center
    }

    /* پس‌زمینه کم‌رنگ برای بخش توضیح */
    .subtitle-box {
      background: linear-gradient(90deg, #f0f4f8 0%, #ffffff 100%);
      border-left: 4px solid #3498db;
      padding: 12px 18px;
      margin-bottom: 20px;
      border-radius: 6px;
    }

    .headcon {
      font-size: 16px;
      color: #555;
      margin-top: 24px;
      margin-bottom: 22px
    }

    /* پس‌زمینه کم‌رنگ هماهنگ زیر جدول */
    .after-table-box {
      margin-top: 25px;
      padding: 15px;
      background: linear-gradient(90deg, #f9fbfc 0%, #eef3f7 100%);
      border-radius: 6px
    }

    .after-table-box h3 {
      margin-bottom: 10px;
      color: #2c3e50
    }

    .after-table-box p {
      margin: 0;
      font-size: 15px;
      color: #444
    }

    .workshop-header {
      background: linear-gradient(90deg, #3498db 0%, #5dade2 100%);
      color: #fff;
      padding: 20px;
      border-radius: 8px;
      margin-bottom: 20px
    }

    .workshop-title {
      font-size: 28px;
      margin: 0
    }

    .workshop-meta {
      font-size: 14px;
      margin-top: 8px
    }

    .workshop-description {
      background: #f9fbfc;
      padding: 15px;
      border-radius: 6px;
      margin-bottom: 25px;
      font-size: 16px;
      color: #444
    }

    .registration-form, .payment-box {
      background: #ffffff;
      border: 1px solid #e0e0e0;
      padding: 20px;
      border-radius: 6px;
      margin-bottom: 25px
    }

    .registration-form h3, .payment-box h3 {
      margin-bottom: 15px;
      color: #2c3e50
    }

    main.container {
      padding: 3rem 1rem
    }

    /* Grid Layout for Details Section */
    .details {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      /*background-color: var(--surface-color);*/
      background-color: #E0F2F1;
      border: 1px solid var(--border-color);
      border-radius: 10px;
      padding: 2rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05)
    }

    /* Overlay */
    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(18, 161, 154, 0.25);
      backdrop-filter: blur(3px);
      z-index: 9999;
      overflow: auto
    }

    /* Modal Box */
    .modal {
      background: var(--bg-color);
      color: var(--text-color);
      max-width: 500px;
      margin: 6% auto;
      padding: 24px;
      border-radius: 14px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
      position: relative;
      animation: fadeUp .35s ease;
    }

    /* Animation */
    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

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

    /* Close */
    .close {
      position: absolute;
      top: 14px;
      left: 16px;
      font-size: 22px;
      color: var(--meta-color);
      cursor: pointer;
    }

    .close:hover {
      color: var(--highlight);
    }

    /* Steps */
    .step {
      display: none;
    }

    .step.active {
      display: block;
    }

    .step h3 {
      margin-bottom: 14px;
      color: var(--highlight);
      font-size: 1.2rem;
    }

    /* Inputs */
    input,
    select,
    textarea {
      width: 100%;
      background: var(--surface-color);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 11px 12px;
      margin: 8px 0;
      font-size: .95rem;
      color: var(--text-color);
    }

    textarea {
      min-height: 90px;
    }

    input:focus,
    select:focus,
    textarea:focus {
      outline: none;
      border-color: var(--highlight);
      background: #fff;
    }

    /* Buttons */
    button {
      border: none;
      border-radius: 8px;
      padding: 11px 16px;
      cursor: pointer;
      font-size: .95rem;
    }

    .btn-primary,
    .next {
      background: var(--highlight);
      color: #fff;
    }

    .prev {
      background: var(--surface-color);
      color: var(--text-color);
    }

    .prev:hover {
      background: #e5e5e5;
    }

    .next:hover,
    .btn-primary:hover {
      filter: brightness(0.95);
    }

    /* Footer buttons spacing */
    .step button {
      margin-top: 14px;
      margin-left: 6px;
    }

    /* Price text */
    #priceInfo {
      background: var(--quote-bg);
      padding: 12px;
      border-radius: 8px;
      color: var(--meta-color);
      margin-bottom: 12px;
    }

    #finalBtn {
      background: linear-gradient(135deg, var(--highlight), var(--final-green));
      color: #fff;
      font-weight: 600;
      border-radius: 10px;
      padding: 13px 18px;
      box-shadow: 0 6px 18px rgba(18, 161, 154, .35);
      transition: all .25s ease;
      width: 100%
    }

    #finalBtn:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 24px rgba(18, 161, 154, .45);
    }

    #finalBtn:active {
      transform: translateY(0);
      box-shadow: 0 4px 12px rgba(18, 161, 154, .35);
    }

    .steps-indicator {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-bottom: 18px;
      flex-direction: row-reverse
    }

    .steps-indicator span {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--border-color);
      transition: all .3s ease;
    }

    .steps-indicator span.active {
      width: 22px;
      border-radius: 8px;
      background: var(--highlight);
    }

    .breadcrumb {
      list-style: none;
      padding: 0;
      margin: 0 0 16px;
      display: flex;
      gap: 6px;
      color: var(--meta-color);
      font-size: 14px;
    }

    .breadcrumb li::after {
      content: "›";
      margin: 0 6px;
      font-weight: bold
    }

    .breadcrumb li:last-child::after {
      content: "";
    }

    .breadcrumb a {
      color: var(--highlight);
      text-decoration: none;
    }

    .end_ewshp {
      margin-top: 16px;
      color: red !important
    }

    /* ===== Mobile Responsive (Bottom Sheet) ===== */
    @media (max-width: 768px) {
      .workshop-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))
      }

      .modal-overlay {
        align-items: flex-end;
      }

      .modal {
        max-width: 100%;
        width: 100%;
        margin: 0;
        border-radius: 18px 18px 0 0;
        padding: 20px 16px 24px;
        animation: slideUp .35s ease
      }

      @keyframes slideUp {
        from {
          transform: translateY(100%)
        }

        to {
          transform: translateY(0)
        }
      }

      .close {
        top: 10px;
        left: 12px;
        font-size: 24px
      }

      .step h3 {
        font-size: 1.1rem;
        text-align: center
      }

      input,
      select,
      textarea {
        font-size: 1rem;
        padding: 12px
      }

      textarea {
        min-height: 80px
      }

      .step button {
        width: 100%;
        margin: 10px 0 0
      }

      .prev {
        order: 2
      }

      .next,
      .btn-primary {
        order: 1
      }

      /* Safe area for iOS */
      .modal {
        padding-bottom: calc(24px + env(safe-area-inset-bottom))
      }
      .info h1{
        font-size: 22px
      }
      .details{
        padding: 1rem
      }
    }

    /****************news******************/
    .news {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
      padding: 20px;
    }

    .news-card {
      display: block;
      background: #fff;
      border: 1px solid #eee;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      text-decoration: none;
      color: inherit;
      transition: transform 0.2s ease, box-shadow 0.2s ease
    }

    .news-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    }

    .news-card img {
      width: 100%;
      height: 180px;
      color: inherit;
      transition: transform 0.2s ease, box-shadow 0.2s ease
    }

    .news-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1)
    }

    .news-card img {
      width: 100%;
      height: 180px;
      object-fit: cover
    }

    .txt {
      padding: 15px
    }

    .ttl {
      font-size: 18px;
      font-size: 18px;
      color: var(--highlight);
      margin: 0 0 10px
    }

    .sum {
      font-size: 14px;
      color: #555;
      line-height: 1.6;
      margin-bottom: 12px
    }

    .date {
      font-size: 12px;
      color: #999;
      display: block;
    }

    .detail {
      max-width: 800px;
      margin: 30px auto;
      padding: 0 20px;
      line-height: 1.8;
      color: #333
    }

    .detail-ttl {
      font-size: 26px;
      color: #12A19A;
      margin-bottom: 10px;
    }

    .detail-meta {
      font-size: 13px;
      color: #777;
      margin-bottom: 20px
    }

    .detail-meta span {
      margin-right: 15px
    }

    .detail-cover {
      width: 100%;
      max-height: 400px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 20px
    }

    .detail-sum {
      font-size: 16px;
      color: #555;
      margin-bottom: 20px;
      font-weight: 500
    }

    .cnt {
      font-size: 15px;
      color: #444
    }

    .cnt p {
      margin-bottom: 15px
    }

    .cnt a {
      color: #12A19A;
      text-decoration: underline
    }

    .cnt h2, .cnt h3 {
      color: #12A19A;
      margin-top: 25px
    }

    /* بخش آخرین خبرها */
    .latest-box {
      margin-top: 40px;
      padding-top: 20px;
      border-top: 2px solid #eee
    }

    .latest-ttl {
      font-size: 20px;
      color: #12A19A;
      margin-bottom: 20px
    }

    .latest-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 15px
    }

    .latest-item {
      display: flex;
      align-items: center;
      background: #fafafa;
      border: 1px solid #eee;
      border-radius: 8px;
      overflow: hidden;
      text-decoration: none;
      color: inherit;
      transition: background 0.2s ease
    }

    .latest-item:hover {
      background: #f0fdfd
    }

    .latest-item img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-right: 1px solid #eee
    }

    .latest-txt {
      padding: 10px;
      flex: 1
    }

    .latest-head {
      font-size: 15px;
      color: #333;
      margin: 0 0 6px
    }

    .latest-date {
      font-size: 12px;
      color: #999
    }

    .success-box {
      text-align: center;
      padding: 24px
    }

    .success-box h3 {
      color: var(--highlight);
      margin-bottom: 10px
    }


    /* ریسپانسیو */
    @media (max-width: 768px) {
      .ttl {
        font-size: 22px
      }

      .cover {
        max-height: 300px
      }

      .sum {
        font-size: 15px
      }

      .cnt {
        font-size: 14px
      }

      .latest-list {
        grid-template-columns: 1fr 1fr
      }
    }

    @media (max-width: 480px) {
      .ttl {
        font-size: 20px;
      }

      .meta {
        font-size: 12px;
      }

      .cover {
        max-height: 220px;
      }

      .latest-list {
        grid-template-columns: 1fr;
      }

      .latest-item {
        flex-direction: column;
        align-items: flex-start;
      }

      .latest-item img {
        width: 100%;
        height: 160px;
        border-right: none;
        border-bottom: 1px solid #eee;
      }

      .latest-head {
        font-size: 14px;
      }
    }

    /*******end news*******/

    @media (min-width: 768px) {
      .details {
        grid-template-columns: 1fr 1fr;
        align-items: start
      }
    }

    .details img {
      width: 100%;
      height: auto;
      border-radius: 10px;
      border: 1px solid var(--border-color);
      object-fit: cover
    }

    .info {
      display: flex;
      flex-direction: column;
      align-self: center;
      justify-content: center
    }

    .info h1 {
      color: var(--highlight);
      margin-bottom: 1rem
    }

    .info p {
      margin: 0.6rem 0;
      color: var(--meta-color)
    }

    .info span {
      color: var(--highlight);
      font-weight: bold
    }

    .btn-primary {
      display: inline-block;
      margin-top: 2rem;
      padding: 0.8rem 1.5rem;
      background-color: var(--highlight);
      color: #fff !important;
      border-radius: 6px;
      font-weight: bold;
      text-decoration: none;
      transition: background 0.3s ease;
      text-align: center;
      max-width: 200px
    }

    .btn-primary:hover {
      background-color: #0e867f
    }

    .description {
      border-bottom: 1px solid var(--border-color);
      border-right: 1px solid var(--border-color);
      border-left: 1px solid var(--border-color);
      border-bottom-right-radius: 10px;
      border-bottom-left-radius: 10px;
      padding:3rem 2rem 2rem 2rem;
      margin-top: -7px;
      z-index: 20;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05)
    }

    .description h3 {
      color: var(--highlight);
      margin-bottom: 1rem
    }

    .description p {
      text-align: justify
    }