/* =====================================================
   Shipping Methods Page
   ===================================================== */
.shp-page {
    background: #f8fafc;
    padding-bottom: 60px;
}

/* ==========================================
   هدر صفحه
   ========================================== */
.shp-hero {
    background:
        radial-gradient(700px 350px at 90% 0%, rgba(255, 255, 255, 0.5), transparent 60%),
        linear-gradient(135deg, #ffd34d 0%, #ffc20e 55%, #f0b100 100%);
    padding: 50px 20px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.shp-hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 40px;
    background: #f8fafc;
    clip-path: ellipse(70% 100% at 50% 100%);
}

.shp-hero-inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.shp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.12);
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 14px;
}

.shp-hero-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 12px;
    line-height: 1.3;
}

.shp-hero-sub {
    font-size: clamp(13px, 1.5vw, 15px);
    color: #3f3a12;
    line-height: 1.9;
    margin: 0;
}

/* ==========================================
   کانتینر اصلی
   ========================================== */
.shp-container {
    max-width: 1100px;
    margin: -30px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ==========================================
   گرید کارت‌ها
   ========================================== */
.shp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* ==========================================
   کارت روش ارسال
   ========================================== */
.shp-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 18px;
    padding: 24px 22px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.shp-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd34d, #ffc20e);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.shp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    border-color: #fde68a;
}
.shp-card:hover::before {
    opacity: 1;
}
/* ==========================================
   بالای کارت (ردیف لوگو + عنوان)
   ========================================== */
.shp-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between; /* فاصله بین راست و چپ */
    gap: 16px;
    margin-bottom: 16px;
}

.shp-card-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
    min-width: 0; /* برای اینکه متن طولانی سرریز نکند */
}

/* آیکون / لوگو */
.shp-card-icon { /* عرض ثابت برای لوگو */
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* پس‌زمینه حذف شد تا لوگو تمیز دیده شود */
    transition: transform 0.3s ease;
    padding: 4px; /* فاصله لوگو از لبه‌ها */
    overflow: hidden;
}

.shp-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* حفظ نسبت تصویر */
    display: block;
}

.shp-card:hover .shp-card-icon {
    transform: scale(1.08) rotate(-4deg);
}

/* بج و عنوان */
.shp-card-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 99px;
}

.shp-card-title {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
    line-height: 1.4;
}

/* بدنه (توضیحات و لیست) */
.shp-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shp-card-desc {
    font-size: 13px;
    line-height: 1.9;
    color: #475569;
    margin: 0 0 16px;
    flex: 1;
}
.shp-card-desc b {
    color: #0f172a;
    font-weight: 800;
}

/* لیست */
.shp-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px dashed #f1f5f9;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.shp-card-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #0f172a;
}
.shp-card-list span {
    color: #94a3b8;
    font-weight: 600;
    font-size: 12px;
}

/* ==========================================
   باکس نکات مهم
   ========================================== */
.shp-note {
    display: flex;
    gap: 18px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 18px;
    padding: 24px;
}

.shp-note-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #fde68a;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shp-note-body h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 900;
    color: #78350f;
}

.shp-note-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shp-note-body li {
    position: relative;
    padding-right: 22px;
    font-size: 13px;
    line-height: 1.9;
    color: #78350f;
}
.shp-note-body li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffc20e;
    box-shadow: 0 0 0 3px rgba(255, 194, 14, 0.2);
}

/* ==========================================
   ریسپانسیو
   ========================================== */
@media (max-width: 768px) {
    .shp-hero {
        padding: 36px 20px 56px;
    }
    .shp-hero::after {
        height: 24px;
    }
    .shp-container {
        margin-top: -24px;
    }
    .shp-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .shp-card {
        padding: 20px;
        border-radius: 14px;
    }
    .shp-note {
        flex-direction: column;
        padding: 18px;
        gap: 12px;
    }
    .shp-note-icon {
        flex-basis: 38px;
        width: 46px;
        height: 46px;
        border-radius: 10px;
    }
    .shp-note-body h3 {
        font-size: 14px;
    }
    .shp-note-body li {
        font-size: 12.5px;
    }
}

/* ==========================================
   کاهش انیمیشن
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    .shp-card,
    .shp-card-icon {
        transition: none !important;
    }
    .shp-card:hover {
        transform: none;
    }
}
