﻿.fitwhey-wrapper {
    direction: rtl;
    font-family: inherit;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 20px 15px 60px;
    background: #f7f8fb;
}

.fw-alert {
    background: #fff3f3;
    border-radius: 12px;
    padding: 12px 16px;
    color: #aa1a26;
    border: 1px solid #ffd3d6;
}

.fw-alert--info {
    background: #f0f4ff;
    color: #1e3a6e;
    border-color: #c8d6f5;
    margin-top: 12px;
}

.fw-header {
    text-align: center;
    margin-bottom: 40px;
}

.fw-header h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

.fw-header p {
    color: #666;
    font-size: 14px;
}

.fw-section {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.fw-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #222;
}

.fw-section h2 span {
    color: #ff3b47;
}

.fw-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.fw-card {
    position: relative;
    cursor: pointer;
}

.fw-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.fw-card-inner {
    background: #fbfcff;
    border-radius: 16px;
    border: 1px solid #e4e7f0;
    padding: 18px 10px;
    text-align: center;
    transition: all 0.2s ease;
}

.fw-card-icon {
    margin-bottom: 12px;
}

.fw-card-img {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
    margin: 0 auto;
}

.fw-icon-placeholder {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px dashed #d0d5e5;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #999;
}

.fw-card-title {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.fw-card input:checked+.fw-card-inner {
    border-color: #ff3b47;
    box-shadow: 0 10px 25px rgba(255, 59, 71, 0.16);
}

.fw-physical-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fw-slider-block {
    background: #fbfcff;
    border-radius: 16px;
    border: 1px solid #e4e7f0;
    padding: 16px 18px 26px;
    /* Ù¾Ø§ÛŒÛŒÙ† Ø¨ÛŒØ´ØªØ± Ú†ÙˆÙ† scale Ù¾Ø§ÛŒÛŒÙ† Ù…ÛŒØ§Ø¯ */
    margin-bottom: 14px;
}

/* ðŸ”¥ Ù…Ø´Ú©Ù„ Ø§ØµÙ„ÛŒ: Ø¯Ø± ØµÙØ­Ù‡ RTL Ø±Ù†Ø¬ Ø¨Ø±Ø¹Ú©Ø³ Ù…ÛŒâ€ŒØ´ÙˆØ¯ */
/* scale Ù‡Ù… Ø¨Ø§ Ø§Ø³Ù„Ø§ÛŒØ¯Ø± Ù‡Ù…â€ŒØ¬Ù‡Øª */
.fw-row-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fw-row {
    margin-bottom: 18px;
}

.fw-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #444;
}

.fw-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fw-pill {
    position: relative;
    cursor: pointer;
}

.fw-pill input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.fw-pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #e1e4ef;
    background: #fbfcff;
    font-size: 12px;
    color: #555;
    transition: all 0.2s ease;
}

.fw-pill-small span {
    min-width: 48px;
}

.fw-pill input:checked+span {
    border-color: #ff3b47;
    background: #ffecef;
    color: #ff3b47;
}

.fw-input,
.fw-textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e4e7f0;
    padding: 10px 12px;
    font-size: 13px;
    background: #fbfcff;
    resize: vertical;
}

.fw-input:focus,
.fw-textarea:focus {
    outline: none;
    border-color: #ff3b47;
    box-shadow: 0 0 0 1px rgba(255, 59, 71, 0.16);
}

.fw-number-input {
    width: 140px;
    max-width: 100%;
    text-align: center;
}

.fw-upload-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.fw-upload-box {
    border-radius: 14px;
    border: 1px dashed #cfd3e5;
    background: #fbfcff;
    padding: 18px 14px;
    font-size: 12px;
    color: #777;
    position: relative;
    text-align: center;
}

.fw-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.fw-image-preview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 8px;
}

.fw-image-preview button {
    background: rgba(255, 59, 71, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.fw-image-preview button:hover {
    background: rgba(255, 59, 71, 1);
}

.fw-program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.fw-program-card {
    position: relative;
    cursor: pointer;
}

.fw-program-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.fw-program-inner {
    display: flex;
    border-radius: 18px;
    border: 1px solid #e4e7f0;
    overflow: hidden;
    background: #fbfcff;
    transition: all 0.2s ease;
}

.fw-program-image {
    width: 40%;
    min-height: 180px;
    background-size: cover;
    background-position: center;
}

.fw-program-image--nutrition {
    background-image: linear-gradient(135deg, #ff8164, #ff3b47);
}

.fw-program-image--training {
    background-image: linear-gradient(135deg, #3e63ff, #001c8e);
}

.fw-program-info {
    padding: 18px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fw-program-info h3 {
    font-size: 16px;
    margin: 0 0 6px;
}

.fw-program-info p {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.fw-program-price {
    font-size: 14px;
    font-weight: 600;
    color: #ff3b47;
}

.fw-program-card input:checked+.fw-program-inner {
    border-color: #ff3b47;
    box-shadow: 0 15px 35px rgba(255, 59, 71, 0.2);
}

.fw-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    background: #fff;
    border-radius: 999px;
    padding: 12px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.fw-summary-price span {
    font-size: 13px;
    color: #666;
}

.fw-summary-price strong {
    margin-right: 8px;
    font-size: 15px;
    color: #222;
}

.fw-submit-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 26px;
    background: #ff3b47;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 59, 71, 0.35);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.fw-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(255, 59, 71, 0.45);
}

@media (max-width: 991px) {
    .fw-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fw-program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .fw-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fw-row-two {
        grid-template-columns: 1fr;
    }

    .fw-program-grid {
        grid-template-columns: 1fr;
    }

    .fw-summary {
        flex-direction: column;
        gap: 10px;
        border-radius: 18px;
        align-items: stretch;
    }

    .fw-summary-price {
        text-align: center;
    }

    .fw-submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .fw-card-inner {
        padding: 14px 8px;
    }
}
