#copyMessage, .group > div:first-of-type {
  transition: all 0.2s ease;
  z-index: 50;
}
#copyMessage.hidden {
  display: none;
}

 input[type="radio"]:checked + label .color-swatch {
                    border: 2px solid #000; /* اضافه کردن مرز به رنگ انتخاب‌شده */
                    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* اضافه کردن سایه به رنگ انتخاب‌شده */
                }
                
                .color-option {
                    display: flex;
                    align-items: center;
                    gap: 8px; /* فاصله بین رنگ و متن */
                    position: relative;
                    transition: border 0.3s ease, box-shadow 0.3s ease;
                }
                
                /* استایل برای آیکون تیک */
                .color-option .checkmark {
                    display: none; /* پنهان کردن آیکون به صورت پیش‌فرض */
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 24px;
                    height: 24px;
                    fill: #000; /* رنگ آیکون تیک */
                    z-index: 2; /* قرار دادن آیکون تیک بالای رنگ */
                }
                
                input[type="radio"]:checked + label .checkmark {
                    display: block;
                }
                
                .color-swatch {
                    position: relative;
                    z-index: 0; /* قرار دادن رنگ‌ها در پایین‌تر از دکمه‌ها */
                }
                
                .color-selection-header {
                    position: relative;
                    z-index: 1; /* نوشته انتخاب رنگ در بالای رنگ‌ها */
                }
                
                .button-overlay {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background: rgba(255, 255, 255, 0.8); /* پس‌زمینه دکمه‌ها */
                    z-index: 4; /* قرار دادن دکمه‌ها بالای رنگ‌ها */
                }
                /* استایل دکمه SweetAlert */
.swal2-confirm {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background-color: #d65f30 !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    margin: 0 5px !important;
    transition: background-color 0.3s !important;
}

/* استایل هاور */
.swal2-confirm:hover {
    background-color: #1eb838 !important;
}

 @keyframes warning-pulse {
        0%, 100% { 
            background-color: rgb(239 68 68);
            box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
        }
        50% { 
            background-color: rgb(220, 38, 38);
            box-shadow: 0 0 10px 5px rgba(239, 68, 68, 0.5);
        }
    }
    .animate-warning {
        animation: warning-pulse 1.5s ease-in-out infinite;
    }

  .custom-hr {
            width: auto;
            margin-right: 17%;
            border: 0;
            border-top: 1px solid #f0f0f1;
          }
        
          .custom-hr-1 {
            margin-right: 35%;
            margin-left: 35%;
          }
        
          .custom-hr-2 {
            margin-right: 35%;
            margin-left: 35%;          }
        
          .custom-hr-3 {
            margin-right: 35%;
            margin-left: 35%;          }
        
          .custom-hr-4 {
            margin-right: 35%;
            margin-left: 35%;          }
            @media (max-width: 768px) {
              .custom-hr-1, .custom-hr-2, .custom-hr-3, .custom-hr-4 {
                margin-right: 10%;
              }
        
              .p-p {
                margin-right: 10%;
              }
            }
        
            @media (max-width: 480px) {
              .custom-hr-1, .custom-hr-2, .custom-hr-3, .custom-hr-4 {
                margin-right: 41%;
                margin-left:40px
              }
              b{
              }
              .p-p {
                margin-left: 10px;
              }
            }



        /* استایل بنر اصلی */
        .offer-banner {
            width: 100%;
            max-width: 700px;
            background: linear-gradient(90deg, #502c2c, #d43535); /* گرادینت آبی-طوسی */
            color: white;
            padding: 15px 25px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .offer-content {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .offer-text {
            font-size: 1.1rem;
            font-weight: bold;
        }

     

        /* استایل تایمر سمت چپ */
        .timer-section {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 5px 15px;
            border-radius: 8px;
        }

        .timer-box {
            text-align: center;
        }

        .timer-val {
            font-weight: bold;
            font-size: 1.1rem;
            display: block;
            line-height: 1;
        }

        .timer-label {
            font-size: 0.7rem;
            opacity: 0.8;
        }

        .separator {
            font-size: 1rem;
            opacity: 0.5;
            margin-top: -5px;
        }

        /* واکنش‌گرایی برای موبایل */
        @media (max-width: 500px) {
            .offer-banner {
                flex-direction: column; /* در موبایل زیر هم قرار می‌گیرند */
                gap: 15px;
                text-align: center;
            }
        }